ESP32-Cam Complete Guide

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • In this video I explain the ESP32-Cam in detail. I cover the basics of the ESP32-Cam, how to program it in Arduino, how to wire it, and cover many examples such as showing live video in a web browser, taking a picture and saving in SD card, and even doing some computer vision.
    Link to related blog post:
    www.diyengineers.com/2023/04/13/esp32-cam-complete-guide
    Items used in this video (affiliate links):
    *As an Amazon Associate I earn from qualifying purchases.
    ESP32-Cam:
    amzn.to/4cZfz4G

КОМЕНТАРІ • 76

  • @diyengineers
    @diyengineers  Рік тому +6

    What projects would you like to see next? 😃

    • @SirensAndAlarmsOfNorthernIL
      @SirensAndAlarmsOfNorthernIL Рік тому

      So I just got an ESP-32 camera (which came with a USB adapter) for a project and I tried the webcam browser (or whatever it is) example, and my code uploaded successfully. But when I press the reset button, nothing shows up in the serial monitor although the baud is the highest and everything. Sometimes if I unplug and plug the camera back in it would show some weird question mark characters that would either go on forever, or there would be like 4 of them. It is so weird. Idk what is the issue but I am considering returning the camera. Any solutions?

    • @richardroy6747
      @richardroy6747 Рік тому

      Try a different USB port on your PC or better
      use USB hub.

    • @SirensAndAlarmsOfNorthernIL
      @SirensAndAlarmsOfNorthernIL Рік тому

      @@richardroy6747 I actually got it to work as of now. Luckily it was connecting to wifi so it was just my usb cable

    • @MorrWorm8
      @MorrWorm8 Рік тому

      Can we see a video on the LILLYGO pico T-3 with the RP2040 & ESP32 with LCD. That microcontroller looks awesome

    • @hjw5774
      @hjw5774 Рік тому

      Thanks for uploading this; the video is interesting and informative with great visuals, too! Currently working through the examples and just got to the webcam-server stage.
      In regards to future projects; it would be interesting to know how train the ESP32-CAM to take an action when it detects a certain object? Eg: smart garage door that recognises certain number plates

  • @TheInnovativeTeacherAnanda
    @TheInnovativeTeacherAnanda Рік тому +4

    Wow, this UA-cam video was a lifesaver! Thanks to the clear and concise instructions, I successfully connected my ESP32-CAM model without any hassle. It's amazing how the creator made the complex setup seem so simple. I'm grateful for such valuable content that empowers users like me to explore and learn new technologies. Keep up the fantastic work! 🙌🎉

  • @TheInnovativeTeacherAnanda
    @TheInnovativeTeacherAnanda Рік тому +2

    Hey there! Your tutorials are incredibly helpful, and I was wondering if you could consider making a video explaining how to initiate and work with the OV7670 camera module. Given your talent for simplifying complex processes, I believe it would be an invaluable resource for the community. Looking forward to learning from your expertise! Thanks in advance! 📹📷

  • @manfredbogner9799
    @manfredbogner9799 2 місяці тому +1

    Very good

  • @housewirestv
    @housewirestv 9 місяців тому +1

    cool stuff from esp32 cam!

  • @quincyuraam7807
    @quincyuraam7807 3 місяці тому

    cool course! thank you so much, i will use esp32 instead of Arduino now

    • @diyengineers
      @diyengineers  2 місяці тому

      Glad you liked it. Thanks for watching!

  • @gauravhote485
    @gauravhote485 4 місяці тому

    Thanks a lot!
    It works!

  • @nortonshields8405
    @nortonshields8405 8 місяців тому +5

    I would like to see you reprogram a purchased security camera to work on your own in house network without giving companies access to your wifi passcode and such. . . . . .

  • @omsingharjit
    @omsingharjit Рік тому +4

    How many gpio pins are available for external sensors on esp 32 cam while its inbuilt sd card and ov sensor pins are already occupied some pines ?

    • @ConorFenlon
      @ConorFenlon 4 місяці тому

      Same question. Pretty important thing to know, and nobody is talking about it! 🤷🏻‍♂️

  • @yakobubaid
    @yakobubaid 8 місяців тому

    Thanks!

  • @Yannik79Simon
    @Yannik79Simon Місяць тому

    the pictures i save on the sd card are still really green, any tips?

  • @smartassist9700
    @smartassist9700 10 місяців тому +1

    General question please..? What size/gauge wire do I use for ESP32 S3. Connecting a sensor that is 20feet away from ESP32?
    Thx! My first project! Disabled and learning new things =. ESP32! Thank you!

  • @tinmaunghla648
    @tinmaunghla648 5 днів тому

    So, this uses internet? Not just intranet

  • @jumbo999614
    @jumbo999614 2 місяці тому

    Can I use external SD card reader? I think my ESP-Cam internal SD reader is broken.
    If so, how to connect and do I need to modify the code?

  • @User-gu3se
    @User-gu3se 10 місяців тому

    How many current can support the board? Because, I want buy it with an adapter to programming (flashing), it has a USB adapter, that I can use with a charger adapter for a smart phone. Therefore, the adapter supplies 2 ampers as maximum quantity. Hence, I have the question if it could burn up the board using the mentioned charger adapter, with a high current.
    Thanks for your time and thanks for the video, it was a enormous help for me. 🗿

  • @braaitongs
    @braaitongs 4 місяці тому +1

    What if you have ESP32-CAM-MB ? Do you still need to do that short GND?

    • @ConorFenlon
      @ConorFenlon 4 місяці тому

      No. I've programmed it a bunch of times with the MB Programmer and I've never had to do anything with pins 1 and 0

  • @MuzakkiEa25
    @MuzakkiEa25 10 місяців тому +1

    Can i connect ESP32 with ESP32-Cam?

  • @teoif142
    @teoif142 6 місяців тому

    (A fatal error occurred: Failed to connect to ESP32: No serial data received.) I can't manage to fix this?

  • @jonerasmus9399
    @jonerasmus9399 3 місяці тому

    I'm a novice , can some tell me if I can view the photos over the network or do I need to remove the SD card everytime

  • @Bingliuau
    @Bingliuau 4 місяці тому

    the PIR triggered images are very dark. i modified the delay to 2000 and 3000ms and it does not work

  • @kilerd5713
    @kilerd5713 Рік тому +3

    May I know how to reduce the latency? When the camera is streaming to detect object, it's laggy in my situation.

    • @gizmowizard352
      @gizmowizard352 Рік тому

      Yeah,I'm having it too.can anybody give a answer quickly?All help is supported as I'm doing this for a school project.

    • @jumbo999614
      @jumbo999614 2 місяці тому

      Set it to use AP mode. I had the same problem when connecting the camera's wifi to router. Use AP mode if you still use internal antenna.
      AP mode is good for testing your code.
      Here is some code in my camerawebserver sketch.
      #define CAMERA_MODEL_AI_THINKER // Has PSRAM
      const char* ssid_AP = "xxxxx"; // replace xxxxx with your desired ssid name
      const char* password_AP =xxxxx"; // replace xxxxx with any password
      IPAddress local_IP(192, 168, 1, 90);
      IPAddress gateway(192, 168, 1, 1);
      IPAddress subnet(255, 255, 255, 0);
      IPAddress primaryDNS(8, 8, 8, 8); //optional
      IPAddress secondaryDNS(8, 8, 4, 4); //optional
      in setup( ) function. just before startCameraServer();
      remove these lines:
      WiFi.begin(ssid, password);
      WiFi.setSleep(false);
      while (WiFi.status() != WL_CONNECTED) {
      delay(500);
      Serial.print(".");
      }
      Serial.println("");
      Serial.println("WiFi connected");
      and replace them with:
      WiFi.softAPConfig(local_IP, gateway, IPAddress(255,255,255,0)); WiFi.softAP(ssid_AP, password_AP);

  • @NicksStuff
    @NicksStuff 7 місяців тому

    I want to read my gas meter. Can you do OCR with an ESP32 locally? Without connecting the ESP32 to your home network?
    The meter is outside and connecting to my home network would be a security risk. Connecting it to a Lora module to send 1 way readings is ok, though.

  • @TheOldKid
    @TheOldKid 8 місяців тому

    I bought the s3 wroom last year and never get it programmed. Not sure what camera to choose on Arduino ide sketch but tried a few.

  • @aleenamerinjohns7291
    @aleenamerinjohns7291 5 місяців тому

    Hey there can i use the cam module for pathfinding

  • @Mk95195
    @Mk95195 3 місяці тому

    camera probe failed with error 0x105(esp_err_not_found).....this are error show .... please sir give the solution

  • @sam-el
    @sam-el Рік тому

    Please I need a guide to implement object detection using de1-soc?

  • @garrymcdonald5456
    @garrymcdonald5456 Рік тому +1

    Can these do wifi direct connect (p2p) so I can connect direct with my phone to the camera and view through the phone? I cant find any information online. Anyone know if there are any modules that can do this? I need to view live on my phone in places where there is no internet.

    • @ConorFenlon
      @ConorFenlon 4 місяці тому

      If you use your phone's 4G connection over hotspot and you program the esp32cam appropriately, you can use it like this. I've already tried it with this module and it works.

  • @norhakim6697
    @norhakim6697 Рік тому

    Hey how do i resolve camera_pins.h not found? it already in the ESP32 library in H type file format but the ide still can't find it

    • @gizmowizard352
      @gizmowizard352 Рік тому

      What do you mean? As soon as you open the File-> Examples-> ESP 32->Camera -> CameraWebServer
      example,you see the camera_pins.h tab right in front of your eyes! If you have any problems please comment.

  • @user-jw1dw1fy3v
    @user-jw1dw1fy3v Рік тому

    nice video ! Is it possible to erase SDcard images from smartphone (WiFi network)? .

  • @NamasenITN
    @NamasenITN 11 місяців тому

    I completely miss the point of CV with Python on a desktop pc. Having the esp32 or a usb cam does not really matter conceptually. The cool thing would be to do image processing on board with the esp32. Am I too optimistic?

  • @forfunvideos
    @forfunvideos 9 місяців тому

    PSRAM read error 0xfffff is coming, what to do

  • @danra.i
    @danra.i 4 місяці тому

    How do i figure out which ports to use?

    • @tonyp4894
      @tonyp4894 3 місяці тому

      Right click on start menu (window 11), click on Device Manager, click on COM Ports, and use the one that is connected to the CH340 driver. That's the port you would use on the Arduino sketch under "tools" port.

  • @Alice8000
    @Alice8000 24 дні тому

    So inspiring to see a successful LGBTQ+ UA-camr 🏳‍🌈❤

  • @jarodniolapizfalcone7024
    @jarodniolapizfalcone7024 Рік тому

    hi can you help me with this
    it says
    A fatal error occurred: Failed to connect to ESP32: No serial data received.

    • @user-ev5kk6wr8b
      @user-ev5kk6wr8b 8 місяців тому

      Hey, I am having the same problem. Have you found a fix?

    • @jarodniolapizfalcone7024
      @jarodniolapizfalcone7024 8 місяців тому

      yep i just change the connector@@user-ev5kk6wr8b

    • @gabriele1757
      @gabriele1757 7 місяців тому

      Two things I've found when messing with it: 1. Make sure GI00 is shorted to ground. 2. It is strange but I had to connect my TX to TX and RX to RX which would normally be backwards. @@user-ev5kk6wr8b

    • @goofyass155
      @goofyass155 5 місяців тому

      also somewhat strange, try changing the ground pin on esp32 to the left side below the 5V pin.
      and if you use 5Ghz wifi, it might also help to change into 2.4Ghz. idk why that is but it's working

  • @Techyperry.marketing
    @Techyperry.marketing Рік тому

    Bro how you disabled port in tools option please tell me . Com5 port is important or not . There is no any issue of ports or yes

    • @MorrWorm8
      @MorrWorm8 Рік тому

      If it’s showing up as a Com you probably need driver for it

  • @richardroy6747
    @richardroy6747 Рік тому

    How do we define a hostname in the code?

  • @salmanahmad4759
    @salmanahmad4759 Рік тому

    Bro, I am getting issue, its get restarting when I turned on face Detection. Can you help?

    • @diyengineers
      @diyengineers  Рік тому

      Hi, thanks for watching. I didn't have that issue. I have read that you could run into that issue when powering the ESP32-Cam through the FTDI. Have you tried turning on face detection without powering via FTDI?

    • @salmanahmad4759
      @salmanahmad4759 Рік тому

      @diyengineers Bro, thanks for your reply. I have tried with other power methods but not work, and with FTDI its even do not power up, Keep restarting for every second. In the end, I think it's an issue with and order new one that will deliver today, and I will check it with a new one.

    • @frog9304
      @frog9304 6 місяців тому

      Did you fix it​@@salmanahmad4759

  • @volodimirderkach
    @volodimirderkach 10 місяців тому +1

    какое напряжение можно подавать на 3.3 и 5 ?

  • @firdouskadir3003
    @firdouskadir3003 Рік тому +1

    Program upload krne pe exit status 1 error ko kaise solve kre

    • @LOLbruh-Flash2
      @LOLbruh-Flash2 3 місяці тому

      kuch nahi bai sirf chat gpt use karke puchlo usko!

  • @user-og7sm7cu8t
    @user-og7sm7cu8t 9 місяців тому

    can i remove ftdi in the esp32 cam?

  • @manfredbogner9799
    @manfredbogner9799 2 місяці тому

    Very good