Multiple ESP32-CAM for Security System (ft. Android Tablet)

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 มิ.ย. 2024
  • It covers configuring a security camera system with ESP32-CAM.
    How you configure your system depends on your purpose. For example, the reason I previously configured an ESP32-CAM system with a WebSocket server and client is to allow multiple clients. In this project, the ESP32-CAM works like an IP camera as HTTP or RTSP server. And you can connect them through the application.
    [Main functions]
    - View videos of connected multiple ESP32-CAM on one screen
    - Save video to AVI file
    - Capture Images while watching a live view
    *Timestamps
    0:00 - Intro: ESP32-CAM & ESP32-CAM Viewer App
    1:39 - System Configuration
    2:23 - Review & Test: ESP32-CAM Viewer App
    5:32 - ESP32-CAM installed in Fake Camera Frame
    [Fake Security Camera Frame]
    amzn.to/3ybmgxL
    [ESP32-CAM AI-THINKER + FTDI USB to TTL Serial Converter]
    amzn.to/3HBjjKM
    [Android App: ESP32-CAM Viewer]
    play.google.com/store/apps/de...
    [tendollar-esp32-cam]
    github.com/DavidPilon/tendoll...
    #ESP32CAM #SecuritySystem #Android #ThatProject
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 83

  • @ThatProject
    @ThatProject  ปีที่แล้ว +4

    For more projects - th-cam.com/users/ThatProject
    That Project Github Repository - github.com/0015/ThatProject
    Join FB Group - facebook.com/groups/138965931539175

  • @georgef7754
    @georgef7754 ปีที่แล้ว +4

    Fantastic result thank you. I just need to purchase a few more esp32 cams.

  • @miketripon8029
    @miketripon8029 ปีที่แล้ว +6

    super cool! will try this today! great job!

    • @zz15coco15zz
      @zz15coco15zz ปีที่แล้ว

      The content of this channel worth millions ❤ very well explained videos, definitely a channel I will support 👍

  • @deanstarman1694
    @deanstarman1694 ปีที่แล้ว

    Damn. You're stressing me out. cool project again.

  • @MrEnajiza
    @MrEnajiza ปีที่แล้ว

    Thank-You for giving us your time...

  • @hawaiisidecar
    @hawaiisidecar ปีที่แล้ว +2

    Thanks for this.

  • @joserosado1842
    @joserosado1842 ปีที่แล้ว +1

    Very good work. I'm planning building a system with an esp32-cam to monitor my mother in law. She has Alzheimer and when is on the bedroom taking naps, she get's up and sits inside the closet staying their. The idea is to generate an alarm to an app using motion detection. So, although your app is nice, i will have to build one that receives motion detection alarms and deploys some king of sound alarm.

    • @ThatProject
      @ThatProject  ปีที่แล้ว +3

      I'm sorry to hear that. I hope her illness doesn't get worse. Motion detecting is possible with the ESP32-CAM, but there are many limitations to including multiple functions. When I get a chance, I'll try it too. thank you

  • @jlcamry
    @jlcamry ปีที่แล้ว +5

    nice app

  • @abdulrahmanbabatunde5427
    @abdulrahmanbabatunde5427 ปีที่แล้ว

    Great work man.
    I have been working on integrating ds 1302 clock module with Esp32 cam so that it can start recording at a specific time. But this will be helpful. Thanks once again. But I'm having challenges integrating the two, I don't know where I'm getting it wrong or ds1302 is using SPI communication interface?

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      What pins are used to connect ESP32-CAM and DS1302?

  • @zz15coco15zz
    @zz15coco15zz ปีที่แล้ว

    This is amazing! Does this system can support stream video over the internet? Is like gather technics from previous video part 2 and this one to get it from internet?

    • @ThatProject
      @ThatProject  ปีที่แล้ว +1

      It's possible, but the ESP32-CAM must have a static IP so that it can be accessed from the external network.

    • @zz15coco15zz
      @zz15coco15zz ปีที่แล้ว

      Thanks Eric, I appreciated ❤🙌

  • @uchaila9935
    @uchaila9935 ปีที่แล้ว

    Can you create a p2p connect on internet between esp32 camera and mobile or browser ? Thank you so much

  • @PistiBala
    @PistiBala ปีที่แล้ว +2

    This is amazing! Can you lower the latency to 0.5s or max 1s? Other question is if I use it with a portable 4g wifi hotspot, may I use it as an fpv camera on my modell airplane? 1s latency should not hurt, but I dont know if should I use Zerotier or not because the esp and the 4g hotspot is moving, change cell towers, and I do not onow if it disconnect on a poor 4g area and after it reconnects, does it get a new ip adress or not. Thx!

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      Thanks.
      It's not the network latency but network caching. This time can be decreased, but it was hardcoded. So I need to update this ESP32-CAM Viewer app to empower users to set it.
      In the case of RTSP, reconnection is supported, but in the case of HTTP Stream, it seems that a manual restart is required. Also, if the IP is changed, you have to reconnect manually.

    • @PistiBala
      @PistiBala ปีที่แล้ว

      @@ThatProject Thank you!

  • @mhkpecode9915
    @mhkpecode9915 6 หลายเดือนก่อน

    hi bro
    I want to increase the functionality of the app and add some other things to it. Where can I download the source app for Android?

  • @bl08
    @bl08 ปีที่แล้ว

    This is already a super system but I have few more ideas to solve the big files problems :
    1) The most important, change the saved framerate (even 2fps can be enough for some purpose).
    2) Nearly equal importance, delete the saved files automatically after a delay (one week for example).
    3) Less important, change the saved resolution.

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      Thank you for your comments. I’ll refer to it in the next update.

    • @bl08
      @bl08 ปีที่แล้ว +1

      @@ThatProject I already did the framerate limit but it also affect the view as I limit the framerate from the camera directly.
      In tab app_httpp.cpp, line 252
      " while(true){
      if(millis()>(lastStreamFrame+1000/maxFPS))" (the if finish just before the while finish)
      Line262
      "else {
      _jpg_buf_len = fb->len;
      _jpg_buf = fb->buf;
      lastStreamFrame = millis();"

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      @@bl08 Wow. Thanks for your code. I'll definitely try this way.

    • @bl08
      @bl08 ปีที่แล้ว

      @@ThatProject Or better, don't try because I already did it!
      That code is able to adjust framerate between 1 and 30 directly on the camera IP address with a slider button like it is for some other controls, the stream is immediatly affected by the setting.
      Probably for security cam the default value should be 1 (minimum), it's possible to adjust the default value in the code however I didn't succeed to store the data with the "save" button.
      I tested with 2FPS in VGA and file from VLC is 15,4Mo for 10 minutes meaning +-93Mo for an hour.
      Just let me the time to add a relay button because I want enable IR light when brightness is hight (so ambient light low for night vision with IR filter from lens removed). To clean the code, and I'll give you link here if you'r interested.

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      @@bl08 Sure. I think you do a great job.

  • @DamianRene
    @DamianRene ปีที่แล้ว

    Is there any limitation to make them also save the video in their micro SD slots? Is there any future implementation for that?

    • @ThatProject
      @ThatProject  ปีที่แล้ว +1

      If you google it to save a video to the SD card, you can find the way. Already it has a solution so maybe I won't play for it. IDK.

  • @seaofcuriosity
    @seaofcuriosity ปีที่แล้ว

    Man !
    How many skills and languages do you know ? Post a vedio of your journey until now.

  • @grhosso
    @grhosso 6 หลายเดือนก่อน

    Hi, Can I conect to ESP32 a analog camera? brand : runcam... typical camera for FPV, airsoft... I have 5 cameras from other projects, and i would like to use them intead of throwing away.

    • @ThatProject
      @ThatProject  6 หลายเดือนก่อน

      I can't give you a proper answer because I've never used an analog camera. Honestly, I don't think there is any way to use them on the ESP32.

  • @noelmackisoc5329
    @noelmackisoc5329 ปีที่แล้ว

    did you need the external antenna ? or just the on-board antenna ?

    • @ThatProject
      @ThatProject  ปีที่แล้ว +1

      I don't need any external antenna. it's using WiFI and it's the on-board antenna.

  • @XPERIA80
    @XPERIA80 ปีที่แล้ว

    Old tablets, raspberry pi2.3 also have enough power to display good fps picture. I have tested example a raspi 3 board+cam and gived hd quality stream. I just dont like these solutions, because we need run anytime a separate app manualy, wait till boot the OS android/raspian and avoid for fully charged battery or for 220V power supply. The main problem with Esp32 the spi bus limitation. Thats why i still wait That Project to test the remote video stream speed with the parallel display on esp32-s3 :>

    • @ThatProject
      @ThatProject  ปีที่แล้ว +1

      haha okay.

    • @XPERIA80
      @XPERIA80 ปีที่แล้ว

      @@ThatProject Im not sure what will be the best solution for my door eye project, order a uno 8 bit parallel tft shield and use the million wire to get better fps or order a esp32-s2/3 and try stream the esp32 cam server. If i good know after watch lot video, whatever i do esp32 have itself hw limitation, better picture resolution than 320x with good fps is impossible or not?. Thats why for me a big question these new combined esp32/parallel tft boards how can handle if receive more jpg picture (what simulate for us the video stream). But make this test just if you have yourself plan to test. Currently nobody tryed this out,, just running fps and object tests.

    • @maximochkaa
      @maximochkaa ปีที่แล้ว

      @@ThatProject try ispy soft

  • @veljkopanic4738
    @veljkopanic4738 ปีที่แล้ว

    Someone do a tutorial how to code it

  • @Rohgu
    @Rohgu 2 หลายเดือนก่อน

    can i supply with a single power source to all eps32 cam?

    • @ThatProject
      @ThatProject  2 หลายเดือนก่อน

      I think there will be no problem if you use a general power supply (supports up to 5A).

  • @bahrululum4094
    @bahrululum4094 ปีที่แล้ว +1

    How can I make my ESP32 Cam accessible from anywhere? Without the same ip

    • @ThatProject
      @ThatProject  ปีที่แล้ว +1

      Static IP is required. In order to connect using this project, each ESP32-CAM must be connected to Static IP, which is a very difficult task. Please check this out. th-cam.com/video/CpIkG9N5-JM/w-d-xo.html

  • @itolond
    @itolond หลายเดือนก่อน

    how many cameras can be connected and can a ESP or raspberry be used to view the cameras rather than a tablet?

    • @ThatProject
      @ThatProject  หลายเดือนก่อน

      Many connections require a lot of resources. It is not possible to connect many ESP32CAMs to ESP32, and an environment such as RPI or PC is required.

    • @itolond
      @itolond หลายเดือนก่อน

      Could 4 -6 be connected for example.

    • @ThatProject
      @ThatProject  หลายเดือนก่อน

      @@itolond The connection of 6-8 does not seem to be a problem with an SBC such as Raspberry Pi.

  • @alanteixido2033
    @alanteixido2033 ปีที่แล้ว

    Hello, how do you see all cameras at one? Is it an app?

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      Yes. the app connects the ESP32CAMs via RTSP protocol. Each ESP32CAM becomes a server.

  • @Takeover738
    @Takeover738 หลายเดือนก่อน

    Can't get no video to stream on app do i need use your github code?

    • @ThatProject
      @ThatProject  หลายเดือนก่อน

      First, connect ESP32CAM to your PC via RTSP or HTTP and check the incoming image. There is nothing special about the app. If there is no problem on your PC, you will see the same incoming image in the app.

  • @KonuralpBalcik
    @KonuralpBalcik ปีที่แล้ว

    Rtp Broadcast support ?

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      As I recall, maybe not.

  • @davedave3631
    @davedave3631 ปีที่แล้ว

    It would be nice if I could understand you better.

  • @naldomartinez4473
    @naldomartinez4473 ปีที่แล้ว

    Can this work with smart cameras?

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      Maybe it works If the smart cameras support RTSP.

  • @CiviliZayden
    @CiviliZayden 2 วันที่ผ่านมา

    App Store?

    • @ThatProject
      @ThatProject  2 วันที่ผ่านมา

      This used to be only on Google Play but is currently not available.

  • @thenextproblem8001
    @thenextproblem8001 ปีที่แล้ว

    Hi Eric! Can you edit APK for Android 4 too?
    Edit: anyone looking for viewing options you can use VLC player for Android 4

    • @ThatProject
      @ThatProject  ปีที่แล้ว +1

      It cannot be worked below API level 23.

    • @thenextproblem8001
      @thenextproblem8001 ปีที่แล้ว

      @@ThatProject oh i see... It looks like im gonna throw it out at the end this tablet 😅

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      @@thenextproblem8001 😂

    • @thenextproblem8001
      @thenextproblem8001 ปีที่แล้ว

      @@ThatProject I'm currently adding night vision to esp32cam right now. My wife asked me if i can buy baby monitor and i said "yeah i dont know i think i can do it" there is no going back for me man 😆

    • @ThatProject
      @ThatProject  ปีที่แล้ว +1

      @@thenextproblem8001 Cool. It's time to show your power to your wife.

  • @prathameshsapate7127
    @prathameshsapate7127 ปีที่แล้ว

    wifi not connect how to fixed sir

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      Are you sure your ESP32-CAM is ready?

  • @abdulrahmanbabatunde5427
    @abdulrahmanbabatunde5427 10 หลายเดือนก่อน

    There is an error flagged: ssid_NOT FOUND and password_NOT FOUND. How can I solve this?

    • @ThatProject
      @ThatProject  10 หลายเดือนก่อน +1

      Sounds like you need to check your WiFi credentials.

    • @abdulrahmanbabatunde5427
      @abdulrahmanbabatunde5427 10 หลายเดือนก่อน

      I did check. Uncommented and add a working router's credentials but still with the same error

    • @abdulrahmanbabatunde5427
      @abdulrahmanbabatunde5427 10 หลายเดือนก่อน

      I checked online and couldn't find a better way to debug it

    • @abdulrahmanbabatunde5427
      @abdulrahmanbabatunde5427 10 หลายเดือนก่อน

      What configuration to do in the WiFi credentials. Since it uses autowifi, do I need to uncomment and add the said and password?

    • @ThatProject
      @ThatProject  10 หลายเดือนก่อน +1

      @@abdulrahmanbabatunde5427 I don't use AutoWiFi. Remove all the parts related to the Auto WiFi, just make your ESP32CAM connected to your WiFi Hub.

  • @XPERIA80
    @XPERIA80 ปีที่แล้ว

    I have somehow succesfully maked lovyan03 display driver usable, with QVGA resolution, picture looks fluent, however not flll out the full 3.5" display. Here is my esp32-cam + SPI 3.5" ili9488 direct video stream /door eye project test: th-cam.com/video/ywPePmnl6rg/w-d-xo.html

    • @ThatProject
      @ThatProject  ปีที่แล้ว +1

      That's cool.

    • @XPERIA80
      @XPERIA80 ปีที่แล้ว

      @@ThatProject thank you, im still working on it to rotate the picture, because i have trouble understand lovyan japan comments and a non working overcomplicated examples:> I have thinked again and again about the 8bit parallel connection, the main problem, im not sure esp32-cam have enough pin to connect a 8 bit parallel. display directly, maybe only way the websocket/stream from another esp32. The main question inside me with the 8 bit parallel display can give me/us more speed bust or however the connection faster the esp32 itself have no more cpu power display better resolution/faster picture.

    • @ThatProject
      @ThatProject  ปีที่แล้ว +1

      @@XPERIA80 Unfortunately, the ESP32-CAM (AI Thinker) board doesn't have enough pins to drive an 8-bit display. Jpeg decoding is also important for faster image acquisition. Anyway, I think what you've been working on is the best we can do right now.

    • @XPERIA80
      @XPERIA80 ปีที่แล้ว

      @@ThatProject Yeah i see myself touch pins is not used and 4-5 pins remains on esp32 cam. Here comes, if you have time to test your new combined parallel tft board, what will be, if this esp32 s3 receive from wifi the esp32 cam picture. Makerlabs created a cam board but these have also spi connection to tft.

  • @yvesweber3295
    @yvesweber3295 ปีที่แล้ว

    Hello Eric, I have this error at the compilation, any clue ?
    sketch/ESP32-devcam.ino.cpp.o:(.literal._Z17handle_jpg_streamv+0x1c): undefined reference to `OV2640::run()'
    sketch/ESP32-devcam.ino.cpp.o:(.literal._Z17handle_jpg_streamv+0x20): undefined reference to `OV2640::getfb()'
    sketch/ESP32-devcam.ino.cpp.o:(.literal._Z17handle_jpg_streamv+0x24): undefined reference to `OV2640::getSize()'
    sketch/ESP32-devcam.ino.cpp.o:(.literal._Z5setupv+0x14): undefined reference to `esp32cam_aithinker_config'

    • @ThatProject
      @ThatProject  ปีที่แล้ว

      I build without problems.
      Target device is AI THINKER ESP32-CAM and ESP version is 2.0.7.

    • @yvesweber3295
      @yvesweber3295 ปีที่แล้ว

      @@ThatProject thks for your quick response. Is the git is up to date ? Seems OV2640 library is the problem

    • @yvesweber3295
      @yvesweber3295 ปีที่แล้ว

      Found, my fault, forgot to copy some librairies, sorry for the bother, and congrats for your work !