Skip to content

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

Notifications You must be signed in to change notification settings

darrso/arduino-python-aiogram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published