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

Sometimes a black screen #121

@JoJaMa712

Description

@JoJaMa712

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions