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
@shyanandarinidesayu459610 ай бұрын
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!
@MaxImagination10 ай бұрын
I'm really glad to hear one of my videos helped you! Best of luck passing your assignment!
@shyanandarinidesayu205910 ай бұрын
thank you!
@Radioknowhow-if7mz8 ай бұрын
hello i get the error insufficient of PSRAM i use esp32 cam board and i select AI thinker. any help any one please
@shyanandarinidesayu20598 ай бұрын
@@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!
@GreenClawForestry8 ай бұрын
@@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.
@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.
@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!
@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.
@Takeover7389 ай бұрын
GREAT VIDEO I'm trying to add two servo motors to work with this code but no luck.
@MaxImagination9 ай бұрын
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.
@Takeover7389 ай бұрын
I'm using a esp32s3 will that still apply for this board?
@MaxImagination9 ай бұрын
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.
@shreeyashsalpe2436 Жыл бұрын
I'm facing psram issues
@MaxImagination Жыл бұрын
Did you get it solved yet?
@chrisstruck29485 ай бұрын
Need to set yor Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)" under Tools
@XPGXTX3 ай бұрын
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
@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.
@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!
@VitorSantos-uy6vw Жыл бұрын
This is simply the best DIY video Ive seen!! Keep up the great work, Max!
@MaxImagination Жыл бұрын
Thank you so much! 😁
@VihaanDaPros10 ай бұрын
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!!!
@MaxImagination10 ай бұрын
I'm glad you found my tutorial helpful. Cheers!
@BuildCreation Жыл бұрын
Another Great Tutorial Max!
@MaxImagination Жыл бұрын
Much appreciated, buddy! 😁
@alexit31574 ай бұрын
Hello, what a nice work on it, congratulations
@MaxImagination4 ай бұрын
Thank you! Cheers!
@Technocrafts Жыл бұрын
Wow! Amazing 😃
@MaxImagination Жыл бұрын
Thanks, Abhishek! 😄
@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! 😀
@kristoffermulbjerg6848 Жыл бұрын
Very cool project keep up the good work!🔥🙌
@MaxImagination Жыл бұрын
Thanks so much! Will do!
@libor-vitek8 ай бұрын
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!!!
@MaxImagination8 ай бұрын
Thanks for your comment! Glad to hear it works. Instead of setting time zone, try only setting the current time.
@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-if7mz8 ай бұрын
hello i get the error insufficient of PSRAM i use esp32 cam board and i select AI thinker. any help any one please
@Foxydeveloping Жыл бұрын
I don't know what type the model of my camera modul, where can I found it?
@MaxImagination Жыл бұрын
Please refer to the page which you purchased it from and see. If it's a typical ESP32-CAM, it's the "AI thinker".
@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 😊
@majdwardeh36989 ай бұрын
THE best comprehensive video! Thanks!
@MaxImagination9 ай бұрын
Much appreciated! Thanks for watching.
@marcelverhoeven351411 ай бұрын
Hi Max, well done!! very professionally explained!!! Please consider making the FTP functionality: I am looking forward to apply that too.
@MaxImagination11 ай бұрын
Thank you. Will keep that in mind.
@mayoortechinnovations Жыл бұрын
From my experience once the recording starts the streaming freeze 🥶.. is there a solution to that?
@MaxImagination Жыл бұрын
To solve that, I recommend you check your power supply or replace it with a better source. That could also be due to unstable internet connection or you're not close enough to your WiFi router with the ESP32-CAM. It may also be because of other reasons which I can only put down to glitches.
@mayoortechinnovations Жыл бұрын
@@MaxImagination thank you for your quick response... Please have you ever updated software using the inbuilt (OTA UPLOAD)..? if yes please direct me how to go about it, thanks
@Parth_188 Жыл бұрын
That's something very detailed and awesome!!
@MaxImagination Жыл бұрын
Thank you for the encouraging comment, Prathmesh! Have a nice weekend 😁
@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
@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?
@jesusgutierrez1025 Жыл бұрын
to conect the cmaera to the world you can use home assistant and then conecto home asistant to the worl through a tunnel
@MaxImagination Жыл бұрын
Thanks for the tip.
@jesusgutierrez1025 Жыл бұрын
You welcome@@MaxImagination
@ashleyowen45408 ай бұрын
This guy is more animated than the simpsons, I wonder if he wouldn't be able to talk if you tied him and wasn't able to move his arms?
@MaxImagination8 ай бұрын
Literally me after watching 50 different sales people talk. Oops! 😂😂😂
@gbadishomeassistant748 Жыл бұрын
One of the best in youtube. Thank you from Athens
@MaxImagination Жыл бұрын
Thank you too!
@GrandadsOtherChannel Жыл бұрын
Fascinating work, Max. 👍😁
@MaxImagination Жыл бұрын
Many thanks!
@mihirdutta-DPSi11 ай бұрын
2:49 Beginning. Listing of parts and components needed.
@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??
@chrisstruck29485 ай бұрын
Need to set yor Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)" under Tools
@atharvsrivastava855 ай бұрын
@@chrisstruck2948 ok
@kanishkayapa4685 ай бұрын
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.
@MaxImagination5 ай бұрын
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 :)
@mayoortechinnovations Жыл бұрын
Please have you ever updated software using the inbuilt (OTA UPLOAD)..? if yes please direct me how to go about it, thanks
@MaxImagination Жыл бұрын
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
@MechAero_Labs Жыл бұрын
Cool stuff bro
@MaxImagination Жыл бұрын
Thanks for tuning in!
@QuickScopes100111 ай бұрын
Great video, how come you don't use esp home?
@MaxImagination10 ай бұрын
Thanks! I never got around to it. May try in the future!
@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 😊
@ActivePro783 Жыл бұрын
I have mine flashed and running, next steps is to work on the servo’s, this is a great video, thank you very much
@MaxImagination Жыл бұрын
Glad it helped! Cheers.
@ilahikervan283811 ай бұрын
Bende yaptım ama hep kamera başlatilmadi hatası alıyorum lütfen yardımcı olur musunuz 3 gündür uğraşıyorum
@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
@JohnVanderbeck4 ай бұрын
What if you want a better camera and/or lenses to get zoom/wide? Are there options for that in this?
@MaxImagination4 ай бұрын
There are. Consider using the OV5460 image sensor with the ESP32-CAM board for ~2600xXXXX and higher pixels.
@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 😊
@megaspartan8888 ай бұрын
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
@MaxImagination8 ай бұрын
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.
@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.
@jonathan1125 ай бұрын
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!
@MaxImagination5 ай бұрын
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!
@successfulelectronics Жыл бұрын
Fantastic 😁 video
@MaxImagination Жыл бұрын
Glad you enjoyed it. Thank you!!
@TarsamBimbra Жыл бұрын
I thanking yourself for putting effort to make this video and sharing with us
@MaxImagination Жыл бұрын
Glad I could help! Cheers 😀
@gooierhorizon6766 Жыл бұрын
Amazing
@MaxImagination Жыл бұрын
Thank you! Cheers!
@harmanleonardo5283 Жыл бұрын
Great work… But how to get camera stream url for connect to iSpy or motioneye.. Thanks.
@MaxImagination Жыл бұрын
Hi there. Thank you! It's my first time hearing about iSpy or motioneye, I wouldn't be sure how the camera with its current code can be configured with those applications. I'd be unable to help on these grounds. Cheers.
@yochumjerome4150 Жыл бұрын
esp32 cam can works with motioneyeos. i did it@@MaxImagination
@saravananvenkatachalam10779 ай бұрын
Im having another doubt Max, That is which pins we want to connect the servos to use pan and tilt
@erment55 Жыл бұрын
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.
@MaxImagination Жыл бұрын
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.
@erment55 Жыл бұрын
thank you for your quick responce@@MaxImagination
@erment55 Жыл бұрын
Hi again,unfortunately pin 4 is already connected to led flash under "Peripherals" tab...what else shoul I do?thanks..@@MaxImagination
@MaxImagination Жыл бұрын
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.
@ChandanJena-n5i2 ай бұрын
How can i access the camera from any wifi. please make that video👌👌
@MaxImagination2 ай бұрын
Hi! You can do that by port forwarding the camera's static IP in your router's settings. Read more on how to do this in the code github page linked below.
@formas12 ай бұрын
Brilliant project! I didn't manage to get WebDav to work. Any idea on that?
@MaxImagination2 ай бұрын
I appreciate it. I don't have experience using WebDav. Never heard of it.
@evieanindyaputri6108 ай бұрын
Can we add inmp441 microphone, so we can acess audio & video via wifi?
@MaxImagination8 ай бұрын
Yes, you can, but you will not have enough pins for the servos. With my ESP32, I used GPIO pins 3, 4, and 12 for interfacing the I2S MEMS Mic. Mic to ESP32-CAM connection: DO (Digital Output) to IO3 WS (Word Select) to IO4 SCK (Serial Clock) to IO12 3.3V to ESP's 3.3V GND to ESP's GND If you face troubles with sound channels, you may need to ground the SEL (select) pin.
@evieanindyaputri6108 ай бұрын
@@MaxImagination do you have any tutorial for it? i can't find any tutorial to make security camera (video + audio), i just found totorial for video only.
@MaxImagination8 ай бұрын
I don't have a tutorial for it, but there are videos on KZbin you can search which show how to interface that microphone with an ESP32.
@martg0 Жыл бұрын
Your Handwritten typography is so cool!
@MaxImagination11 ай бұрын
Glad you think so! If you enjoyed watching the video, please consider subscribing. Cheers.
@martg011 ай бұрын
@@MaxImagination Subscribed! 💪🏻⚡️💯
@haissam99994 ай бұрын
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.
@MaxImagination4 ай бұрын
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.
@libor-vitek8 ай бұрын
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!!! 👍👍👍
@MaxImagination8 ай бұрын
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!
@uriukti5 ай бұрын
Good afternoon. Why am I getting Startup Failure: Crash Loop Detected? on the web page. Your firmware is the latest version.
@MaxImagination5 ай бұрын
Hi there. I do not recognize this error, so I suggest you open an issue and ask the code author here: github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
@uriukti5 ай бұрын
@@MaxImagination Ok. Thanks.
@terrybates60664 ай бұрын
@@uriukti I have the same problem. Did you solve the problem?
@MaxImagination4 ай бұрын
Hi there. I discovered the solution to this low power problem. The crash loop occurs due to insufficient power upon startup. Simply use a better quality cable and keep your ESP's connections firm with decent jumper wires.
@uriukti4 ай бұрын
@@MaxImagination Yes, it is right! Thank you!
@predchickenАй бұрын
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?
@MaxImaginationАй бұрын
Hi there. This feature is already implemented in the latest code. Feel free to download it and try it out.
@predchickenАй бұрын
@@MaxImagination can i ask in which file is it located in? the code for the pan and tilt servo. thanks!
@TomInOhio24 ай бұрын
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
@MaxImagination4 ай бұрын
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.
@TomInOhio24 ай бұрын
@@MaxImagination That did the trick, thank you! A beefier power supply worked. I also disconnected the ESP32-CAM-MB board. Thanks so much!
@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!
@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.
@chrisgiokas4439 Жыл бұрын
Can you make it connect with phone hotspot when you get close to it ?
@MaxImagination Жыл бұрын
Yes. Simply connect to it in your device's WiFi settings and use its Access point IP address in your web browser that usually goes as "192.168.4.1".
@davehamernik Жыл бұрын
Great video, very informative, thank you! I have tried uploading my sketch to the ESP32-CAM via the FTDI board and by using the Arduino UNO in lieu of the FTDI board but cannot do it. Either way I do it I receive this error: 'A fatal error occurred: Failed to connect to ESP32: No serial data received'. Do you have any idea how to resolve it? In the Arduino sketch editor I see in the lower right hand corner that the COM port is enabled or disabled. Either way, I can't upload the sketch. Thanks in advance for any help.
@korwolf64 Жыл бұрын
I have the same problem
@MaxImagination Жыл бұрын
Hi there. I've never used another Arduino to upload code to the ESP32-CAM before. Don't know what to suggest except that you should watch this video: kzbin.info/www/bejne/bV6WoZx4fbtkjZI Hope this helps, cheers.
@davehamernik Жыл бұрын
@@MaxImagination Thank you. I ended up buying an ESB-32CAM-MB instead of using the FTDI usb/serial convertor and got ti to work.
@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.
@Chuck.N8 ай бұрын
Is it possible to upload this to glasses and use it in war? Im interessant to create new glasses for my self
@MaxImagination8 ай бұрын
Sure!
@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.
@simpleidea28254 ай бұрын
Can we install a high resolution camera in the ESP ?
@MaxImagination4 ай бұрын
A higher one, yes. Try the OV5640
@simpleidea28254 ай бұрын
@@MaxImagination tx
@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.
@antoniojimenez-fy6ls4 ай бұрын
Question, how did you get good camera quality from the get go? Looks like your signal strength is larger than when I tried it which was -30dBm.
@MaxImagination4 ай бұрын
Could have been that I was closer to my router and used an external antenna. Try that.
@CraftChannelYT Жыл бұрын
Hi Max 🙋♂️ Cool Peoject 👏
@MaxImagination Жыл бұрын
Thank you! Cheers! 👍
@Md.RuwayfiReza Жыл бұрын
Camera init failed with error 0x105 how to fix this
@bobjunior46467 ай бұрын
U can make a solar cam wifi?
@MaxImagination7 ай бұрын
I already have, check out the video on my channel.
@____________________________.x5 ай бұрын
13:35 I noticed you have the same horizontal interference lines on the video that I’ve been getting. I tried running it from a power bank but the issue remains. Would running it from a linear regulator help or is this a software issue? Thanks
@MaxImagination5 ай бұрын
Lower resolutions will have more of these lines. If you're facing this issue with all resolutions, yes, I recommend upgrading your power source with a 1S cell/battery connecting to the ESP32-CAM via a 5V USB powerbank module.
@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.
@Pozzyfunk Жыл бұрын
Wireguard client has been implemented to esp32 as well. It is my preferred method to access the camera from everywhere, but you need a wireguard server.
@MaxImagination Жыл бұрын
Thanks for the tip, will consider trying it.
@skyagnitti5 ай бұрын
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!
@JuanSanchez-ik7wx11 ай бұрын
We want info on making a body warn camera
@nortonshields8405 Жыл бұрын
my problem is: when I flash the code to the board - I don't get an IP address and the message constantly repeats itself over and over again. There is a line that says brownout reset or something like that . . . if that is the case how do I add power to the camera while plugged into the usb for download and I have changed and used all ports on the desktop. I hope you can help sorry for the past message -
@MaxImagination Жыл бұрын
Please clarify on your exact problem and I will get back to you with help as soon as I can.
@nortonshields8405 Жыл бұрын
my problem is: when I flash the code to the board - I don't get an IP address and the message constantly repeats itself over and over again. There is a line that says brownout reset or something like that . . . if that is the case how do I add power to the camera while plugged into the usb for download and I have changed and used all ports on the desktop. I hope you can help sorry for the past message -@@MaxImagination
@MaxImagination Жыл бұрын
Aha, the brownout error. That means you're not supplying your board enough power. I suggest you check your connections and obtain a stronger current source for the 5V supply like a power adapter.
@fullpower8382 Жыл бұрын
Hi my Friend, cool Video what you have made. Can u tell my where you have got that cool spinning earthball behind you at Min 17:19? Thats really cool stuff!
@MaxImagination Жыл бұрын
Thanks for your comment! You can check out my full video review on the Maglev Globe behind me: kzbin.info/www/bejne/oHKZXqqObdtlopY In the video's description you can find the purchase link from where you can buy it. Cheers!
@docplumКүн бұрын
Hi, are there any STM32 devices that can be used to replace the ESP32?
@MaxImaginationКүн бұрын
Hi there. I don't work with STM32 and I don't believe it's compatible with the code shown.
@docplumКүн бұрын
@ Sounds good, thank you.
@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.
@Tornciti Жыл бұрын
Thank you for the video it is very good. However could you please do a refresh version perhaps 2024? Unfortunately the methods used in the video are no longer up to date and do not result in working camera.
@MaxImagination Жыл бұрын
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.
@jibebuoy3451 Жыл бұрын
Great video, thank you! I have the web server code downloaded to the cam and have it functioning on a web browser while the cam is connected to my laptop. However, I want the cam to be battery powered so it is not tethered to the laptop. The cam is powered by a 5 volt battery power supply and I press the reset button but can’t get any video to stream to my web browser. I have also reloaded the browser. How to get the camera to stream to the browser powered by a battery? Thanks.
@davehamernik Жыл бұрын
Well, I used a fresh 9 volt battery and it works now. :>
@MaxImagination Жыл бұрын
Thanks for your comment, Jibe! Please make sure you're using a healthy 3.7V battery with one of those 5V step up converters (power bank modules). Cheers.
@abhishekmehta3575 ай бұрын
Hi max can you tell me I have to change servo pin form where can I do that do I have to change code?
@MaxImagination5 ай бұрын
No need to change anything in the code. In the peripherals tab in the web interface, you can go into deeper settings and type in the pin you want to output to a servo. I recommend pins 4 and 12.
@ramsesvega84786 ай бұрын
Any way to set up multiple in a relatively simple network, like a more commercial home security system?
@MaxImagination6 ай бұрын
Never tried that. However there has been some upgrades to the source code in GitHub with multiple cameras hooked up to one server, I have heard. Read here: github.com/s60sc/ESP32-CAM_MJPEG2SD
@incubatork4 ай бұрын
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.
@MaxImagination4 ай бұрын
Nice to hear! You don't need to cool the ESP32 as it's built to handle that.
@incubatork3 ай бұрын
@@MaxImagination thanks
@sergiocharrua4126 Жыл бұрын
what is the maximum resolution camera sensor that the ESP32 support? can i connect to it a 4k +60fps sensor and stream video?
@MaxImagination Жыл бұрын
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.
@kurka11868 ай бұрын
can you use multiple esp32cam modules to have more then one area that i'd be able to watch?
@MaxImagination7 ай бұрын
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.
@MRrwmac3 ай бұрын
Great video and information! Thank You
@MaxImagination3 ай бұрын
Glad it was helpful! Thanks!
@computerhouse9979 Жыл бұрын
This images can I see from any where or only in network
@MaxImagination Жыл бұрын
Depends on if you're cloud-hosting the device's IP address. Otherwise, only from the programmed network.
@michaelwurzer67916 ай бұрын
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)?
@MaxImagination6 ай бұрын
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.
@toaltogaaumi Жыл бұрын
Hi! can you add more cameras to the same system and watch them all at once on a monitor? thanks
@MaxImagination Жыл бұрын
Hi there. Unfortunately, this is not possible just yet - according to the author of the code repository. 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
@EP_Man11 ай бұрын
hello, great video. i have a problem which i don't know how to solve. when i uploaded the code to the esp32-cam and got the ip (192.168.4.1) , after connecting to the access point and loading the 192.168.4.1 page, i get this error: "Startup failure: camera init error 0xffffffff". could you help me solve this problem.
@MaxImagination11 ай бұрын
Hi there, thanks! Please ask the code author for a solution to that issue: github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
@ragabpn2 ай бұрын
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.
@MaxImagination2 ай бұрын
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.
@ragabpn2 ай бұрын
@@MaxImaginationThanks bro. Understood. Anyway thanks for the response.
@therobotify12 Жыл бұрын
when I open serial monitor it shows me a error I've trying for past 2 days on this error "No core dump partition found!" I've also modified the partition file but after setting coredump offset to 0x400000 the program started in a loop.
@MaxImagination Жыл бұрын
Hi there, this issue is bit above my head in technicality... I suggest you open an issue and ask the code author on GitHub: github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
@therobotify12 Жыл бұрын
Thanks for reply I've solved it by downloading the older version of esp board and it worked for me
@shogaitamigochi72119 ай бұрын
When I download the esp32 INO file I get only 1 tabpage in the Arduino program. What do I wrong ? Thanks for the video !
@MaxImagination9 ай бұрын
Hi. Make sure you copy and paste the surrounding tab folders in your file manager into the code folder where your .ino file sits. Then you will have all the tabs appearing. Cheers
@shogaitamigochi72119 ай бұрын
Hi , thank you it Works now and see al the tabs.👍
@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.