Arduino IDE + ESP32 CAM | ESP32-CAM Capture and Send Photos to Telegram | Plus with PIR Sensor

  Переглядів 20,672

Uteh Str

Uteh Str

День тому

Arduino IDE + ESP32 CAM + PIR Motion Sensor + Telegram | ESP32-CAM Take and Send Photo to Telegram | Plus with PIR Sensor.
In this project video I use Arduino IDE 1.8.9 , Notepad++ V7.7.1 , Arduino Core for The ESP32, PIR Motion Sensor, Telegram Account, ESP32 CAM AI-Thinker and ESP32 CAM AI-Thinker and ESP32-CAM-MB USB Programmer.
00:00 Opening
00:30 Project Preview
01:27 Additional information for creating this project
02:15 Creating Telegram Bot and Get Your Telegram User ID
04:08 Test Connection of ESP32-CAM with Telegram
08:45 Test Connection of ESP32-CAM with Telegram (Demo)
09:44 ESP32-CAM Take and Send Photo to Telegram
12:12 ESP32-CAM Take and Send Photo to Telegram (Demo)
13:58 ESP32-CAM Take Photo with PIR and Send Photo to Telegram
17:28 ESP32-CAM Take Photo with PIR and Send Photo to Telegram (Demo)
21:31 Closing
Download arduino code and installation image : drive.google.com/file/d/1nup6...
Download Universal Arduino Telegram Bot Lib : github.com/witnessmenow/Unive...
The code file is saved in the .rar file format. I created a .rar file using Winrar V5.50, so to extract it, make sure you use the same version of Winrar that I use or the latest version or use the winrar extractor online.
SORRY IF MY ENGLISH IS CONFUSING, I USE AN ONLINE TRANSLATOR.
THANKS FOR WATCHING & DON'T FORGET TO LIKE , SHARE, COMMENT AND SUBSCRIBE.
***********************************************
Installing the ESP32 Board (Arduino core for the ESP32) in the Arduino IDE : • Arduino IDE + ESP32 | ...
Programming ESP32 Cam with Arduino UNO : easyelectronicsproject.com/es...
Programming ESP32 Cam with FTDI Programmer : randomnerdtutorials.com/progr...
***********************************************
***********************************************
For other video tutorials on this channel, please see this playlist:
- Basic4Android (B4A) Tutorials : • Basic4Android (B4A) | ...
- Electronics Tutorials : • 3 LED Flip Flop
- Arduino Tutorials : • Arduino | Scrolling Te...
- Great Cow Basic Tutorials : • Great Cow BASIC with A...
- Bascom Avr Tutorials : • Bascom Avr | How to Se...
- VB .NET Tutorials : • Visual Basic .NET | ...
- LoLin NodeMCU V3 ESP12E ESP8266 Tutorials : • Arduino | LoLin NodeMC...
- ESP32 Tutorials : • Arduino IDE + ESP32 | ...
- ESP32 CAM Tutorials : • Arduino IDE + ESP32 Ca...
***********************************************
***********************************************
Download Arduino IDE : www.arduino.cc/en/Main/Software
Download Notepad++ : notepad-plus-plus.org/downloads/
***********************************************
***********************************************
Reference :
- Arduino Core for The ESP32 : github.com/espressif/arduino-...
- Color reference when editing video : www.arduino.cc/en/Trademark/C...
- Telegram: ESP32-CAM Take and Send Photo (Arduino IDE) : randomnerdtutorials.com/teleg...
and from several other sources.
***********************************************

