Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Cheapest WiFi Webcam: ESP32 + OV2640 camera

    Scheduled Pinned Locked Moved
    Duet Web Control
    2
    2
    633
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jaschkopfundefined
      jaschkopf
      last edited by

      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.

      AI-Thinker-ESP32CAM.jpg

      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 😉

      Unbenannt.PNG

      dc42undefined 1 Reply Last reply Reply Quote 2
      • dc42undefined
        dc42 administrators @jaschkopf
        last edited by

        @jaschkopf thanks for sharing this!

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • gloomyandyundefined gloomyandy referenced this topic
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA