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

Ғылым және технология

#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.aliexpress.com/e/_DlS...
Links mentioned in the video:
Datasheet:
loboris.eu/ESP32/ESP32-CAM%20...
Wikipedia:
en.wikipedia.org/wiki/ESP32
Arduino IDE:
www.arduino.cc/en/software
USB to Serial Driver Download:
wch.cn/download/CH341SER_EXE....
Alternative download here: drive.google.com/drive/folder...
Board Manager URL's:
raw.githubusercontent.com/esp...
dl.espressif.com/dl/package_e...
arduino.esp8266.com/stable/pac...
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_Tech_Stuff
eMail: fixtechstuff@gmail.com

Пікірлер: 55

  • @FixTechStuff
    @FixTechStuff2 жыл бұрын

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

  • @RonaldoJrPr
    @RonaldoJrPr Жыл бұрын

    Good video. It help me a lot. Thanks!

  • @thisoldjeepcj5
    @thisoldjeepcj52 жыл бұрын

    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.

  • @pounsfos
    @pounsfos2 жыл бұрын

    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

    2 жыл бұрын

    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
    @3DResinPrinting2 жыл бұрын

    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 жыл бұрын

    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! 🙂

  • @MorrWorm8
    @MorrWorm811 ай бұрын

    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

    11 ай бұрын

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

  • @riverracer
    @riverracer2 жыл бұрын

    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.

  • @jasonkelvin3683
    @jasonkelvin36832 жыл бұрын

    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.

  • @MorrWorm8
    @MorrWorm811 ай бұрын

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

  • @FixTechStuff

    @FixTechStuff

    11 ай бұрын

    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

    11 ай бұрын

    @@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

    11 ай бұрын

    @@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

  • @Hood.Housekeeping
    @Hood.Housekeeping8 ай бұрын

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

  • @FixTechStuff

    @FixTechStuff

    8 ай бұрын

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

  • @beyondsilentz748
    @beyondsilentz7482 жыл бұрын

    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.

  • @sumitsingh-fm2nz
    @sumitsingh-fm2nz2 жыл бұрын

    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 жыл бұрын

    @@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.

  • @jonatanesteve9576
    @jonatanesteve95762 жыл бұрын

    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 жыл бұрын

    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.

  • @mauricio8983
    @mauricio89832 жыл бұрын

    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

  • @spex357
    @spex3573 жыл бұрын

    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 жыл бұрын

    @@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

    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

    2 жыл бұрын

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

  • @Lawh
    @Lawh2 жыл бұрын

    "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.

  • @khaileng3020
    @khaileng30202 жыл бұрын

    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.

  • @NathanCroucher
    @NathanCroucher2 жыл бұрын

    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.

  • @oscarrv50
    @oscarrv502 жыл бұрын

    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 жыл бұрын

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

  • @randolfaquino9998
    @randolfaquino99982 жыл бұрын

    frustrated :(

  • @FixTechStuff

    @FixTechStuff

    2 жыл бұрын

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

Келесі