Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

Sometimes a black screen #121

Open
JoJaMa712 opened this issue Apr 10, 2019 · 1 comment
Open

Sometimes a black screen #121

JoJaMa712 opened this issue Apr 10, 2019 · 1 comment

Comments

@JoJaMa712
Copy link

Sometimes the browser shown a black screen like picture 1 but the serial monitor shown no error (picture 2). It seems that the camera is working correctly
I have the same problem with a ESP32-Dev-Board with OV2640-Dev-Board and with a AI-Thinker-ESP32-Cam. I use the ESP32 in AP-Mode an have to use a little bugfix in camera.c for the reset-->

    ESP_LOGD(TAG, "Resetting camera");
    gpio_config_t conf = { 0 };
    conf.pin_bit_mask = 1LL << config->pin_reset;
    conf.mode = GPIO_MODE_OUTPUT;
    gpio_config(&conf);

    gpio_set_level(config->pin_reset, 0);
    delay(10);
    gpio_set_level(config->pin_reset, 1);
    delay(10);

    //BUGFIX
    uint8_t buf[] = {0xff, 0x01};
    twi_writeTo(0x30, buf, 2, true);

browser
Monitor

@nhennetier
Copy link

Could you eventually find a solution to your problem? I’m facing the exact same issue and I couldn’t find any solution at the moment...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants