Remote Arduino Control With Telegram Bot

Remote Arduino Control With Telegram Bot © GPL3+

Arduino is controlled via telegram bot. This project is being prepared for the New Year. Yes, I know that it is not coming soon.

  • 3,181 views
  • 2 comments
  • 9 respects

Components and supplies

Apps and online services

About this project

Every year before the New Year I make something on arduino with light bulbs and servos. This year I decided to make remote control of garlands through Telegram bot. I did not use public libraries, but wrote a minimal class (in Python) that can only receive and send text messages. In addition to the garlands, I connected a servo to the Arduino, to which I attached a stick and a led on the end. Also I connected a temperature sensor. In the future, I plan to install a camera in front of this installation so that you can see how device works. Sorry for my English. All code available on Github:

UPDATE: Added custom keyboard support! Now you can just click buttons for Arduino control!

UPDATE: Short instruction:

Connect arduino to computer. Take sketch from repository, change it to your needs. Code just reads character from Serial and, depending on it, performs the actions. Further, the repository has library for working with API telegram (api.py) and an example bot (app.py). To run the bot you need to get token to access the API. To create your bot and get token, you must perform the steps described here https://core.telegram.org/bots#6-botfather After that, open app.py and edit it to your needs and run.

https://qiwi.me/zaprudnya

Code

Comments

Similar projects you might like

Control an LED with the Remote Control

Project showcase by Nicholas_N

  • 3,192 views
  • 2 comments
  • 9 respects

Servo Control with TV Remote Control

Project showcase by eldo85

  • 5,596 views
  • 5 comments
  • 17 respects

Remote Control Gripper Bot

Project tutorial by Scott Beasley

  • 4,347 views
  • 6 comments
  • 15 respects

Turn LEDs On/Off via Remote Control

Project tutorial by ismystore

  • 6,927 views
  • 0 comments
  • 5 respects

B·Day Bot - Remote control

Project in progress by Julio Vazquez

  • 1,186 views
  • 1 comment
  • 11 respects
Add projectSign up / Login