Telegram Bot Esp8266-001(Arduino UNO or NodeMCU)

About: My telegram channel (still NOT banned :) https://t.me/arduino_io Insagram https://www.instagram.com/zhuczek/

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:

OR:

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 :)

Share

    Recommendations

    • Make it Glow Contest 2018

      Make it Glow Contest 2018
    • Plastics Contest

      Plastics Contest
    • Optics Contest

      Optics Contest

    Discussions