ESP32-CAM - Guide to making YOUR first DIY Security Camera

  Переглядів 353,319

Max Imagination

Max Imagination

Рік тому

To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/MaxImagination/. The first 200 of you will get 20% off Brilliant’s annual premium subscription.
In this video guide, we get started with the $10 ESP32-CAM Development board (Camera) and set it up as a DIY Security Camera with the most well-developed Arduino (C/C++) Code that implements a user-friendly Web Server interface with loads of unique features.
The code we program the ESP32-CAM with implements a Motion Capture application to record JPEGs to an SD card as AVI files and stream to a web browser as MJPEG. Full code credits to "s60sc", ESP32-CAM_MJPEG2SD GitHub repository owner.
Download the full code HERE from repository on GitHub: github.com/s60sc/ESP32-CAM_MJ... ⬅️
With this extensive code, you can program for semi-advanced security cameras containing additional peripherals such as PIR motion sensors, a Microphone, bright Lamps, physical buttons for cam control, Pan and Tilt Servos, voltage divider for battery voltage monitoring, and the list goes on...
Though, to add all of these features to the already used up GPIO pins of the ESP32-CAM,
you will need to use a secondary ESP32 chip with the IO Extender code here: github.com/s60sc/ESP32-IO_Ext... ⬅️
👉 Visit my online Storefront: sites.google.com/view/maximag...
----------------------------------------------------------------------
☕ Buy me a coffee - www.buymeacoffee.com/MaxImagi...
----------------------------------------------------------------------
Follow me on Instagram: @max.imagination - max.imagina... Check out my Instructables page: www.instructables.com/member/... ----------------------------------------------------------------------
Disclaimer: Amazon purchase links below are affiliate links. It doesn't cost you extra to buy through those and I just get a tiny commission. Thank you!
⬇️ Other resources ⬇️
➡️ Arduino IDE programming software: www.arduino.cc/en/software
➡️ ESP32 Boards ".json" URL: github.com/iotechbugs/esp32-a...
➡️ Programming wiring diagram for the ESP32-CAM with FTDI: drive.google.com/file/d/1peCN...
⚙️ Parts/Hardware required for getting set up ⚙️
1. ESP32-CAM - amzn.to/3JsOwlz
• ESP32-CAM with MB USB Programmer - amzn.to/3Jwzqvr
2. FTDI (USB to Serial) Converter - amzn.to/3JtAnVk
3. Female to female Jumper wires - amzn.to/3JyL3Cg
4. MicroSD Card (4GB) - amzn.to/3Ff6JRk
5. USB (type-mini) Cable - amzn.to/3YHexSB
⬇️ Other parts shown in video for completing your DIY Camera ⬇️
• OV5640 5MP Image Sensor - amzn.to/403e8et
• External Antenna - amzn.to/3JbWG0g
• ESP32C3 (for IO Extender) - amzn.to/3ywguGS
• I2S Microphone - amzn.to/42112Qt
• (x2) 9G Servo Motors - amzn.to/3T4NAHj
• PIR Motion Sensors - amzn.to/3ytOQdp
• Power Bank Boost converter Module (5V 1A) - amzn.to/3T9i1fx
• Lithium Polymer cell 3.7V (500mAh) - amzn.to/3laZJOf
• Lithium Ion cell 3.7V (2500mAh) - amzn.to/40HHSOe
• Solar Power Manager (MPPT) board - amzn.to/3FbCP04
• Solar Panel (6V 200mA) - amzn.to/3Jvtm6h
➡️ For more troubleshooting tips and guidance, visit: randomnerdtutorials.com/esp32...
📼 Video on how to set up an FTP server: • How to Setup an FTP Se...
📼 Video on how to "Port Forward" an IP camera: • IP Camera Port Forwarding
➡️ Blynk Iot (Cloud-based) platform: blynk.io/
📼 My old video on making a DIY Security Camera with the ESP32-CAM (Tutorial): • Make a Simple WiFi Sec...
#esp32cam #securitycamera #esp32
Tags: max imagination, diy security camera, cctv camera, esp32, esp32-cam, esp32cam, esp32 cam security camera, diy home security, esp32 camera, wifi security camera, wifi camera, diy surveillance camera, ov2640, ov5640, arduino security camera, esp32 cam projects, esp32 camera module, esp32 camera streaming, esp32 cam arduino, esp32 cam server, esp32 camers web server, esp32 cam module, esp32 cam board, esp32 cam with arduino, esp32 cam arduino, esp32 cam code, esp32 cam sd card, esp32 cam motion detection, esp32 cctv camera, esp32 cam ip camera, diy ip camera, esp32 cam live streaming, diy security camera arduino, diy security camera cheap, diy security camera esp32, diy wifi security camera esp32 cam rechargeable, arduino based camera, diy wifi security camera, esp32 camera web server, esp32 cam guide, esp32 cam tutorial, esp32 cam instruction.
This video was sponsored by Brilliant.

