Cheapest WiFi Webcam: ESP32 + OV2640 camera
-
Re: Cheap WiFi Webcam: ESP32 + OV2640 camera
Hey,
I found this topic and was quite interested to add a camera to my Duet 2 Wifi.
From an old project I hat an (AI-Thinker) ESP32-Cam module lying around. It is about 8€ at ebay shipping from Germany. If you order from china the module is quite cheaper.
I found this tutorial to convert the ESP32-Cam to a surveilance camera, but the stream works for duet very well.
https://randomnerdtutorials.com/esp32-cam-video-streaming-web-server-camera-home-assistant/
So follow the tutorial, insert your wifi credentials at line 28+29 and change the resolution at line 230. Forme these settings worked very good with DWC:
if(psramFound()){ config.frame_size = FRAMESIZE_SVGA; config.jpeg_quality = 10; config.fb_count = 2; } else { config.frame_size = FRAMESIZE_SVGA; config.jpeg_quality = 10; config.fb_count = 2; }
Here you can find some information about the possible settings:
https://randomnerdtutorials.com/esp32-cam-ov2640-camera-settings/At DWC you just have to past the IP adress at Webcam-URL field like this: http://192.168.178.153/
After flashing start the serial monitor in Arduino IDE to find out your IP.That's all
-
@jaschkopf thanks for sharing this!
-