In this tutorial, I’ll share with you on how to build a home notification using Telegram and Raspberry Pi. The notification will be sent to the telegram bot when a human or animal passes by. It’s quite easy to do it. Now, let’s do it!
This tutorial use :
You can make the hardware connection based on the diagram and table below.
|PIR Sensor : VCC||Raspberry Pi (Maker pHAT) : 5V|
|PIR Sensor : GND||Raspberry Pi (Maker pHAT) : GND|
|PIR Sensor : Signal||Raspberry Pi (Maker pHAT) : GPIO 17|
Please refer to this video to setup the telgram bot.
- Raspberry Pi with PIR Sensor
- Displaying Telegram Message on Dot Matrix Using Raspberry Pi
- Controlling Electrical Appliance Through Telegram Using Raspberry Pi
This is the sample code used for this tutorial. Try it!
Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.