lewisxhe / esp32-camera-series

🔰 Compatible with all TTGO camera products
MIT License
183 stars 139 forks source link

Camera capture "freezing" #22

Closed pilant closed 3 years ago

pilant commented 3 years ago

After downloading the repository a couple of days ago, it appears to mostly work. After successfully streaming to the HTTP server for several hours, streaming suddenly stops. Looking at the IDE serial windows show no camera activity (usually from the MJPG conversion). The OLED is correctly still displaying the appropriate information. The capture is using QVGA resolution, and I have set HMIRROR and VFLIP to get the desired orientation in the browser. The only way to clear this condition appears to be to cycle the power to the board (remove and insert the UCB connector). Doing any manner of various "resets" does not clear the condition. Any ideas or things I can try? - Mark

pilant commented 3 years ago

OK. I don't have a definitive answer, but it appears to be related to the power source. When the T-Camera was being powered by the host/programming PC, the camera would usually freeze up after a few hours. However, after using a dedicated supply (5 VDC, 2.5A; Raspberry Pi 3 style) the board has been running for several hours (QVGA and XGA resolutions) without any camera issues.

I can only suspect the USB port on the PC was marginal in the area of the power requirements.

BTW, using the PC to program was only done until I got OTA configured and working. With OTA in place, using the dedicated supply works fine and I can program as needed.

Since this appears to be a "solution", I'll close this issue.

- Mark