Hey, guys! Thanks to those of you watching and for following along with the tutorial. If any of you are experiencing the latest issue with this code: "Startup Failure: Check SD card inserted", it's probably because of the latest code updates that are causing camera model conflicts when using non-default boards. So be sure to comment out ("/*") these following lines of code (default boards) in the tab "appGlobals.h" like this: /* #if defined(CONFIG_IDF_TARGET_ESP32) // default pin configuration for ESP32 cam boards #define CAMERA_MODEL_AI_THINKER // Has PSRAM #elif defined(CONFIG_IDF_TARGET_ESP32S3) // default pin configuration below for Freenove ESP32S3 cam boards #define CAMERA_MODEL_ESP32S3_EYE // Has PSRAM #endif */ and below, uncomment (//
@mayanktomar7519 Жыл бұрын
"Startup Failure: Check SD card inserted" now issue
@MaxImagination Жыл бұрын
@@mayanktomar7519 Have you made the adjustments in your code I mentioned above?
@ІванПанчак-з2д Жыл бұрын
@@MaxImagination good afternoon, I had an error as in the comment, I did everything listed above, now I have another error, namely this one Startup Failure: Camera init error 0x105 in browser and this in serial monitor =============== Starting =============== E (512) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107 E (513) vfs_fat_sdmmc: sdmmc_card_init failed (0x107). [00:00:00.517 ERROR @ utilsFS.cpp:65] SD card mount failed E (576) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND) E (828) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND) [00:00:01.032 loadConfig] Load config [00:00:01.032 ERROR @ prefs.cpp:133] Failed to load file /data/configs.txt [00:00:01.153 setWifiSTA] Wifi Station IP from DHCP
@gigiipaq8172 Жыл бұрын
You get the "check SD card inserted" error if you don't supply enough current power on 5V esp32cam's pin.
@beepboop-o5s Жыл бұрын
ip cameras are insanely inseure
@shyanandarinidesayu45969 ай бұрын
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!
@MaxImagination9 ай бұрын
I'm really glad to hear one of my videos helped you! Best of luck passing your assignment!
@shyanandarinidesayu20599 ай бұрын
thank you!
@Radioknowhow-if7mz7 ай бұрын
hello i get the error insufficient of PSRAM i use esp32 cam board and i select AI thinker. any help any one please
@shyanandarinidesayu20597 ай бұрын
@@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!
@GreenClawForestry6 ай бұрын
@@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.
@KeepoHdee Жыл бұрын
Telling people to port forward http is a risky move even if you have authentication. If any one actually needs remote access please inform yourselves before exposing a port. Great video nonetheless.
@Motivational.2024.1 Жыл бұрын
Is there another way to view the vids
@Oscar_delta13 Жыл бұрын
@@Motivational.2024.1 yes you can run openVPN server on an old tower, that way even when you are on away you will have access to the LAN. I would also put the camera on a seperare LAN zone to segment it from my home server and other devices. You should always segment your network especially with IOT devices. Never have a smart anything on the same subnet as your computer
@mateuszdrab Жыл бұрын
To be fair the best way would be not to connect to the webui directly but view the stream though a more secure solution like Home Assistant. Or set up a reverse proxy in front of of the camera that will not only provide TLS, it can also allow you to access other resources in your network through the use of SNI.
@davidzatica408 Жыл бұрын
I’m pretty sure you can configure the esp32 to use ssl encryption and https requests, making it more secure. I haven’t tried it yet myself so I may be wrong
@Pzapza Жыл бұрын
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?
@iusu2005 Жыл бұрын
It's nice to see that Great Scott style. I'd like to see more youtubers hand writing like that, it's quite satisfying
@MaxImagination Жыл бұрын
I've watched him for years and have taken some inspiration from his style. Smart guy. Thanks for your comment!
@VihaanDaPros8 ай бұрын
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!!!
@MaxImagination8 ай бұрын
I'm glad you found my tutorial helpful. Cheers!
@EPMSolutions1 Жыл бұрын
Just a FYI, using a Freenove esp32-s3-wroom-1 dev module and following your video instructions, and buying the referenced SD Card, I go this to work. Having a fast enough SD makes a big difference and avoids disk errs I had on a slower SD. I can now explore the fabulous features it provides. Thanks.
@MaxImagination Жыл бұрын
That's pretty much like the ESP32 Dev Board but with a camera, cool! Glad to hear you overcame the challenges you've faced and have a working prototype security camera. Great! 🙌 If you appreciate what I do and would like to show some support, I'd be grateful if you contribute to my work with a coffee - www.buymeacoffee.com/MaxImagination Thanks!
@Native_love Жыл бұрын
EPMSolutions1 I couldn't get mine to work. I used the same chip. What were your settings? Do you still have to do the jumpers with the USB ports soldered onto the chip board?
@EPMSolutions1 Жыл бұрын
@@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.
@MaxImagination Жыл бұрын
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.
@sidneyking11 Жыл бұрын
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 👍
@anakNusantara1159 Жыл бұрын
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?
@MaxImagination Жыл бұрын
Thanks for noting that, Sidney King. Good to keep in mind 👍🏻
@MaxImagination Жыл бұрын
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 👍🏻
@baseanimex Жыл бұрын
I'm facing an error ( insert sd card ) when I connect to esp32 cam using dynamic IP, as i already inserted one.
@artemkalinchuk Жыл бұрын
Thanks to this video, I was able to program my ESP32 Cam after hours of trying different ideas. All I needed was to ground the GPIO0 pin.
@MaxImagination Жыл бұрын
Glad to hear my video had helped! 😀
@VitorSantos-uy6vw Жыл бұрын
This is simply the best DIY video Ive seen!! Keep up the great work, Max!
@MaxImagination Жыл бұрын
Thank you so much! 😁
@majdwardeh36987 ай бұрын
THE best comprehensive video! Thanks!
@MaxImagination7 ай бұрын
Much appreciated! Thanks for watching.
@nishad777s Жыл бұрын
Brilliant idea to include the trouble-shooting section, cz that really ties up the project. Great work max!
@MaxImagination Жыл бұрын
I'm glad you've found it helpful. Cheers!
@Takeover7388 ай бұрын
GREAT VIDEO I'm trying to add two servo motors to work with this code but no luck.
@MaxImagination8 ай бұрын
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.
@Takeover7388 ай бұрын
I'm using a esp32s3 will that still apply for this board?
@MaxImagination7 ай бұрын
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.
@joshuaoduroadu5376 Жыл бұрын
Great video Max. I really enjoyed how you took your time to explain things. It made the main points to stand out clearly. You just inspired me to go build my own WiFi enabled security cam. Looking forward to the next video. Great job & keep it coming.
@MaxImagination Жыл бұрын
Glad you found my video helpful. Many thanks!
@Radioknowhow-if7mz7 ай бұрын
hello i get the error insufficient of PSRAM i use esp32 cam board and i select AI thinker. any help any one please
@ActivePro78311 ай бұрын
I have mine flashed and running, next steps is to work on the servo’s, this is a great video, thank you very much
@MaxImagination11 ай бұрын
Glad it helped! Cheers.
@ilahikervan28389 ай бұрын
Bende yaptım ama hep kamera başlatilmadi hatası alıyorum lütfen yardımcı olur musunuz 3 gündür uğraşıyorum
@kristoffermulbjerg6848 Жыл бұрын
Very cool project keep up the good work!🔥🙌
@MaxImagination Жыл бұрын
Thanks so much! Will do!
@alexit31572 ай бұрын
Hello, what a nice work on it, congratulations
@MaxImagination2 ай бұрын
Thank you! Cheers!
@Parth_188 Жыл бұрын
That's something very detailed and awesome!!
@MaxImagination Жыл бұрын
Thank you for the encouraging comment, Prathmesh! Have a nice weekend 😁
@TarsamBimbra Жыл бұрын
I thanking yourself for putting effort to make this video and sharing with us
@MaxImagination Жыл бұрын
Glad I could help! Cheers 😀
@Masonrich Жыл бұрын
Awesome Video definitely will watch the next one! I've had my fair amount of issues when working with the esp32 camera most perdominantly connection issues. Also it seems like esp cams can only be accessed by one device at a time for example from the laptop and phone. I've been looking for a solution regarding these issues to achieve a video stream that can be accessed by multiple viewers and can also buffer frames for slightly delayed but way smoother playback even when experiencing connection issues. I've been thinking about writing a little nodejs server that buffers the stream of the camera and might also provide playback of recorded videos. Not sure if there are better options though. Would be awesome if you could give me some suggestions. The camera web server you showed in the video looks quite advanced in contrast to the example webserver of the esp32 cam so I will definitely check that out. Again thank you for this great video! I'll stay tuned for the next one.
@MaxImagination Жыл бұрын
Thank you for your comment, Mason! Yes, most issues with the camera board primarily come from power or connection issues. Though after having gained enough experience dealing with the board, it becomes more straight forward when you know the right stable power to supply it with, the right serial com wiring, etc... I see what you probably need for your ESP32-CAM. A clould-based hosting service such as Home Assistant or Blynk IoT. Both of these apps enable you to stream video from the camera to cloud servers for multiple user viewing and global access. However, you may not have too much luck integrating it with the code shown in the video, unless there's a solution to that. Cheers, Max
@Masonrich Жыл бұрын
@@MaxImagination Thank you for your detailed answer i will try some of those options 👍🏻
@MaxImagination Жыл бұрын
@@Masonrich Great. You're welcome 😊
@gbadishomeassistant748 Жыл бұрын
One of the best in youtube. Thank you from Athens
@MaxImagination Жыл бұрын
Thank you too!
@adraayak Жыл бұрын
Wonderful tutorial, thanks for your work. I am sure it will be a source of reference for many people.
@MaxImagination Жыл бұрын
Glad you think so! Thanks for your kind comment 😊
@usadaily Жыл бұрын
No wonder your videos are inspired from GREAT SCOTT! Appreciate your efforts
@MaxImagination Жыл бұрын
I appreciate you noticing that! Cheers 👍
@usadaily Жыл бұрын
@@MaxImagination Seriously, you are making great videos, people replicates others and fail to deliver the content, that's not in your case you just brushed his presentation and implemented your own way of presenting your videos. "The writing down and explaining is the best"
@MaxImagination Жыл бұрын
@@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!
@BuildCreation Жыл бұрын
Another Great Tutorial Max!
@MaxImagination Жыл бұрын
Much appreciated, buddy! 😁
@martg010 ай бұрын
Your Handwritten typography is so cool!
@MaxImagination10 ай бұрын
Glad you think so! If you enjoyed watching the video, please consider subscribing. Cheers.
@martg010 ай бұрын
@@MaxImagination Subscribed! 💪🏻⚡️💯
@Rsully4uk Жыл бұрын
Very helpful, thanks! Do you have to have an SD card for this to work? Also, a way to access the camera feed without having to be on a wifi network would be great, is that possible?
@MaxImagination Жыл бұрын
Thanks for your comment! Yes, an SD card is necessary when using the ESP32-CAM with this code. You don't actually need to use a WiFi network if you use the camera's access point and your viewing device is within it's signal range. Though you'd have to connect to it as if it's a WiFi network in your device's network settings and use the IP "192.168.4.1" in your web browser. Great feature for using it in remote locations 👍
@genericuser77 Жыл бұрын
The SD card also stores some of the configuration info from the web interface, which I discovered when I switched cards with a newly formatted card and the camera wasn't working anymore. I had to do the process all over and connect the devices to the IDE and upload the code again!
@shovanjagadev6155 Жыл бұрын
@@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?
@mayoortechinnovations Жыл бұрын
Max thank you so much for this project.. please is it possible to use 32Gb memory card for this project?
@MaxImagination Жыл бұрын
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.
@mayoortechinnovations Жыл бұрын
@@MaxImagination amazing thanks
@Technocrafts Жыл бұрын
Wow! Amazing 😃
@MaxImagination Жыл бұрын
Thanks, Abhishek! 😄
@gbadishomeassistant748 Жыл бұрын
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.
@MaxImagination Жыл бұрын
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.
@GrandadsOtherChannel Жыл бұрын
Fascinating work, Max. 👍😁
@MaxImagination Жыл бұрын
Many thanks!
@marcelverhoeven35149 ай бұрын
Hi Max, well done!! very professionally explained!!! Please consider making the FTP functionality: I am looking forward to apply that too.
@MaxImagination9 ай бұрын
Thank you. Will keep that in mind.
@MechAero_Labs Жыл бұрын
Cool stuff bro
@MaxImagination Жыл бұрын
Thanks for tuning in!
@MRrwmac2 ай бұрын
Great video and information! Thank You
@MaxImagination2 ай бұрын
Glad it was helpful! Thanks!
@genericuser77 Жыл бұрын
Great video, Max! Thanks for the clear, step-by-step explanations! No issues other than when first compiling, my computer/IDE needed to install the (something)-X app (I forget the name?), which took and hour to download and needed a lot of space! But the Arduino IDE walked me though it and all was well. My only other issue is that every time on a new start-up after powering up the ESP, the web interface won't open because it says there is an issue with the SD card. So I take out and put back, then reset the ESP, and all is fine. But I would like to solve this so that I don't have the issue from a remote location, where I can't then fix it. Also, I set up the port forwarding so that I can view a stream from anywhere. The camera control webpage opens up, but I am not able to view a live still or live stream - it shows a "broken picture" icon in the image frame. However, the camera still records motion and I can successfully download and view the files, remotely. Does anyone know how to get the live image/stream to show in this situation??
@MaxImagination Жыл бұрын
Hi there and thank you. The ESP32-CAM tends to be sensitive with SD cards, please make sure your card's leads are clean. If the problem keeps persisting, maybe try another Micro SD. I personally haven't tried port forwarding my camera before, I wouldn't be able to suggest a fix on that... Cheers.
@cinematix_1 Жыл бұрын
I had the same issue. You need to make sure, the SD card has a maximum capacity of 4GB
@kanishkayapa4684 ай бұрын
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.
@MaxImagination4 ай бұрын
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
@DoItYourself-DIY Жыл бұрын
Good job
@MaxImagination Жыл бұрын
Thank you :)
@libor-vitek6 ай бұрын
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!!!
@MaxImagination6 ай бұрын
Thanks for your comment! Glad to hear it works. Instead of setting time zone, try only setting the current time.
@successfulelectronics Жыл бұрын
Fantastic 😁 video
@MaxImagination Жыл бұрын
Glad you enjoyed it. Thank you!!
@incubatork2 ай бұрын
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.
@MaxImagination2 ай бұрын
Nice to hear! You don't need to cool the ESP32 as it's built to handle that.
@incubatork2 ай бұрын
@@MaxImagination thanks
@jonujangid3J Жыл бұрын
Very detailed explanation & enjoyable tutorial keep doing such projects Max, is that possible to make fpv system for rc car or plane if yes then please try
@MaxImagination Жыл бұрын
Thanks a lot for your kind comment, buddy! I will definitely need to try in the future! Cheers.
@haissam99992 ай бұрын
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.
@MaxImagination2 ай бұрын
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.
@gooierhorizon6766 Жыл бұрын
Amazing
@MaxImagination Жыл бұрын
Thank you! Cheers!
@BALJEETSingh-qg7hp Жыл бұрын
Great video Max;you have put all that i was looking for, code is working excellent ,thanks again
@MaxImagination Жыл бұрын
Great to hear! Thanks for commenting!
@atharvsrivastava85 Жыл бұрын
Hello thankd for project but i get an error when i select psram enabled and unable to upload the code Anyone could help me??
@chrisstruck29484 ай бұрын
Need to set yor Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)" under Tools
@atharvsrivastava854 ай бұрын
@@chrisstruck2948 ok
@libor-vitek6 ай бұрын
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!!! 👍👍👍
@MaxImagination6 ай бұрын
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!
@shreeyashsalpe243611 ай бұрын
I'm facing psram issues
@MaxImagination11 ай бұрын
Did you get it solved yet?
@chrisstruck29484 ай бұрын
Need to set yor Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)" under Tools
@XPGXTXАй бұрын
Check serial monitor and see that if on the serial monitor it will also show PS Ram if your PS RAM is below 3 mb then you need another esp32 with 4 megabytes of PS Ram or more
@vaibhavraj4686 Жыл бұрын
Hi bro i am trying to download the board but its not downloading can you help me please 😢
@vaibhavraj4686 Жыл бұрын
I am making a project for school
@MaxImagination Жыл бұрын
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".
@vaibhavraj4686 Жыл бұрын
Ok thank you so much 😊
@anuprashpradhan1016 Жыл бұрын
Thank you for uploading this video it will be helpful for my project
@MaxImagination Жыл бұрын
You are welcome! I'm glad I could help. 🙂
@formas1Ай бұрын
Brilliant project! I didn't manage to get WebDav to work. Any idea on that?
@MaxImaginationАй бұрын
I appreciate it. I don't have experience using WebDav. Never heard of it.
@craigsmithx10 ай бұрын
I found this extremely helpful, a game changer, thank you.
@MaxImagination10 ай бұрын
Great to hear! Thanks for watching!
@ed1011 Жыл бұрын
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.
@MaxImagination Жыл бұрын
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.
@VeryMuchBlessed Жыл бұрын
Very helpful and clearly explained. Thanks for making this video.
@MaxImagination Жыл бұрын
Many thanks for your comment!
@teodorpavel5921 Жыл бұрын
You are helping me every Day.
@MaxImagination Жыл бұрын
Grateful to hear that!
@walterblanc9708 Жыл бұрын
Excellent. Thankyou. I shall watch again before I start, still need the serial/usb board.
@MaxImagination Жыл бұрын
Glad you found my video resourceful. Best of luck with your projects! Cheers.
@craftsANDRANDOMSTUFF10 ай бұрын
Kid is going places ! amazing tech
@MaxImagination10 ай бұрын
Glad you liked the content. Cheers!
@ragabpn26 күн бұрын
Hey man, its an effective video. Neatly done. I have arduino uno board. If i want to use that instead fttn, how to do that, could you pls tell me? Pls.
@MaxImagination25 күн бұрын
Hey and thanks! You can use your UNO instead of an FTDI, yes Connect the UNO's TX and RX to your ESP32 cam, followed by connections for power and GND. Same way as with the FTDI.
@ragabpn25 күн бұрын
@@MaxImaginationThanks bro. Understood. Anyway thanks for the response.
@TomInOhio23 ай бұрын
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
@MaxImagination3 ай бұрын
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.
@TomInOhio23 ай бұрын
@@MaxImagination That did the trick, thank you! A beefier power supply worked. I also disconnected the ESP32-CAM-MB board. Thanks so much!
@surajsangwan510911 ай бұрын
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.
@MaxImagination11 ай бұрын
Glad you found my video helpful. Thank you for joining!
@surajsangwan510911 ай бұрын
@@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?
@MaxImagination11 ай бұрын
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.
@ApPillon3 ай бұрын
Big thanks, I will try to make a body cam with it
@MaxImagination2 ай бұрын
All the best with your project!
@bujitumutombo11 ай бұрын
Great video Max, your are the best
@TomBruner110 ай бұрын
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. 😏
@MaxImagination10 ай бұрын
Thanks for your comment. I'm sure others may find it helpful.
@SiddharthVenkatesh-n9wАй бұрын
Was very helpful
@MaxImaginationАй бұрын
Glad it helped!
@zk_6312 Жыл бұрын
Interesting video, just what I was looking for as I need a low cost security camera for my garage. I have several of these that I rarely use. I think I might give this a try.
@MaxImagination Жыл бұрын
Excellent. Glad to hear that! Thanks for your comment.
@taprianto1911 Жыл бұрын
Thanks Max
@MaxImagination Жыл бұрын
Welcome 🙂👍🏻
@vallepukumar6564 Жыл бұрын
Awesome stuff max!
@MaxImagination Жыл бұрын
Thanks a bunch, Kumar! Cheers 🙌🙌
@Pozzyfunk11 ай бұрын
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.
@MaxImagination11 ай бұрын
Thanks for the tip, will consider trying it.
@skyagnitti4 ай бұрын
I'm switching over my security system to these because amazon cameras will not pass through my wireguard vpn. They say they will, They will not. The esp32cam modules are way better anyway because we have so much more control over them. And you can setup a webpage on your server with frame attributes to load the live feed from all the esp32cams onto one screen - like a security station you always see in the movies. Cheers @MaxImagination, you rock socks bro!
@matheusmota9500 Жыл бұрын
You help me a lot, with these tutorials, I'm really gratefull. About the connection word wide I have used ngrok, but the problem is that you will need a computer on in the same network.
@MaxImagination Жыл бұрын
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!
@RobRoschewskКүн бұрын
PSA: if you’re running on Linux particularly Ubuntu make sure ModemManger is disabled
@TusharJoshi2225tj Жыл бұрын
This is Brilliant, Please help to make it accessible from anywhere and not having to connect to the same Wi-Fi.
@MaxImagination Жыл бұрын
Thanks for your comment. I will try! 😀
@TON-vz3pe Жыл бұрын
Great video. You covered everything needed which makes it fantastic.
@MaxImagination Жыл бұрын
Glad to hear you found it helpful! Thanks for your feedback.
@CraftChannelYT Жыл бұрын
Hi Max 🙋♂️ Cool Peoject 👏
@MaxImagination Жыл бұрын
Thank you! Cheers! 👍
@design8studio10 ай бұрын
Great job on the video!
@MaxImagination9 ай бұрын
Thank you!
@D4RKFiB3R10 ай бұрын
Thanks for the guide. And for the bonus lesson on how to do the Macarena 🤣
@MaxImagination10 ай бұрын
No problem 👍🤣
@Tornciti11 ай бұрын
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.
@MaxImagination11 ай бұрын
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.
@JoxRapper Жыл бұрын
This is amazaing! My camera for some reaso is kinda slow but it is good enough! Do you happen to have an option for face recognition?
@MaxImagination Жыл бұрын
Thanks. I do not, so I suggest you look on places like GitHub. Cheers.
@AkiaraDolls Жыл бұрын
Thanks, this is a super clear video..thank you very much
@MaxImagination Жыл бұрын
Glad to hear you've found it helpful. Thanks for your comment!
@luansalja606 ай бұрын
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..
@MaxImagination6 ай бұрын
Hi there! With how the code is configured nowadays, you NEED the SD card in order for it to work.
@erment5511 ай бұрын
If I would like to use mini pan tilt kit with micro servos,on which pins am I going to use and shall I make any changes on the existing code?If so, what kind of changes and where should I make it?Thank you again and wish you continued success.
@MaxImagination11 ай бұрын
Hi there. No code changes need to be made at all... I advise you use pins 12 and 4 for best servo performance and label those pins in the camera web server under "Peripherals" tab. Cheers.
@erment5511 ай бұрын
thank you for your quick responce@@MaxImagination
@erment5511 ай бұрын
Hi again,unfortunately pin 4 is already connected to led flash under "Peripherals" tab...what else shoul I do?thanks..@@MaxImagination
@MaxImagination11 ай бұрын
Hi. Sorry for the delayed reply, I don't check for comment replies that often. To use pin 4, check with a multi-meter for the resistor on the back of the board that corresponds to that pin and de-solder it. This resistor needs to be removed if you're going to use that pin as it is connected to the builtin lamp.
@Confuzer Жыл бұрын
Nice project for learning :) But pricewice, an Eufy solar powered waterproof cam is so cheap now, the parts shown here are more expensive.
@MaxImagination Жыл бұрын
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.
@defariase Жыл бұрын
Excellent video. Very nicely done and well explained. Great job! Thank you.👍
@MaxImagination Жыл бұрын
Glad it was helpful! Thanks!
@nishantbidarkar Жыл бұрын
The video is really nice man. All the things required are explained in really nice way. Since last so many days I have an idea in my mind that we can use the cloud based security camera using ESP32 cam. Last time I used ESP32 I created a data logger that will send the sensor data continuously on telegram . Here I have the idea that why cant we use the telegram as a storage device for our video footages captured by the ESP32 cam . we can send videos of some short interval in periodic manner with time stamping. If you see this msg and agree make sure to reply.
@MaxImagination Жыл бұрын
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.
@briandurward Жыл бұрын
A great video and worked straight away. A question; can it be set to stream with rtsp?
@MaxImagination Жыл бұрын
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
@haydenc2742 Жыл бұрын
Is there a direct URL to point DVR's to just to monitor/view/record the video stream without the configuration page showing? Very very cool, this firmware is MUCH better than many other ones I have found! Thanks! Keep em coming!!!!
@MaxImagination Жыл бұрын
Hi there. From what I've heard, this web sever code doesn't support such extensions. Thanks for your comment!
@m.dimitrov Жыл бұрын
@haydenc2742 @MaxImagination You can actually just point the DVR to "local ip":81/stream?source=sensor. And that's a direct video feed. You can check the exact URL by starting the stream in the configuration panel, right clicking on the feed, then inspect element and that's your URL. Just keep in mind that you have to stop streaming first then the URL will work.
@MaxImagination Жыл бұрын
@@m.dimitrov Hi, Martin. This is only true if the camera's IP is port forwarded, correct?
@m.dimitrov Жыл бұрын
@@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.
@predchicken3 күн бұрын
hi max, wdym with the more developed code that can use more pan and tilt servo motors? do you have to modify something in the code? or is it already in the web server?
@MaxImagination17 сағат бұрын
Hi there. This feature is already implemented in the latest code. Feel free to download it and try it out.
@mikew2883 Жыл бұрын
Great video! Have you ever thought about selling kits that have all of the hard stuff configured for us that neither have the skills or patience to do it ourselves? lol We want to hit the ground running playing around with the fun stuff at the end!
@MaxImagination Жыл бұрын
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.
@joshuaaranguren1020 Жыл бұрын
Awesome stuff 😃🙌🏽
@MaxImagination Жыл бұрын
Thank you, Joshua! Have an amazing weekend! 🙌
@joshuaaranguren1020 Жыл бұрын
@@MaxImagination thank you you too 😊
@jonathan1123 ай бұрын
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!
@MaxImagination3 ай бұрын
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!
@mayoortechinnovations10 ай бұрын
Please have you ever updated software using the inbuilt (OTA UPLOAD)..? if yes please direct me how to go about it, thanks
@MaxImagination10 ай бұрын
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
@sudligh Жыл бұрын
Pls add a section about installing supported microphone in this camera.
@MaxImagination Жыл бұрын
Going to the code repository on GitHub (linked below in description) there's a section on what pins you can use for a mic.
@maelstudi0 Жыл бұрын
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?
@MaxImagination Жыл бұрын
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.
@rw3ave Жыл бұрын
Hello, Max... A wonderful lesson... I do everything as you say, but for some reason, after downloading the sketch, the full web interface does not open... I don't know what to do... I've tried everything... Help to launch the web interface.... Sincerely, Gennady...
@MaxImagination Жыл бұрын
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.
@chrysalide_electronics Жыл бұрын
Interesting work Thanks, Jean-Françios
@MaxImagination Жыл бұрын
Thanks for watching!
@michaelwurzer67915 ай бұрын
A great tutorial and a great solution. one question: can this firmware also be used for normal streaming and still's? (so does it have URL's for it)?
@MaxImagination5 ай бұрын
Thank you! Yes, it streams and makes stills, but not that I know of any specific URLs. You might need to ask the code author.
@am2dan Жыл бұрын
Looks like you did a great job explaining this, and once I try it out I might especially like the troubleshooting tips - Thanks! I wonder if it's possible with this s/w to integrate with ZoneMinder? The only way I know (there might be others) is a direct URL for the video stream.
@MaxImagination Жыл бұрын
Hi and thanks for your comment! I have never heard of ZoneMinder before... Not sure I can help with that... Cheers.
@EPMSolutions1 Жыл бұрын
Great video. I attempted to follow your instructions on the same device and found when I set Partition Mode to 8mb with Spiffs, the Serial Monitor would repeat the first nine lines of load information endlessly and never execute code. I am using Arduino 2.04. Any thoughts?
@MaxImagination Жыл бұрын
Thanks for your comment! I find partition schemes higher than 3mb to not work with my ESP. Try using Minimal Spiffs 1.9mb. I never used 8mb partition scheme before, I'm afraid I can't help you with that one except for my prior advice. Cheers, Max
@EPMSolutions1 Жыл бұрын
I got past above issue, now it loads and when I wave my hand by cam, the monitor shows - "[22:46:18.668 closeAvi] Insufficient capture duration: 4 secs". Any suggestions?
@MaxImagination Жыл бұрын
This means that the duration you have the minimum recording time set to in your control panel is longer than the recording that it made. Try either reducing the min record time or move around the frame for longer to make it save the captured video. Cheers.
@EPMSolutions1 Жыл бұрын
@@MaxImagination Ultimately I got a faster SD Card and Sketch started to work. Thanks
@MaxImagination Жыл бұрын
@@EPMSolutions1 Good to hear 👍
@robertovic7697 Жыл бұрын
Hello. First of all, thank you for the perfectly explained video. I have a couple of questions that I would like to see if you could clarify for me. For a week-long recording autonomy, what type of battery would I need? On the other hand, I see that the options include the deep sleep mode. How is it activated? I'm sorry if my English sounds a bit rough, but I'm translating via ChatGPT. Thanks
@MaxImagination Жыл бұрын
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.
@bberil4834 Жыл бұрын
Thanks for the video. I am planning to implement a similar wireless streaming setup with ESP32 but I want to stream the video directly to my Raspberry Pi4 without using the Internet. Is there a way to do this?
@MaxImagination Жыл бұрын
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.
@riggsron10 ай бұрын
Well done and complete too.
@MaxImagination10 ай бұрын
Thanks for watching!
@VorpalForceField10 ай бұрын
Great Content .. Thank You for sharing .. Cheers :)
@MaxImagination10 ай бұрын
Thanks for watching and your kind remarks!
@saravananvenkatachalam10777 ай бұрын
Im having another doubt Max, That is which pins we want to connect the servos to use pan and tilt
@salmanahmed9464 Жыл бұрын
Great video Max. I have an error coming psram not enabled, even though I clicks it, what is that issue
@MaxImagination Жыл бұрын
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.