Smart dustbin notification on Telegram using Raspberry Pi

Abdul Hadi 4 months ago 722

Project URL

https://www.modmypi.com/blog/hc-sr04-ultrasonic-range-sensor-on-the-raspberry-pi

Description

Software part:

1. You must install Telegram Bot library for Python 

2. Then, open a Terminal and  write this following command:

sudo apt-get install python-pip 

sudo pip install telepot

 

Example code:

https://github.com/yonkou23/smart-dustbin-raspi/blob/master/Full_code_Sdustbin.py

 

 

Project connection :

HC-SR04

sensor

Raspberry Pi

Zero

VCC

5V

Trig

GPIO 18

Echo

GPIO 17

(adding 1k ohm resistor)

GND

GND

 

 

 

 

 

Parts you need for this project

Other Product Used

  • Telegram apps
    x 1
  • Resistor 1k ohm
    x 1
  • Resistor 2.2k ohm
    x 1
  • Box
    x 1

Comments (0)

Please login to comment.