Code Monkey home page Code Monkey logo

Comments (5)

igrr avatar igrr commented on August 25, 2024

I think this was previously mentioned in another issue:
#15 (comment)

For some reason I haven't had issues with reset though. Maybe @Oitzu has some idea.

from esp32-cam-demo.

donny681 avatar donny681 commented on August 25, 2024

@igrr I add GPIOs interrupt to the project and find that GPIO can't go to the isr after getting a frame.Before getting a frame ,GPIOs can go to the isr.I try to register isr again but it is no use.

from esp32-cam-demo.

donny681 avatar donny681 commented on August 25, 2024

@igrr @Oitzu I fix the bug that ov2640 reset errror. The reg(0xff) of the sensor must be programmed 0x01 after reset the camera.
` gpio_set_level(config->pin_reset, 0);

delay(10);

gpio_set_level(config->pin_reset, 1);

delay(10);

/*after reseting the sensor,the reg (0xff) must be programmed 0x01*/
uint8_t buf[] = {0xff, 0x01};
        twi_writeTo(0x30, buf, 2, true);
        delay(100);
ESP_LOGD(TAG, "Searching for camera address");
/* Probe the sensor */
delay(10);
uint8_t slv_addr = SCCB_Probe();
if (slv_addr == 0) {
    *out_camera_model = CAMERA_NONE;
    return ESP_ERR_CAMERA_NOT_DETECTED;
}
s_state->sensor.slv_addr = slv_addr;
ESP_LOGD(TAG, "Detected camera at address=0x%02x", slv_addr);`

from esp32-cam-demo.

lss6378 avatar lss6378 commented on August 25, 2024

@donny681
Think you so much! It works!

from esp32-cam-demo.

sravanth005 avatar sravanth005 commented on August 25, 2024

in the ESP32 Ai thinker CAM there is a reset button does any one know what signal does reset button generates

from esp32-cam-demo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.