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

Поділитися
Вставка
  • Опубліковано 10 бер 2023
  • To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/MaxImagination/. The first 200 of you will get 20% off Brilliant’s annual premium subscription.
    In this video guide, we get started with the $10 ESP32-CAM Development board (Camera) and set it up as a DIY Security Camera with the most well-developed Arduino (C/C++) Code that implements a user-friendly Web Server interface with loads of unique features.
    The code we program the ESP32-CAM with implements a Motion Capture application to record JPEGs to an SD card as AVI files and stream to a web browser as MJPEG. Full code credits to "s60sc", ESP32-CAM_MJPEG2SD GitHub repository owner.
    Download the full code HERE from repository on GitHub: github.com/s60sc/ESP32-CAM_MJ... ⬅️
    With this extensive code, you can program for semi-advanced security cameras containing additional peripherals such as PIR motion sensors, a Microphone, bright Lamps, physical buttons for cam control, Pan and Tilt Servos, voltage divider for battery voltage monitoring, and the list goes on...
    Though, to add all of these features to the already used up GPIO pins of the ESP32-CAM,
    you will need to use a secondary ESP32 chip with the IO Extender code here: github.com/s60sc/ESP32-IO_Ext... ⬅️
    👉 Visit my online Storefront: sites.google.com/view/maximag...
    ----------------------------------------------------------------------
    ☕ Buy me a coffee - www.buymeacoffee.com/MaxImagi...
    ----------------------------------------------------------------------
    Follow me on Instagram: @max.imagination - max.imagina... Check out my Instructables page: www.instructables.com/member/... ----------------------------------------------------------------------
    Disclaimer: Amazon purchase links below are affiliate links. It doesn't cost you extra to buy through those and I just get a tiny commission. Thank you!
    ⬇️ Other resources ⬇️
    ➡️ Arduino IDE programming software: www.arduino.cc/en/software
    ➡️ ESP32 Boards ".json" URL: github.com/iotechbugs/esp32-a...
    ➡️ Programming wiring diagram for the ESP32-CAM with FTDI: drive.google.com/file/d/1peCN...
    ⚙️ Parts/Hardware required for getting set up ⚙️
    1. ESP32-CAM - amzn.to/3JsOwlz
    • ESP32-CAM with MB USB Programmer - amzn.to/3Jwzqvr
    2. FTDI (USB to Serial) Converter - amzn.to/3JtAnVk
    3. Female to female Jumper wires - amzn.to/3JyL3Cg
    4. MicroSD Card (4GB) - amzn.to/3Ff6JRk
    5. USB (type-mini) Cable - amzn.to/3YHexSB
    ⬇️ Other parts shown in video for completing your DIY Camera ⬇️
    • OV5640 5MP Image Sensor - amzn.to/403e8et
    • External Antenna - amzn.to/3JbWG0g
    • ESP32C3 (for IO Extender) - amzn.to/3ywguGS
    • I2S Microphone - amzn.to/42112Qt
    • (x2) 9G Servo Motors - amzn.to/3T4NAHj
    • PIR Motion Sensors - amzn.to/3ytOQdp
    • Power Bank Boost converter Module (5V 1A) - amzn.to/3T9i1fx
    • Lithium Polymer cell 3.7V (500mAh) - amzn.to/3laZJOf
    • Lithium Ion cell 3.7V (2500mAh) - amzn.to/40HHSOe
    • Solar Power Manager (MPPT) board - amzn.to/3FbCP04
    • Solar Panel (6V 200mA) - amzn.to/3Jvtm6h
    ➡️ For more troubleshooting tips and guidance, visit: randomnerdtutorials.com/esp32...
    📼 Video on how to set up an FTP server: • How to Setup an FTP Se...
    📼 Video on how to "Port Forward" an IP camera: • IP Camera Port Forwarding
    ➡️ Blynk Iot (Cloud-based) platform: blynk.io/
    📼 My old video on making a DIY Security Camera with the ESP32-CAM (Tutorial): • Make a Simple WiFi Sec...
    #esp32cam #securitycamera #esp32
    Tags: max imagination, diy security camera, cctv camera, esp32, esp32-cam, esp32cam, esp32 cam security camera, diy home security, esp32 camera, wifi security camera, wifi camera, diy surveillance camera, ov2640, ov5640, arduino security camera, esp32 cam projects, esp32 camera module, esp32 camera streaming, esp32 cam arduino, esp32 cam server, esp32 camers web server, esp32 cam module, esp32 cam board, esp32 cam with arduino, esp32 cam arduino, esp32 cam code, esp32 cam sd card, esp32 cam motion detection, esp32 cctv camera, esp32 cam ip camera, diy ip camera, esp32 cam live streaming, diy security camera arduino, diy security camera cheap, diy security camera esp32, diy wifi security camera esp32 cam rechargeable, arduino based camera, diy wifi security camera, esp32 camera web server, esp32 cam guide, esp32 cam tutorial, esp32 cam instruction.
    This video was sponsored by Brilliant.
  • Наука та технологія

