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 (//
@@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
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!
@@MaxImagination hello Max, i have another question. is it possible to connect esp32-cam with esp32 microcontroller? if so, is it possible for you to make a video tutorial for that? thank you!
@@shyanandarinidesayu2059 it would be easy to include wifi communication between the two boards, many libraries for that such as ESPnow or the basic wifi one. As far as wiring them together I've never seen or heard of someone doing that so idk.
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/MaxImagination/. The first 200 of you will get 20% off Brilliant’s annual premium subscription.
You mentioned assigning a static ip address from the range 0-255. This is not 100% correct. The range should be 2-254 because most routes use the .1 and the broadcast uses the .255 Other then that you did a great job 👍
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 👍🏻
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 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?
Great video, and awesome explaination! I have a few notes to share from my experience. Since this is a year later, the new code is version 10.5 and requires a board level of 3+. No issues compiling it, put the "data" folder on the sd card. The wifi config was pretty nice, first with the AP at 192.168.4.1, set the SSID and PW in the GUI....reboot and it's on the LAN. To get the LED working on the front of the camera, the AppGlobals needs to have the Peripherals set to "true", and re-compile with that setting. Then go the GUI and edit the config to set the LED pin to 4, and "manual" mode. Then the LED brightness control will work.
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.
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.
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.
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!!!
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.
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?
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
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...
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!!!
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".
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.
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: ua-cam.com/video/7-3piBHV1W0/v-deo.html Hope this helps, cheers.
Great video, Max! Thanks for the clear, step-by-step explanations! No issues other than when first compiling, my computer/IDE needed to install the (something)-X app (I forget the name?), which took and hour to download and needed a lot of space! But the Arduino IDE walked me though it and all was well. My only other issue is that every time on a new start-up after powering up the ESP, the web interface won't open because it says there is an issue with the SD card. So I take out and put back, then reset the ESP, and all is fine. But I would like to solve this so that I don't have the issue from a remote location, where I can't then fix it. Also, I set up the port forwarding so that I can view a stream from anywhere. The camera control webpage opens up, but I am not able to view a live still or live stream - it shows a "broken picture" icon in the image frame. However, the camera still records motion and I can successfully download and view the files, remotely. Does anyone know how to get the live image/stream to show in this situation??
Hi there and thank you. The ESP32-CAM tends to be sensitive with SD cards, please make sure your card's leads are clean. If the problem keeps persisting, maybe try another Micro SD. I personally haven't tried port forwarding my camera before, I wouldn't be able to suggest a fix on that... Cheers.
Great video!! I have a question about a sleep mode. Is it already the case that the camera goes into sleep mode if you press "Stop Streaming" in the GUI? If this is not the case, are there any methods on how to to it. I would like to use it to read a water meter reading in my house. Although I can supply the camera as normal via the mains, I still want to use as little energy as possible when it is not in use. Would appreciate any kind of answer!
I appreciate that, Jonathan! Using the code as it is, it does not go into sleep mode, from what I know. I've never used sleep modes with an ESP, so I'd suggest you ask the code author here in "Issues" on how that would be done: github.com/s60sc/ESP32-CAM_MJPEG2SD/issues Additionally, you can look up online how to put an ESP32 into sleep mode or standby. Cheers!
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
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.
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.
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.
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.
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
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.
This is an excellent video with clear instructions. There is an error on the terminal saying it cannot read common.js in data folder of the SD card. I assume this is a SD card read error. Appreciate your help to fix this issue.
Thanks for your positive feedback. That error is completely new to me. I suggest you ask the code author in "Issues" on their GitHub page - github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
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?
Hey there, I'm very grateful for this tutorial, however, I keep getting some strange ERROR: [00:00:00.483 setup] =============== Starting =============== E (507) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107 E (508) vfs_fat_sdmmc: sdmmc_card_init failed (0x107). [00:00:00.512 ERROR @ utilsFS.cpp:69] SD card mount failed [00:00:00.718 prepCam] Camera init OK for model OV2640 on board CAMERA_MODEL_AI_THINKER [00:00:00.764 loadConfig] Load config [00:00:00.764 ERROR @ prefs.cpp:133] Failed to load file /data/configs.txt [00:00:07.151 startWebServer] Starting web server on port: 80 [00:00:07.151 ERROR @ ESP32-CAM_MJPEG2SD.ino:147] Startup Failure: Check SD card inserted [00:00:07.341 getLocalNTP] Using NTP server: pool.ntp.org [00:00:07.341 WARN getLocalNTP] Not yet synced with NTP [00:00:07.342 ERROR @ setupAssist.cpp:86] Open failed: /data/configs.txt 1. I tried 2 separate SD cards, and even formatted to FAT(Standard) and FAT32 but it is still the same. 2. I also have loaded that /data folder with the configs file in it to my SD card. 3. What I also did - added 2 mounts of SD libraries: #include #include Do you have any suggestions? 1 more moment I am not sure about - I decommented #define CAMERA_MODEL_ESP32_CAM_BOARD row, but you are using the same board and u said that we shall not change anything there since it is set to default, may it impact somehow? Thanks in advance!
Hi there. Sorry to hear you've been troubled by this. If you're using the same exact camera model as I used in the video, avoid changing anything regarding the camera model selection. Please check that your Micro SD card is inserted all the way in. Make sure you don't have any external board pins used up aside from the usable pins 4, 12 and 33. Check that you've formatted your cards with FAT32 file system. Also, what size card are you trying to use? Cheers.
Hi. I have used 2 different MicroSD cards, both Transcend 2GB. It is working on my laptop, tried to insert it again multiple times. The only used pins on my board are: 5V, GND, UOT, UOR, and when uploading the code : IOG, GND. I also went to the local store replaced the ESP32 board, it's camera, USB cable, and even FTDI. I assume the card must be 4GB? I formatted it to FAT32 and also tried with FAT64. After I changed my camera model selection, I got the IP adress, but ehen I access it, I only get 1 sentence in the left top corner of the screen: "Check SD card inserted". Thank you for replying me :)
Hi again. I believe you're trying to use a card that is actually too big for the ESP32 to connect with. Try using a smaller card such as a 32GB or 16GB one. I suggest you only try your camera with a smaller card to see if this issue clears up. Cheers.
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.
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
After doing everything you did I get this error in my serial monitor (but the web server starts, showing the same error): E (10732) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND) I tried everything. I am using the ESP32-CAM-MB programmer module and have a 32 GB formatted (FAT32) SD card with the data folder inside it. I tried swapping the board model from "ESP32 Dev Module" to "AI Thinker ESP32-CAM" and tried switching the Partition Scheme but still get the same error. I even bought another OV2640 camera to test but both of them gave me the same result. I am sure I inserted the camera connector correctly, it is aligned, all the way back and firmly held in place. My camera cable looks fine, I just bought it. I also tried uploading the original CameraWebServer code but the same error shows up. What should I try next? This is my first experience with this board and I am very frustrated. Why can't it just work?
Hi there, hearing you have tried all sorts of things to resolve the issue, it sounds like you may just have a damaged image sensor... Try running the ESP32-CAM with another OV2640 when you manage to get another one.
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.
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.
hey max? quick question. i got this error here: exit status 1 Compilation error: invalid conversion from 'int' to 'uart_port_t' [-fpermissive] what does that mean? it took me to the uart.cpp tab.
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
@@MaxImagination Seriously, you are making great videos, people replicates others and fail to deliver the content, that's not in your case you just brushed his presentation and implemented your own way of presenting your videos. "The writing down and explaining is the best"
@@usadaily Many thanks for your comments! It's heart warming to see people like yourself taking the time to write these appreciative kind of comments rather than only watching. Cheers!
Great video 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 video! But I am having problems setting up the automatic ftp upload. ERROR @ ftp.cpp:298] Unable to connect to FTP server Could you please help me troubleshoot this? I have done everything that the video with ftp guide showed. Thanks in advance!
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.
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.
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.
How hot does your module get? I am seeing 65-70 degrees celsius and literally I can't even touch the pcb without burning my fingers. is it normal? other than that every function is working properly
Good day, Max! We tried connecting the system together with pan-tilt servo motors and the streaming works perfectly. However, it seems like the functionality for the adjustment for the pan-tilt is locked and cannot be dragged/slided in the interface. Do you have any idea on how you fix this? Thank you so much!
Hi Max, thanks for the great video! Very detailed and your enthusiasm is contagious. I am having the same problem as a few others from recent posts. After compiling and a successful upload, the serial debugger shows "WARN setup Startup Failure: Crash loop detected". I am using these versions (the latest as of now): Arduino IDE 2.3.2 esp32 3.0.4 ESP32-CAM_MJPEG2SD 9.9.3 I have the IDE set to: Board: AI Thinker ESP32-CAM Partition scheme: Huge app (3MB not OTA/1MB SPIFFS) I have a 32G SD card inserted with the data folder on it. My board is the standard ESP32-CAM connected to the ESP-32CAM-MB, all plugged into USB into my computer for power & uploading. I tried a second ESP32-CAM board, same problem. These boards upload and run the "Examples > ESP32 > Camera > Camera webserver" code just fine. Here is the serial boot log: [00:00:06.531 startPing] Started ping monitoring - On [00:00:06.536 startWebServer] Starting web server on port: 80 [00:00:06.536 startWebServer] Remote server certificates not checked [00:00:06.536 WARN setup] Startup Failure: Crash loop detected [00:00:06.547 loop] =============== Total tasks: 14 =============== [00:00:11.533 resetWatchDog] WatchDog started using task: ping Have you seen this "Crash loop" problem before? If not, what versions of the IDE, esp32, and ESP32-CAM_MJPEG2SD did you use when making the video? Thanks much! Tom
Hi Tom, thank you! I get this Crash loop now and then. It is because of insufficient power supply given during startup. I suggest you use a higher quality USB cable and use more firmly connected wires if possible.
Hi max, thank you for this fantastic tutorial. Did you meanwhile manage to access the camera remotely. This is a key feature for me. If so, I will order right away.
Hi Haissam, yes it's possible. You can port forward the camera via your router as guided in the code author's github repository of the code. Check it out.
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
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.
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.
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 -
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
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.
I don't see the time to see your next video about how to integrate with Home Assistant, as you said. I try to find solutions but nothing. Any idea how to start ??. I would greatly appreciate it . Nevertheless, despite your young age, I congratulate you on your effort.
Hi there. My focus lately hasn't been on IoT projects, so I would have as little of a clue as you... If I get enough requests on this subject, I might consider it. Thanks for your comment.
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. 😏
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.
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.
Hi Max! Thanks for the video. I'm having trouble with the SD card (4GB), maybe you know how to troubleshoot it? I already tried commenting what you said on the pinned comment and selecting my board (AI Thinker) but it doesnt work. Tried feeding the ESP32 directly in a breadboard with 5V, and not using the programmer to feed it power (the black one you recommended) but it doesn't work. Althought it gives me feedback in the console and I can connect to the webpage, it only shows the error message you have on your pinned comment. Could it be that I´m using PlatformIO in VSCode instead of the Arduino IDE? Thanks :)
Hi there. Glad you are finding my video informative. What error messages are you getting on your IDE's terminal? If it's a brownout issue, I suggest you obtain an external supply to power the ESP during uploading and testing. I am only familiar with the Arduino IDE, so I won't be able to help you with other softwares.
@@MaxImagination I have an ISSUE in the official GIT repository for the project. It's called "[ISSUE] Programming in VSCode with PlatformIO #399". Maybe you can check that out? The problem has been detailed there :)
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.
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!
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.
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.
@@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.
i idk why but my IDE takes so long to compile, and it's been an hour and it still hasn't finished compiling, it keeps getting stuck somewhere, do you know any way to speed up the compilation (even after compiling multiple times, my IDE still takes so long to compile, and when it comes to compiling your code it seems like it takes forever)
It should only take that long the first time. But it may be due to your computer being clogged? I suggest trying compiling on another PC to isolate the issue. It shouldn't take longer than 5 mins.
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.
Can someone help, I loaded the code and everything but then it said,”compilation error: text section exceeds available space in board.” FYI I am using the same board as max in the video.
that worked but now this came up in the serial monitor ..[00:00:07.497 onWiFiEvent] WiFi Station connection to my wifi name, using hostname: ...[00:00:09.038 onWiFiEvent] Wifi Station IP, use '192.168.68.124' to connect [00:00:15.397 startWifi] Wifi stats formy wifi name - signal strength: -81 dBm; Encryption: WPA2_PSK; channel: 10 [00:00:15.398 startWifi] Wifi stats for my wifi name - signal strength: -85 dBm; Encryption: WPA_WPA2_PSK; channel: 10 [00:00:15.408 startWifi] Wifi stats for my wifi name - signal strength: -91 dBm; Encryption: WPA2_PSK; channel: 10 [00:00:15.419 startPing] Started ping monitoring - On [00:00:15.431 startWebServer] Starting web server on port: 80 [00:00:15.432 ERROR @ ESP32-CAM_MJPEG2SD.ino:138] Startup Failure: Need PSRAM to be enabled [00:00:15.433 resetWatchDog] WatchDog started using task: ping [00:00:15.442 getLocalNTP] Using NTP server: pool.ntp.org [00:00:15.453 WARN getLocalNTP] Not yet synced with NTP [00:00:15.453 ERROR @ setupAssist.cpp:88] Open failed: /data/configs.txt [00:00:15.463 ERROR @ setupAssist.cpp:88] Open failed: /data/configs.txt [00:00:15.464 loadConfig] Load config [00:00:15.474 ERROR @ prefs.cpp:135] Failed to load file /data/configs.txt [00:00:15.475 WARN retrieveConfigVal] Key hostName not set [00:00:15.485 WARN retrieveConfigVal] Key AP_SSID not set to Zyla Pie
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?
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
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?
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.
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.
I have set everything up like you did in the video. But now i want to see the stream from anywhere in the world. There are these options for setting an ftp server, but I dont know how anything of that works. Does someone know what to do, to setup the ESP32 so that I can stream the video live from anywhere?
Hi there. An FTP server is only for wirelessly transferring recorded video files in the camera to your local network PC or device to save them. I know there's a cheap way to do it and that would be to port forward your camera's IP, but people say it can be super risky as others might be able to log onto your web server from elsewhere. I suggest you use a VPN for your camera web server with its static IP, you should be able to hop on your public IP from anywhere and access it then.
The video is really helpfull but after following all the steps i cant fix the issue (Startup Failure: Check SD card inserted). Every time i power down the circuit this apperas. I remove everthing from the pins of the esp32 except the power or deleting all current files in the sd card with the data folder again but still no fix. What could be the problem?
Hi there. Recently, I've also experienced this issue and have overcome it by specifying my camera model in the "appglobals.h" tab. You do this by commenting (//) the lines of code where the default camera models are listed and leave only one camera model right below from the list uncommented, being the AI thinker model. Upload the code after making the changes and see. If this doesn't fix it, it could be because you're using certain pins that conflict with the SD card reader. Hope this help, cheers.
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.
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
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.
@@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
Hey, guys! Thanks to those of you watching and for following along with the tutorial.
If any of you are experiencing the latest issue with this code: "Startup Failure: Check SD card inserted",
it's probably because of the latest code updates that are causing camera model conflicts when using non-default boards. So be sure to comment out ("/*") these following lines of code (default boards) in the tab "appGlobals.h" like this:
/* #if defined(CONFIG_IDF_TARGET_ESP32)
// default pin configuration for ESP32 cam boards
#define CAMERA_MODEL_AI_THINKER // Has PSRAM
#elif defined(CONFIG_IDF_TARGET_ESP32S3)
// default pin configuration below for Freenove ESP32S3 cam boards
#define CAMERA_MODEL_ESP32S3_EYE // Has PSRAM
#endif */
and below, uncomment (//
"Startup Failure: Check SD card inserted" now issue
@@mayanktomar7519 Have you made the adjustments in your code I mentioned above?
@@MaxImagination good afternoon, I had an error as in the comment, I did everything listed above, now I have another error, namely this one Startup Failure: Camera init error 0x105 in browser and this in serial monitor =============== Starting ===============
E (512) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (513) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
[00:00:00.517 ERROR @ utilsFS.cpp:65] SD card mount failed
E (576) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
E (828) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
[00:00:01.032 loadConfig] Load config
[00:00:01.032 ERROR @ prefs.cpp:133] Failed to load file /data/configs.txt
[00:00:01.153 setWifiSTA] Wifi Station IP from DHCP
You get the "check SD card inserted" error if you don't supply enough current power on 5V esp32cam's pin.
ip cameras are insanely inseure
I've been struggling with ESP32-CAM for a week to complete my college assignment before February 15th. and you know what? I cried because finally it is working because of you. thank you for helping so many people. you are amazing!
I'm really glad to hear one of my videos helped you! Best of luck passing your assignment!
thank you!
hello i get the error insufficient of PSRAM i use esp32 cam board and i select AI thinker. any help any one please
@@MaxImagination hello Max, i have another question. is it possible to connect esp32-cam with esp32 microcontroller? if so, is it possible for you to make a video tutorial for that? thank you!
@@shyanandarinidesayu2059 it would be easy to include wifi communication between the two boards, many libraries for that such as ESPnow or the basic wifi one. As far as wiring them together I've never seen or heard of someone doing that so idk.
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/MaxImagination/. The first 200 of you will get 20% off Brilliant’s annual premium subscription.
You mentioned assigning a static ip address from the range 0-255. This is not 100% correct. The range should be 2-254 because most routes use the .1 and the broadcast uses the .255 Other then that you did a great job 👍
Good job Max, thank you. Would you mind to make this project can upload automatically when saveddata 80% of sd card capacity via Google Drive?
Thanks for noting that, Sidney King. Good to keep in mind 👍🏻
Thank you, Little Things! The current camera web server does not yet support direct Google Drive file transfer but FTP file transfer. I wouldn't know how this would be done exactly, so you best bet would be to ask the code author in their GitHub repository in the "Issues" section. Cheers 👍🏻
I'm facing an error ( insert sd card ) when I connect to esp32 cam using dynamic IP, as i already inserted one.
Telling people to port forward http is a risky move even if you have authentication. If any one actually needs remote access please inform yourselves before exposing a port. Great video nonetheless.
Is there another way to view the vids
@@Motivational.2024.1 yes you can run openVPN server on an old tower, that way even when you are on away you will have access to the LAN.
I would also put the camera on a seperare LAN zone to segment it from my home server and other devices. You should always segment your network especially with IOT devices. Never have a smart anything on the same subnet as your computer
To be fair the best way would be not to connect to the webui directly but view the stream though a more secure solution like Home Assistant. Or set up a reverse proxy in front of of the camera that will not only provide TLS, it can also allow you to access other resources in your network through the use of SNI.
I’m pretty sure you can configure the esp32 to use ssl encryption and https requests, making it more secure. I haven’t tried it yet myself so I may be wrong
I am a complete noob when it comes to web security so this question might seem ludicrous. Are arduino packages reviewed by someone? I mean can the author of those codes(like Espressif systems for esp32 cam) have included some malware in the code?
It's nice to see that Great Scott style. I'd like to see more youtubers hand writing like that, it's quite satisfying
I've watched him for years and have taken some inspiration from his style. Smart guy.
Thanks for your comment!
Great video, and awesome explaination! I have a few notes to share from my experience. Since this is a year later, the new code is version 10.5 and requires a board level of 3+. No issues compiling it, put the "data" folder on the sd card. The wifi config was pretty nice, first with the AP at 192.168.4.1, set the SSID and PW in the GUI....reboot and it's on the LAN. To get the LED working on the front of the camera, the AppGlobals needs to have the Peripherals set to "true", and re-compile with that setting. Then go the GUI and edit the config to set the LED pin to 4, and "manual" mode. Then the LED brightness control will work.
I appreciate that and thanks for sharing your experience with the camera web server!
thank you for sharing
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.
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.
Brilliant idea to include the trouble-shooting section, cz that really ties up the project.
Great work max!
I'm glad you've found it helpful. Cheers!
The ESP32 CAM Works. I Had A 32GB SD Card And It is Working just fine. But After Some Time The Cam Starts To Heat Up On Its Own Like A Hot Glue Gun. But I Do Not Have Any Issues With The Cam. THANK YOU!!!
I'm glad you found my tutorial helpful. Cheers!
Wow! Amazing 😃
Thanks, Abhishek! 😄
Thanks to this video, I was able to program my ESP32 Cam after hours of trying different ideas. All I needed was to ground the GPIO0 pin.
Glad to hear my video had helped! 😀
Very cool project keep up the good work!🔥🙌
Thanks so much! Will do!
Thank you for an excellent video. Is there software that will manage multiple cameras via a single web page?
Thank you! I believe this software can do it now too. Check the link in description to the github page that explains it.
Another Great Tutorial Max!
Much appreciated, buddy! 😁
THE best comprehensive video! Thanks!
Much appreciated! Thanks for watching.
This is simply the best DIY video Ive seen!! Keep up the great work, Max!
Thank you so much! 😁
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
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
That's something very detailed and awesome!!
Thank you for the encouraging comment, Prathmesh! Have a nice weekend 😁
Hi Max 🙋♂️ Cool Peoject 👏
Thank you! Cheers! 👍
Very helpful, thanks! Do you have to have an SD card for this to work? Also, a way to access the camera feed without having to be on a wifi network would be great, is that possible?
Thanks for your comment! Yes, an SD card is necessary when using the ESP32-CAM with this code. You don't actually need to use a WiFi network if you use the camera's access point and your viewing device is within it's signal range. Though you'd have to connect to it as if it's a WiFi network in your device's network settings and use the IP "192.168.4.1" in your web browser.
Great feature for using it in remote locations 👍
The SD card also stores some of the configuration info from the web interface, which I discovered when I switched cards with a newly formatted card and the camera wasn't working anymore. I had to do the process all over and connect the devices to the IDE and upload the code again!
@@MaxImagination Hi, I've been having issues with getting the AP working. [00:00:00.867 setWifiSTA] Wifi Station IP from DHCP
[00:00:00.880 WARN startWifi] SSID not available, use AP
[00:00:00.883 onWiFiEvent] Wifi AP stopped: ESP-CAM_MJPEG_4CA67715B80C
[00:00:00.884 onWiFiEvent] Wifi AP SSID: ESP-CAM_MJPEG_4CA67715B80C started, use '192.168.4.1' to connect
[00:00:04.110 startPing] Started ping monitoring
[00:00:04.114 startWebServer] Starting web server on port: 80
This is what I receive, but when I try connecting my phone to the ESP AP(which I can see as a "wifi" network") it doesn't provide an internet connection and cannot load the 192.168.4.1 page. Any advice?
Thanks for this video very supportive. Does this Code support only 2 MB PSRAM boards?
Thank you. The code requires board with PSRAM-enabled ESP32-CAM boards - yes.
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 😊
One of the best in youtube. Thank you from Athens
Thank you too!
Fascinating work, Max. 👍😁
Many thanks!
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.
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.
Hello thankd for project but i get an error when i select psram enabled and unable to upload the code
Anyone could help me??
Need to set yor Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)" under Tools
@@chrisstruck2948 ok
I thanking yourself for putting effort to make this video and sharing with us
Glad I could help! Cheers 😀
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 😊
Hello, Max... A wonderful lesson... I do everything as you say, but for some reason, after downloading the sketch, the full web interface does not open... I don't know what to do... I've tried everything... Help to launch the web interface.... Sincerely, Gennady...
Hi there. Thanks for your comment. May you please tell me, what error message are you getting in the serial monitor? Based on this, I can help.
This guy is more animated than the simpsons, I wonder if he wouldn't be able to talk if you tied him and wasn't able to move his arms?
Literally me after watching 50 different sales people talk. Oops! 😂😂😂
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.
Hi bro i am trying to download the board but its not downloading can you help me please 😢
I am making a project for school
Paste this in the preferences tab: "raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json"
Then try downloading the ESP32 boards library in the "Boards manager" not "Library manager".
Ok thank you so much 😊
Im having another doubt Max, That is which pins we want to connect the servos to use pan and tilt
Good job
Thank you :)
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.
I have the same problem
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: ua-cam.com/video/7-3piBHV1W0/v-deo.html
Hope this helps, cheers.
@@MaxImagination Thank you. I ended up buying an ESB-32CAM-MB instead of using the FTDI usb/serial convertor and got ti to work.
Cool stuff bro
Thanks for tuning in!
Question, how did you get good camera quality from the get go? Looks like your signal strength is larger than when I tried it which was -30dBm.
Could have been that I was closer to my router and used an external antenna. Try that.
Great video, Max! Thanks for the clear, step-by-step explanations! No issues other than when first compiling, my computer/IDE needed to install the (something)-X app (I forget the name?), which took and hour to download and needed a lot of space! But the Arduino IDE walked me though it and all was well. My only other issue is that every time on a new start-up after powering up the ESP, the web interface won't open because it says there is an issue with the SD card. So I take out and put back, then reset the ESP, and all is fine. But I would like to solve this so that I don't have the issue from a remote location, where I can't then fix it.
Also, I set up the port forwarding so that I can view a stream from anywhere. The camera control webpage opens up, but I am not able to view a live still or live stream - it shows a "broken picture" icon in the image frame. However, the camera still records motion and I can successfully download and view the files, remotely. Does anyone know how to get the live image/stream to show in this situation??
Hi there and thank you. The ESP32-CAM tends to be sensitive with SD cards, please make sure your card's leads are clean. If the problem keeps persisting, maybe try another Micro SD.
I personally haven't tried port forwarding my camera before, I wouldn't be able to suggest a fix on that...
Cheers.
I had the same issue. You need to make sure, the SD card has a maximum capacity of 4GB
Great video!!
I have a question about a sleep mode. Is it already the case that the camera goes into sleep mode if you press "Stop Streaming" in the GUI? If this is not the case, are there any methods on how to to it. I would like to use it to read a water meter reading in my house. Although I can supply the camera as normal via the mains, I still want to use as little energy as possible when it is not in use.
Would appreciate any kind of answer!
I appreciate that, Jonathan! Using the code as it is, it does not go into sleep mode, from what I know. I've never used sleep modes with an ESP, so I'd suggest you ask the code author here in "Issues" on how that would be done: github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
Additionally, you can look up online how to put an ESP32 into sleep mode or standby. Cheers!
I'm facing psram issues
Did you get it solved yet?
Need to set yor Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)" under Tools
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
I just made one to monitor my 3D printer, for $1.20 on top of the esp32 camera I got the CH340 chipped MB also with external antenna for the wifi camera, $8.43 all in from AliExpress in 5 days. The MB has USB for connecting to Arduiño IDE and loading the software, much easier than using the Fdti. It takes so little power I plugged directly into my Bambu Lab P1s usb power output. The only thing I noticed is the processor gets warm on the high resolution setting so will probably fit a fan or heatsink or just leave it on 800x600.
Nice to hear! You don't need to cool the ESP32 as it's built to handle that.
@@MaxImagination thanks
Fantastic 😁 video
Glad you enjoyed it. Thank you!!
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.
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.
thank you for your quick responce@@MaxImagination
Hi again,unfortunately pin 4 is already connected to led flash under "Peripherals" tab...what else shoul I do?thanks..@@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.
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.
Max thank you so much for this project.. please is it possible to use 32Gb memory card for this project?
Hi there. Thanks for your comment. Yes, 32gb cards work well in the ESP32-CAM. I've been using my ESP32 Security camera with one of them for the past few months without much of an issue.
@@MaxImagination amazing thanks
Amazing
Thank you! Cheers!
This is an excellent video with clear instructions. There is an error on the terminal saying it cannot read common.js in data folder of the SD card. I assume this is a SD card read error. Appreciate your help to fix this issue.
Thanks for your positive feedback. That error is completely new to me. I suggest you ask the code author in "Issues" on their GitHub page - github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
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?
Hi there. This feature is already implemented in the latest code. Feel free to download it and try it out.
@@MaxImagination can i ask in which file is it located in? the code for the pan and tilt servo. thanks!
Hey there, I'm very grateful for this tutorial, however, I keep getting some strange ERROR:
[00:00:00.483 setup] =============== Starting ===============
E (507) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (508) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
[00:00:00.512 ERROR @ utilsFS.cpp:69] SD card mount failed
[00:00:00.718 prepCam] Camera init OK for model OV2640 on board CAMERA_MODEL_AI_THINKER
[00:00:00.764 loadConfig] Load config
[00:00:00.764 ERROR @ prefs.cpp:133] Failed to load file /data/configs.txt
[00:00:07.151 startWebServer] Starting web server on port: 80
[00:00:07.151 ERROR @ ESP32-CAM_MJPEG2SD.ino:147] Startup Failure: Check SD card inserted
[00:00:07.341 getLocalNTP] Using NTP server: pool.ntp.org
[00:00:07.341 WARN getLocalNTP] Not yet synced with NTP
[00:00:07.342 ERROR @ setupAssist.cpp:86] Open failed: /data/configs.txt
1. I tried 2 separate SD cards, and even formatted to FAT(Standard) and FAT32 but it is still the same.
2. I also have loaded that /data folder with the configs file in it to my SD card.
3. What I also did - added 2 mounts of SD libraries:
#include
#include
Do you have any suggestions?
1 more moment I am not sure about - I decommented #define CAMERA_MODEL_ESP32_CAM_BOARD row, but you are using the same board and u said that we shall not change anything there since it is set to default, may it impact somehow?
Thanks in advance!
Hi there. Sorry to hear you've been troubled by this. If you're using the same exact camera model as I used in the video, avoid changing anything regarding the camera model selection.
Please check that your Micro SD card is inserted all the way in.
Make sure you don't have any external board pins used up aside from the usable pins 4, 12 and 33.
Check that you've formatted your cards with FAT32 file system.
Also, what size card are you trying to use?
Cheers.
Hi.
I have used 2 different MicroSD cards, both Transcend 2GB. It is working on my laptop, tried to insert it again multiple times.
The only used pins on my board are: 5V, GND, UOT, UOR, and when uploading the code : IOG, GND.
I also went to the local store replaced the ESP32 board, it's camera, USB cable, and even FTDI.
I assume the card must be 4GB? I formatted it to FAT32 and also tried with FAT64.
After I changed my camera model selection, I got the IP adress, but ehen I access it, I only get 1 sentence in the left top corner of the screen: "Check SD card inserted".
Thank you for replying me :)
Hi again. I believe you're trying to use a card that is actually too big for the ESP32 to connect with. Try using a smaller card such as a 32GB or 16GB one. I suggest you only try your camera with a smaller card to see if this issue clears up. Cheers.
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.
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
After doing everything you did I get this error in my serial monitor (but the web server starts, showing the same error):
E (10732) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
I tried everything. I am using the ESP32-CAM-MB programmer module and have a 32 GB formatted (FAT32) SD card with the data folder inside it. I tried swapping the board model from "ESP32 Dev Module" to "AI Thinker ESP32-CAM" and tried switching the Partition Scheme but still get the same error. I even bought another OV2640 camera to test but both of them gave me the same result. I am sure I inserted the camera connector correctly, it is aligned, all the way back and firmly held in place. My camera cable looks fine, I just bought it. I also tried uploading the original CameraWebServer code but the same error shows up.
What should I try next? This is my first experience with this board and I am very frustrated. Why can't it just work?
Hi there, hearing you have tried all sorts of things to resolve the issue, it sounds like you may just have a damaged image sensor... Try running the ESP32-CAM with another OV2640 when you manage to get another one.
Great video!
What could be the problem if I can record manually and by motion detection but I cannot get a still or stream?
Thanks
Thank you!
You are either having getting a slow internet connection or simply under-powering the ESP32-CAM. I found these two to be the case with my ESP32 camera when I couldn't get the stream going.
I suggest you use a much more stable power supply if you aren't already and keep connections tight.
Resetting the board from time to time may also help.
Cheers.
hello, great video. i have a problem which i don't know how to solve. when i uploaded the code to the esp32-cam and got the ip (192.168.4.1) , after connecting to the access point and loading the 192.168.4.1 page, i get this error: "Startup failure: camera init error 0xffffffff". could you help me solve this problem.
Hi there, thanks! Please ask the code author for a solution to that issue: github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
hey max? quick question. i got this error here: exit status 1 Compilation error: invalid conversion from 'int' to 'uart_port_t' [-fpermissive]
what does that mean? it took me to the uart.cpp tab.
Hi there. Please post your errors here: github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
Hello, what a nice work on it, congratulations
Thank you! Cheers!
When I download the esp32 INO file I get only 1 tabpage in the Arduino program. What do I wrong ? Thanks for the video !
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
Hi , thank you it Works now and see al the tabs.👍
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!
I don't know what type the model of my camera modul, where can I found it?
Please refer to the page which you purchased it from and see. If it's a typical ESP32-CAM, it's the "AI thinker".
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!
Brilliant project! I didn't manage to get WebDav to work. Any idea on that?
I appreciate it. I don't have experience using WebDav. Never heard of it.
2:49 Beginning. Listing of parts and components needed.
What if you want a better camera and/or lenses to get zoom/wide? Are there options for that in this?
There are. Consider using the OV5460 image sensor with the ESP32-CAM board for ~2600xXXXX and higher pixels.
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
Awesome video! But I am having problems setting up the automatic ftp upload.
ERROR @ ftp.cpp:298] Unable to connect to FTP server
Could you please help me troubleshoot this? I have done everything that the video with ftp guide showed. Thanks in advance!
Thank you. As I don't have any experience to help you with setting up FTP upload, I suggest you ask here - github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
How can i access the camera from any wifi. please make that video👌👌
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.
Great video Max. I have an error coming psram not enabled, even though I clicks it, what is that issue
Hi there. Thanks! This issue commonly persists because of a potential pin taken up that shouldn't be touched. Make sure GPIOs 16, 15, 14, and 14 are free and not assigned to anything in the web server.
Good afternoon. Why am I getting Startup Failure: Crash Loop Detected? on the web page. Your firmware is the latest version.
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
@@MaxImagination Ok. Thanks.
@@uriukti I have the same problem. Did you solve the problem?
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.
@@MaxImagination Yes, it is right! Thank you!
How hot does your module get? I am seeing 65-70 degrees celsius and literally I can't even touch the pcb without burning my fingers. is it normal? other than that every function is working properly
Mine with the OV5640 Image sensor sometimes even gets up to 88 degrees celcius, this is normal with the ESP32-CAM.
You need a heat sink
Good day, Max! We tried connecting the system together with pan-tilt servo motors and the streaming works perfectly. However, it seems like the functionality for the adjustment for the pan-tilt is locked and cannot be dragged/slided in the interface. Do you have any idea on how you fix this? Thank you so much!
Good day! If the sliders don't appear to remove or respond, try opening the web server from a different browser.
Hi Max, thanks for the great video! Very detailed and your enthusiasm is contagious.
I am having the same problem as a few others from recent posts. After compiling and a successful upload, the serial debugger shows "WARN setup Startup Failure: Crash loop detected". I am using these versions (the latest as of now):
Arduino IDE 2.3.2
esp32 3.0.4
ESP32-CAM_MJPEG2SD 9.9.3
I have the IDE set to:
Board: AI Thinker ESP32-CAM
Partition scheme: Huge app (3MB not OTA/1MB SPIFFS)
I have a 32G SD card inserted with the data folder on it.
My board is the standard ESP32-CAM connected to the ESP-32CAM-MB, all plugged into USB into my computer for power & uploading.
I tried a second ESP32-CAM board, same problem. These boards upload and run the "Examples > ESP32 > Camera > Camera webserver" code just fine.
Here is the serial boot log:
[00:00:06.531 startPing] Started ping monitoring - On
[00:00:06.536 startWebServer] Starting web server on port: 80
[00:00:06.536 startWebServer] Remote server certificates not checked
[00:00:06.536 WARN setup] Startup Failure: Crash loop detected
[00:00:06.547 loop] =============== Total tasks: 14 ===============
[00:00:11.533 resetWatchDog] WatchDog started using task: ping
Have you seen this "Crash loop" problem before? If not, what versions of the IDE, esp32, and ESP32-CAM_MJPEG2SD did you use when making the video?
Thanks much!
Tom
Hi Tom, thank you! I get this Crash loop now and then. It is because of insufficient power supply given during startup. I suggest you use a higher quality USB cable and use more firmly connected wires if possible.
@@MaxImagination That did the trick, thank you! A beefier power supply worked. I also disconnected the ESP32-CAM-MB board. Thanks so much!
Hi max, thank you for this fantastic tutorial. Did you meanwhile manage to access the camera remotely. This is a key feature for me. If so, I will order right away.
Hi Haissam, yes it's possible. You can port forward the camera via your router as guided in the code author's github repository of the code. Check it out.
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
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.
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.
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 -
Please clarify on your exact problem and I will get back to you with help as soon as I can.
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
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.
Is it possible to upload this to glasses and use it in war? Im interessant to create new glasses for my self
Sure!
I don't see the time to see your next video about how to integrate with Home Assistant, as you said. I try to find solutions but nothing. Any idea how to start ??. I would greatly appreciate it . Nevertheless, despite your young age, I congratulate you on your effort.
Hi there. My focus lately hasn't been on IoT projects, so I would have as little of a clue as you...
If I get enough requests on this subject, I might consider it. Thanks for your comment.
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.
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.
Well, I used a fresh 9 volt battery and it works now. :>
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.
Hi Max! Thanks for the video. I'm having trouble with the SD card (4GB), maybe you know how to troubleshoot it? I already tried commenting what you said on the pinned comment and selecting my board (AI Thinker) but it doesnt work. Tried feeding the ESP32 directly in a breadboard with 5V, and not using the programmer to feed it power (the black one you recommended) but it doesn't work. Althought it gives me feedback in the console and I can connect to the webpage, it only shows the error message you have on your pinned comment. Could it be that I´m using PlatformIO in VSCode instead of the Arduino IDE? Thanks :)
Hi there. Glad you are finding my video informative. What error messages are you getting on your IDE's terminal? If it's a brownout issue, I suggest you obtain an external supply to power the ESP during uploading and testing. I am only familiar with the Arduino IDE, so I won't be able to help you with other softwares.
@@MaxImagination I have an ISSUE in the official GIT repository for the project. It's called "[ISSUE] Programming in VSCode with PlatformIO #399". Maybe you can check that out? The problem has been detailed there :)
@@MaxImagination Were you able to check it out? I still can't get it to work
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.
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.
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!
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 for the guide. And for the bonus lesson on how to do the Macarena 🤣
No problem 👍🤣
Can we add inmp441 microphone, so we can acess audio & video via wifi?
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.
@@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.
I don't have a tutorial for it, but there are videos on UA-cam you can search which show how to interface that microphone with an ESP32.
i idk why but my IDE takes so long to compile, and it's been an hour and it still hasn't finished compiling, it keeps getting stuck somewhere, do you know any way to speed up the compilation (even after compiling multiple times, my IDE still takes so long to compile, and when it comes to compiling your code it seems like it takes forever)
It should only take that long the first time. But it may be due to your computer being clogged? I suggest trying compiling on another PC to isolate the issue. It shouldn't take longer than 5 mins.
Hey max, the ESP32-Cam board that you are using its not manufactured by Ai Thinker right ?
It goes under the AI thinker camera model in the code, but not engraved on the ESP32 itself.
Great work…
But how to get camera stream url for connect to iSpy or motioneye..
Thanks.
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.
esp32 cam can works with motioneyeos. i did it@@MaxImagination
Great video and information! Thank You
Glad it was helpful! Thanks!
Can someone help, I loaded the code and everything but then it said,”compilation error: text section exceeds available space in board.” FYI I am using the same board as max in the video.
Hi there. Please try to lower your Partition scheme in 'tools' to the 1.9mb option and re-upload the code.
Will do
that worked but now this came up in the serial monitor
..[00:00:07.497 onWiFiEvent] WiFi Station connection to my wifi name, using hostname:
...[00:00:09.038 onWiFiEvent] Wifi Station IP, use '192.168.68.124' to connect
[00:00:15.397 startWifi] Wifi stats formy wifi name - signal strength: -81 dBm; Encryption: WPA2_PSK; channel: 10
[00:00:15.398 startWifi] Wifi stats for my wifi name - signal strength: -85 dBm; Encryption: WPA_WPA2_PSK; channel: 10
[00:00:15.408 startWifi] Wifi stats for my wifi name - signal strength: -91 dBm; Encryption: WPA2_PSK; channel: 10
[00:00:15.419 startPing] Started ping monitoring - On
[00:00:15.431 startWebServer] Starting web server on port: 80
[00:00:15.432 ERROR @ ESP32-CAM_MJPEG2SD.ino:138] Startup Failure: Need PSRAM to be enabled
[00:00:15.433 resetWatchDog] WatchDog started using task: ping
[00:00:15.442 getLocalNTP] Using NTP server: pool.ntp.org
[00:00:15.453 WARN getLocalNTP] Not yet synced with NTP
[00:00:15.453 ERROR @ setupAssist.cpp:88] Open failed: /data/configs.txt
[00:00:15.463 ERROR @ setupAssist.cpp:88] Open failed: /data/configs.txt
[00:00:15.464 loadConfig] Load config
[00:00:15.474 ERROR @ prefs.cpp:135] Failed to load file /data/configs.txt
[00:00:15.475 WARN retrieveConfigVal] Key hostName not set
[00:00:15.485 WARN retrieveConfigVal] Key AP_SSID not set
to Zyla Pie
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?
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
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?
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.
@@MaxImagination Ultimately I got a faster SD Card and Sketch started to work. Thanks
@@EPMSolutions1 Good to hear 👍
Great video Max;you have put all that i was looking for, code is working excellent ,thanks again
Great to hear! Thanks for commenting!
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.
I have set everything up like you did in the video. But now i want to see the stream from anywhere in the world. There are these options for setting an ftp server, but I dont know how anything of that works. Does someone know what to do, to setup the ESP32 so that I can stream the video live from anywhere?
Hi there. An FTP server is only for wirelessly transferring recorded video files in the camera to your local network PC or device to save them. I know there's a cheap way to do it and that would be to port forward your camera's IP, but people say it can be super risky as others might be able to log onto your web server from elsewhere.
I suggest you use a VPN for your camera web server with its static IP, you should be able to hop on your public IP from anywhere and access it then.
The video is really helpfull but after following all the steps i cant fix the issue (Startup Failure: Check SD card inserted). Every time i power down the circuit this apperas. I remove everthing from the pins of the esp32 except the power or deleting all current files in the sd card with the data folder again but still no fix. What could be the problem?
Hi there. Recently, I've also experienced this issue and have overcome it by specifying my camera model in the "appglobals.h" tab. You do this by commenting (//) the lines of code where the default camera models are listed and leave only one camera model right below from the list uncommented, being the AI thinker model. Upload the code after making the changes and see.
If this doesn't fix it, it could be because you're using certain pins that conflict with the SD card reader.
Hope this help, cheers.
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.
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
Thanks for reply I've solved it by downloading the older version of esp board and it worked for me
From my experience once the recording starts the streaming freeze 🥶.. is there a solution to that?
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.
@@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