Sensor-triggered Telegram alert system
May 05, 2020
4 minutes
In this month’s tutorial we will be creating a project that will alert us to any movement via a passive infrared (PIR) sensor. This will trigger a message to be sent to a service called IFTTT, which is used to receive inputs from various other services and then send outputs to other services. This message to IFTTT will trigger an output and image to be sent to a Telegram account alerting us to an intruder.
With the Raspberry Pi powered off, connect the PIR sensor to the GPIO using the three jumper wires. Connect GND to GND, VCC to the 5V pin of the Raspberry Pi. Lastly, connect the output pin of the sensor to GPIO17 of the Raspberry Pi.
You’re reading a preview, subscribe to read more.
Start your free 30 days