ESP32 Cam Motion detect | Send captured image to Telegram

Sharifdeen Ashshak
2 min readOct 3, 2020

Black keyhole

Resources

ESP32-CAM board

Bread board

FTDI prpgrammer

Creating a Telegram Bot

The window should open and you’ll be prompted to click the button.

If your bot is successfully created, you’ll receive a message with a link to access the bot and the . Save the bot token that will use in code part.

You can make Bussiness queries by using the business queries section. You can find that at the bottom of this page

  • You can make queries related to place ads, product placement, and advertising
  • make project queries related to DIY project section (college and school students for their projects)

Get Your Telegram User ID

Start a conversation with that bot and type . You will get a reply back with your user ID. Save that , because you’ll need it later in this tutorial.

Before you go to upload the code you need to download the following library

  1. Click here to download the Universal Arduino Telegram Bot library.
  2. Go to Sketch > Include Library > Add .ZIP Library…
  3. Add the library you’ve just downloaded.

Upload Code to the ESP32-CAM

Check my previous post here that how to upload code to ESP32-CAM

After that, open your Telegram account and test your board. You can see that when any mosition is detected by pir, the ESP32-CAM alows to take an image and it would send that image to your telegram bot

Hope you have liked this post and don’t forget to share this post who aspire to make these kind of project

Originally published at https://www.blackkeyhole.com.

--

--