
IoT Notice Board using ESP32 and P10 LED Display - Proteus Simulation

Hello friends, I hope you all are doing great. Today, I am going to share the IoT Notice Board using ESP32 and P10 LED Display - Proteus Simulation, project 107 of our IoT Projects series. The wireless notice board is one of the most popular student projects: instead of pinning paper to a board, the notices are typed on a phone and appear on a bright LED sign in the corridor, the office or the shop window. Here is a complete one, with the circuit, the code that drives the P10 panel without any library, and a Proteus simulation you can run before you buy a single panel.
The board is a P10, the red 32 x 16 LED panel used in shop signs and bus displays everywhere. An ESP32 drives it and serves a small web page over WiFi. The top line shows a tag, such as INFO, NOTE, EXAM or ALERT, and the bottom line scrolls the notice. Up to five notices take turns, each scrolling past once. From a laptop or a phone you can post a ready-made notice with one tap, or type your own notice into the browser's address bar. A new notice beeps once and appears at once, an urgent one beeps three times and its tag flashes, and the board can be dimmed for the evening. In this tutorial, we will go through the circuit, how a P10 panel works, how the ESP32 keeps it scanned while it serves web pages, and the code. Then we post a whole day of notices in the simulation. At the end, you can download the project with the sketch and every library file.
NOTICE: Our team has put a lot of effort into this project: the circuit, the code and every part in the simulation are our own work, and you get them all free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below. And if our free projects help you, you can buy us a coffee. So, let's get started with the IoT notice board using ESP32 and P10 LED display in Proteus simulation:
What Does This IoT Notice Board Do?
- A P10 LED panel: 32 x 16 red LEDs, a tag on the top line and the notice scrolling along the bottom line.
- Notices over WiFi: WELCOME, MEETING, EXAM and URGENT with one tap, or your own text from the address bar.
- A queue: up to five notices in turn; the newest shows at once; NEXT skips, CLEAR goes back to the welcome notice.
- Urgent notices: three beeps and a flashing ALERT tag.
- A chime: an active buzzer beeps once for each new notice.
- Brightness: BRIGHT for the day, DIM for the evening.
In the simulation, the P10 lights its LEDs on the sheet as they are scanned, and its pop-up shows the panel larger with the refresh rate, the OE time and the LEDs lit.
Components Used in the Proteus Simulation
All the parts come from our Proteus libraries, each with its own tutorial. The project zip at the end includes every LIB and DLL file.
| Part | Proteus device | Library post | Connection |
|---|---|---|---|
| ESP32 DevKit V1 | ESP32 DEVKIT V1 | ESP32 DevKit V1 Library for Proteus | U1, ESP32_Notice_Board.hex, Wi-Fi 192.168.1.101 |
| P10 LED panel 32x16 | P10PANELTEP | P10 LED Panel Library for Proteus | U2: R D23, CLK D18, LAT D5, A D26, B D27, OE D25 |
| Active buzzer | BUZZERACTIVETEP | Active Buzzer Library for Proteus | BZ1: D32 |
| Laptop WiFi Monitor | LAPTOP WIFI MONITOR | Laptop WiFi Monitor | PC1 |
| Mobile WiFi Monitor | MOBILE WIFI MONITOR | Mobile WiFi Monitor | MOB1 |
Proteus Simulation of the Notice Board: the Circuit
| HUB12 pin | ESP32 | What it does |
|---|---|---|
| R | D23 (MOSI) | the data, one bit an LED, active low (a 0 lights the LED) |
| CLK | D18 (SCK) | shifts each bit into the column registers |
| LAT | D5 | moves the 128 shifted bits to the LED drivers |
| A, B | D26, D27 | select one of the four row groups |
| OE | D25 | output enable, active low: the LEDs are on only while OE is low |
| VCC / GND | VCC rail / GND | the panel's 5 V supply |
The data and the clock come from the ESP32's hardware SPI, which shifts a byte in a few microseconds; the other four lines are plain GPIO pins. The buzzer is an active one, so a HIGH on D32 is all it needs to sound.
How the IoT Notice Board Works
How a P10 Panel Works
A P10 has 512 LEDs but no memory for a picture: it only shows what it is given, a quarter at a time. Its rows are wired in four groups: rows 1, 5, 9 and 13 form the first, rows 2, 6, 10 and 14 the second, and so on. To show a group, the controller shifts 128 bits into the column shift registers through R and CLK, switches the LEDs off with OE, pulses LAT so the drivers take the new bits, selects the group with A and B, and switches the LEDs on again. Then the next group, and the next. Done fast enough, more than about 100 times a second for the whole panel, the eye sees one steady picture. Stop scanning and the panel goes dark. This is called 1/4 scan multiplexing, and it is why a P10 needs only 16 drivers for its 32 columns and four rows a group.
Scanning from loop() While Serving Web Pages
Most P10 tutorials scan from a timer interrupt. Here loop() does it: it checks the time on every pass, and every 2 ms it sends the next row group. Four groups make a full picture every 8 ms, 125 pictures a second. The rest of loop(), drawing the text, the buzzer and the web server, only has to keep each pass short. The one moment it cannot is when a page is being built and sent: then the scan waits for a few milliseconds and one group stays lit a little longer, which the eye hardly notices.
The Picture Buffer and the Font
The picture lives in a buffer of 16 rows of 4 bytes, one bit an LED. Because the panel's data line is active low, a 0 bit lights an LED, so the buffer starts filled with 1s. A 5 x 7 font gives each character five columns of seven dots, plus a blank sixth column. The top line, rows 0 to 7, shows the tag centred; the bottom line, rows 8 to 15, shows the notice starting at column scrollX. Every 40 ms scrollX goes down by one, so the text moves one column to the left; when the whole notice has passed, the next one starts from the right edge.
Notices From the Web
The ESP32 joins the WiFi and serves a dashboard. Each preset link adds a notice to the queue, which holds up to five; when it is full, the oldest one after the welcome notice makes room. A new notice shows at once and beeps. Your own notice comes in the address: /add?msg=LIBRARY+OPEN+TILL+8+PM&tag=NEWS. The web server decodes the plus signs into spaces, and the sketch turns the text into capitals, the letters the font has.
Brightness with OE
OE switches the LEDs on and off for each group, so it also sets the brightness. In BRIGHT mode, OE stays low for the whole 2 ms of each group. In DIM mode, the sketch switches OE off again after 0.5 ms, so each LED is lit a quarter of the time. That is pulse-width brightness control, the same way large LED signs dim at night.
The Arduino Code Explained
The sketch is ESP32_Notice_Board.ino, built for our ESP32 DevKit V1 with the WiFi, WebServer and SPI libraries; the P10 needs no library. The pins and the scan period:
const byte LAT = 5, PIN_A = 26, PIN_B = 27, OE = 25, BUZ = 32;
const unsigned long SCAN_US = 2000; // one row group every 2 ms: 125 pictures a second
One row group: the 16 bytes by SPI, then the latch and the group's address:
SPI.transfer(screen[g + 12][i]); SPI.transfer(screen[g + 8][i]); SPI.transfer(screen[g + 4][i]); SPI.transfer(screen[g][i]);
digitalWrite(LAT, HIGH); digitalWrite(LAT, LOW);
digitalWrite(PIN_A, g & 1); digitalWrite(PIN_B, g & 2);
Drawing: a column of eight dots into the buffer (a 0 bit lights an LED), a column of the font, and the scrolling notice:
if (bits & (1 << r)) screen[top + r][x >> 3] &= ~m; else screen[top + r][x >> 3] |= m;
return col < 5 ? pgm_read_byte(FONT + (c - 32) * 5 + col) : 0;
setColumn(x, 8, t < 0 || t >= len * 6 ? 0 : glyph(s[t / 6], t % 6));
In loop(): the scan every 2 ms, and DIM switching OE off after a quarter of it:
if ((long)(us - nextScan) >= 0) { nextScan = us + SCAN_US; scanGroup(); }
if (dim && oeOn && micros() - oeAt >= SCAN_US / 4) { digitalWrite(OE, HIGH); oeOn = false; } // (a fresh time: 'us' is older than oeAt)
A notice of your own from the address, and the urgent tag that flashes:
add(web.hasArg("tag") ? web.arg("tag").c_str() : "NEWS", web.arg("msg").c_str(), false);
const bool off = n.urgent && (millis() / 400) % 2;
The dashboard's links are Refresh, NEXT and CLEAR, WELCOME, MEETING and EXAM, URGENT, BRIGHT and DIM; /data gives the notice showing, the counts and the scans as JSON.
How to Run the Proteus Simulation
- Download the project zip below and install the library files (the steps are under the download button).
- Open ESP32-Notice-Board.pdsprj from the Proteus Simulation folder. Keep the HEX and the DLL files next to it.
- Press Play: the welcome notice scrolls from power-on. Click the P10 for its pop-up.
- Open the Laptop or the Mobile WiFi Monitor (press Go) and post notices with WELCOME, MEETING, EXAM and URGENT.
- Your own notice: type http://192.168.1.101/add?msg=YOUR+NOTICE&tag=NEWS in the address bar and press Enter.
Simulation Results: a Day of Notices in Proteus
We pressed Play and posted a day of notices: a staff meeting and the exams from the laptop, a notice of our own typed into the address bar, an urgent fire drill from the phone, then the evening's DIM and a CLEAR. The P10's pop-up shows the panel larger, with the refresh rate, the OE time and the LEDs lit. The times are the sketch's clock; the whole run took 37.5 simulated seconds.
The Welcome Notice from Power-On
The sketch printed READY - scanning the P10 at 125 Hz and the welcome notice at 0.0 s, before the WiFi had even joined: INFO on the top line and WELCOME TO THE ENGINEERING PROJECTS scrolling along the bottom. The P10's pop-up measured a refresh of 120 Hz for the whole panel, close to the 125 Hz the sketch aims for, with OE on 99 % of the time and 113 of the 512 LEDs lit. The few hertz missing are the moments loop() spends drawing the text and serving the WiFi.
Posting Notices
At 8.1 s we tapped MEETING on the laptop: POSTED - NOTE: STAFF MEETING AT 3 PM IN ROOM 12 (2 notices). The new notice replaced the welcome notice on the panel at once, with the NOTE tag on top, and the buzzer gave its single chime. At 12.3 s EXAM added MID TERM EXAMS START ON MONDAY IN HALL 2, the third notice. The more letters on the panel, the more LEDs lit: 132 for the meeting, 149 for the exams, with the current estimate rising from 0.87 A to 1.15 A.
A Notice of Our Own
Then we typed our own notice into the laptop browser's address bar: http://192.168.1.101/add?msg=LIBRARY+OPEN+TILL+8+PM+TODAY&tag=NEWS. At 17.7 s the sketch printed POSTED - NEWS: LIBRARY OPEN TILL 8 PM TODAY (4 notices): the web server had turned the plus signs into spaces, and the panel showed the NEWS tag with our text. When it had scrolled past, at 25.8 s, the board went on to the next notice in turn, back to number 1 of 4.
An Urgent Notice
At 26.0 s we tapped URGENT on the phone: POSTED URGENT - ALERT: FIRE DRILL AT 11 AM - USE EXIT B (5 notices). The buzzer beeped three times, six beeps in all on its counter, and the ALERT tag flashed, lit for 0.4 s and dark for 0.4 s. The pop-up caught it in its dark phase: only the notice on the bottom line, FIRE, with 56 LEDs lit. The queue was now full with five notices.
Dimming for the Evening, and CLEAR
At 30.0 s DIM from the phone: the sketch now switches OE off after 0.5 ms of each 2 ms group, and the P10's pop-up measured OE on 25 %, with the current estimate falling from about 1 A to 0.26 A. The LEDs on the panel look darker red. At 33.6 s CLEAR on the laptop took the board back to the welcome notice only.
The serial monitor kept the whole day: every notice posted and every notice shown, with its number in the queue.
Download the Project Files
Click the button below to download IoT-Notice-Board-ESP32-P10-LED-Display-Proteus-Simulation-v1.0.zip (about 3.4 MB, without the source code of the models):
IoT Notice Board using ESP32 and P10 LED Display - Proteus Simulation V1.0- Proteus Simulation: ESP32-Notice-Board.pdsprj, ESP32_Notice_Board.hex and copies of the models.
- Arduino Code: ESP32_Notice_Board.ino, the sketch.
- Proteus Library Files: the LIB files of every part.
- Proteus Model Files: the DLL models.
- README.txt: the installation steps, the properties, the test results and the links to every library post.
No Proteus yet? Read How to Download and Install Proteus 7 and 8. New to libraries? Follow How to Install a New Library in Proteus.
How to Install the Project Files
- Close Proteus and extract the whole zip file, for example to your Desktop.
- Copy the files from Proteus Library Files into the LIBRARY folder of Proteus.
- Copy the files from Proteus Model Files into the MODELS folder.
- Start Proteus and open the project from the Proteus Simulation folder.
Changing the Code
Open the sketch in the Arduino IDE with the TEP Boards for Proteus installed, select ESP32 Dev Module (TEP Proteus), and use Sketch > Export Compiled Binary. Put the new HEX next to the project. The preset notices, the scroll speed and the scan period are easy to find in the sketch.
Ideas to Extend the Project
- Chain two or four P10 panels for a longer sign: 256 or 512 bits a latch.
- Add a real-time clock and show the time between the notices.
- Schedule notices: a notice that appears only during a set time.
- Keep the notices in the ESP32's flash so they survive a power cut.
- Post notices by SMS through a GSM module, the classic GSM notice board.
- Add a light sensor for automatic brightness.
From Simulation to Real Hardware
- Power: a P10 draws up to 2 - 4 A at 5 V with many LEDs lit; give it its own 5 V supply and join the grounds.
- Levels: most panels read the ESP32's 3.3 V outputs, but a 74HCT245 buffer makes it certain.
- Scanning: on a real ESP32 a hardware timer interrupt keeps the scan perfectly even; the loop() scan here is the simplest way.
- Safety: mount the panel and its supply in a ventilated enclosure; the panel gets warm when it is bright.
Troubleshooting
- The panel stays dark: it keeps no picture; loop() must keep scanning it.
- The rows are mixed up: the four bytes of each 8 columns go as row + 12, + 8, + 4, + 0 of the group.
- Everything is inverted: R is active low, a 0 bit lights an LED.
- No dashboard: the ESP32 joins TEP-WiFi a few seconds after the start; press Go again.
Limitations of the Simulation
- The P10 panel and the buzzer are our libraries' models, built from their datasheets and the parts' behaviour, not every detail of real parts.
- The P10 is drawn compact, about a fifth of its real 320 x 160 mm, so it fits beside the ESP32 on the sheet.
- While a page is being sent, the scan pauses briefly; a hardware timer would keep it even on a real board.
- ESP32 is a product of Espressif Systems; this project is not made or endorsed by Espressif or by Labcenter.
So, that was all about the IoT Notice Board using ESP32 and P10 LED Display - Proteus Simulation. I hope it helps you understand how a P10 panel is scanned, how an ESP32 keeps it lit while it serves web pages, and how a notice board turns a phone tap into a scrolling sign, all tested in a simulation before you buy the panels. More popular projects with the ESP32 and the Raspberry Pi 5 are coming. If you have any questions, ask in the comments and I will help you out. Till the next tutorial, take care and have fun!






















Comments
0