ESP-32 CAM - Motion triggered image alerts to telegram bot
Вставка
- Опубліковано 21 жов 2024
- Image alerts from ESP-32 CAM to telegram bot
In this video we will see how to send motion triggered image alerts to telegram bot. If you missed the previous video of how to creating telegram bot and generating token and chat ID please check below link
• How to create telegram...
Parts required:
ESP-32 CAM board
PIR motion sensor HC-SR501 or similar
FTDI module
Jumper wires
Breadboard
Note: In many online sources I found that during upload the sketch you need to use 3.3V, I was able to upload code by both ways using 5v and 3.3v. This sketch is not perfectly made by me but modded it from 3-4 online sources like Chung yi fu, random nerd tutorial, santi & be and others.
Limitations: As shown in the video I replaced the default lens with wide angle FOV lens, the main reason was sensing angle of PIR sensor is around 110° degree and default lens FOV is much lesser, due to this PIR detects the motion and triggers the signal but due to less FOV of default lens sometimes was not getting captured in the frame, so I replaced 120° degree lens. I will post tutorial of replacing the wider FOV lens soon.
Scope: You can fit the setup in dummy CCTV camera and have real time alerts anywhere in the world on your cellphone.
Link of the sketch:
drive.google.c...
Music credit:
Memories of spring - Tokyo music
I have been looking for such a project for a long time. Thank you for your work!
Sir, whole hardware connection is completion after u applied the code or u used esp32cam and FTDI module only sir
My esp send me every second an trigger Message. Why? Can i change the Sensibility?
Your project is very nice... can i use morethan 1 pir sensor for one board only?
That should work, it is possible with Arduino so it should also work with ESP32 Cam. it will increase sensing area but you have to increase camera FOV along with that else object might not appear in the frame.
Hello, nice video.How to send the alert to several people?
BRO I'm also getting the same error ""Connection to telegram failed" try creating new bots, i have properly configured all the requirement... any
fixes?
Change the esp32 version to 1.0.4 in board manager
I'm getting the same error failed to connect to telegram ledc not initialized. Did you get yours working?
Connection to telegram failed, but already connected to wifi, any solution ? thank q
Change the esp32 version to 1.0.4 in board manager
Good project... but... how do you download the espcam library ?
hi, that's Arduino esp32 library I used here, which is available on GitHub. I will stright copy of the library link here in zip format
my problem is "Connection to telegram failed.
"... any solution?
Hi, have you properly configured your bot? you will get this error when there is an issue with connection to telegram and code fails to execute. I hope token and chat ID is correct.
@@DHKDUDE already correct my friend because I just copy paste them... btw, to upload it, i use arduino uno
@@alhapidzteguhgumilar try searching code in the file
sensor_t * s = esp_camera_sensor_get();
s->set_framesize(s, FRAMESIZE_XGA);
replace XGA with CIF or VGA and try
@@DHKDUDE i tried CIF & VGA nothing change it says connection to telegram failed
Change the esp32 version to 1.0.4 in board manager
fix your audio..