Cheap DIY WiFi Camera Web Server Tutorial - ESP32-CAM - Getting started

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024
  • #ESP32 #wifi #camera #module
    The ESP32-CAM is a fantastic low cost programmable WiFi enabled camera. My simplified tutorial covers everything I learned to get the board up, running and actually usable as a wireless IP camera.
    Specifications:
    ESP-32S WiFi module
    OV2640 Camera
    4GB SD Storage
    Working voltage 4.75-5.25V
    SPIFlash default 32Mbit
    RAM internal 520KB + external 8MB PSRAM
    Power consumption without flash: 180mA @ 5V
    Power consumption with flash: 310mA @ 5V
    Lowest power consumption 6mA to 20mA @ 5V
    Buy it on eBay.com: ebay.us/Q1kFQM
    Buy it on eBay.com.au: ebay.us/2Sbsa7
    Buy it on AliExpress: s.click.aliexp...
    Links mentioned in the video:
    Datasheet:
    loboris.eu/ESP...
    Wikipedia:
    en.wikipedia.o...
    Arduino IDE:
    www.arduino.cc...
    USB to Serial Driver Download:
    wch.cn/downloa...
    Alternative download here: drive.google.c...
    Board Manager URL's:
    raw.githubuser...
    dl.espressif.c...
    arduino.esp8266...
    Please help the channel grow! Like, comment & subscribe!
    Follow me on social media or if you like you can help support my future videos via Buy Me A Coffee or PayPal: linktr.ee/Fix_...
    eMail: fixtechstuff@gmail.com

