mudassar-tamboli / ESP32-OV7670-WebSocket-Camera

Demonstrates Video Streaming from ESP32+OV7670 hardware using WebSocket protocol
Apache License 2.0
82 stars 22 forks source link

So many issue that cant be settled once #11

Open briansune opened 3 years ago

briansune commented 3 years ago

There are so many problem after i tested this code. 1) SSID and PASSWORD variable is not update (this should be minor) 2) when testing the esp32 devkit v1 with camera ov7670 (no FIFO), no image return I will explain what i have see from this stage. First did any clock really output to XCLK? According to my frequency counter (NO) Replacing: //ClockEnable(XCLK, 20000000);

ledcSetup(0, 20000000, 1); ledcAttachPin(XCLK, 0); ledcWrite(0, 1);

Clock do output to the pin that XCLK have set.

Now any image return back to the web page? Not really, noise are returned, while this is not working properly.

I think the code creater can assist on this stage. Meantime, i think the revision of the ESP32 led timer have change a little bit on the setting: union { ledc_timer_bit_t duty_resolution; /!< LEDC channel duty resolution / ledc_timer_bit_t bit_num attribute((deprecated)); /!< Deprecated in ESP-IDF 3.0. This is an alias to 'duty_resolution' for backward compatibility with ESP-IDF 2.1 / }; So not too sure this will lead to any potential issue or not.