ESP32-CAM - Guide to making YOUR first DIY Security Camera
HTML-код
- Опубликовано: 26 сен 2024
- To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/M.... 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/s60... ⬅️
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/s60... ⬅️
👕 Grab my exclusive Merch here! - max-imaginatio...
----------------------------------------------------------------------
👉 Visit my online Storefront: sites.google.c...
----------------------------------------------------------------------
☕ Buy me a coffee - www.buymeacoff...
----------------------------------------------------------------------
Follow me on Instagram: @max.imagination - www.instagram.... Check out my Instructables page: www.instructab... ----------------------------------------------------------------------
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...
➡️ ESP32 Boards ".json" URL: github.com/iot...
➡️ Programming wiring diagram for the ESP32-CAM with FTDI: drive.google.c...
⚙️ 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: randomnerdtuto...
📼 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.
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 (//
"Startup Failure: Check SD card inserted" now issue
@@mayanktomar7519 Have you made the adjustments in your code I mentioned above?
@@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
You get the "check SD card inserted" error if you don't supply enough current power on 5V esp32cam's pin.
ip cameras are insanely inseure
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!
I'm really glad to hear one of my videos helped you! Best of luck passing your assignment!
thank you!
hello i get the error insufficient of PSRAM i use esp32 cam board and i select AI thinker. any help any one please
@@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!
@@shyanandarinidesayu2059 it would be easy to include wifi communication between the two boards, many libraries for that such as ESPnow or the basic wifi one. As far as wiring them together I've never seen or heard of someone doing that so idk.
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.
Is there another way to view the vids
@@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
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.
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
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?
It's nice to see that Great Scott style. I'd like to see more youtubers hand writing like that, it's quite satisfying
I've watched him for years and have taken some inspiration from his style. Smart guy.
Thanks for your comment!
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.
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!
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?
@@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.
This is simply the best DIY video Ive seen!! Keep up the great work, Max!
Thank you so much! 😁
Hello, what a nice work on it, congratulations
Thank you! Cheers!
Brilliant idea to include the trouble-shooting section, cz that really ties up the project.
Great work max!
I'm glad you've found it helpful. Cheers!
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!!!
I'm glad you found my tutorial helpful. Cheers!
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.
Glad you found my video helpful. Many thanks!
hello i get the error insufficient of PSRAM i use esp32 cam board and i select AI thinker. any help any one please
Great video and information! Thank You
Glad it was helpful! Thanks!
Another Great Tutorial Max!
Much appreciated, buddy! 😁
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.
Glad to hear my video had helped! 😀
Very cool project keep up the good work!🔥🙌
Thanks so much! Will do!
I have mine flashed and running, next steps is to work on the servo’s, this is a great video, thank you very much
Glad it helped! Cheers.
Bende yaptım ama hep kamera başlatilmadi hatası alıyorum lütfen yardımcı olur musunuz 3 gündür uğraşıyorum
Wonderful tutorial, thanks for your work. I am sure it will be a source of reference for many people.
Glad you think so! Thanks for your kind comment 😊
I thanking yourself for putting effort to make this video and sharing with us
Glad I could help! Cheers 😀
Wow! Amazing 😃
Thanks, Abhishek! 😄
One of the best in youtube. Thank you from Athens
Thank you too!
That's something very detailed and awesome!!
Thank you for the encouraging comment, Prathmesh! Have a nice weekend 😁
Big thanks, I will try to make a body cam with it
All the best with your project!
Fascinating work, Max. 👍😁
Many thanks!
I just made one to monitor my 3D printer, for $1.20 on top of the esp32 camera I got the CH340 chipped MB also with external antenna for the wifi camera, $8.43 all in from AliExpress in 5 days. The MB has USB for connecting to Arduiño IDE and loading the software, much easier than using the Fdti. It takes so little power I plugged directly into my Bambu Lab P1s usb power output. The only thing I noticed is the processor gets warm on the high resolution setting so will probably fit a fan or heatsink or just leave it on 800x600.
Nice to hear! You don't need to cool the ESP32 as it's built to handle that.
@@MaxImagination thanks
Good job
Thank you :)
Good content, just lighten up on the hand gestures 33%
Thank you. Gotcha on that.
Cool stuff bro
Thanks for tuning in!
Hi Max, well done!! very professionally explained!!!
Please consider making the FTP functionality: I am looking forward to apply that too.
Thank you. Will keep that in mind.
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.
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
@@MaxImagination Thank you for your detailed answer i will try some of those options 👍🏻
@@Masonrich Great. You're welcome 😊
hello, great video. i have a problem which i don't know how to solve. when i uploaded the code to the esp32-cam and got the ip (192.168.4.1) , after connecting to the access point and loading the 192.168.4.1 page, i get this error: "Startup failure: camera init error 0xffffffff". could you help me solve this problem.
Hi there, thanks! Please ask the code author for a solution to that issue: github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
Fantastic 😁 video
Glad you enjoyed it. Thank you!!
Great video Max;you have put all that i was looking for, code is working excellent ,thanks again
Great to hear! Thanks for commenting!
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
Thanks a lot for your kind comment, buddy! I will definitely need to try in the future! Cheers.
Very helpful and clearly explained. Thanks for making this video.
Many thanks for your comment!
Amazing
Thank you! Cheers!
No wonder your videos are inspired from GREAT SCOTT! Appreciate your efforts
I appreciate you noticing that! Cheers 👍
@@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"
@@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!
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??
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.
I had the same issue. You need to make sure, the SD card has a maximum capacity of 4GB
Your Handwritten typography is so cool!
Glad you think so! If you enjoyed watching the video, please consider subscribing. Cheers.
@@MaxImagination Subscribed! 💪🏻⚡️💯
I'm facing psram issues
Did you get it solved yet?
Need to set yor Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)" under Tools
Hi max, thank you for this fantastic tutorial. Did you meanwhile manage to access the camera remotely. This is a key feature for me. If so, I will order right away.
Hi Haissam, yes it's possible. You can port forward the camera via your router as guided in the code author's github repository of the code. Check it out.
Hi bro i am trying to download the board but its not downloading can you help me please 😢
I am making a project for school
Paste this in the preferences tab: "raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"
Then try downloading the ESP32 boards library in the "Boards manager" not "Library manager".
Ok thank you so much 😊
cool project. It will be nice if (1) enable wifi manager to the code base (2) use a small LED to display the current ip so naïve users can see the ip and access to it for the first time.
Thanks! To answer to your 2nd suggestion, such can be done by setting and using its own static IP (as shown in the video), the IP should be visible by other devices connected to that network when searching the web browser. Cheers.
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?
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 👍
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!
@@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?
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!!! 👍👍👍
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!
Hello thankd for project but i get an error when i select psram enabled and unable to upload the code
Anyone could help me??
Need to set yor Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)" under Tools
@@chrisstruck2948 ok
Hi Max, thanks for the great video! Very detailed and your enthusiasm is contagious.
I am having the same problem as a few others from recent posts. After compiling and a successful upload, the serial debugger shows "WARN setup Startup Failure: Crash loop detected". I am using these versions (the latest as of now):
Arduino IDE 2.3.2
esp32 3.0.4
ESP32-CAM_MJPEG2SD 9.9.3
I have the IDE set to:
Board: AI Thinker ESP32-CAM
Partition scheme: Huge app (3MB not OTA/1MB SPIFFS)
I have a 32G SD card inserted with the data folder on it.
My board is the standard ESP32-CAM connected to the ESP-32CAM-MB, all plugged into USB into my computer for power & uploading.
I tried a second ESP32-CAM board, same problem. These boards upload and run the "Examples > ESP32 > Camera > Camera webserver" code just fine.
Here is the serial boot log:
[00:00:06.531 startPing] Started ping monitoring - On
[00:00:06.536 startWebServer] Starting web server on port: 80
[00:00:06.536 startWebServer] Remote server certificates not checked
[00:00:06.536 WARN setup] Startup Failure: Crash loop detected
[00:00:06.547 loop] =============== Total tasks: 14 ===============
[00:00:11.533 resetWatchDog] WatchDog started using task: ping
Have you seen this "Crash loop" problem before? If not, what versions of the IDE, esp32, and ESP32-CAM_MJPEG2SD did you use when making the video?
Thanks much!
Tom
Hi Tom, thank you! I get this Crash loop now and then. It is because of insufficient power supply given during startup. I suggest you use a higher quality USB cable and use more firmly connected wires if possible.
@@MaxImagination That did the trick, thank you! A beefier power supply worked. I also disconnected the ESP32-CAM-MB board. Thanks so much!
cara bikin kamera cctv dengan ESP32-CAM ini di tonton sampai selesai karena merupakan konten yang menarik dan sangat bermanfaat sehingga saya sangat setia mendukung dengan paket lengkap agar channelnya menjadi besar, selalu eksis, sukses dan berhasil yaa kak...
Thank you for following with your kind support! :)
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.
You mentioned assigning a static ip address from the range 0-255. This is not 100% correct. The range should be 2-254 because most routes use the .1 and the broadcast uses the .255 Other then that you did a great job 👍
Good job Max, thank you. Would you mind to make this project can upload automatically when saveddata 80% of sd card capacity via Google Drive?
Thanks for noting that, Sidney King. Good to keep in mind 👍🏻
Thank you, Little Things! The current camera web server does not yet support direct Google Drive file transfer but FTP file transfer. I wouldn't know how this would be done exactly, so you best bet would be to ask the code author in their GitHub repository in the "Issues" section. Cheers 👍🏻
I'm facing an error ( insert sd card ) when I connect to esp32 cam using dynamic IP, as i already inserted one.
Hi Max 🙋♂️ Cool Peoject 👏
Thank you! Cheers! 👍
Thanks Max
Welcome 🙂👍🏻
I found this extremely helpful, a game changer, thank you.
Great to hear! Thanks for watching!
Thank you for uploading this video it will be helpful for my project
You are welcome! I'm glad I could help. 🙂
This is Brilliant, Please help to make it accessible from anywhere and not having to connect to the same Wi-Fi.
Thanks for your comment. I will try! 😀
Excellent. Thankyou. I shall watch again before I start, still need the serial/usb board.
Glad you found my video resourceful. Best of luck with your projects! Cheers.
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.
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.
Great video!!
I have a question about a sleep mode. Is it already the case that the camera goes into sleep mode if you press "Stop Streaming" in the GUI? If this is not the case, are there any methods on how to to it. I would like to use it to read a water meter reading in my house. Although I can supply the camera as normal via the mains, I still want to use as little energy as possible when it is not in use.
Would appreciate any kind of answer!
I appreciate that, Jonathan! Using the code as it is, it does not go into sleep mode, from what I know. I've never used sleep modes with an ESP, so I'd suggest you ask the code author here in "Issues" on how that would be done: github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
Additionally, you can look up online how to put an ESP32 into sleep mode or standby. Cheers!
I don't see the time to see your next video about how to integrate with Home Assistant, as you said. I try to find solutions but nothing. Any idea how to start ??. I would greatly appreciate it . Nevertheless, despite your young age, I congratulate you on your effort.
Hi there. My focus lately hasn't been on IoT projects, so I would have as little of a clue as you...
If I get enough requests on this subject, I might consider it. Thanks for your comment.
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.
Excellent. Glad to hear that! Thanks for your comment.
What if you want a better camera and/or lenses to get zoom/wide? Are there options for that in this?
There are. Consider using the OV5460 image sensor with the ESP32-CAM board for ~2600xXXXX and higher pixels.
This is an excellent video with clear instructions. There is an error on the terminal saying it cannot read common.js in data folder of the SD card. I assume this is a SD card read error. Appreciate your help to fix this issue.
Thanks for your positive feedback. That error is completely new to me. I suggest you ask the code author in "Issues" on their GitHub page - github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
Nice project for learning :) But pricewice, an Eufy solar powered waterproof cam is so cheap now, the parts shown here are more expensive.
Thanks for your comment. Good point for those who don't want to mess with electronics. But, for those who like the making experience will want to try with the inexpensive ESP32-CAM. A DIY surveillance camera can be built even under $20 USD.
"Must be compiled with arduino-esp32 core v3.0.3 or higher" If you are facing this issue then you need to update your libraries to v3.0.4
That's true! Updates are constantly being made to this code.
Good tip for others who are struggling to compile it.
Is it possible to upload this to glasses and use it in war? Im interessant to create new glasses for my self
Sure!
Excellent video. Very nicely done and well explained. Great job! Thank you.👍
Glad it was helpful! Thanks!
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.
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!
to conect the cmaera to the world you can use home assistant and then conecto home asistant to the worl through a tunnel
Thanks for the tip.
You welcome@@MaxImagination
After doing everything you did I get this error in my serial monitor (but the web server starts, showing the same error):
E (10732) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
I tried everything. I am using the ESP32-CAM-MB programmer module and have a 32 GB formatted (FAT32) SD card with the data folder inside it. I tried swapping the board model from "ESP32 Dev Module" to "AI Thinker ESP32-CAM" and tried switching the Partition Scheme but still get the same error. I even bought another OV2640 camera to test but both of them gave me the same result. I am sure I inserted the camera connector correctly, it is aligned, all the way back and firmly held in place. My camera cable looks fine, I just bought it. I also tried uploading the original CameraWebServer code but the same error shows up.
What should I try next? This is my first experience with this board and I am very frustrated. Why can't it just work?
Hi there, hearing you have tried all sorts of things to resolve the issue, it sounds like you may just have a damaged image sensor... Try running the ESP32-CAM with another OV2640 when you manage to get another one.
Question, how did you get good camera quality from the get go? Looks like your signal strength is larger than when I tried it which was -30dBm.
Could have been that I was closer to my router and used an external antenna. Try that.
Pls add a section about installing supported microphone in this camera.
Going to the code repository on GitHub (linked below in description) there's a section on what pins you can use for a mic.
2:49 Beginning. Listing of parts and components needed.
Video was ok, but you need to have more hand waving--more talking with your hands. Use more gestures and hand actions.
Thanks for your feedback 🤣🤣🤣
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.
Glad you found my video helpful. Thank you for joining!
@@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?
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.
Awesome stuff max!
Thanks a bunch, Kumar! Cheers 🙌🙌
Great job on the video!
Thank you!
I have uploaded the code but the serial monitor is not showing ip address. And the esp is not creating any hotspot. I am tried of trying 😢
Have you checked your jumper wires? Are your communication wires properly connected, making a connection? Have you undone the uploading jumper and hit the reset button afterwards? Did you ensure to choose the correct baud rate of 115200? Did you insert the microSD card with info?
You are helping me every Day.
Grateful to hear that!
Please have you ever updated software using the inbuilt (OTA UPLOAD)..?
if yes please direct me how to go about it, thanks
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
i cant post a comment for some reason, or there is a delay, in which case you will get 3x comments from me
if you dont here it is again:
my contribution just got merged: external heartbeat functionality.
Read the description in the repo but in short, you dont need DDNS anymore to know your camera(s) dynamic IP address, because it can send a heartbeat JSON payload to the server/website url you define. I will soon publish a php script to accept this payload so you can always have a list of addresses of your available cameras :)
Working now on a web version of the portal for all our cameras :)
Hello Jakob,
Nice to know you have submitted and have had merged a contribution. Sounds cool! Will check it out.
Thanks for sharing!
@@MaxImagination espsee beta website is up, the first one using the heartbeat functionality, i would much appreciate if you can test it and for a start we see if it does what you need it to do :)
Your video was inspiration for it when you mentioned DDNS setup and port forwarding, so thank you for that! :)
Thanks, this is a super clear video..thank you very much
Glad to hear you've found it helpful. Thanks for your comment!
Camera init failed with error 0x105
how to fix this
Thanks for the guide. And for the bonus lesson on how to do the Macarena 🤣
No problem 👍🤣
Im having another doubt Max, That is which pins we want to connect the servos to use pan and tilt
Hello... the tutorial is great. but i am facing 1 problem of configs.txt, which does not seem to appear in the latest github link. A JS file is being showed instead of the txt file... Please provide a solution to this as well
Hello there. I have not used the code/motion capture application with any of my ESP32s lately. There's a heap of new updates, so I suggest you check in with the code author by inquiring with an "Issue" in the repository on GitHub with your problem. Please keep in mind I do not have any control over with what changes in the code. Cheers.
Max thank you so much for this project.. please is it possible to use 32Gb memory card for this project?
Hi there. Thanks for your comment. Yes, 32gb cards work well in the ESP32-CAM. I've been using my ESP32 Security camera with one of them for the past few months without much of an issue.
@@MaxImagination amazing thanks
Kid is going places ! amazing tech
Glad you liked the content. Cheers!
Interesting work
Thanks,
Jean-Françios
Thanks for watching!
Compilation error: text section exceeds available space in board
that's what i get. should i buy a new esp32 cam?
Sounds like you purchased a knock-off ESP32-CAM with less memory... Though I suggest you first try to upload the code again but this time with a lower partition scheme before trying another ESP.
This is great. My USB doesn’t provide enough power. How do I supplement a USB power?
Thanks. You should then consider getting one of these - amzn.to/3QJxLGx
With this breadboard power supply, you can power you cam with either 3.3.V of 5V DC. Cheers
Hi max can you tell me I have to change servo pin form where can I do that do I have to change code?
No need to change anything in the code. In the peripherals tab in the web interface, you can go into deeper settings and type in the pin you want to output to a servo. I recommend pins 4 and 12.
Ip can be 1 to 254 because 0 is network id and 255 is broadcast address please correct your self
Right on... One little mistake of mine!
having an issue when it is trying to get the ST SSID and IP so it is defaulting to AP mode with the default '192.168.4.1' but I am not seeing the AP SSID. Any thoughts?
Not sure why this is happening. What is the serial monitor spitting out? If you want a direct answer to your issue, open an "Issue" here: github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
Bien. Muchas gracias por tu cooperación. Lo interesante sería es como obtener imágenes espectroscopia tipo NDVI.
Gracias por ver el video! Saludos!
No sé que es el NDVI, pero es posible que el ESP32 puede hacer algo lo mismo 👍🏻
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!
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.
Great video but I get a ton of compiling errors :(
Thank you. What error are you facing?
Perhaps a PDF of the steps, with pics tools and specs - you have the buy me a cup of coffee link.
I don't do written tutorials anymore. However, you can check out my Instructables page where I listed a project using the ESP32 cam with steps - www.instructables.com/How-to-Make-a-WiFi-Security-Camera-ESP32-CAM-DIY-R/
@@MaxImagination I will check it out - thank you for all your hard work !!!
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...
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.
This guy is more animated than the simpsons, I wonder if he wouldn't be able to talk if you tied him and wasn't able to move his arms?
Literally me after watching 50 different sales people talk. Oops! 😂😂😂
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
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.
I don't know what type the model of my camera modul, where can I found it?
Please refer to the page which you purchased it from and see. If it's a typical ESP32-CAM, it's the "AI thinker".
Hey there,
i have successfully uploaded the code as per the instruction from the video but when i am trying to access the webpage ... the webpage shows " Startup Failure: Camera init error 0xffffffff"...
can someone tell why i am getting this. i have tried uploading the example code but its running without any issues so why this code is having issues...? any help will be much appreciated.
Hi there. As updates are constantly being made to the code which I did not write, I cannot help you with that, but I can refer you to open an issue at the code author's page - github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
Awesome video Max!!! Very informative 🤯
I appreciate it! Thanks you, buddy 😃🙌