ความคิดเห็น • 55

  • @FixTechStuff
    @FixTechStuff  2 ปีที่แล้ว

    My apologies for the terrible sound in this video, I've got it sorted for future videos.

  • @MorrWorm8
    @MorrWorm8 ปีที่แล้ว +1

    My main goals are to make a security camera for the house & a weather station. I was thinking of using the Pi Pico for that though. My main problem is I’m not very tech savvy. I am learning and have gotten much better. Still a way to go though. Excellent video. Great editing and sound. Liked & subscribed!

    • @FixTechStuff
      @FixTechStuff  ปีที่แล้ว +1

      That's a great plan. I believe simpler is better, using off the shelf modules and rigging it together.
      Thanks for your support! 😊

  • @pounsfos
    @pounsfos 3 ปีที่แล้ว +5

    howdy, just want to say i had spent over an hour trying to find a video that had the code and arduino setu in it, thank you for sharing and beeing a truly usefull video. got all mine going no worries. chur
    and yes if you are on windows, I had to push the button to get it to download data.

    • @FixTechStuff
      @FixTechStuff  3 ปีที่แล้ว

      Very good. Thank you for the helpful comment. 👍🏼

    • @randolfaquino9998
      @randolfaquino9998 2 ปีที่แล้ว

      i got an old laptop windows 7 downloaded arduino ide followed instructions but still.could not get the esp32 webcam going all i get after download completed is ............... on the serial monitor

  • @3DResinPrinting
    @3DResinPrinting 2 ปีที่แล้ว +1

    Hey, you're the god of ESP32-CAM modules (at least!). Though it's a pain in the butt to set the player for Windows (will give it another try next time, lol), thanks a lot for the video. It's my first Arduino thing ever. I even managed to add a Serial.print("CHECKING WIFI"); line to the sketch, and it worked))). Thank you once more. You've inspired me!

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว +1

      Not sure I'm that clever, but thank you! I plan to do a follow up video on this, but not sure how far away at the moment. Will have to rewatch this video to even remember where I was! 🙂

  • @thisoldjeepcj5
    @thisoldjeepcj5 2 ปีที่แล้ว

    Liked that you used VLC with ESP32 CAM !
    Thumbs up and subscribed. Thanks.

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      Honestly it was the only thing I could think of without researching what security cam software I should install! :)
      But yeah, most people have it, and it works I guess.

  • @MorrWorm8
    @MorrWorm8 ปีที่แล้ว +1

    Did you ever do a follow up video on this? I was thinking of a box & solar panel system

    • @FixTechStuff
      @FixTechStuff  ปีที่แล้ว

      I planned to. I made a tiny battery powered setup that could be charged from USB but ran into some difficulty due to everything being squeezed into such a tiny box. The idea was a magnet on the back and you could stick it somewhere and let it record.
      A solar powered camera would be even better.
      I have a few of them spare and do have a few excellent ideas like a security camera to watch my 3D printer and a dashcam with LED torch / tail light for bicycles.

    • @MorrWorm8
      @MorrWorm8 ปีที่แล้ว +1

      @@FixTechStuff that would be sweet! Yes that tutorial would be excellent. I think the timing is right for a video like that as well.

    • @MorrWorm8
      @MorrWorm8 ปีที่แล้ว +1

      @@FixTechStuff my MB DEV board has a blank chip. It doesn’t say CH340 or whatever. I’m going to try that driver anyway though. Hopefully it works

  • @RonaldoJrPr
    @RonaldoJrPr 2 ปีที่แล้ว +1

    Good video. It help me a lot. Thanks!

  • @riverracer
    @riverracer 2 ปีที่แล้ว +1

    Fellow Ozzie here, I'm looking at using one of these to monitor my Zortrax 3D printer that won't work with Octopi, and am new to these style of boards.
    Do you have any instructions on how you wired it up to program?
    Is the second board in the Alliexpress link the programmer and no other boards needed?

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      I just used the USB module and USB cable, its the one "ESP32-CAM-MB" or "MB With antenna". After programming it you just need to supply voltage to the correct pons and you no longer need the USB board. So if you want 2 or more cameras you can buy just the straight CAM board for subsequent ones.

  • @beyondsilentz748
    @beyondsilentz748 2 ปีที่แล้ว +1

    mine keeps saying A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
    how to fix?

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      I had this a lot on Mac, seems its a 3rd party ESP32 / Arduino problem. Try a different USB port, select a different Programmer in Arduino, Tools. Or try rebooting.

  • @Hood.Housekeeping
    @Hood.Housekeeping 11 หลายเดือนก่อน +1

    Is there anyway to make the esp make its own WiFi signal to directly connect to with a network.

    • @FixTechStuff
      @FixTechStuff  11 หลายเดือนก่อน

      Not quite sure I understand, but join or host a network, I think so.

  • @NathanCroucher
    @NathanCroucher 2 ปีที่แล้ว +1

    FYI i got one of these dodgy china ones, using 5v from a any USB or a Nokia 5v2a charger i got horizontal lines. I then hooked up 5.2v from a bench power supply and the lines are gone. This is shit because means i cant use a common standard 5v power supply. Its useless to me now. Oh yeah, great video 😀

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      That's no good.
      I have a few here ESP32-CAM 's now, might test them one day see if I have any faulty ones.
      Can you run it off an 18650 with a DC converter? I had that problem years back with a security camera and it ran OK off batteries.
      I actually meant to do a new video on a battery backed up ESP32-CAM, but my prototype didn't have battery under voltage protection.

    • @NathanCroucher
      @NathanCroucher 2 ปีที่แล้ว

      ​@@FixTechStuff Might help, will try it out.
      In arduino serial monitor it has "Brownout detector was triggered" which is something to do with not enough current, so my wires might be too thin.

  • @Lawh
    @Lawh 2 ปีที่แล้ว +1

    "fd_forward.h: No such file or directory
    "
    Do I have to download something?

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      FD as in face detection? Perhaps you are missing a library.
      Can you // comment out that line for now?

    • @Lawh
      @Lawh 2 ปีที่แล้ว

      @@FixTechStuff There was a tutorial, not sure if this one since I can't watch this video at the moment, where it said to add multiple board links into the settings. Just adding one board fixed it.

  • @jonatanesteve9576
    @jonatanesteve9576 2 ปีที่แล้ว +2

    hola amigo gracias por el tutorial ay muy poco sobre esta placa . una consulta tego problemas para que se conecte al internet . las librerias estan actualizadas y las de la tarjeta tambien e seguido tus pasos y no meda la ip por que me pasa esto . grcias por tu tiempo y tu ayuda un saludo desde barcelona

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      Hello, thanks for your comment! Do you mean internet or you are trying to connect to WiFi? There may be a limitation over what protocol WIFi it can connect to, like 2.4ghz B/G and not N.

    • @jonatanesteve9576
      @jonatanesteve9576 2 ปีที่แล้ว +1

      bueno te comento , e descubierto gracias a que e abierto otra placa . e decubierto que una si funciona y la otra meda error 0x105 este es el error que meda una de las placa . esto por que puede ser ?

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      @@jonatanesteve9576 Are they identical? Perhaps the camera module is different on both? or faulty? You need to select the right camera in the code.

  • @jasonkelvin3683
    @jasonkelvin3683 2 ปีที่แล้ว +1

    hello, i have a problem when compiling , it says that fatal error: fd_forward.h: No such file or directory. how could this happen?

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      I am not familiar with that error. The main problems I have with compiling was leaving the serial monitor window open. If you google that I saw a lot of results for your particular issue with ESP32.

  • @sumitsingh-fm2nz
    @sumitsingh-fm2nz 2 ปีที่แล้ว +1

    which adapter you use for usb-c to a conversion for mac because I have used a lot of brands but dont get my arduino detected

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      Your ESP32 CAM has a USB C port? Mine are micro USB. The biggest problem for me was the USB to serial chip driver, mine has a CH340C. You need to find the right driver. Try the alternate driver download in the description. Also try rebooting, try different ports and turn off serial monitor when compiling.

    • @sumitsingh-fm2nz
      @sumitsingh-fm2nz 2 ปีที่แล้ว +1

      @@FixTechStuff No, I meant the mac has only usb-c port but the arduino needs usb-a....

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      @@sumitsingh-fm2nz Ah OK, I've got an older mac with USB type A ports. Let us know if you find a solution.

  • @khaileng3020
    @khaileng3020 2 ปีที่แล้ว +1

    Why i cannot install the ch340_341 , it says install failure

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      Did you try the drives I shared in the description? They are in my Google Drive link.

  • @spex357
    @spex357 3 ปีที่แล้ว +2

    Do you hold the io button in to put it in load mode, before plugging it in and with the camera on or off?

    • @FixTechStuff
      @FixTechStuff  3 ปีที่แล้ว

      No. I didn't need to press the button at all.

    • @spex357
      @spex357 3 ปีที่แล้ว +1

      @@FixTechStuff it's probably a windows problem as i cannot see it connected anywhere. Thanks for the reply.

    • @FixTechStuff
      @FixTechStuff  3 ปีที่แล้ว

      @@spex357 It could be a Windows 10 thing, or even a faulty device. I personally haven't tried it on Windows 10 yet, I might do a short video on that. There were a couple of solutions on this site, one commenter suggested trying a USB2.0 hub. forum.arduino.cc/t/windows-10-and-ch340/382832/11

    • @pounsfos
      @pounsfos 3 ปีที่แล้ว +2

      @@FixTechStuff I'm on windows and had to push the button to get it to start downloading code, had to change back and forth comm ports as well lol.

    • @spex357
      @spex357 3 ปีที่แล้ว

      @@pounsfos My windows doesn't see it bar to power it.

  • @mauricio8983
    @mauricio8983 2 ปีที่แล้ว +1

    I’ve tried to open the Chinese link for the download but it does not open. I was wondering if you could send the link or upload again to this video. It might bu corrupt or deleted. Thank you

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      I’ll see if I can share it via a Google drive link.

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      I uploaded PC and Mac versions here, let me know if it works! drive.google.com/drive/folders/1ocXYvuFhlSfwnrSIXENrgTZmGPlrDuw7

  • @oscarrv50
    @oscarrv50 2 ปีที่แล้ว +1

    Thank you for this excellent video, I need you to help me after did all as you recommend I'm having the below error message:
    Connecting........_____....._____....._____....._____....._____....._____....._____
    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
    I have tried a lot of searching on the internet and bought different ESP32 CAM boards, downloaded drivers at the end always have the same error please help me with some tips if you can, I really need to go fower with my project.
    Best regards from Miami Fl.
    Oscar.

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      I have issues on Arduino Mac, sometimes changing the Programmer type in Tools helps, other times I need to reboot, another problem is having the serial monitor open while programming.
      If those don't help you could look into this: randomnerdtutorials.com/solved-failed-to-connect-to-esp32-timed-out-waiting-for-packet-header/
      At last resort, perhaps buying a 2nd one might help diagnose whether the one you have is faulty.
      Let me know how it goes.

    • @oscarrv50
      @oscarrv50 2 ปีที่แล้ว +1

      @@FixTechStuff Hi Thank you so much, I have ordered two more modules arriving tomorrow, I'll keep you posted

  • @randolfaquino9998
    @randolfaquino9998 2 ปีที่แล้ว

    frustrated :(

    • @FixTechStuff
      @FixTechStuff  2 ปีที่แล้ว

      Perhaps I can help, what seems to be the issue?