ESP32-CAM - Guide to making YOUR first DIY Security Camera
Вставка
- Опубліковано 10 бер 2023
- 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. - Наука та технологія
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
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!
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!
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.
THE best comprehensive video! Thanks!
Much appreciated! Thanks for watching.
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
Another Great Tutorial Max!
Much appreciated, buddy! 😁
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.
That's something very detailed and awesome!!
Thank you for the encouraging comment, Prathmesh! Have a nice weekend 😁
This is simply the best DIY video Ive seen!! Keep up the great work, Max!
Thank you so much! 😁
Very helpful and clearly explained. Thanks for making this video.
Many thanks for your comment!
Fascinating work, Max. 👍😁
Many thanks!
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 found this extremely helpful, a game changer, thank you.
Great to hear! Thanks for watching!
One of the best in youtube. Thank you from Athens
Thank you too!
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.
I thanking yourself for putting effort to make this video and sharing with us
Glad I could help! Cheers 😀
Excellent video. Very nicely done and well explained. Great job! Thank you.👍
Glad it was helpful! Thanks!
Great video Max;you have put all that i was looking for, code is working excellent ,thanks again
Great to hear! Thanks for commenting!
Great video Max, your are the best
Awesome stuff max!
Thanks a bunch, Kumar! Cheers 🙌🙌
Thank you for uploading this video it will be helpful for my project
You are welcome! I'm glad I could help. 🙂
Very cool project keep up the good work!🔥🙌
Thanks so much! Will do!
Great video. You covered everything needed which makes it fantastic.
Glad to hear you found it helpful! Thanks for your feedback.
Great job on the video!
Thank you!
Wow! Amazing 😃
Thanks, Abhishek! 😄
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! 😀
Thanks, this is a super clear video..thank you very much
Glad to hear you've found it helpful. 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.
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?
Amazing guide
I appreciate that!
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.
Your Handwritten typography is so cool!
Glad you think so! If you enjoyed watching the video, please consider subscribing. Cheers.
@@MaxImagination Subscribed! 💪🏻⚡️💯
You are helping me every Day.
Grateful to hear that!
Well done and complete too.
Thanks for watching!
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!
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
Kid is going places ! amazing tech
Glad you liked the content. Cheers!
Great job, thank you
Thanks for watching!
Cool stuff bro
Thanks for tuning in!
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.
Thanks Max
Welcome 🙂👍🏻
Great work Max....
Thank you!
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 stuff 😃🙌🏽
Thank you, Joshua! Have an amazing weekend! 🙌
@@MaxImagination thank you you too 😊
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!
Awesome video thanks
Thanks, Susan! :)
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.
Hi and thanks for your comment! I have never heard of ZoneMinder before... Not sure I can help with that... Cheers.
Wow amazing max 🖤🔥✨
Thanks, buddy! Cool to see you back!
Good job
Thank you :)
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 👍👍
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.
Great video! Subbed! ❤
Thank you! :D
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!
what a GREAT guide ! awesome work ... loved it
Glad it helped you! Thanks!
Awesome 😃👏🏼👏🏼👏🏼
Thank you! Cheers!
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.
Thanks for the tip, will consider trying it.
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.
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.
Im having another doubt Max, That is which pins we want to connect the servos to use pan and tilt
A great video and worked straight away. A question; can it be set to stream with rtsp?
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
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.
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
Great Content .. Thank You for sharing .. Cheers :)
Thanks for watching and your kind remarks!
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.
Great, excellent, wonderfull!!!
Interesting work
Thanks,
Jean-Françios
Thanks for watching!
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?
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.
@@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)?
Good job❤👍👍👍
Thank you! Cheers!
Hi Max 🙋♂️ Cool Peoject 👏
Thank you! Cheers! 👍
Fantastic 😁 video
Glad you enjoyed it. Thank you!!
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.
Great !!! thanks a lot, you made a huge work, is the device can work without sd card ? i mean only for streaming not to save file into it... sorry for my rusty english..
Hi there! With how the code is configured nowadays, you NEED the SD card in order for it to work.
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 😊
Awesome video Max!!! Very informative 🤯
I appreciate it! Thanks you, buddy 😃🙌
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?
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.
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.
Thanks for the guide. And for the bonus lesson on how to do the Macarena 🤣
No problem 👍🤣
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
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.
Amazing
Thank you! Cheers!
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
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!
Please make that video showing how to connect with the camera from any place, Thanks
May do one day! Thanks for your feedback.
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?
Thanks. I do not, so I suggest you look on places like GitHub. Cheers.
Thanks a lot, go a head.
You are most welcome!
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.
Very wow!
Hi Max! Great video! I have a few questions though: what ESP32 module did you use in the video (i need amazon link) and how far does the wirelessness go? Can we use the code without all the extra features like panning and tilting? And is it possible to use this code with 2 cameras?
oh yeah and how is it powered?
Hi there! Thanks for your comment! For the ESP32-CAM, please check the purchase links below.
The camera without the antenna mod can operate with WiFi up to around 10 meters from the router. With the antenna mod, you can operate it up to 50M or farther.
Yes, you may use the current code and implement pan and tilt servos, just be sure to define their pins in the web server.
For 2-camera operation, you'd still need to program each ESP32-CAM with the code. Multi-camera feed is not available yet to have all in one web server. You'd then need to simply use them with their own IPs separately.
I hope this answers your questions. Cheers!
About powering, please watch till the end of the video, I cover this.
Hi! can you add more cameras to the same system and watch them all at once on a monitor? thanks
Hi there. Unfortunately, this is not possible just yet - according to the author of the code repository. Cheers.
Woaww Great path you got on YT... congrats I WISH I A FANTASTIC FUTURE ON YOUR CHANNEL
Thank you so much! 😊
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
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.
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?
We want info on making a body warn camera
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
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
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".
@@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
Great video Max. I have an error coming psram not enabled, even though I clicks it, what is that issue
Hi there. Thanks! This issue commonly persists because of a potential pin taken up that shouldn't be touched. Make sure GPIOs 16, 15, 14, and 14 are free and not assigned to anything in the web server.
Caramba seu vídeo salvou demais, Muito obrigado pelo seu conteúdo e por disponibilizar os códigos. Está bem didático. Parabéns pelo excelente trabalho. Thanks. (:
Thanks for your comment! I'm glad my video could help :)
Do you have any recommended software for circuit design?
Try EasyEDA.
can you use multiple esp32cam modules to have more then one area that i'd be able to watch?
You can, but you may not be able to have it light proper security systems do. You'd be limited to one monitor, one screen per camera.
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.
Thanks for another great video. My SSID contains spaces, these are removed in the code so I can't connect. Is there anything I can do other than changing my SSID? (I'd rather not...if I can avoid it)
Thanks, Christian! I haven't encountered this issue before... Maybe try adding underscores for spaces (_)? If that doesn't work, maybe then you'd have to change your SSID in your Router's settings. I don't believe it's that hard to do. Cheers.
what is the maximum resolution camera sensor that the ESP32 support? can i connect to it a 4k +60fps sensor and stream video?
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.
GREAT VIDEO I'm trying to add two servo motors to work with this code but no luck.
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.
I'm using a esp32s3 will that still apply for this board?
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.