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

Ғылым және технология

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

Пікірлер: 86

  • @ThatProject
    @ThatProject Жыл бұрын

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

  • @georgef7754
    @georgef7754 Жыл бұрын

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

  • @miketripon8029
    @miketripon8029 Жыл бұрын

    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 👍

  • @MrEnajiza
    @MrEnajiza Жыл бұрын

    Thank-You for giving us your time...

  • @deanstarman1694
    @deanstarman1694 Жыл бұрын

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

  • @hawaiisidecar
    @hawaiisidecar Жыл бұрын

    Thanks for this.

  • @joserosado1842
    @joserosado1842 Жыл бұрын

    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

    Жыл бұрын

    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 Жыл бұрын

    nice app

  • @uchaila9935
    @uchaila9935 Жыл бұрын

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

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

  • @mhkpecode9915
    @mhkpecode99157 ай бұрын

    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?

  • @PistiBala
    @PistiBala Жыл бұрын

    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!

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

    Жыл бұрын

    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 ❤🙌

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

    Жыл бұрын

    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.

  • @varunraghuwanshi3177
    @varunraghuwanshi3177Ай бұрын

    I am unable to download the app as it's not available in india

  • @grhosso
    @grhosso7 ай бұрын

    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

    7 ай бұрын

    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.

  • @veljkopanic4738
    @veljkopanic4738 Жыл бұрын

    Someone do a tutorial how to code it

  • @noelmackisoc5329
    @noelmackisoc5329 Жыл бұрын

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

  • @ThatProject

    @ThatProject

    Жыл бұрын

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

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

    Жыл бұрын

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

  • @Rohgu
    @Rohgu4 ай бұрын

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

  • @ThatProject

    @ThatProject

    4 ай бұрын

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

  • @bahrululum4094
    @bahrululum4094 Жыл бұрын

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

  • @ThatProject

    @ThatProject

    Жыл бұрын

    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. kzread.info/dash/bejne/daR9zalyfpiTerA.html

  • @Takeover738
    @Takeover7383 ай бұрын

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

  • @ThatProject

    @ThatProject

    3 ай бұрын

    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.

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

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

    Жыл бұрын

    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

  • @seaofcuriosity
    @seaofcuriosity Жыл бұрын

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

  • @itolond
    @itolond2 ай бұрын

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

  • @ThatProject

    @ThatProject

    2 ай бұрын

    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

    2 ай бұрын

    Could 4 -6 be connected for example.

  • @ThatProject

    @ThatProject

    2 ай бұрын

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

  • @NanonplayZ
    @NanonplayZКүн бұрын

    I really want to try this but the app isn't available for my country

  • @ThatProject

    @ThatProject

    13 сағат бұрын

    This app is no longer available on Google Play because it has been reported to have many bugs. Sorry.

  • @KonuralpBalcik
    @KonuralpBalcik Жыл бұрын

    Rtp Broadcast support ?

  • @ThatProject

    @ThatProject

    Жыл бұрын

    As I recall, maybe not.

  • @prathameshsapate7127
    @prathameshsapate7127 Жыл бұрын

    wifi not connect how to fixed sir

  • @ThatProject

    @ThatProject

    Жыл бұрын

    Are you sure your ESP32-CAM is ready?

  • @naldomartinez4473
    @naldomartinez4473 Жыл бұрын

    Can this work with smart cameras?

  • @ThatProject

    @ThatProject

    Жыл бұрын

    Maybe it works If the smart cameras support RTSP.

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

    Жыл бұрын

    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

    Жыл бұрын

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

  • @CiviliZayden
    @CiviliZaydenАй бұрын

    App Store?

  • @ThatProject

    @ThatProject

    Ай бұрын

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

  • @abdulrahmanbabatunde5427
    @abdulrahmanbabatunde542711 ай бұрын

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

  • @ThatProject

    @ThatProject

    11 ай бұрын

    Sounds like you need to check your WiFi credentials.

  • @abdulrahmanbabatunde5427

    @abdulrahmanbabatunde5427

    11 ай бұрын

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

  • @abdulrahmanbabatunde5427

    @abdulrahmanbabatunde5427

    11 ай бұрын

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

  • @abdulrahmanbabatunde5427

    @abdulrahmanbabatunde5427

    11 ай бұрын

    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

    11 ай бұрын

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

  • @davedave3631
    @davedave3631 Жыл бұрын

    It would be nice if I could understand you better.

  • @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: kzread.info/dash/bejne/q6uEx7Kmns-coso.html

  • @ThatProject

    @ThatProject

    Жыл бұрын

    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

    Жыл бұрын

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

Келесі