Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.6 KB

File metadata and controls

40 lines (25 loc) · 1.6 KB

Simple project that demonstrates the ability to connect telegram and arduino through python.


About

Hey! My name is Darrso and I decided to try to make arduino control using telegram bot.

Frameworks used:

  1. Aiogram
  2. Pyserial

Arduino:

  1. 7 Wires MALE TO MALE
  2. 3 resistors
  3. Arduino UNO

How it works?

1. We connect everything to the breadboard image image image image

2. Upload a sketch from the arduino folder to the board

3. In the config.py file, insert the bot token, change the com port.

4. Start main.py

5. Send your bot a message - /start

6. The bot receives this message, then you must choose which LED you want to turn on / off.

IMG_9131.1.MOV

Plans for the future:

I have another option to implement this work without connecting the arduino to the computer. In the future, I will order an ESP8266 module and modify the program. The result will be on my github profile.