ESP32-CAM - Guide to making YOUR first DIY Security Camera

Поділитися
Вставка
  • Опубліковано 2 лют 2025

КОМЕНТАРІ •

  • @MaxImagination
    @MaxImagination  Рік тому +29

    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
      @mayanktomar7519 Рік тому

      "Startup Failure: Check SD card inserted" now issue

    • @MaxImagination
      @MaxImagination  Рік тому

      @@mayanktomar7519 Have you made the adjustments in your code I mentioned above?

    • @ІванПанчак-з2д
      @ІванПанчак-з2д Рік тому +1

      @@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
      @gigiipaq8172 Рік тому +1

      You get the "check SD card inserted" error if you don't supply enough current power on 5V esp32cam's pin.

    • @beepboop-o5s
      @beepboop-o5s Рік тому

      ip cameras are insanely inseure

  • @shyanandarinidesayu4596
    @shyanandarinidesayu4596 11 місяців тому +51

    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
      @MaxImagination  11 місяців тому +5

      I'm really glad to hear one of my videos helped you! Best of luck passing your assignment!

    • @shyanandarinidesayu2059
      @shyanandarinidesayu2059 11 місяців тому +2

      thank you!

    • @Radioknowhow-if7mz
      @Radioknowhow-if7mz 9 місяців тому +1

      hello i get the error insufficient of PSRAM i use esp32 cam board and i select AI thinker. any help any one please

    • @shyanandarinidesayu2059
      @shyanandarinidesayu2059 9 місяців тому +1

      @@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!

    • @GreenClawForestry
      @GreenClawForestry 9 місяців тому

      ​@@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
    @MaxImagination  Рік тому +7

    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
      @sidneyking11 Рік тому +1

      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
      @anakNusantara1159 Рік тому +1

      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
      @MaxImagination  Рік тому

      Thanks for noting that, Sidney King. Good to keep in mind 👍🏻

    • @MaxImagination
      @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
      @baseanimex Рік тому

      I'm facing an error ( insert sd card ) when I connect to esp32 cam using dynamic IP, as i already inserted one.

  • @KeepoHdee
    @KeepoHdee Рік тому +161

    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
      @Motivational.2024.1 Рік тому +2

      Is there another way to view the vids

    • @Oscar_delta13
      @Oscar_delta13 Рік тому +33

      ​​@@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
      @mateuszdrab Рік тому +5

      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
      @davidzatica408 Рік тому +1

      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
      @Pzapza Рік тому +1

      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
    @iusu2005 Рік тому +13

    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
      @MaxImagination  Рік тому +2

      I've watched him for years and have taken some inspiration from his style. Smart guy.
      Thanks for your comment!

  • @moenkopiproductions2422
    @moenkopiproductions2422 13 днів тому +2

    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.

    • @MaxImagination
      @MaxImagination  13 днів тому +1

      I appreciate that and thanks for sharing your experience with the camera web server!

    • @lina6018
      @lina6018 3 дні тому +1

      thank you for sharing

  • @EPMSolutions1
    @EPMSolutions1 Рік тому +13

    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
      @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
      @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
      @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.

  • @Takeover738
    @Takeover738 10 місяців тому +2

    GREAT VIDEO I'm trying to add two servo motors to work with this code but no luck.

    • @MaxImagination
      @MaxImagination  10 місяців тому

      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.

    • @Takeover738
      @Takeover738 10 місяців тому

      I'm using a esp32s3 will that still apply for this board?

    • @MaxImagination
      @MaxImagination  10 місяців тому

      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.

  • @nishad777s
    @nishad777s Рік тому +9

    Brilliant idea to include the trouble-shooting section, cz that really ties up the project.
    Great work max!

  • @VihaanDaPros
    @VihaanDaPros 11 місяців тому +1

    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!!!

    • @MaxImagination
      @MaxImagination  11 місяців тому

      I'm glad you found my tutorial helpful. Cheers!

  • @Technocrafts
    @Technocrafts Рік тому +3

    Wow! Amazing 😃

  • @artemkalinchuk
    @artemkalinchuk Рік тому +2

    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.

  • @kristoffermulbjerg6848
    @kristoffermulbjerg6848 Рік тому +8

    Very cool project keep up the good work!🔥🙌

  • @jman4715
    @jman4715 20 днів тому +1

    Thank you for an excellent video. Is there software that will manage multiple cameras via a single web page?

    • @MaxImagination
      @MaxImagination  19 днів тому

      Thank you! I believe this software can do it now too. Check the link in description to the github page that explains it.

  • @BuildCreation
    @BuildCreation Рік тому +3

    Another Great Tutorial Max!

  • @majdwardeh3698
    @majdwardeh3698 10 місяців тому +1

    THE best comprehensive video! Thanks!

    • @MaxImagination
      @MaxImagination  10 місяців тому

      Much appreciated! Thanks for watching.

  • @VitorSantos-uy6vw
    @VitorSantos-uy6vw Рік тому +8

    This is simply the best DIY video Ive seen!! Keep up the great work, Max!

  • @joshuaoduroadu5376
    @joshuaoduroadu5376 Рік тому +14

    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
      @MaxImagination  Рік тому

      Glad you found my video helpful. Many thanks!

    • @Radioknowhow-if7mz
      @Radioknowhow-if7mz 9 місяців тому

      hello i get the error insufficient of PSRAM i use esp32 cam board and i select AI thinker. any help any one please

  • @ActivePro783
    @ActivePro783 Рік тому +1

    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
      @MaxImagination  Рік тому

      Glad it helped! Cheers.

    • @ilahikervan2838
      @ilahikervan2838 Рік тому

      Bende yaptım ama hep kamera başlatilmadi hatası alıyorum lütfen yardımcı olur musunuz 3 gündür uğraşıyorum

  • @Parth_188
    @Parth_188 Рік тому +3

    That's something very detailed and awesome!!

    • @MaxImagination
      @MaxImagination  Рік тому +1

      Thank you for the encouraging comment, Prathmesh! Have a nice weekend 😁

  • @CraftChannelYT
    @CraftChannelYT Рік тому +1

    Hi Max 🙋‍♂️ Cool Peoject 👏

  • @Rsully4uk
    @Rsully4uk Рік тому +3

    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
      @MaxImagination  Рік тому +1

      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 👍

    • @FullStopBooks
      @FullStopBooks Рік тому

      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
      @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?

  • @sanjayadulankateamlead-tra5874
    @sanjayadulankateamlead-tra5874 25 днів тому +1

    Thanks for this video very supportive. Does this Code support only 2 MB PSRAM boards?

    • @MaxImagination
      @MaxImagination  25 днів тому

      Thank you. The code requires board with PSRAM-enabled ESP32-CAM boards - yes.

  • @Masonrich
    @Masonrich Рік тому +6

    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
      @MaxImagination  Рік тому +3

      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
      @Masonrich Рік тому +2

      @@MaxImagination Thank you for your detailed answer i will try some of those options 👍🏻

    • @MaxImagination
      @MaxImagination  Рік тому

      @@Masonrich Great. You're welcome 😊

  • @gbadishomeassistant748
    @gbadishomeassistant748 Рік тому +1

    One of the best in youtube. Thank you from Athens

  • @GrandadsOtherChannel
    @GrandadsOtherChannel Рік тому +4

    Fascinating work, Max. 👍😁

  • @marcelverhoeven3514
    @marcelverhoeven3514 Рік тому +3

    Hi Max, well done!! very professionally explained!!!
    Please consider making the FTP functionality: I am looking forward to apply that too.

  • @sudligh
    @sudligh Рік тому +1

    Pls add a section about installing supported microphone in this camera.

    • @MaxImagination
      @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.

  • @atharvsrivastava85
    @atharvsrivastava85 Рік тому +3

    Hello thankd for project but i get an error when i select psram enabled and unable to upload the code
    Anyone could help me??

    • @chrisstruck2948
      @chrisstruck2948 6 місяців тому

      Need to set yor Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)" under Tools

    • @atharvsrivastava85
      @atharvsrivastava85 6 місяців тому

      @@chrisstruck2948 ok

  • @TarsamBimbra
    @TarsamBimbra Рік тому +1

    I thanking yourself for putting effort to make this video and sharing with us

  • @adraayak
    @adraayak Рік тому +5

    Wonderful tutorial, thanks for your work. I am sure it will be a source of reference for many people.

    • @MaxImagination
      @MaxImagination  Рік тому +1

      Glad you think so! Thanks for your kind comment 😊

  • @rw3ave
    @rw3ave Рік тому +1

    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
      @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.

  • @ashleyowen4540
    @ashleyowen4540 9 місяців тому +3

    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?

    • @MaxImagination
      @MaxImagination  9 місяців тому

      Literally me after watching 50 different sales people talk. Oops! 😂😂😂

  • @libor-vitek
    @libor-vitek 9 місяців тому +1

    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!!!

    • @MaxImagination
      @MaxImagination  9 місяців тому

      Thanks for your comment! Glad to hear it works.
      Instead of setting time zone, try only setting the current time.

  • @vaibhavraj4686
    @vaibhavraj4686 Рік тому +3

    Hi bro i am trying to download the board but its not downloading can you help me please 😢

    • @vaibhavraj4686
      @vaibhavraj4686 Рік тому +1

      I am making a project for school

    • @MaxImagination
      @MaxImagination  Рік тому +1

      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
      @vaibhavraj4686 Рік тому +1

      Ok thank you so much 😊

  • @saravananvenkatachalam1077
    @saravananvenkatachalam1077 10 місяців тому +1

    Im having another doubt Max, That is which pins we want to connect the servos to use pan and tilt

  • @DoItYourself-DIY
    @DoItYourself-DIY Рік тому +3

    Good job

  • @davehamernik
    @davehamernik Рік тому +2

    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
      @korwolf64 Рік тому

      I have the same problem

    • @MaxImagination
      @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: ua-cam.com/video/7-3piBHV1W0/v-deo.html
      Hope this helps, cheers.

    • @davehamernik
      @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.

  • @MechAero_Labs
    @MechAero_Labs Рік тому +3

    Cool stuff bro

  • @antoniojimenez-fy6ls
    @antoniojimenez-fy6ls 5 місяців тому +1

    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.

    • @MaxImagination
      @MaxImagination  5 місяців тому

      Could have been that I was closer to my router and used an external antenna. Try that.

  • @FullStopBooks
    @FullStopBooks Рік тому +4

    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
      @MaxImagination  Рік тому +1

      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
      @cinematix_1 Рік тому

      I had the same issue. You need to make sure, the SD card has a maximum capacity of 4GB

  • @jonathan112
    @jonathan112 6 місяців тому +1

    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!

    • @MaxImagination
      @MaxImagination  6 місяців тому

      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!

  • @shreeyashsalpe2436
    @shreeyashsalpe2436 Рік тому +4

    I'm facing psram issues

    • @MaxImagination
      @MaxImagination  Рік тому

      Did you get it solved yet?

    • @chrisstruck2948
      @chrisstruck2948 6 місяців тому

      Need to set yor Partition Scheme: "Huge APP (3MB No OTA/1MB SPIFFS)" under Tools

    • @XPGXTX
      @XPGXTX 3 місяці тому

      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

  • @incubatork
    @incubatork 5 місяців тому

    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.

    • @MaxImagination
      @MaxImagination  5 місяців тому

      Nice to hear! You don't need to cool the ESP32 as it's built to handle that.

    • @incubatork
      @incubatork 4 місяці тому

      @@MaxImagination thanks

  • @successfulelectronics
    @successfulelectronics Рік тому +3

    Fantastic 😁 video

  • @erment55
    @erment55 Рік тому +1

    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
      @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
      @erment55 Рік тому

      thank you for your quick responce@@MaxImagination

    • @erment55
      @erment55 Рік тому

      Hi again,unfortunately pin 4 is already connected to led flash under "Peripherals" tab...what else shoul I do?thanks..@@MaxImagination

    • @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.

  • @jonujangid3J
    @jonujangid3J Рік тому +4

    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
      @MaxImagination  Рік тому

      Thanks a lot for your kind comment, buddy! I will definitely need to try in the future! Cheers.

  • @mayoortechinnovations
    @mayoortechinnovations Рік тому +2

    Max thank you so much for this project.. please is it possible to use 32Gb memory card for this project?

    • @MaxImagination
      @MaxImagination  Рік тому +1

      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
      @mayoortechinnovations Рік тому +1

      @@MaxImagination amazing thanks

  • @gooierhorizon6766
    @gooierhorizon6766 Рік тому +3

    Amazing

  • @kanishkayapa468
    @kanishkayapa468 6 місяців тому +1

    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.

    • @MaxImagination
      @MaxImagination  6 місяців тому +1

      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

  • @predchicken
    @predchicken 2 місяці тому +1

    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
      @MaxImagination  2 місяці тому

      Hi there. This feature is already implemented in the latest code. Feel free to download it and try it out.

    • @predchicken
      @predchicken 2 місяці тому

      ⁠​⁠@@MaxImagination can i ask in which file is it located in? the code for the pan and tilt servo. thanks!

  • @dicololiviu2818
    @dicololiviu2818 Рік тому +1

    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!

    • @MaxImagination
      @MaxImagination  Рік тому +1

      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.

    • @dicololiviu2818
      @dicololiviu2818 Рік тому +1

      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 :)

    • @MaxImagination
      @MaxImagination  Рік тому

      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.

  • @bberil4834
    @bberil4834 Рік тому +1

    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
      @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.

  • @mayoortechinnovations
    @mayoortechinnovations Рік тому +1

    Please have you ever updated software using the inbuilt (OTA UPLOAD)..?
    if yes please direct me how to go about it, thanks

    • @MaxImagination
      @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

  • @maelstudi0
    @maelstudi0 Рік тому +2

    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
      @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.

  • @megaspartan888
    @megaspartan888 9 місяців тому +1

    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

    • @MaxImagination
      @MaxImagination  9 місяців тому +1

      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.

  • @EP_Man
    @EP_Man Рік тому +2

    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.

    • @MaxImagination
      @MaxImagination  Рік тому

      Hi there, thanks! Please ask the code author for a solution to that issue: github.com/s60sc/ESP32-CAM_MJPEG2SD/issues

  • @ThePeriodicTableOfElements
    @ThePeriodicTableOfElements 15 днів тому +1

    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.

    • @MaxImagination
      @MaxImagination  15 днів тому +1

      Hi there. Please post your errors here: github.com/s60sc/ESP32-CAM_MJPEG2SD/issues

  • @alexit3157
    @alexit3157 5 місяців тому +2

    Hello, what a nice work on it, congratulations

  • @shogaitamigochi7211
    @shogaitamigochi7211 10 місяців тому +1

    When I download the esp32 INO file I get only 1 tabpage in the Arduino program. What do I wrong ? Thanks for the video !

    • @MaxImagination
      @MaxImagination  10 місяців тому +1

      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

    • @shogaitamigochi7211
      @shogaitamigochi7211 10 місяців тому +1

      Hi , thank you it Works now and see al the tabs.👍

  • @usadaily
    @usadaily Рік тому +1

    No wonder your videos are inspired from GREAT SCOTT! Appreciate your efforts

    • @MaxImagination
      @MaxImagination  Рік тому

      I appreciate you noticing that! Cheers 👍

    • @usadaily
      @usadaily Рік тому +1

      @@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
      @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!

  • @Foxydeveloping
    @Foxydeveloping Рік тому +1

    I don't know what type the model of my camera modul, where can I found it?

    • @MaxImagination
      @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".

  • @libor-vitek
    @libor-vitek 9 місяців тому

    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!!! 👍👍👍

    • @MaxImagination
      @MaxImagination  9 місяців тому +1

      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!

  • @formas1
    @formas1 3 місяці тому +1

    Brilliant project! I didn't manage to get WebDav to work. Any idea on that?

    • @MaxImagination
      @MaxImagination  3 місяці тому

      I appreciate it. I don't have experience using WebDav. Never heard of it.

  • @mihirdutta-DPSi
    @mihirdutta-DPSi Рік тому +1

    2:49 Beginning. Listing of parts and components needed.

  • @JohnVanderbeck
    @JohnVanderbeck 5 місяців тому +1

    What if you want a better camera and/or lenses to get zoom/wide? Are there options for that in this?

    • @MaxImagination
      @MaxImagination  5 місяців тому

      There are. Consider using the OV5460 image sensor with the ESP32-CAM board for ~2600xXXXX and higher pixels.

  • @jesusgutierrez1025
    @jesusgutierrez1025 Рік тому +1

    to conect the cmaera to the world you can use home assistant and then conecto home asistant to the worl through a tunnel

  • @iatroupap
    @iatroupap 10 місяців тому +1

    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!

    • @MaxImagination
      @MaxImagination  10 місяців тому +1

      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

  • @ChandanJena-n5i
    @ChandanJena-n5i 3 місяці тому +1

    How can i access the camera from any wifi. please make that video👌👌

    • @MaxImagination
      @MaxImagination  3 місяці тому

      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.

  • @salmanahmed9464
    @salmanahmed9464 Рік тому +1

    Great video Max. I have an error coming psram not enabled, even though I clicks it, what is that issue

    • @MaxImagination
      @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.

  • @uriukti
    @uriukti 6 місяців тому +2

    Good afternoon. Why am I getting Startup Failure: Crash Loop Detected? on the web page. Your firmware is the latest version.

    • @MaxImagination
      @MaxImagination  6 місяців тому +1

      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

    • @uriukti
      @uriukti 6 місяців тому +1

      ​@@MaxImagination Ok. Thanks.

    • @terrybates6066
      @terrybates6066 5 місяців тому

      @@uriukti I have the same problem. Did you solve the problem?

    • @MaxImagination
      @MaxImagination  5 місяців тому +1

      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.

    • @uriukti
      @uriukti 5 місяців тому

      @@MaxImagination Yes, it is right! Thank you!

  • @yildizyeni
    @yildizyeni Рік тому +1

    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

    • @MaxImagination
      @MaxImagination  Рік тому +1

      Mine with the OV5640 Image sensor sometimes even gets up to 88 degrees celcius, this is normal with the ESP32-CAM.

    • @mayoortechinnovations
      @mayoortechinnovations Рік тому +1

      You need a heat sink

  • @DALLASAQUINO-p5u
    @DALLASAQUINO-p5u 2 місяці тому +1

    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!

    • @MaxImagination
      @MaxImagination  2 місяці тому

      Good day! If the sliders don't appear to remove or respond, try opening the web server from a different browser.

  • @TomInOhio2
    @TomInOhio2 5 місяців тому +1

    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

    • @MaxImagination
      @MaxImagination  5 місяців тому

      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.

    • @TomInOhio2
      @TomInOhio2 5 місяців тому +1

      @@MaxImagination That did the trick, thank you! A beefier power supply worked. I also disconnected the ESP32-CAM-MB board. Thanks so much!

  • @haissam9999
    @haissam9999 5 місяців тому +1

    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.

    • @MaxImagination
      @MaxImagination  5 місяців тому

      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.

  • @____________________________.x
    @____________________________.x 6 місяців тому

    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

    • @MaxImagination
      @MaxImagination  6 місяців тому +1

      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.

  • @Tornciti
    @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
      @MaxImagination  Рік тому +1

      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.

  • @nortonshields8405
    @nortonshields8405 Рік тому +1

    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  Рік тому

      Please clarify on your exact problem and I will get back to you with help as soon as I can.

    • @nortonshields8405
      @nortonshields8405 Рік тому +1

      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
      @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.

  • @Chuck.N
    @Chuck.N 9 місяців тому +1

    Is it possible to upload this to glasses and use it in war? Im interessant to create new glasses for my self

  • @gbadishomeassistant748
    @gbadishomeassistant748 Рік тому +1

    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
      @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.

  • @TomBruner1
    @TomBruner1 Рік тому +1

    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. 😏

    • @MaxImagination
      @MaxImagination  Рік тому

      Thanks for your comment. I'm sure others may find it helpful.

  • @jibebuoy3451
    @jibebuoy3451 Рік тому +1

    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
      @davehamernik Рік тому

      Well, I used a fresh 9 volt battery and it works now. :>

    • @MaxImagination
      @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.

  • @Matopototo
    @Matopototo 10 місяців тому +1

    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 :)

    • @MaxImagination
      @MaxImagination  10 місяців тому +1

      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.

    • @Matopototo
      @Matopototo 10 місяців тому

      @@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 :)

    • @Matopototo
      @Matopototo 9 місяців тому

      @@MaxImagination Were you able to check it out? I still can't get it to work

  • @walterblanc9708
    @walterblanc9708 Рік тому +1

    Excellent. Thankyou. I shall watch again before I start, still need the serial/usb board.

    • @MaxImagination
      @MaxImagination  Рік тому

      Glad you found my video resourceful. Best of luck with your projects! Cheers.

  • @Pozzyfunk
    @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
      @MaxImagination  Рік тому

      Thanks for the tip, will consider trying it.

    • @skyagnitti
      @skyagnitti 6 місяців тому

      I'm switching over my security system to these because amazon cameras will not pass through my wireguard vpn. They say they will, They will not. The esp32cam modules are way better anyway because we have so much more control over them. And you can setup a webpage on your server with frame attributes to load the live feed from all the esp32cams onto one screen - like a security station you always see in the movies. Cheers @MaxImagination, you rock socks bro!

  • @matheusmota9500
    @matheusmota9500 Рік тому +1

    You help me a lot, with these tutorials, I'm really gratefull. About the connection word wide I have used ngrok, but the problem is that you will need a computer on in the same network.

    • @MaxImagination
      @MaxImagination  Рік тому

      I'm very pleased to hear that! I will look more into ngrok and how I can implement it with my security camera. Thanks for the suggestion, cheers!

  • @D4RKFiB3R
    @D4RKFiB3R Рік тому

    Thanks for the guide. And for the bonus lesson on how to do the Macarena 🤣

  • @evieanindyaputri610
    @evieanindyaputri610 9 місяців тому +1

    Can we add inmp441 microphone, so we can acess audio & video via wifi?

    • @MaxImagination
      @MaxImagination  9 місяців тому

      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.

    • @evieanindyaputri610
      @evieanindyaputri610 9 місяців тому +1

      @@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.

    • @MaxImagination
      @MaxImagination  9 місяців тому

      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.

  • @KhánhViHà-h5m
    @KhánhViHà-h5m 19 днів тому +1

    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)

    • @MaxImagination
      @MaxImagination  19 днів тому

      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.

  • @karabomoyo8726
    @karabomoyo8726 Рік тому +1

    Hey max, the ESP32-Cam board that you are using its not manufactured by Ai Thinker right ?

    • @MaxImagination
      @MaxImagination  Рік тому

      It goes under the AI thinker camera model in the code, but not engraved on the ESP32 itself.

  • @harmanleonardo5283
    @harmanleonardo5283 Рік тому +1

    Great work…
    But how to get camera stream url for connect to iSpy or motioneye..
    Thanks.

    • @MaxImagination
      @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
      @yochumjerome4150 Рік тому

      esp32 cam can works with motioneyeos. i did it@@MaxImagination

  • @MRrwmac
    @MRrwmac 4 місяці тому +1

    Great video and information! Thank You

  • @gooierhorizon6766
    @gooierhorizon6766 Рік тому +1

    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.

    • @MaxImagination
      @MaxImagination  Рік тому +1

      Hi there. Please try to lower your Partition scheme in 'tools' to the 1.9mb option and re-upload the code.

    • @gooierhorizon6766
      @gooierhorizon6766 Рік тому +1

      Will do

    • @gooierhorizon6766
      @gooierhorizon6766 Рік тому +1

      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

  • @EPMSolutions1
    @EPMSolutions1 Рік тому +2

    Great video. I attempted to follow your instructions on the same device and found when I set Partition Mode to 8mb with Spiffs, the Serial Monitor would repeat the first nine lines of load information endlessly and never execute code. I am using Arduino 2.04. Any thoughts?

    • @MaxImagination
      @MaxImagination  Рік тому

      Thanks for your comment!
      I find partition schemes higher than 3mb to not work with my ESP. Try using Minimal Spiffs 1.9mb.
      I never used 8mb partition scheme before, I'm afraid I can't help you with that one except for my prior advice.
      Cheers,
      Max

    • @EPMSolutions1
      @EPMSolutions1 Рік тому

      I got past above issue, now it loads and when I wave my hand by cam, the monitor shows - "[22:46:18.668 closeAvi] Insufficient capture duration: 4 secs". Any suggestions?

    • @MaxImagination
      @MaxImagination  Рік тому +1

      This means that the duration you have the minimum recording time set to in your control panel is longer than the recording that it made. Try either reducing the min record time or move around the frame for longer to make it save the captured video. Cheers.

    • @EPMSolutions1
      @EPMSolutions1 Рік тому +2

      @@MaxImagination Ultimately I got a faster SD Card and Sketch started to work. Thanks

    • @MaxImagination
      @MaxImagination  Рік тому

      @@EPMSolutions1 Good to hear 👍

  • @BALJEETSingh-qg7hp
    @BALJEETSingh-qg7hp Рік тому +2

    Great video Max;you have put all that i was looking for, code is working excellent ,thanks again

  • @sergiocharrua4126
    @sergiocharrua4126 Рік тому +1

    what is the maximum resolution camera sensor that the ESP32 support? can i connect to it a 4k +60fps sensor and stream video?

    • @MaxImagination
      @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.

  • @cinematix_1
    @cinematix_1 Рік тому +1

    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?

    • @MaxImagination
      @MaxImagination  Рік тому +1

      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.

  • @АлександърКолчев-х7п

    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?

    • @MaxImagination
      @MaxImagination  Рік тому

      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.

  • @therobotify12
    @therobotify12 Рік тому +1

    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
      @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
      @therobotify12 Рік тому

      Thanks for reply I've solved it by downloading the older version of esp board and it worked for me

  • @mayoortechinnovations
    @mayoortechinnovations Рік тому +1

    From my experience once the recording starts the streaming freeze 🥶.. is there a solution to that?

    • @MaxImagination
      @MaxImagination  Рік тому +1

      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
      @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