КОМЕНТАРІ: 110
@vilayet90436
@vilayet90436 Рік тому
The best project I have come across on UKposts. Thanks brother.
@utehstr
@utehstr Рік тому
You're welcome 🙂.
@abdul2105
@abdul2105 11 днів тому
@@utehstr Hi please i need help i am constantly getting the error no serial data received is my esp32-cam broken or what is it?
@arindomain3574
@arindomain3574 7 місяців тому
you are awsome
@rosellamassa6448
@rosellamassa6448 3 місяці тому
Grande
@stewartpereira5442
@stewartpereira5442 Рік тому
Thanks for an Awesome project!!
@utehstr
@utehstr Рік тому
You're welcome🙂.
@abdul2105
@abdul2105 11 днів тому
@@utehstr Hi please i need help i am constantly getting the error no serial data received is my esp32-cam broken or what is it?
@cansatmessi2.0
@cansatmessi2.0 11 місяців тому
thank you man, its awesome
@utehstr
@utehstr 11 місяців тому
You're welcome 🙂.
@geniustechnology3358
@geniustechnology3358 Рік тому
Excellent job
@utehstr
@utehstr Рік тому
Thank you🙂
@ariansyahcenter
@ariansyahcenter 2 роки тому
Awesome
@utehstr
@utehstr 2 роки тому
Thanks 🙂.
@VortexVGM
@VortexVGM 8 місяців тому
Hello, thank you for this amazing project! Is it possible to send the images to multiple telegram accounts?
@zeynepfenercioglu8631
@zeynepfenercioglu8631 4 місяці тому
Can you please make the same video using the flex sensor? And how can I make it send photos at regular intervals?
@suryagaming9286
@suryagaming9286 7 місяців тому
can we use any other board rather than ai thinker please give me reply
@FitJamal
@FitJamal Рік тому
Hello sir, is it possible if I use the same coding as in this video on 'ESP32-CAM using Arduino UNO' by referring to the link you gave?
@bernardfavre4411
@bernardfavre4411 2 роки тому
I like!
@utehstr
@utehstr 2 роки тому
Thanks 🙂.
@raijinguinita582
@raijinguinita582 Рік тому
do you have a rtsp sketch for esp32 cam, sir? Ive uploaded a rtsp on my esp32 cam but no image on motioneye..if i stearm it on vlc, theres a image but in motion eye theres no image
@stive8171
@stive8171 11 місяців тому
cara tu consegue disponibilizar pra mim a pasta com esse codigo?? não tem nenhum link pra referencia dele. Obg
@Nanada1me
@Nanada1me Рік тому
hello can i know where you buy the 5v supply ?
@ranz-24
@ranz-24 5 місяців тому
Hello sir, why does the pir sensor continue to send images even when it is covered?
@dileepkumarprajapati6098
@dileepkumarprajapati6098 Рік тому
I'm facing problem, please help me. "A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('S')"
@yogeshitaliya473
@yogeshitaliya473 2 роки тому
😍😍😍😍😍
@utehstr
@utehstr 2 роки тому
👍🙂
@jensneumann8803
@jensneumann8803 Рік тому
Hello, i have a problem. The connection between esp32 cam and telegram is stable. But if Isend the command capture_photo there is not photo back to telegram. Is there in the sketch a BUG?
@deepanshusarawagi6681
@deepanshusarawagi6681 5 місяців тому
Sir code ma koi problem ha esp32 baar baar photo poc kar raha when we use pir
@adz458YT
@adz458YT 10 місяців тому
When executing the code to take the photo, I get an error that is the following ESP32-CAM failed to send photo. Tip : - Reset ESP32-CAM - Change FRAMESIZE (see Drop down frame size in void configInitCamera) how can i solve that?
@giaphuc2630
@giaphuc2630 9 місяців тому
hey bro can i change with ultra sonic
@azmihusni8021
@azmihusni8021 Рік тому
how to connect esp 32 cam with pr and buzzer?
@arrvinnadewi789
@arrvinnadewi789 4 місяці тому
Thanks for the awesome project. may I know what kind of battery do you use ? thanks!
@utehstr
@utehstr 4 місяці тому
I'm using an 18650 battery with a "step up" module to 5v.
@arrvinnadewi789
@arrvinnadewi789 4 місяці тому
@@utehstr Noted thank you very much sir
@utehstr
@utehstr 4 місяці тому
@@arrvinnadewi789 you're welcome 🙂
@abdul2105
@abdul2105 11 днів тому
Hi please i need help i am constantly getting the error no serial data received is my esp32-cam broken or what is it?
@rosellamassa6448
@rosellamassa6448 3 місяці тому
Great project thanks...but it gives me an error "Send photos..{"ok":false,"error_code":400,"description":"Bad Request: IMAGE_PROCESS_FAILED"}. I changed the framesize but without success can you help me , Thanks in advance
@amansingh-xp1ul
@amansingh-xp1ul Рік тому
Thank you for such a amazing project, but i faced a problem on 3rd project in which pir sensor after stabilization complete, but it don't send picture automatically by sensing ,please reply why i face this problem
@amansingh-xp1ul
@amansingh-xp1ul Рік тому
Pir sensor related something not present in description as you say .
@utehstr
@utehstr Рік тому
Have you connected the PIR sensor with the ESP32 Cam correctly? Have you checked the cable? Try testing the PIR sensor only with the code for the PIR sensor to make sure the PIR sensor and its wiring are in good working order.
@amansingh-xp1ul
@amansingh-xp1ul Рік тому
@@utehstr yes i check the pin the i realised that pin no. not matched with coding pin the i change this acoording to coding ,after this it work perfectly.
@21khanfarhan
@21khanfarhan Рік тому
How to share access of it (i want to share its access to my family member (we both need access at same time)???
@alizahar3939
@alizahar3939 8 місяців тому
to send pictures to telegram, does the esp32 cam have to be connected to the internet ??
@utehstr
@utehstr 8 місяців тому
Yes, the ESP32-CAM must be connected to the internet.
@alizahar3939
@alizahar3939 8 місяців тому
@@utehstr in the video, can you add a gsm sim card to replace the wifi connection?
@atiowahyudi2495
@atiowahyudi2495 Рік тому
hi bro..this project was amazing..but i have a question,,why my pir keep detecting and take a poto?
@moderatord2984
@moderatord2984 Рік тому
Hi bro, have you find the solution to that problem?
@luismitr8233
@luismitr8233 Рік тому
@@moderatord2984 mine too
@labcreative9362
@labcreative9362 Рік тому
hi bro i have same problem The problem is get many photos when activating the mode with the sensor have you solved the problem
@emraheren
@emraheren Рік тому
how is the power consumption how long can we run it with 18650 battery
@utehstr
@utehstr Рік тому
I don't know for sure, I haven't tried it.
@frankjay6533
@frankjay6533 8 місяців тому
i really like this project, but i have some small problem....there is a lag in the picture capturing thus after capturing one position it will still send the same position for about 4x though you have changed the position....any fix for that lag?
@rakaminul2181
@rakaminul2181 6 місяців тому
Same, me to
@rakaminul2181
@rakaminul2181 6 місяців тому
Please author, answer
@psykopat81
@psykopat81 6 місяців тому
​@@rakaminul2181it probably sends those picture, which captured during sensor warming
@user-gf7bj8uf5p
@user-gf7bj8uf5p 5 місяців тому
same :(
@stilianb.383
@stilianb.383 Рік тому
Hi nice review. I have a one problem with this. Do you know hot to fix it A fatal error occurred: MD5 of file does not match data in flash! Failed uploading: uploading error: exit status 2
@harivarman3472
@harivarman3472 Рік тому
issue is solved? if yes, can you tell me how to fix it?
@yawarsaeed6499
@yawarsaeed6499 11 місяців тому
Thanks for sharing such an awesome project. I tried the first code for testing/checking the esp32 cam connectivity with my Telegram bot. I get esp32 cam IP Address on Arduino serial monitor but when I click /Start on bot page, it doesn't show Got response on serial monitor. Nor does any activity or led on off commands on bot page appear. Can you please help me why it's bot working. I tried many other codes on UKposts for esp32 cam & Telegram but on clicking /Start nothing happens on Bot page while serial monitor shows IP. I tried chatting with one of friends the chatting is ok. Awaiting your earliest response. Kind regards.
@utehstr
@utehstr 11 місяців тому
Hello, Make sure that you have used the correct "BOTtoken" and "CHAT_ID".
@yawarsaeed6499
@yawarsaeed6499 11 місяців тому
@@utehstr Thank you very much for your quick response. I have already checked number of times Bot token and Bot id but every time no response on bot page on /start command. Can you please share what esp32 board version you are using in Arduino IDE.. BTW I have also tried on my friend mobile creating a new Telegram account & new bot but still the same fate . Please assist where I m going wrong . Once again Thanks & kind regards.
@utehstr
@utehstr 11 місяців тому
@@yawarsaeed6499 I'm using Arduino Core for The ESP32 V1.0.6
@AdityaPandey-iy1cx
@AdityaPandey-iy1cx Рік тому
Please solve this error “SW_CPU_RESET”
@hurmatbekurinboyev6842
@hurmatbekurinboyev6842 Рік тому
'TELEGRAM_CERTIFICATE_ROOT' was not declared in this scope?
@utehstr
@utehstr Рік тому
Make sure that you have the "UniversalTelegramBot" library installed.
@narekhambardzumyan1059
@narekhambardzumyan1059 Рік тому
Everything worked except taking photos with PR sensor, is it possible to troubleshoot what can be the issue here? i am using HC-SR501 as PIR sensor
@narekhambardzumyan1059
@narekhambardzumyan1059 Рік тому
Neverminded it was a sensitivity issue on Pir-s side =D
@prajwalx77
@prajwalx77 6 місяців тому
please send me the code @@narekhambardzumyan1059
@Nirajanvloger34
@Nirajanvloger34 2 місяці тому
CDRTOSConfigure embedded:startup.tcl:28: Error: Can't find debug.cfg in procedure 'script' at file "embedded:startup.tcl", line 28 what should i do .
@deeghovlogs
@deeghovlogs 25 днів тому
where is the link for pir esp32 cam and telegram merge program code
@deeghovlogs
@deeghovlogs 25 днів тому
ESP32-CAM Take Photo with PIR and Send Photo to Telegram I need this program code link please help!!!!!!
@yoplays
@yoplays Рік тому
why my pir keep detecting object,i already set my pir sensitive and timing but always detecting object
@utehstr
@utehstr Рік тому
Are you sure you have connected the vcc on the PIR sensor with a 3.3V power supply?
@yoplays
@yoplays Рік тому
@@utehstr yes i already but keep detecting every 1 second
@utehstr
@utehstr Рік тому
@@yoplays Have you tried turning on the PIR sensor for 30 to 60 seconds before using it? I've explained about this in the video.
@NotFound-vb6xs
@NotFound-vb6xs Рік тому
Im getting fatal error
@psykopat81
@psykopat81 6 місяців тому
The project is very nice, the codes are also very good, but it does not take and send the photos in real time, it always sends the photos it has taken several times before.
@prajwalx77
@prajwalx77 6 місяців тому
how did you formatted the code, I mean its splitted in 3 parts how did you made it in one single part
@psykopat81
@psykopat81 6 місяців тому
@@prajwalx77 copy the part , which do you want to run and paste it on a new sketch
@ayrtoncontreras8674
@ayrtoncontreras8674 2 роки тому
Do you have the wiring diagram?
@utehstr
@utehstr 2 роки тому
Look at 14:03 .
@fiqianarofi2991
@fiqianarofi2991 Рік тому
Can u taking photo without WiFi and pir?
@utehstr
@utehstr Рік тому
Yes, look here: ukposts.info/have/v-deo/l2WHoY-BkX9luX0.html
@niggtube4482
@niggtube4482 Рік тому
hello can u show us the schematic and wiring
@utehstr
@utehstr Рік тому
I've updated the code file in the description of this video to include an installation image of the EPS32 CAM with PIR sensor. The link to download it is available in the description of this video.
@niggtube4482
@niggtube4482 Рік тому
@@utehstr thanks so much
@utehstr
@utehstr Рік тому
@@niggtube4482 You're welcome 🙂.
@NileshPatel-ic4zc
@NileshPatel-ic4zc Рік тому
How to reduce photo capturing and sending time
@rifadlipanjipratama8493
@rifadlipanjipratama8493 Рік тому
Pls i've same issue
@21khanfarhan
@21khanfarhan Рік тому
Reduce sensor calibration time
@21khanfarhan
@21khanfarhan Рік тому
30 ko 0 karo
@prajwalx77
@prajwalx77 6 місяців тому
this wont work when you provide your mobile hotspot name and password you need a wifi for this
@utehstr
@utehstr 6 місяців тому
In this project video I use "mobile hotspot" and it works. If it doesn't work for you, check your "mobile hotspot" settings.
@prajwalx77
@prajwalx77 5 місяців тому
@@utehstr after exploring esp 32 I found out it doesn't support 5G it needs 4G
@prajwalx77
@prajwalx77 5 місяців тому
​@@utehstrwhat is the role of those 3 lines why we need to activate and comment those then reupload
@D_Hertz
@D_Hertz 2 місяці тому
Please, how can I get the code?
@D_Hertz
@D_Hertz 2 місяці тому
The link in the description is not working.
@utehstr
@utehstr 2 місяці тому
@@D_Hertz I've checked the link to download the code and it works.
@D_Hertz
@D_Hertz 2 місяці тому
Thanks a bunch 😊
@wiraa7764
@wiraa7764 Рік тому
hi, great tutorial ! i have a question, why telegram did not reply at all when i give command? this is the response from the serial monitor Connecting to Bruh ..... Successfully connected to Bruh ESP32-CAM IP Address: 192.168.43.207 ------------ ------------ Got response Handle New Messages: 1 Incoming command/message : /start Reply to the start command. ------------ and it ended there. even when i give command like pinging the esp cam it still did not respond at all. do you know why? thank you!
@utehstr
@utehstr Рік тому
As you can see in the video, everything is going well. Try re-watching the video, maybe you missed something.
@AlexMartin-vi4eq
@AlexMartin-vi4eq Рік тому
I have the same problem 😅
@NTX10
@NTX10 Рік тому
Hi, first of all thanks for an amazing tutorial! I am doing some tests but I can not send photos to Telegram. I got every time the same error while sending photos: "/capture_photo New photo request Preparing photo... Taking a photo... Successful photo taking. Connect to api.telegram.org Connection successful Send photos............................................................. From the ESP32-CAM : ESP32-CAM failed to send photo. Suggestion : - Reset ESP32-CAM - Change FRAMESIZE (see Drop down frame size in void configInitCamera) ------------ " I've dropped down the frame size and the configInit: s->set_framesize(s, FRAMESIZE_QQVGA); config.frame_size = FRAMESIZE_SVGA; else{ config.frame_size = FRAMESIZE_VGA;} .... Any suggestions? :/ Thank you in advance!!! Great job :)
@utehstr
@utehstr Рік тому
Make sure that you have entered the correct BOTtoken and CHAT_ID.
@NTX10
@NTX10 Рік тому
@@utehstr I did. Even though I could control Flash led through Telegram. But it's ok, this error was only with the part 2 of the code. With the third and last part (I mean Cam + Telegram + PIR), everything was fine. Thanks again!! I've seen many tutorials, but yours is the one with the best explanations. 👏🏼👏🏼👏🏼
@utehstr
@utehstr Рік тому
@@NTX10 When I have some free time, I will check and retest part 2 of the code. Maybe something is wrong there. Thank you for your feedback 🙂🙂🙂.
@utehstr
@utehstr Рік тому
@@NTX10 Hi, I've checked the code part 2 ("02 ESP32 CAM Take and Send Photo to Telegram"), I found the wrong code written there and I've fixed it. Thanks for telling me about that. I've updated the code file with the code file I've fixed. I have also updated the download link to download the code file. Please try it if you want to try it.
@rosellamassa6448
@rosellamassa6448 3 місяці тому
I have the same problem, did you solve it? and how? thank you so much
IoT Camera using ESP32 Cam and Telegram
5:50
Electronic Clinic
Переглядів 6 тис.
КИРПИЧ ОБ ГОЛОВУ #shorts
00:24
Паша Осадчий
Переглядів 6 млн
Software-Defined Network (SDN) Setup in Proxmox
16:16
PlatformIO: All you need to know in 10 Minutes!
10:56
J's e-shack
Переглядів 279 тис.
Captura de fotos con esp32 cam en tarjeta SD con sensor PIR
14:09
CarlosVolt Electrónica y Robótica
Переглядів 2,9 тис.
ESP32-CAM Take Photo and Save to MicroSD Card
7:22
Rui Santos
Переглядів 77 тис.
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Переглядів 566 тис.
ESP32-CAM - Guide to making YOUR first DIY Security Camera
24:55
Max Imagination
Переглядів 358 тис.
ESP32 CAM Getting Started | Face Detection
10:11
Viral Science - The home of Creativity
Переглядів 251 тис.
Тестируем Gravis Ultrasound... ну почти.
48:18
Дмитрий Бачило
Переглядів 39 тис.
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Переглядів 2,5 млн
Такого вы точно не видели #SonyEricsson #MPF10 #K700
0:19
BenJi Mobile Channel
Переглядів 2,9 млн