КОМЕНТАРІ: 836
@MaxImagination
@MaxImagination 9 місяців тому
Hey, guys! Thanks to those of you watching and for following along with the tutorial. If any of you are experiencing the latest issue with this code: "Startup Failure: Check SD card inserted", it's probably because of the latest code updates that are causing camera model conflicts when using non-default boards. So be sure to comment out ("/*") these following lines of code (default boards) in the tab "appGlobals.h" like this: /* #if defined(CONFIG_IDF_TARGET_ESP32) // default pin configuration for ESP32 cam boards #define CAMERA_MODEL_AI_THINKER // Has PSRAM #elif defined(CONFIG_IDF_TARGET_ESP32S3) // default pin configuration below for Freenove ESP32S3 cam boards #define CAMERA_MODEL_ESP32S3_EYE // Has PSRAM #endif */ and below, uncomment (//
@mayanktomar7519
@mayanktomar7519 9 місяців тому
"Startup Failure: Check SD card inserted" now issue
@MaxImagination
@MaxImagination 9 місяців тому
@@mayanktomar7519 Have you made the adjustments in your code I mentioned above?
@user-mt1mc3bb2m
@user-mt1mc3bb2m 9 місяців тому
@@MaxImagination good afternoon, I had an error as in the comment, I did everything listed above, now I have another error, namely this one Startup Failure: Camera init error 0x105 in browser and this in serial monitor =============== Starting =============== E (512) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107 E (513) vfs_fat_sdmmc: sdmmc_card_init failed (0x107). [00:00:00.517 ERROR @ utilsFS.cpp:65] SD card mount failed E (576) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND) E (828) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND) [00:00:01.032 loadConfig] Load config [00:00:01.032 ERROR @ prefs.cpp:133] Failed to load file /data/configs.txt [00:00:01.153 setWifiSTA] Wifi Station IP from DHCP
@gigiipaq8172
@gigiipaq8172 8 місяців тому
You get the "check SD card inserted" error if you don't supply enough current power on 5V esp32cam's pin.
@user-mc8xt1iq7c
@user-mc8xt1iq7c 8 місяців тому
ip cameras are insanely inseure
@shyanandarinidesayu4596
@shyanandarinidesayu4596 2 місяці тому
I've been struggling with ESP32-CAM for a week to complete my college assignment before February 15th. and you know what? I cried because finally it is working because of you. thank you for helping so many people. you are amazing!
@MaxImagination
@MaxImagination 2 місяці тому
I'm really glad to hear one of my videos helped you! Best of luck passing your assignment!
@shyanandarinidesayu2059
@shyanandarinidesayu2059 2 місяці тому
thank you!
@EtienneDupont-tt3zt
@EtienneDupont-tt3zt 24 дні тому
did you solder the cable from the latest pin on the camera connection to the 3.3v pin?@@shogaitamigochi7211
@Radioknowhow-if7mz
@Radioknowhow-if7mz 19 днів тому
hello i get the error insufficient of PSRAM i use esp32 cam board and i select AI thinker. any help any one please
@shyanandarinidesayu2059
@shyanandarinidesayu2059 16 днів тому
@@MaxImagination hello Max, i have another question. is it possible to connect esp32-cam with esp32 microcontroller? if so, is it possible for you to make a video tutorial for that? thank you!
@iustinianbogdan7479
@iustinianbogdan7479 Рік тому
It's nice to see that Great Scott style. I'd like to see more youtubers hand writing like that, it's quite satisfying
@MaxImagination
@MaxImagination Рік тому
I've watched him for years and have taken some inspiration from his style. Smart guy. Thanks for your comment!
@nishad777s
@nishad777s 10 місяців тому
Brilliant idea to include the trouble-shooting section, cz that really ties up the project. Great work max!
@MaxImagination
@MaxImagination 10 місяців тому
I'm glad you've found it helpful. Cheers!
@KeepoHdee
@KeepoHdee 11 місяців тому
Telling people to port forward http is a risky move even if you have authentication. If any one actually needs remote access please inform yourselves before exposing a port. Great video nonetheless.
@Motivational.2024.1
@Motivational.2024.1 11 місяців тому
Is there another way to view the vids
@Od_13
@Od_13 11 місяців тому
​​@@Motivational.2024.1 yes you can run openVPN server on an old tower, that way even when you are on away you will have access to the LAN. I would also put the camera on a seperare LAN zone to segment it from my home server and other devices. You should always segment your network especially with IOT devices. Never have a smart anything on the same subnet as your computer
@mateuszdrab
@mateuszdrab 10 місяців тому
To be fair the best way would be not to connect to the webui directly but view the stream though a more secure solution like Home Assistant. Or set up a reverse proxy in front of of the camera that will not only provide TLS, it can also allow you to access other resources in your network through the use of SNI.
@davidzatica408
@davidzatica408 10 місяців тому
I’m pretty sure you can configure the esp32 to use ssl encryption and https requests, making it more secure. I haven’t tried it yet myself so I may be wrong
@Pzapza
@Pzapza 9 місяців тому
I am a complete noob when it comes to web security so this question might seem ludicrous. Are arduino packages reviewed by someone? I mean can the author of those codes(like Espressif systems for esp32 cam) have included some malware in the code?
@VitorSantos-uy6vw
@VitorSantos-uy6vw Рік тому
This is simply the best DIY video Ive seen!! Keep up the great work, Max!
@MaxImagination
@MaxImagination Рік тому
Thank you so much! 😁
@majdwardeh3698
@majdwardeh3698 21 день тому
THE best comprehensive video! Thanks!
@MaxImagination
@MaxImagination 21 день тому
Much appreciated! Thanks for watching.
@joshuaoduroadu5376
@joshuaoduroadu5376 Рік тому
Great video Max. I really enjoyed how you took your time to explain things. It made the main points to stand out clearly. You just inspired me to go build my own WiFi enabled security cam. Looking forward to the next video. Great job & keep it coming.
@MaxImagination
@MaxImagination Рік тому
Glad you found my video helpful. Many thanks!
@Radioknowhow-if7mz
@Radioknowhow-if7mz 19 днів тому
hello i get the error insufficient of PSRAM i use esp32 cam board and i select AI thinker. any help any one please
@surajsangwan5109
@surajsangwan5109 4 місяці тому
Very helpful detailed video about the working of the module and different parts required. Just the thing I was looking for. Subscribed for more such videos.
@MaxImagination
@MaxImagination 4 місяці тому
Glad you found my video helpful. Thank you for joining!
@surajsangwan5109
@surajsangwan5109 4 місяці тому
​​@@MaxImaginationI wanted to ask if this code supports video feeds from multiple ESP32-Cams? And if those can be accessed by the same static ip at one place?
@MaxImagination
@MaxImagination 4 місяці тому
Not possible from what the code author told me a few months ago. However, you could ask the code author by opening a new "Issue" in his page.
@defariase
@defariase 6 місяців тому
Excellent video. Very nicely done and well explained. Great job! Thank you.👍
@MaxImagination
@MaxImagination 5 місяців тому
Glad it was helpful! Thanks!
@bujitumutombo
@bujitumutombo 4 місяці тому
Great video Max, your are the best
@craigsmithx
@craigsmithx 3 місяці тому
I found this extremely helpful, a game changer, thank you.
@MaxImagination
@MaxImagination 3 місяці тому
Great to hear! Thanks for watching!
@adraayak
@adraayak Рік тому
Wonderful tutorial, thanks for your work. I am sure it will be a source of reference for many people.
@MaxImagination
@MaxImagination Рік тому
Glad you think so! Thanks for your kind comment 😊
@VeryMuchBlessed
@VeryMuchBlessed 11 місяців тому
Very helpful and clearly explained. Thanks for making this video.
@MaxImagination
@MaxImagination 11 місяців тому
Many thanks for your comment!
@TON-vz3pe
@TON-vz3pe 7 місяців тому
Great video. You covered everything needed which makes it fantastic.
@MaxImagination
@MaxImagination 6 місяців тому
Glad to hear you found it helpful! Thanks for your feedback.
@EPMSolutions1
@EPMSolutions1 Рік тому
Just a FYI, using a Freenove esp32-s3-wroom-1 dev module and following your video instructions, and buying the referenced SD Card, I go this to work. Having a fast enough SD makes a big difference and avoids disk errs I had on a slower SD. I can now explore the fabulous features it provides. Thanks.
@MaxImagination
@MaxImagination Рік тому
That's pretty much like the ESP32 Dev Board but with a camera, cool! Glad to hear you overcame the challenges you've faced and have a working prototype security camera. Great! 🙌 If you appreciate what I do and would like to show some support, I'd be grateful if you contribute to my work with a coffee - www.buymeacoffee.com/MaxImagination Thanks!
@Native_love
@Native_love 11 місяців тому
EPMSolutions1 I couldn't get mine to work. I used the same chip. What were your settings? Do you still have to do the jumpers with the USB ports soldered onto the chip board?
@EPMSolutions1
@EPMSolutions1 11 місяців тому
@@Native_love What specific problem are you having? I havent changed any jumpers. Do read the Github readme several times. I was able to get the same functions working as in the video.
@BuildCreation
@BuildCreation Рік тому
Another Great Tutorial Max!
@MaxImagination
@MaxImagination Рік тому
Much appreciated, buddy! 😁
@martg0
@martg0 3 місяці тому
Your Handwritten typography is so cool!
@MaxImagination
@MaxImagination 3 місяці тому
Glad you think so! If you enjoyed watching the video, please consider subscribing. Cheers.
@martg0
@martg0 3 місяці тому
@@MaxImagination Subscribed! 💪🏻⚡️💯
@supremeleader5516
@supremeleader5516 5 днів тому
Amazing guide
@MaxImagination
@MaxImagination 4 дні тому
I appreciate that!
@gbadishomeassistant748
@gbadishomeassistant748 6 місяців тому
One of the best in youtube. Thank you from Athens
@MaxImagination
@MaxImagination 6 місяців тому
Thank you too!
@GrandadsOtherChannel
@GrandadsOtherChannel Рік тому
Fascinating work, Max. 👍😁
@MaxImagination
@MaxImagination Рік тому
Many thanks!
@zk_6312
@zk_6312 Рік тому
Interesting video, just what I was looking for as I need a low cost security camera for my garage. I have several of these that I rarely use. I think I might give this a try.
@MaxImagination
@MaxImagination Рік тому
Excellent. Glad to hear that! Thanks for your comment.
@anuprashpradhan1016
@anuprashpradhan1016 Рік тому
Thank you for uploading this video it will be helpful for my project
@MaxImagination
@MaxImagination Рік тому
You are welcome! I'm glad I could help. 🙂
@walterblanc9708
@walterblanc9708 9 місяців тому
Excellent. Thankyou. I shall watch again before I start, still need the serial/usb board.
@MaxImagination
@MaxImagination 9 місяців тому
Glad you found my video resourceful. Best of luck with your projects! Cheers.
@kristoffermulbjerg6848
@kristoffermulbjerg6848 Рік тому
Very cool project keep up the good work!🔥🙌
@MaxImagination
@MaxImagination Рік тому
Thanks so much! Will do!
@Parth_188
@Parth_188 Рік тому
That's something very detailed and awesome!!
@MaxImagination
@MaxImagination Рік тому
Thank you for the encouraging comment, Prathmesh! Have a nice weekend 😁
@marcelverhoeven3514
@marcelverhoeven3514 3 місяці тому
Hi Max, well done!! very professionally explained!!! Please consider making the FTP functionality: I am looking forward to apply that too.
@MaxImagination
@MaxImagination 2 місяці тому
Thank you. Will keep that in mind.
@design8studio
@design8studio 3 місяці тому
Great job on the video!
@MaxImagination
@MaxImagination 3 місяці тому
Thank you!
@ActivePro783
@ActivePro783 4 місяці тому
I have mine flashed and running, next steps is to work on the servo’s, this is a great video, thank you very much
@MaxImagination
@MaxImagination 4 місяці тому
Glad it helped! Cheers.
@ilahikervan2838
@ilahikervan2838 2 місяці тому
Bende yaptım ama hep kamera başlatilmadi hatası alıyorum lütfen yardımcı olur musunuz 3 gündür uğraşıyorum
@artemkalinchuk
@artemkalinchuk 11 місяців тому
Thanks to this video, I was able to program my ESP32 Cam after hours of trying different ideas. All I needed was to ground the GPIO0 pin.
@MaxImagination
@MaxImagination 10 місяців тому
Glad to hear my video had helped! 😀
@vallepukumar6564
@vallepukumar6564 Рік тому
Awesome stuff max!
@MaxImagination
@MaxImagination Рік тому
Thanks a bunch, Kumar! Cheers 🙌🙌
@riggsron
@riggsron 3 місяці тому
Well done and complete too.
@MaxImagination
@MaxImagination 3 місяці тому
Thanks for watching!
@BALJEETSingh-qg7hp
@BALJEETSingh-qg7hp 8 місяців тому
Great video Max;you have put all that i was looking for, code is working excellent ,thanks again
@MaxImagination
@MaxImagination 7 місяців тому
Great to hear! Thanks for commenting!
@Motivational.2024.1
@Motivational.2024.1 11 місяців тому
Hey bud great video...very well explained and totally easy to understand...if you could make a video to show how to access from anywhere would be great because I own a trailer and am going to use this camera there but id like to access it from my house....not really sure what I'm going to need for service connections but I'm going to attempt it myself in the meantime...tky ..cya 👍👍
@MaxImagination
@MaxImagination 11 місяців тому
Hi, Andrew. Thanks for your comment! I heard someone managed to make the camera remotely accessible by using a VPN, from anywhere in the world. The way it probably would work is to go under your trailer's wifi network IP through the VPN when you're out n' about. Would be worth trying! Cheers.
@user-lh8kw8lq6b
@user-lh8kw8lq6b 8 місяців тому
I thanking yourself for putting effort to make this video and sharing with us
@MaxImagination
@MaxImagination 8 місяців тому
Glad I could help! Cheers 😀
@yashwantmineKexpert
@yashwantmineKexpert 3 місяці тому
Kid is going places ! amazing tech
@MaxImagination
@MaxImagination 3 місяці тому
Glad you liked the content. Cheers!
@AkiaraDolls
@AkiaraDolls Рік тому
Thanks, this is a super clear video..thank you very much
@MaxImagination
@MaxImagination Рік тому
Glad to hear you've found it helpful. Thanks for your comment!
@user-jm5us6uw4j
@user-jm5us6uw4j Місяць тому
The ESP32 CAM Works. I Had A 32GB SD Card And It is Working just fine. But After Some Time The Cam Starts To Heat Up On Its Own Like A Hot Glue Gun. But I Do Not Have Any Issues With The Cam. THANK YOU!!!
@MaxImagination
@MaxImagination Місяць тому
I'm glad you found my tutorial helpful. Cheers!
@matheusmota9500
@matheusmota9500 Рік тому
You help me a lot, with these tutorials, I'm really gratefull. About the connection word wide I have used ngrok, but the problem is that you will need a computer on in the same network.
@MaxImagination
@MaxImagination Рік тому
I'm very pleased to hear that! I will look more into ngrok and how I can implement it with my security camera. Thanks for the suggestion, cheers!
@teodorpavel5921
@teodorpavel5921 Рік тому
You are helping me every Day.
@MaxImagination
@MaxImagination Рік тому
Grateful to hear that!
@Pozzyfunk
@Pozzyfunk 4 місяці тому
Wireguard client has been implemented to esp32 as well. It is my preferred method to access the camera from everywhere, but you need a wireguard server.
@MaxImagination
@MaxImagination 4 місяці тому
Thanks for the tip, will consider trying it.
@taprianto1911
@taprianto1911 Рік тому
Thanks Max
@MaxImagination
@MaxImagination Рік тому
Welcome 🙂👍🏻
@ronkotlik5845
@ronkotlik5845 Рік тому
Great job, thank you
@MaxImagination
@MaxImagination Рік тому
Thanks for watching!
@am2dan
@am2dan 10 місяців тому
Looks like you did a great job explaining this, and once I try it out I might especially like the troubleshooting tips - Thanks! I wonder if it's possible with this s/w to integrate with ZoneMinder? The only way I know (there might be others) is a direct URL for the video stream.
@MaxImagination
@MaxImagination 10 місяців тому
Hi and thanks for your comment! I have never heard of ZoneMinder before... Not sure I can help with that... Cheers.
@informativetech-1
@informativetech-1 10 місяців тому
Great work Max....
@MaxImagination
@MaxImagination 10 місяців тому
Thank you!
@genericuser77
@genericuser77 11 місяців тому
Great video, Max! Thanks for the clear, step-by-step explanations! No issues other than when first compiling, my computer/IDE needed to install the (something)-X app (I forget the name?), which took and hour to download and needed a lot of space! But the Arduino IDE walked me though it and all was well. My only other issue is that every time on a new start-up after powering up the ESP, the web interface won't open because it says there is an issue with the SD card. So I take out and put back, then reset the ESP, and all is fine. But I would like to solve this so that I don't have the issue from a remote location, where I can't then fix it. Also, I set up the port forwarding so that I can view a stream from anywhere. The camera control webpage opens up, but I am not able to view a live still or live stream - it shows a "broken picture" icon in the image frame. However, the camera still records motion and I can successfully download and view the files, remotely. Does anyone know how to get the live image/stream to show in this situation??
@MaxImagination
@MaxImagination 10 місяців тому
Hi there and thank you. The ESP32-CAM tends to be sensitive with SD cards, please make sure your card's leads are clean. If the problem keeps persisting, maybe try another Micro SD. I personally haven't tried port forwarding my camera before, I wouldn't be able to suggest a fix on that... Cheers.
@cinematix_1
@cinematix_1 8 місяців тому
I had the same issue. You need to make sure, the SD card has a maximum capacity of 4GB
@jonujangid3J
@jonujangid3J Рік тому
Very detailed explanation & enjoyable tutorial keep doing such projects Max, is that possible to make fpv system for rc car or plane if yes then please try
@MaxImagination
@MaxImagination Рік тому
Thanks a lot for your kind comment, buddy! I will definitely need to try in the future! Cheers.
@MechAero_Labs
@MechAero_Labs Рік тому
Cool stuff bro
@MaxImagination
@MaxImagination Рік тому
Thanks for tuning in!
@saravananvenkatachalam1077
@saravananvenkatachalam1077 Місяць тому
Im having another doubt Max, That is which pins we want to connect the servos to use pan and tilt
@usadaily
@usadaily 10 місяців тому
No wonder your videos are inspired from GREAT SCOTT! Appreciate your efforts
@MaxImagination
@MaxImagination 10 місяців тому
I appreciate you noticing that! Cheers 👍
@usadaily
@usadaily 10 місяців тому
@@MaxImagination Seriously, you are making great videos, people replicates others and fail to deliver the content, that's not in your case you just brushed his presentation and implemented your own way of presenting your videos. "The writing down and explaining is the best"
@MaxImagination
@MaxImagination 10 місяців тому
@@usadaily Many thanks for your comments! It's heart warming to see people like yourself taking the time to write these appreciative kind of comments rather than only watching. Cheers!
@mikew2883
@mikew2883 6 місяців тому
Great video! Have you ever thought about selling kits that have all of the hard stuff configured for us that neither have the skills or patience to do it ourselves? lol We want to hit the ground running playing around with the fun stuff at the end!
@MaxImagination
@MaxImagination 6 місяців тому
Thank you! I have actually thought about it before, but haven't been able to find a 3rd party manufacturer/assembler that can help me create and ship out my own style of kits. Will consider it in the near future! Cheers.
@SusanAmberBruce
@SusanAmberBruce 11 місяців тому
Awesome video thanks
@MaxImagination
@MaxImagination 11 місяців тому
Thanks, Susan! :)
@libor-vitek
@libor-vitek 3 дні тому
Great video thanks a lot. Just one thing: in 4:09 you are saying: "Blue wire to pin U0T and green wire to pin U0R." But from the footage it's obvious, that it's vice versa: blue wire to pin U0R and green wire to pin U0T. And then follows picture which confirms your words, not footage :) In general: RX shall go to U0T and TX shall go to U0R. Everything works as you've described, on the first shot basically. "Basically" I mean that at first it started to give warnings "open failed: /data/common.js". I had installed 4 GB SD card, which worked OK in my PC. So I put another spare one, this time even 8 GB one, and everything is OK now! 😁 Thanks a lot my friend for your video!!! 👍👍👍
@MaxImagination
@MaxImagination 2 дні тому
Yes, you are right. I messed up on that part. However, the diagram should clear up confusion. Glad to hear my video has helped you. Thanks for your comment!
@atharvsrivastava85
@atharvsrivastava85 7 місяців тому
Hello thankd for project but i get an error when i select psram enabled and unable to upload the code Anyone could help me??
@mteducation
@mteducation 2 місяці тому
Great, excellent, wonderfull!!!
@libor-vitek
@libor-vitek 2 дні тому
Camera works perfectly, thanks once again for your efforts spent on your great video! 👍 The only thing weird to me is, that even when I set correct time zone for my location, the time provided by "Camera local time" value is for 21 minutes less than real time... I mean, real time is e.g. 07:31:20 and camera shows 07:10:20 🤔 Would you please know why and how to fix that? Thanks!!!
@MaxImagination
@MaxImagination 2 дні тому
Thanks for your comment! Glad to hear it works. Instead of setting time zone, try only setting the current time.
@VorpalForceField
@VorpalForceField 3 місяці тому
Great Content .. Thank You for sharing .. Cheers :)
@MaxImagination
@MaxImagination 3 місяці тому
Thanks for watching and your kind remarks!
@ChrysalideEngineering
@ChrysalideEngineering 8 місяців тому
Interesting work Thanks, Jean-Françios
@MaxImagination
@MaxImagination 7 місяців тому
Thanks for watching!
@joshuaaranguren1020
@joshuaaranguren1020 Рік тому
Awesome stuff 😃🙌🏽
@MaxImagination
@MaxImagination Рік тому
Thank you, Joshua! Have an amazing weekend! 🙌
@joshuaaranguren1020
@joshuaaranguren1020 Рік тому
@@MaxImagination thank you you too 😊
@DoItYourself-DIY
@DoItYourself-DIY Рік тому
Good job
@MaxImagination
@MaxImagination Рік тому
Thank you :)
@Technocrafts
@Technocrafts Рік тому
Wow! Amazing 😃
@MaxImagination
@MaxImagination Рік тому
Thanks, Abhishek! 😄
@D4RKFiB3R
@D4RKFiB3R 4 місяці тому
Thanks for the guide. And for the bonus lesson on how to do the Macarena 🤣
@MaxImagination
@MaxImagination 4 місяці тому
No problem 👍🤣
@kspcreation666
@kspcreation666 Рік тому
Wow amazing max 🖤🔥✨
@MaxImagination
@MaxImagination Рік тому
Thanks, buddy! Cool to see you back!
@joseluiscastrejonm.3531
@joseluiscastrejonm.3531 Рік тому
Please make that video showing how to connect with the camera from any place, Thanks
@MaxImagination
@MaxImagination Рік тому
May do one day! Thanks for your feedback.
@Tornciti
@Tornciti 4 місяці тому
Thank you for the video it is very good. However could you please do a refresh version perhaps 2024? Unfortunately the methods used in the video are no longer up to date and do not result in working camera.
@MaxImagination
@MaxImagination 4 місяці тому
Thanks for your feedback. However, most of what's explained in this video still holds relevancy to getting the ESP32-CAM set up, except for a few changes that are mentioned on the code author's github page which is understandable as the author frequently updates the open source code. I do not see the point in making another video just for a few minor changes.
@Masonrich
@Masonrich Рік тому
Awesome Video definitely will watch the next one! I've had my fair amount of issues when working with the esp32 camera most perdominantly connection issues. Also it seems like esp cams can only be accessed by one device at a time for example from the laptop and phone. I've been looking for a solution regarding these issues to achieve a video stream that can be accessed by multiple viewers and can also buffer frames for slightly delayed but way smoother playback even when experiencing connection issues. I've been thinking about writing a little nodejs server that buffers the stream of the camera and might also provide playback of recorded videos. Not sure if there are better options though. Would be awesome if you could give me some suggestions. The camera web server you showed in the video looks quite advanced in contrast to the example webserver of the esp32 cam so I will definitely check that out. Again thank you for this great video! I'll stay tuned for the next one.
@MaxImagination
@MaxImagination Рік тому
Thank you for your comment, Mason! Yes, most issues with the camera board primarily come from power or connection issues. Though after having gained enough experience dealing with the board, it becomes more straight forward when you know the right stable power to supply it with, the right serial com wiring, etc... I see what you probably need for your ESP32-CAM. A clould-based hosting service such as Home Assistant or Blynk IoT. Both of these apps enable you to stream video from the camera to cloud servers for multiple user viewing and global access. However, you may not have too much luck integrating it with the code shown in the video, unless there's a solution to that. Cheers, Max
@Masonrich
@Masonrich Рік тому
@@MaxImagination Thank you for your detailed answer i will try some of those options 👍🏻
@MaxImagination
@MaxImagination Рік тому
@@Masonrich Great. You're welcome 😊
@briandurward
@briandurward 11 місяців тому
A great video and worked straight away. A question; can it be set to stream with rtsp?
@MaxImagination
@MaxImagination 11 місяців тому
Hi and thanks for your comment. Yes, the ESP32-CAM can stream with rstp, check out this guide here - learn.circuit.rocks/esp32-cam-with-rtsp-video-streaming
@ralphwober9245
@ralphwober9245 11 місяців тому
Hi Max, thank you very much for your video. I would like to ask if it is possible to get a time and date signature into the video as well that would be very interesting. Thank you very much and have a good time. Greetings from Germany
@MaxImagination
@MaxImagination 11 місяців тому
Hi, Ralph. Thanks for your comment. You can set the time and date in the camera web server settings (edit config tab) to attach a time and date label in the properties of the video clips the camera produces but unfortunately, not in the video itself (from what I've come to know). Cheers!
@ElectroCode
@ElectroCode Рік тому
Awesome video Max!!! Very informative 🤯
@MaxImagination
@MaxImagination Рік тому
I appreciate it! Thanks you, buddy 😃🙌
@robertovic7697
@robertovic7697 8 місяців тому
Hello. First of all, thank you for the perfectly explained video. I have a couple of questions that I would like to see if you could clarify for me. For a week-long recording autonomy, what type of battery would I need? On the other hand, I see that the options include the deep sleep mode. How is it activated? I'm sorry if my English sounds a bit rough, but I'm translating via ChatGPT. Thanks
@MaxImagination
@MaxImagination 7 місяців тому
Depending on the application for your camera, it may just run for a week on the 2200mAh battery mentioned in the video if run in deep sleep mode and activated only when an entity is present. I have never used deep sleep more so you'd be better off asking the code repository author in "Issues" - github.com/s60sc/ESP32-CAM_MJPEG2SD/issues Running it 24/7 for a week on a much larger battery is pointless, in my opinion. Cheers.
@megaspartan888
@megaspartan888 18 годин тому
Great video! What could be the problem if I can record manually and by motion detection but I cannot get a still or stream? Thanks
@MaxImagination
@MaxImagination 14 годин тому
Thank you! You are either having getting a slow internet connection or simply under-powering the ESP32-CAM. I found these two to be the case with my ESP32 camera when I couldn't get the stream going. I suggest you use a much more stable power supply if you aren't already and keep connections tight. Resetting the board from time to time may also help. Cheers.
@Takeover738
@Takeover738 Місяць тому
GREAT VIDEO I'm trying to add two servo motors to work with this code but no luck.
@MaxImagination
@MaxImagination Місяць тому
Thank you! I suggest you use pins 4 and 12 for the servo signal pins. Keep in mind that pin 4 is attached to the onboard LED and would need its resistor desoldered first. If you need further help, do not hesitate to ask.
@Takeover738
@Takeover738 Місяць тому
I'm using a esp32s3 will that still apply for this board?
@MaxImagination
@MaxImagination Місяць тому
Not entirely sure, you would need to view the pinout diagram for that specific board and check to see that the pins you want to use aren't used for any communication protocols and are free to use. Researching this online as a question may help you further. Cheers.
@haydenc2742
@haydenc2742 Рік тому
Is there a direct URL to point DVR's to just to monitor/view/record the video stream without the configuration page showing? Very very cool, this firmware is MUCH better than many other ones I have found! Thanks! Keep em coming!!!!
@MaxImagination
@MaxImagination Рік тому
Hi there. From what I've heard, this web sever code doesn't support such extensions. Thanks for your comment!
@m.dimitrov
@m.dimitrov 11 місяців тому
@haydenc2742 @MaxImagination You can actually just point the DVR to "local ip":81/stream?source=sensor. And that's a direct video feed. You can check the exact URL by starting the stream in the configuration panel, right clicking on the feed, then inspect element and that's your URL. Just keep in mind that you have to stop streaming first then the URL will work.
@MaxImagination
@MaxImagination 11 місяців тому
@@m.dimitrov Hi, Martin. This is only true if the camera's IP is port forwarded, correct?
@m.dimitrov
@m.dimitrov 11 місяців тому
@@MaxImagination If you want to monitor it locally on the network, there is no need to forward anything. But from outside you have to forward the port yeah.
@Native_love
@Native_love 11 місяців тому
Great video! Subbed! ❤
@MaxImagination
@MaxImagination 11 місяців тому
Thank you! :D
@Pak00Channel
@Pak00Channel 9 місяців тому
Great video Max. Did you manage to get recordings without stopping on uSD card saved in .avi format? Videos that I manage to save to the uSD card stop and skip every few seconds. Do I have the camera parameters set incorrectly or is it simply impossible to get full fluency of the .avi recording on the uSD card?
@MaxImagination
@MaxImagination 9 місяців тому
Thank you! The recordings just tend to skip around now and then like that if you're using the ESP32-CAM. If you want smoother results, I suggest you use faster ESP32-based boards that buffer the frames more smoothly like the XIAO ESP32S3. If you want to stick with your board, lowering the resolution may help.
@Pak00Channel
@Pak00Channel 9 місяців тому
@@MaxImagination Thank you for your response. Do you think that the jumping effects in the recordings are the fault of writing (low speed) to the uSD card or frame buffering in PSRAM? I did not want to change the module and I care about the smoothness of the recording on the card. Any suggestions (reducing the resolution doesn't help)?
@TusharJoshi2225tj
@TusharJoshi2225tj Рік тому
This is Brilliant, Please help to make it accessible from anywhere and not having to connect to the same Wi-Fi.
@MaxImagination
@MaxImagination Рік тому
Thanks for your comment. I will try! 😀
@TomBruner1
@TomBruner1 3 місяці тому
Great video. Instead of setting a fixed IP, I reserve one in the DHCP settings on my router. Prevents accidental IP conflicts. But, I guess that's a different video. 😏
@MaxImagination
@MaxImagination 3 місяці тому
Thanks for your comment. I'm sure others may find it helpful.
@user-ls4wz9el6f
@user-ls4wz9el6f 5 місяців тому
The video is really nice man. All the things required are explained in really nice way. Since last so many days I have an idea in my mind that we can use the cloud based security camera using ESP32 cam. Last time I used ESP32 I created a data logger that will send the sensor data continuously on telegram . Here I have the idea that why cant we use the telegram as a storage device for our video footages captured by the ESP32 cam . we can send videos of some short interval in periodic manner with time stamping. If you see this msg and agree make sure to reply.
@MaxImagination
@MaxImagination 5 місяців тому
Hi there. Thanks for your kind comment! I think your idea might be worth something. Do you have a reference to a system with an ESP32-CAm rigged up that way? This could possibly be the most convenient cloud hosting solution for the camera. Cheers.
@sergiocharrua4126
@sergiocharrua4126 7 місяців тому
what is the maximum resolution camera sensor that the ESP32 support? can i connect to it a 4k +60fps sensor and stream video?
@MaxImagination
@MaxImagination 7 місяців тому
The ESP32 currently does not support 4K video streaming... That would be an Arduous task for it... Though, it can stream up to ~10FPS from an OV5640 5MP 2592x1944 image sensor which is pretty high for a microprocessor like the ESP32.
@successfulelectronics2031
@successfulelectronics2031 Рік тому
Fantastic 😁 video
@MaxImagination
@MaxImagination Рік тому
Glad you enjoyed it. Thank you!!
@sudligh
@sudligh 6 місяців тому
Pls add a section about installing supported microphone in this camera.
@MaxImagination
@MaxImagination 6 місяців тому
Going to the code repository on GitHub (linked below in description) there's a section on what pins you can use for a mic.
@toaltogaaumi
@toaltogaaumi 8 місяців тому
Hi! can you add more cameras to the same system and watch them all at once on a monitor? thanks
@MaxImagination
@MaxImagination 8 місяців тому
Hi there. Unfortunately, this is not possible just yet - according to the author of the code repository. Cheers.
@pravinvaz
@pravinvaz 4 дні тому
Hey mate, thanks for the fab video. I'm using a camera which looks exactly like the one you are using and the chip states ESP-32S. It uses a micro USB adapter. I just can't figure out the board selection though. Arduino detects the port to be a NodeMCU-32S. Have tried all in the list but keep getting the Canera init failed error x106 Any suggestions welcome. Or should I go for the Xiao S3 series with the better PSRAM ? Cheers
@MaxImagination
@MaxImagination 3 дні тому
Hey and thanks! That board normally works as I've used it as well with the code. However, you're may be faulty. I suggest you read this forum thread: forum.arduino.cc/t/esp32-cam-error-camera-init-failed/959287/5 Be sure to check that the board you're purchasing contains at least 4MB of flash and PSRAM. Cheers.
@jesusgutierrez1025
@jesusgutierrez1025 6 місяців тому
to conect the cmaera to the world you can use home assistant and then conecto home asistant to the worl through a tunnel
@MaxImagination
@MaxImagination 6 місяців тому
Thanks for the tip.
@jesusgutierrez1025
@jesusgutierrez1025 6 місяців тому
You welcome@@MaxImagination
@rw3ave
@rw3ave 8 місяців тому
Hello, Max... A wonderful lesson... I do everything as you say, but for some reason, after downloading the sketch, the full web interface does not open... I don't know what to do... I've tried everything... Help to launch the web interface.... Sincerely, Gennady...
@MaxImagination
@MaxImagination 8 місяців тому
Hi there. Thanks for your comment. May you please tell me, what error message are you getting in the serial monitor? Based on this, I can help.
@Felix-creative
@Felix-creative Рік тому
Good job❤👍👍👍
@MaxImagination
@MaxImagination Рік тому
Thank you! Cheers!
@diegoolivera6081
@diegoolivera6081 Рік тому
Very wow!
@JoxRapper
@JoxRapper 6 місяців тому
This is amazaing! My camera for some reaso is kinda slow but it is good enough! Do you happen to have an option for face recognition?
@MaxImagination
@MaxImagination 6 місяців тому
Thanks. I do not, so I suggest you look on places like GitHub. Cheers.
@tiagodesteffani
@tiagodesteffani Рік тому
Awesome 😃👏🏼👏🏼👏🏼
@MaxImagination
@MaxImagination Рік тому
Thank you! Cheers!
@JuanSanchez-ik7wx
@JuanSanchez-ik7wx 3 місяці тому
We want info on making a body warn camera
@danman2070
@danman2070 Рік тому
Thanks for this. I've been looking for some instruction on these modules. Can you tell me, how can the SD card capacity be increased? Is there a module which handles 128GB sd cards? Thanks
@MaxImagination
@MaxImagination Рік тому
Hi there. Good news... You can now add memory cards above 4GB. I am using a 32GB SD card with mine. Someone told me in order to use a Micro SD card that's 64GB or higher, you must format it in "exFat".
@danman2070
@danman2070 Рік тому
@@MaxImagination thanks for that. I'm now just wondering what the upper limit of the SD card memory is and why exfat? I would have thought FAT32. Thanks
@gooierhorizon6766
@gooierhorizon6766 Рік тому
Amazing
@MaxImagination
@MaxImagination Рік тому
Thank you! Cheers!
@Gerald-iz7mv
@Gerald-iz7mv Рік тому
Hi nice video - it would be interesting to connect it to LTE and stream video or photos + add a solar cell in your next video! And also make it waterproof ;) Would also be interested in some long term test - and how much power all needs to run.
@MaxImagination
@MaxImagination Рік тому
Will do! Thanks for your comment 😊
@Gerald-iz7mv
@Gerald-iz7mv Рік тому
There is a new board which could be interesting to you: Walter - ESP32-S3 5G IoT module
@Gerald-iz7mv
@Gerald-iz7mv Рік тому
There is also raspberry pi zero 2 w with raspberry pi camera module 3 … which could be interesting - since it higher quality and a better cou for processing…
@imjoey9456
@imjoey9456 Рік тому
Woaww Great path you got on YT... congrats I WISH I A FANTASTIC FUTURE ON YOUR CHANNEL
@MaxImagination
@MaxImagination Рік тому
Thank you so much! 😊
@simonglc5070
@simonglc5070 8 місяців тому
I like your video, do you have one that uses ESP32 Cam for rear mirror on bicycle and can be viewed by mobile phone through Bluetooth or wifi.
@MaxImagination
@MaxImagination 8 місяців тому
Hi there, thanks! I'm sure this can be done.
@ath_greek
@ath_greek 2 місяці тому
could you please do a video with object recognition and object tracking combine ? I have a pan and tilt kit/esp32cam/FTDI and I tried everything 😢
@MaxImagination
@MaxImagination 2 місяці тому
No promises, but I may try something as such in a future video.
@Rsully4uk
@Rsully4uk Рік тому
Very helpful, thanks! Do you have to have an SD card for this to work? Also, a way to access the camera feed without having to be on a wifi network would be great, is that possible?
@MaxImagination
@MaxImagination Рік тому
Thanks for your comment! Yes, an SD card is necessary when using the ESP32-CAM with this code. You don't actually need to use a WiFi network if you use the camera's access point and your viewing device is within it's signal range. Though you'd have to connect to it as if it's a WiFi network in your device's network settings and use the IP "192.168.4.1" in your web browser. Great feature for using it in remote locations 👍
@genericuser77
@genericuser77 11 місяців тому
The SD card also stores some of the configuration info from the web interface, which I discovered when I switched cards with a newly formatted card and the camera wasn't working anymore. I had to do the process all over and connect the devices to the IDE and upload the code again!
@shovanjagadev6155
@shovanjagadev6155 9 місяців тому
@@MaxImagination Hi, I've been having issues with getting the AP working. [00:00:00.867 setWifiSTA] Wifi Station IP from DHCP [00:00:00.880 WARN startWifi] SSID not available, use AP [00:00:00.883 onWiFiEvent] Wifi AP stopped: ESP-CAM_MJPEG_4CA67715B80C [00:00:00.884 onWiFiEvent] Wifi AP SSID: ESP-CAM_MJPEG_4CA67715B80C started, use '192.168.4.1' to connect [00:00:04.110 startPing] Started ping monitoring [00:00:04.114 startWebServer] Starting web server on port: 80 This is what I receive, but when I try connecting my phone to the ESP AP(which I can see as a "wifi" network") it doesn't provide an internet connection and cannot load the 192.168.4.1 page. Any advice?
@CraftChannelYT
@CraftChannelYT Рік тому
Hi Max 🙋‍♂️ Cool Peoject 👏
@MaxImagination
@MaxImagination Рік тому
Thank you! Cheers! 👍
@mayoortechinnovations
@mayoortechinnovations 3 місяці тому
Please have you ever updated software using the inbuilt (OTA UPLOAD)..? if yes please direct me how to go about it, thanks
@MaxImagination
@MaxImagination 3 місяці тому
Hi there. No, I have never gone about using that method for updates. As I cannot help you on this matter, I suggest you open an "Issue" on the code author's GitHub page requesting help. Cheers github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
@bberil4834
@bberil4834 5 місяців тому
Thanks for the video. I am planning to implement a similar wireless streaming setup with ESP32 but I want to stream the video directly to my Raspberry Pi4 without using the Internet. Is there a way to do this?
@MaxImagination
@MaxImagination 5 місяців тому
Thanks for watching. I assume you can since you can run the ESP camera in access point mode and open the web stream on the Raspberry Pi and view the video feed via a connected monitor. Just like you would on a regular computer.
Making the most EQUIPPED DIY Security Camera with ESP32-CAM
26:36
Max Imagination
Переглядів 320 тис.
DIY Home Security - ON A BUDGET!
9:12
DIY Perks
Переглядів 5 млн
I Trapped Myself in a Box with Colored Smoke!
00:50
A4
Переглядів 16 млн
I PUT MY ARMOR ON (Creeper) (PG Version)
00:19
Sam Green
Переглядів 3,3 млн
NO NO NO YES! (40 MLN SUBSCRIBERS CHALLENGE!) #shorts
00:27
PANDA BOI
Переглядів 82 млн
ESP32-Cam Complete Guide
26:31
DIY Engineers
Переглядів 93 тис.
10 Great Artificial Intelligence projects using ESP32-CAM!!!
7:18
ToP Projects Compilation
Переглядів 132 тис.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Переглядів 179 тис.
How to use LoRa Module with Arduino - Range Test - RYLR406 15KM
13:00
Ahmad Logs
Переглядів 307 тис.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Переглядів 197 тис.
Build Your Own Drone Tracking Radar:  Part 1
20:08
Jon Kraft
Переглядів 402 тис.
How to setup and use ESP32 Cam with Micro USB WiFi Camera
27:07
Robojax
Переглядів 156 тис.
Nest Cams are a BIG RIPOFF - DIY WiFi Security Camera Guide
9:40
Linus Tech Tips
Переглядів 2,5 млн
Introduction to ESP32 - Getting Started
47:57
DroneBot Workshop
Переглядів 1,5 млн
Как часто вы чистите свой телефон
0:33
KINO KAIF
Переглядів 662 тис.
Робот зарядка на 65W🤖
0:36
serg1us
Переглядів 1,6 млн
Опасная флешка 🤯
0:22
FATA MORGANA
Переглядів 298 тис.
Result of the portable iPhone electrical machine #hacks
1:01
KevKevKiwi
Переглядів 4,8 млн
Какой MacBook выбрать в 2024 - М1, М2 или М3?
24:56