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
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!
did you solder the cable from the latest pin on the camera connection to the 3.3v pin?@@shogaitamigochi7211
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!
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!
This is simply the best DIY video Ive seen!! Keep up the great work, Max!
Thank you so much! 😁
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?
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
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.
Excellent video. Very nicely done and well explained. Great job! Thank you.👍
Glad it was helpful! Thanks!
Great video Max, your are the best
I found this extremely helpful, a game changer, thank you.
Great to hear! Thanks for watching!
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 😊
Very helpful and clearly explained. Thanks for making this video.
Many thanks for your comment!
Great video. You covered everything needed which makes it fantastic.
Glad to hear you found it helpful! Thanks for your feedback.
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.
Amazing guide
I appreciate that!
Your Handwritten typography is so cool!
Glad you think so! If you enjoyed watching the video, please consider subscribing. Cheers.
@@MaxImagination Subscribed! 💪🏻⚡️💯
One of the best in youtube. Thank you from Athens
Thank you too!
Fascinating work, Max. 👍😁
Many thanks!
Thank you for uploading this video it will be helpful for my project
You are welcome! I'm glad I could help. 🙂
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.
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.
Very cool project keep up the good work!🔥🙌
Thanks so much! Will do!
That's something very detailed and awesome!!
Thank you for the encouraging comment, Prathmesh! Have a nice weekend 😁
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.
Great job on the video!
Thank you!
Awesome stuff max!
Thanks a bunch, Kumar! Cheers 🙌🙌
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! 😀
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
Well done and complete too.
Thanks for watching!
Great video Max;you have put all that i was looking for, code is working excellent ,thanks again
Great to hear! Thanks for commenting!
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.
I thanking yourself for putting effort to make this video and sharing with us
Glad I could help! Cheers 😀
Kid is going places ! amazing tech
Glad you liked the content. Cheers!
Thanks, this is a super clear video..thank you very much
Glad to hear you've found it helpful. Thanks for your comment!
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!
You are helping me every Day.
Grateful to hear that!
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!
Thanks Max
Welcome 🙂👍🏻
Great job, thank you
Thanks for watching!
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.
Great work Max....
Thank you!
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.
Cool stuff bro
Thanks for tuning in!
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
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.
Im having another doubt Max, That is which pins we want to connect the servos to use pan and tilt
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!
Awesome video thanks
Thanks, Susan! :)
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.
Hello thankd for project but i get an error when i select psram enabled and unable to upload the code
Anyone could help me??
Great, excellent, wonderfull!!!
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!
Awesome stuff 😃🙌🏽
Thank you, Joshua! Have an amazing weekend! 🙌
@@MaxImagination thank you you too 😊
Great Content .. Thank You for sharing .. Cheers :)
Thanks for watching and your kind remarks!
Wow! Amazing 😃
Thanks, Abhishek! 😄
Good job
Thank you :)
Thanks for the guide. And for the bonus lesson on how to do the Macarena 🤣
No problem 👍🤣
Interesting work
Thanks,
Jean-Françios
Thanks for watching!
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!!!
Thanks for your comment! Glad to hear it works.
Instead of setting time zone, try only setting the current time.
Wow amazing max 🖤🔥✨
Thanks, buddy! Cool to see you back!
Please make that video showing how to connect with the camera from any place, Thanks
May do one day! Thanks for your feedback.
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.
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 😊
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
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!
Awesome video Max!!! Very informative 🤯
I appreciate it! Thanks you, buddy 😃🙌
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.
Great video! Subbed! ❤
Thank you! :D
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.
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!!!!
Hi there. From what I've heard, this web sever code doesn't support such extensions.
Thanks for your comment!
@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.
@@m.dimitrov Hi, Martin. This is only true if the camera's IP is port forwarded, correct?
@@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.
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)?
Fantastic 😁 video
Glad you enjoyed it. Thank you!!
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.
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! 😀
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.
Good job❤👍👍👍
Thank you! Cheers!
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.
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. 😏
Thanks for your comment. I'm sure others may find it helpful.
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.
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.
Awesome 😃👏🏼👏🏼👏🏼
Thank you! Cheers!
Very wow!
We want info on making a body warn camera
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.
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
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.
Amazing
Thank you! Cheers!
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
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.
Hi there, thanks! I'm sure this can be done.
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.
Will do! Thanks for your comment 😊
There is a new board which could be interesting to you: Walter - ESP32-S3 5G IoT module
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…
Woaww Great path you got on YT... congrats I WISH I A FANTASTIC FUTURE ON YOUR CHANNEL
Thank you so much! 😊
Hi Max 🙋♂️ Cool Peoject 👏
Thank you! Cheers! 👍
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 😢
No promises, but I may try something as such in a future video.
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?
Hi max, thank you so much for the great video. I have everything setup properly. However my camera FPS is abysmally low. Only when going to 240p or lower does it get even close to 20ish FPS. If I could achieve the FPS you get at SVGA (800x600) I would be content. Any help would be greatly appreciated. Thank you!
Hi there. Thanks for your comment!
I wouldn't know how to juice more FPS out of the camera you have. I can recommend you keep it close to your source of WiFi and keep supplying the camera with stable power. I can recommend you get one of those ESP32 S3 Freenove boards on Amazon that are faster - you may get more framerate.
@@MaxImaginationHi Max, thanks for the response. I will look into that. Have you tried using an ESP32 with AgentDVR? I am trying to get this setup and would love to know your thoughts and if I even need this code flashed or if I can use raw output
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 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.