Telegram Bot Esp8266-001(Arduino UNO or NodeMCU)




Introduction: Telegram Bot Esp8266-001(Arduino UNO or NodeMCU)

About: My telegram channel (still NOT banned :) Insagram

Hello! In this tutorial i will show you how to control arduino with esp8266-001 and telegram. It opens great opportunities for Internet of Things (IoT).

Step 1: Components

To enter IoT world you will need:


And also breadboard, wires, leds, 100-300ohm resistors.

Step 2: Connect Esp8266 and Led to Arduino

Connect ESP8266 and LED to Arduino like on image. Connect GPIO0 to ground and reset to reset of Arduino and upload the code.

Step 3: Create New Telegram Bot

Through Botfather create your new bot. Take his TOKEN

Step 4: Programming

First of all you download and install libraries

  • ESP8266WiFi.h
  • WiFiClientSecure.h
  • TelegramBot.h

Then upload sketch to arduino

Step 5: Test...

Send "on" message to your bot. If LED turned on, congratulations.

Step 6: Follow Me :)

Microcontroller Contest

Participated in the
Microcontroller Contest

Be the First to Share


    • Puzzles Speed Challenge

      Puzzles Speed Challenge
    • "Can't Touch This" Family Contest

      "Can't Touch This" Family Contest
    • CNC Contest 2020

      CNC Contest 2020

    3 Discussions


    Question 5 weeks ago on Step 5

    Bonjour, on doit choisir quel type de carte? sachant que j'ai exactement les mêmes composants (Carte arduino UNO + module ESP8266).
    J'ai toujours cette erreur lors de la compilation: ESP8266WiFi.h: Aucun fichier ou répertoire de ce type. et pourtant j'ai bien installé les bibliothèques requises.
    Merci d'avance pour votre retour.


    7 months ago

    hello hai..can I get the link to download the library WiFiClientSecure.
    i already search at the google and cannot find that can work with this code


    Question 8 months ago on Step 4

    Não tô conseguindo encontrar essas bibliotecas