Introduction: Telegram + Nodemcu + HC-SR501

In this article I will present IoT project that allows to sense presence of people in the room. System have remote communication via Telegram.

Step 1: Components






Arduino IDE + libraries: TelegramBot, esp8266( v2.6.3)

Step 2: Step 1: Connection

Connect components all together as shown on picture.

Step 3: Step 2: Create Telegram Bot

Create telegram bot and get bot-token.

Instruction how to create bot:

Step 4: Step 3: Programming

You can use my code for realization.

If you want to use it, you need to create commands "/on" and "/off/ for your bot.

You can update commands to make it more usable for you. You also can add some extra sensors and do extra features

Step 5: Video (in Ukrainian)

Arduino Contest 2020

Participated in the
Arduino Contest 2020