КОМЕНТАРІ • 893

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

    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 10 місяців тому

      "Startup Failure: Check SD card inserted" now issue

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

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

    • @user-mt1mc3bb2m
      @user-mt1mc3bb2m 10 місяців тому +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 9 місяців тому +1

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

    • @user-mc8xt1iq7c
      @user-mc8xt1iq7c 9 місяців тому

      ip cameras are insanely inseure

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

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

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

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

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

  • @shyanandarinidesayu4596
    @shyanandarinidesayu4596 3 місяці тому +24

    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  3 місяці тому +5

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

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

      thank you!

    • @Radioknowhow-if7mz
      @Radioknowhow-if7mz Місяць тому +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 Місяць тому +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 Місяць тому

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

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

    THE best comprehensive video! Thanks!

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

      Much appreciated! Thanks for watching.

  • @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 Місяць тому

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

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

    Another Great Tutorial Max!

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

    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.

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

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

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

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

    Very helpful and clearly explained. Thanks for making this video.

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

    Fascinating work, Max. 👍😁

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

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

    I found this extremely helpful, a game changer, thank you.

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

      Great to hear! Thanks for watching!

  • @gbadishomeassistant748
    @gbadishomeassistant748 7 місяців тому +1

    One of the best in youtube. Thank you from Athens

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

    Very helpful detailed video about the working of the module and different parts required. Just the thing I was looking for. Subscribed for more such videos.

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

      Glad you found my video helpful. Thank you for joining!

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

      ​​@@MaxImaginationI wanted to ask if this code supports video feeds from multiple ESP32-Cams? And if those can be accessed by the same static ip at one place?

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

      Not possible from what the code author told me a few months ago. However, you could ask the code author by opening a new "Issue" in his page.

  • @user-lh8kw8lq6b
    @user-lh8kw8lq6b 9 місяців тому +1

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

  • @defariase
    @defariase 7 місяців тому +1

    Excellent video. Very nicely done and well explained. Great job! Thank you.👍

  • @BALJEETSingh-qg7hp
    @BALJEETSingh-qg7hp 9 місяців тому +2

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

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

      Great to hear! Thanks for commenting!

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

    Great video Max, your are the best

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

    Awesome stuff max!

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

    Thank you for uploading this video it will be helpful for my project

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

    Very cool project keep up the good work!🔥🙌

  • @TON-vz3pe
    @TON-vz3pe 8 місяців тому +1

    Great video. You covered everything needed which makes it fantastic.

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

      Glad to hear you found it helpful! Thanks for your feedback.

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

    Great job on the video!

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

    Wow! Amazing 😃

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

    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.

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

    Thanks, this is a super clear video..thank you very much

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

      Glad to hear you've found it helpful. Thanks for your comment!

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

    Interesting video, just what I was looking for as I need a low cost security camera for my garage. I have several of these that I rarely use. I think I might give this a try.

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

      Excellent. Glad to hear that! Thanks for your comment.

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

    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

    • @Od_13
      @Od_13 Рік тому +26

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

  • @supremeleader5516
    @supremeleader5516 Місяць тому

    Amazing guide

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

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

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

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

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

    Your Handwritten typography is so cool!

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

      Glad you think so! If you enjoyed watching the video, please consider subscribing. Cheers.

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

      @@MaxImagination Subscribed! 💪🏻⚡️💯

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

    You are helping me every Day.

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

    Well done and complete too.

  • @user-jm5us6uw4j
    @user-jm5us6uw4j 3 місяці тому +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  3 місяці тому

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

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

      Glad it helped! Cheers.

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

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

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

    Kid is going places ! amazing tech

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

    Great job, thank you

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

    Cool stuff bro

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

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

    Thanks Max

  • @informativetech-1
    @informativetech-1 11 місяців тому

    Great work Max....

  • @marcelverhoeven3514
    @marcelverhoeven3514 4 місяці тому +2

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

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

    Awesome stuff 😃🙌🏽

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

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

    Awesome video thanks

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

    Looks like you did a great job explaining this, and once I try it out I might especially like the troubleshooting tips - Thanks!
    I wonder if it's possible with this s/w to integrate with ZoneMinder? The only way I know (there might be others) is a direct URL for the video stream.

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

      Hi and thanks for your comment! I have never heard of ZoneMinder before... Not sure I can help with that... Cheers.

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

    Wow amazing max 🖤🔥✨

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

    Good job

  • @Motivational.2024.1
    @Motivational.2024.1 Рік тому +1

    Hey bud great video...very well explained and totally easy to understand...if you could make a video to show how to access from anywhere would be great because I own a trailer and am going to use this camera there but id like to access it from my house....not really sure what I'm going to need for service connections but I'm going to attempt it myself in the meantime...tky ..cya 👍👍

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

      Hi, Andrew. Thanks for your comment! I heard someone managed to make the camera remotely accessible by using a VPN, from anywhere in the world. The way it probably would work is to go under your trailer's wifi network IP through the VPN when you're out n' about. Would be worth trying! Cheers.

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

    Great video! Subbed! ❤

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

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

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

      I appreciate you noticing that! Cheers 👍

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

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

  • @earthlingi72
    @earthlingi72 27 днів тому

    what a GREAT guide ! awesome work ... loved it

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

    Awesome 😃👏🏼👏🏼👏🏼

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

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

      Thanks for the tip, will consider trying it.

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

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

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

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

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

    A great video and worked straight away. A question; can it be set to stream with rtsp?

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

      Hi and thanks for your comment. Yes, the ESP32-CAM can stream with rstp, check out this guide here - learn.circuit.rocks/esp32-cam-with-rtsp-video-streaming

  • @megaspartan888
    @megaspartan888 Місяць тому +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  Місяць тому +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.

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

    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 9 місяців тому

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

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

    Great Content .. Thank You for sharing .. Cheers :)

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

      Thanks for watching and your kind remarks!

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

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

    Great, excellent, wonderfull!!!

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

    Interesting work
    Thanks,
    Jean-Françios

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

    Great video Max. Did you manage to get recordings without stopping on uSD card saved in .avi format? Videos that I manage to save to the uSD card stop and skip every few seconds. Do I have the camera parameters set incorrectly or is it simply impossible to get full fluency of the .avi recording on the uSD card?

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

      Thank you! The recordings just tend to skip around now and then like that if you're using the ESP32-CAM. If you want smoother results, I suggest you use faster ESP32-based boards that buffer the frames more smoothly like the XIAO ESP32S3. If you want to stick with your board, lowering the resolution may help.

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

      @@MaxImagination Thank you for your response. Do you think that the jumping effects in the recordings are the fault of writing (low speed) to the uSD card or frame buffering in PSRAM? I did not want to change the module and I care about the smoothness of the recording on the card. Any suggestions (reducing the resolution doesn't help)?

  • @Felix-creative
    @Felix-creative Рік тому +1

    Good job❤👍👍👍

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

    Hi Max 🙋‍♂️ Cool Peoject 👏

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

    Fantastic 😁 video

  • @rw3ave
    @rw3ave 9 місяців тому +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  9 місяців тому

      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.

  • @luansalja60
    @luansalja60 27 днів тому

    Great !!! thanks a lot, you made a huge work, is the device can work without sd card ? i mean only for streaming not to save file into it... sorry for my rusty english..

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

      Hi there! With how the code is configured nowadays, you NEED the SD card in order for it to work.

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

    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 😊

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

    Awesome video Max!!! Very informative 🤯

  • @bberil4834
    @bberil4834 6 місяців тому +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  6 місяців тому

      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.

  • @sudligh
    @sudligh 7 місяців тому +1

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

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

      Going to the code repository on GitHub (linked below in description) there's a section on what pins you can use for a mic.

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

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

  • @pravinvaz
    @pravinvaz Місяць тому

    Hey mate, thanks for the fab video. I'm using a camera which looks exactly like the one you are using and the chip states ESP-32S. It uses a micro USB adapter. I just can't figure out the board selection though. Arduino detects the port to be a NodeMCU-32S. Have tried all in the list but keep getting the Canera init failed error x106 Any suggestions welcome. Or should I go for the Xiao S3 series with the better PSRAM ? Cheers

    • @MaxImagination
      @MaxImagination  Місяць тому +1

      Hey and thanks! That board normally works as I've used it as well with the code. However, you're may be faulty. I suggest you read this forum thread: forum.arduino.cc/t/esp32-cam-error-camera-init-failed/959287/5
      Be sure to check that the board you're purchasing contains at least 4MB of flash and PSRAM. Cheers.

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

    Amazing

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

    Hi Max, thank you very much for your video. I would like to ask if it is possible to get a time and date signature into the video as well that would be very interesting. Thank you very much and have a good time. Greetings from Germany

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

      Hi, Ralph. Thanks for your comment. You can set the time and date in the camera web server settings (edit config tab) to attach a time and date label in the properties of the video clips the camera produces but unfortunately, not in the video itself (from what I've come to know). Cheers!

  • @joseluiscastrejonm.3531
    @joseluiscastrejonm.3531 Рік тому

    Please make that video showing how to connect with the camera from any place, Thanks

  • @JoxRapper
    @JoxRapper 8 місяців тому +1

    This is amazaing! My camera for some reaso is kinda slow but it is good enough! Do you happen to have an option for face recognition?

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

      Thanks. I do not, so I suggest you look on places like GitHub. Cheers.

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

    Thanks a lot, go a head.

  • @mikew2883
    @mikew2883 7 місяців тому +1

    Great video! Have you ever thought about selling kits that have all of the hard stuff configured for us that neither have the skills or patience to do it ourselves? lol We want to hit the ground running playing around with the fun stuff at the end!

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

      Thank you! I have actually thought about it before, but haven't been able to find a 3rd party manufacturer/assembler that can help me create and ship out my own style of kits. Will consider it in the near future! Cheers.

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

    Very wow!

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

    Hi Max! Great video! I have a few questions though: what ESP32 module did you use in the video (i need amazon link) and how far does the wirelessness go? Can we use the code without all the extra features like panning and tilting? And is it possible to use this code with 2 cameras?

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

      oh yeah and how is it powered?

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

      Hi there! Thanks for your comment! For the ESP32-CAM, please check the purchase links below.
      The camera without the antenna mod can operate with WiFi up to around 10 meters from the router. With the antenna mod, you can operate it up to 50M or farther.
      Yes, you may use the current code and implement pan and tilt servos, just be sure to define their pins in the web server.
      For 2-camera operation, you'd still need to program each ESP32-CAM with the code. Multi-camera feed is not available yet to have all in one web server. You'd then need to simply use them with their own IPs separately.
      I hope this answers your questions. Cheers!

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

      About powering, please watch till the end of the video, I cover this.

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

    Hi! can you add more cameras to the same system and watch them all at once on a monitor? thanks

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

      Hi there. Unfortunately, this is not possible just yet - according to the author of the code repository. Cheers.

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

    Woaww Great path you got on YT... congrats I WISH I A FANTASTIC FUTURE ON YOUR CHANNEL

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

    Hello. First of all, thank you for the perfectly explained video. I have a couple of questions that I would like to see if you could clarify for me. For a week-long recording autonomy, what type of battery would I need? On the other hand, I see that the options include the deep sleep mode. How is it activated?
    I'm sorry if my English sounds a bit rough, but I'm translating via ChatGPT.
    Thanks

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

      Depending on the application for your camera, it may just run for a week on the 2200mAh battery mentioned in the video if run in deep sleep mode and activated only when an entity is present. I have never used deep sleep more so you'd be better off asking the code repository author in "Issues" - github.com/s60sc/ESP32-CAM_MJPEG2SD/issues
      Running it 24/7 for a week on a much larger battery is pointless, in my opinion.
      Cheers.

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

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

      The SD card also stores some of the configuration info from the web interface, which I discovered when I switched cards with a newly formatted card and the camera wasn't working anymore. I had to do the process all over and connect the devices to the IDE and upload the code again!

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

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

  • @JuanSanchez-ik7wx
    @JuanSanchez-ik7wx 4 місяці тому

    We want info on making a body warn camera

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

      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

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

    Thanks for this. I've been looking for some instruction on these modules. Can you tell me, how can the SD card capacity be increased? Is there a module which handles 128GB sd cards? Thanks

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

      Hi there. Good news... You can now add memory cards above 4GB. I am using a 32GB SD card with mine. Someone told me in order to use a Micro SD card that's 64GB or higher, you must format it in "exFat".

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

      @@MaxImagination thanks for that. I'm now just wondering what the upper limit of the SD card memory is and why exfat? I would have thought FAT32.
      Thanks

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

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

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

      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.

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

    Caramba seu vídeo salvou demais, Muito obrigado pelo seu conteúdo e por disponibilizar os códigos. Está bem didático. Parabéns pelo excelente trabalho. Thanks. (:

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

      Thanks for your comment! I'm glad my video could help :)

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

    Do you have any recommended software for circuit design?

  • @kurka1186
    @kurka1186 29 днів тому

    can you use multiple esp32cam modules to have more then one area that i'd be able to watch?

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

      You can, but you may not be able to have it light proper security systems do. You'd be limited to one monitor, one screen per camera.

  • @user-ls4wz9el6f
    @user-ls4wz9el6f 6 місяців тому +2

    The video is really nice man. All the things required are explained in really nice way. Since last so many days I have an idea in my mind that we can use the cloud based security camera using ESP32 cam. Last time I used ESP32 I created a data logger that will send the sensor data continuously on telegram . Here I have the idea that why cant we use the telegram as a storage device for our video footages captured by the ESP32 cam . we can send videos of some short interval in periodic manner with time stamping. If you see this msg and agree make sure to reply.

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

      Hi there. Thanks for your kind comment! I think your idea might be worth something. Do you have a reference to a system with an ESP32-CAm rigged up that way? This could possibly be the most convenient cloud hosting solution for the camera. Cheers.

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

    Thanks for another great video. My SSID contains spaces, these are removed in the code so I can't connect. Is there anything I can do other than changing my SSID? (I'd rather not...if I can avoid it)

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

      Thanks, Christian! I haven't encountered this issue before... Maybe try adding underscores for spaces (_)? If that doesn't work, maybe then you'd have to change your SSID in your Router's settings. I don't believe it's that hard to do. Cheers.

  • @sergiocharrua4126
    @sergiocharrua4126 8 місяців тому +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  8 місяців тому

      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.

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

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

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

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

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

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

      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.