IoT Based P10 LED Display Controller
by N-08 Labs in Circuits > Arduino
75 Views, 1 Favorites, 0 Comments
IoT Based P10 LED Display Controller





Control a P10 Display Using Arduino & ESP8266 via Telegram Bot
Introduction:
In this project, we will control a P10 LED display using an Arduino Nano and an ESP8266 module. The text displayed on the P10 module is sent via a Telegram bot, making it easy to update remotely. The ESP8266 receives messages from Telegram, forwards them to the Arduino Nano via serial communication, and the Nano then displays the text on the P10 module. The text will scroll automatically for better visibility.
Full video of the project https://youtu.be/WQDSzZuawzE
visit my YouTube channel for more such projects www.youtube.com/@N08labs
visit my Instagram
Supplies


Components Required:
- Arduino Nano
- ESP8266 (ESP-01 or NodeMCU)
- P10 LED Display Module
- 5V Power Supply (2A or more)
- Male Header Pins
- Jumper Wires
- Soldering Equipment
Circuit Diagram & Connections:
















ESP8266 to Arduino Nano:
- ESP8266 TX → Arduino Nano RX (Pin 0)
- ESP8266 GND → Arduino Nano GND
- ESP8266 VCC → 3.3V Power Supply
- ESP8266 CH_PD → 3.3V (Enable Pin)
P10 Display to Arduino Nano:
- P10 Module CLK → Arduino Nano Pin X
- P10 Module DATA → Arduino Nano Pin Y
- P10 Module OE → Arduino Nano Pin Z
- P10 Module A/B → Arduino Nano Pin W
- P10 Module GND → Common GND
How It Works:
- The Telegram bot is set up to receive text messages.
- The ESP8266 connects to Wi-Fi and listens for new messages.
- When a message is received, the ESP8266 prints it on the serial monitor.
- The Arduino Nano reads the serial data and sends it to the P10 display.
- The text automatically scrolls across the display.
Code:
Libraries Used:
- UniversalTelegramBot.h – For Telegram bot integration
- DMD.h – For controlling the P10 LED display
- TimerOne.h – For timer-based operations
- SystemFont5x7.h & Arial_black_16.h – For text fonts
Code for ESO8266
Enter your own Wi-Fi and Teligram credentials
Code for Arduino
Setting Up the Telegram Bot:




- Open Telegram and search for @BotFather.
- Create a new bot using the /newbot command.
- Copy the bot token provided.
- Use this token in the ESP8266 code for communication.
Uploading the Code:
- First, upload the ESP8266 code to establish Wi-Fi and Telegram bot communication.
- Then, upload the Arduino Nano code to handle the P10 display output.
- Ensure both are correctly wired and powered.
NOTE: Programming the ESP8266 after connecting to Arduino nano may not possibe
Final Testing


- Power on the setup.
- Default message will appear.
- Send a message to your Telegram bot.
- The text should appear on the P10 display and start scrolling.
Watch my full video of this project https://youtu.be/WQDSzZuawzE