
P10 LED Panel Library for Proteus Simulation

Hello friends, I hope you all are doing great. Today, I am going to share the new P10 LED Panel Library for Proteus Simulation. The P10 is the red LED panel behind countless shop signs, bus displays, queue counters and prayer-time boards: 512 bright LEDs in 32 columns and 16 rows on a 320 x 160 mm board, and panels can be joined into signs of any length. With this library you can run a full Proteus simulation of that panel - its HUB12 input, its shift registers, its four row groups and the scan that keeps it alight - and get your scanning code right before you buy a single panel.
P10 LED Panel Library for Proteus
Latest version: V1.0 (November 2026, this tutorial)
Helping Tools
- Serial Monitor Advance: a serial terminal window for the UART of your board
- Serial Monitor Expert: the serial monitor with extra debugging tools
- LCD Library for Proteus V3.0: 16x2, 20x4 and I2C LCDs to show your readings
The panel lights up on the sheet as your sketch scans it, and a pop-up shows the picture, the refresh rate and every latch. The demo is a small sign: an Arduino scans the panel from a timer interrupt, writes "TEP" in the top half and scrolls a welcome message through the bottom half.
NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the LED matrix board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the P10 LED Panel Library for Proteus Simulation:
What Is a P10 LED Panel?
"P10" means a pixel pitch of 10 mm: the LEDs sit 10 mm apart, so a 32 x 16 panel is 320 mm wide and 160 mm high. The single-colour red version is the classic one. On its back there are shift registers of the 74HC595 kind for the columns, a row decoder, the LED drivers and two 16-pin HUB12 connectors - IN from the controller and OUT to the next panel. The panel holds no picture of its own: the controller has to keep sending it, row group after row group, many times a second.
| P10 single-colour LED panel | |
|---|---|
| LEDs | 512 red, 32 columns x 16 rows, 10 mm pitch |
| Size | 320 x 160 mm, chainable left to right |
| Interface | HUB12: R (data), CLK, LAT, A, B, OE |
| Scan | 1/4: one of four row groups lit at a time |
| Supply | 5 V, up to about 2 - 4 A with every LED lit |
| Uses | shop signs, clocks, queue counters, prices |
The 1/4 Scan
Only a quarter of the rows are driven at any moment. With A = 0 and B = 0 the panel lights rows 1, 5, 9 and 13; A = 1, B = 0 lights rows 2, 6, 10 and 14; then rows 3, 7, 11 and 15; then 4, 8, 12 and 16. The controller loads the data for one group, shows it, loads the next, and so on. Done fast enough - the whole panel more than about 100 times a second - the eye sees a steady picture. Stop scanning and the panel goes dark at once.
Loading One Row Group
A row group is four rows of 32 LEDs: 128 bits. They go into the shift registers through R, one bit on each rising edge of CLK. A pulse on LAT copies the 128 bits to the outputs. The controller then sets A and B for the group and pulls OE low to light it. The data is active low: a 0 lights an LED, a 1 leaves it dark. The order of the bits matters too: for each block of 8 columns from the left, the panel expects one byte of the group's row + 12, then + 8, then + 4, then the row itself, each with the leftmost column first.
Brightness and Ghosting
OE is also the brightness control: a PWM on OE dims the whole panel without touching the data. And OE has a second job - it must blank the LEDs while the latch and the row lines change, or the old data shows for a moment in the next group as a faint ghost. Our simulation follows these rules, so a slow scan, a wrong bit order or a missing blank shows up just as it would on a real sign.
Features of the P10 LED Panel Library for Proteus Simulation
- A real-looking panel: the black P10 with its 512 red LEDs, drawn compact so that the 320 mm panel stays smaller than the Arduino on the sheet.
- The LEDs on the sheet: they light as your sketch scans them; a panel that is not scanned goes dark.
- The real interface: the 128-bit chain on CLK, the latch on LAT, the row groups on A and B, OE active low, the data active low in the common P10 bit order.
- Real faults: a dark panel without a scan, an inverted picture with active-high data, rows in the wrong places with the wrong byte order, flicker below 100 Hz.
- A pop-up: the panel as it looks, eight tiles - the refresh, OE time, LEDs lit, current, latches, clocks a latch, the row group and the data rate - graphs, an event log and a check page.
- A complete package: about 1.4 MB with the library, our Arduino UNO V4.0 and the demo, without the source code of the model.
The P10 in Proteus
The device is P10PANELTEP in TEPP10.LIB, under Optoelectronics > LED Matrix, with the prefix U and the model TEPP10.DLL. Search P10 or LED panel in Pick Devices. The HUB12 input is drawn as eight pins on the left edge: VCC, GND, OE, A, B, CLK, LAT and R. It has no properties: it shows whatever your sketch scans into it.
Download P10 LED Panel Library for Proteus Simulation
Click the button below to download P10-LED-Panel-Library-for-Proteus-v1.0.zip (about 1.4 MB, without the source code of the models):
P10 LED Panel Library for Proteus V1.0- README.txt: installation, the demo, the wiring, troubleshooting and the limits of the simulation.
- Proteus Library Files:
TEPP10.LIBandArduinoV4TEP.LIB. - Proteus Model Files:
TEPP10.DLLandTEPARDUINO.DLL. - Arduino Code: the demo sketch (no panel library).
- Proteus Simulation: the demo project, its HEX file and copies of the DLLs.
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 P10 LED Panel Library for Proteus Simulation
- 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.
- Delete
TEPP10.IDXfrom the LIBRARY folder if it is there. - Start Proteus, press P and search for P10.
Proteus Simulation of a Scrolling Sign
Our demo is a small sign. U1 is the P10 panel. Its R goes to D11 and CLK to D13 of our Arduino UNO Library for Proteus V4.0 - the UNO's hardware SPI data and clock - while LAT goes to D8, A to D6, B to D7 and OE to D9; VCC and GND to the supply. The Arduino's built-in monitor is the same window as our TEP Serial Monitor Advance for Proteus. Open P10-Sign-ArduinoUnoV4.pdsprj.
The Sketch
The sketch needs no panel library. The picture lives in a 64-byte buffer, 16 rows of 4 bytes, where a 0 bit is a lit LED, as the panel wants it. A timer interrupt does the scanning. Every 2 ms it sends one row group over SPI, in the panel's order:
for (byte i = 0; i < 4; i++) { // per 8 columns: rows g + 12, g + 8, g + 4, g
SPI.transfer(screen[g + 12][i]); SPI.transfer(screen[g + 8][i]); SPI.transfer(screen[g + 4][i]); SPI.transfer(screen[g][i]);
Then it blanks the LEDs, latches the new bits, selects the group and lights it again - the order that keeps ghosts away:
digitalWrite(PIN_OE, HIGH); // LEDs off while the outputs change
digitalWrite(PIN_LAT, HIGH); digitalWrite(PIN_LAT, LOW); // the 128 new bits to the outputs
digitalWrite(PIN_OE, LOW); // LEDs on
Timer1 in CTC mode fires the interrupt. With the UNO's clock, a prescaler of 64 and OCR1A = 499 give exactly 2 ms, so each group is shown every 8 ms - 125 times a second for the whole panel:
TCCR1A = 0; TCCR1B = _BV(WGM12) | _BV(CS11) | _BV(CS10); OCR1A = 499; TIMSK1 = _BV(OCIE1A);
Drawing is just clearing bits. setPixel() finds the byte and the bit for a column, with the leftmost column in bit 7:
const byte m = 0x80 >> (x & 7); // the leftmost column in bit 7
loop() writes "TEP" in the top half once and moves the message in the bottom half one column to the left every 60 ms, drawing it with a small 5 x 7 font. The interrupt keeps scanning the buffer underneath, so the main code never has to think about the panel's timing.
P10 Simulation Results
Open the project and press Run. The demo runs 9.0 simulated seconds and took about two and a half minutes on our PC with the pop-up open and the pictures being taken. Click the panel for its pop-up. Every number below comes from one simulation run, the demo exactly as it ships.
The Scan Starts
Before the first interrupt the panel is dark, as a real one is: it has no picture of its own. 104 ms after the start the Event log notes "scanning", and from then on the pop-up shows a steady 125 Hz. "TEP" stands in the top half from the first frame, and the message slides in from the right edge of the bottom half: 88 LEDs are lit at 1 s and 119 at 2 s.
The Scan in Numbers
The tiles show the scan exactly as the sketch drives it. Every latch comes after 128 clocks - one row group of one panel - and the row group tile cycles through 0 to 3, rows 1-5-9-13 to 4-8-12-16. The data rate is 64 k bits a second: 128 bits every 2 ms. OE is on 99 % of the time; the sketch blanks it only for the moment of the latch and the row change, which is what keeps the picture free of ghosts. The current estimate follows the number of LEDs lit - 0.65 to 0.92 A in this run, a good reminder that a real panel needs its own supply.
The Message Scrolls
The message moves one column every 60 ms. The monitor shows where it is every two seconds - "message at" -1, -34, -68 and -101 at 2, 4, 6 and 8 s, about 33 columns each time - together with the group scans so far: 1000, 2000, 3001 and 4000, exactly 500 a second. In our picture at 3 s "COME" of "WELCOME" fills the bottom half; between 84 and 111 LEDs are lit as the letters pass. By 9.0 s the panel has seen 4,463 latches, none of them odd.
The Graphs, the Event Log and the Check Page
The Graphs page plots the refresh rate, the LEDs lit, the OE time and the data rate over the run. The Event log keeps the power-on and the moment the scan began. The Check page sums up the run: +5V at 5.00 V with the current estimate, the scan at 125 Hz (steady), 4,463 latches each after 128 clocks and no odd latch, the row groups cycling on A and B, and OE on 99 % of the time with the LEDs lit. Every line is green.
The monitor shows the sketch's side: the number of group scans so far and where the message is.
A P10, a MAX7219 Matrix or NeoPixels?
Our MAX7219 LED Matrix Library for Proteus simulates the small 8 x 8 red matrices on a MAX7219 driver: the chip scans by itself, so the Arduino only writes the picture once - easy, but small. Our WS2812B NeoPixel Library for Proteus covers addressable RGB LEDs, each with its own controller, perfect for colour effects but costly for big signs. The P10 is the one for large, bright, cheap single-colour signs: it needs a controller that never stops scanning, and that is exactly what this simulation lets you practise.
Try It Yourself
- Change OCR1A from 499 to 1999 (8 ms a group): the refresh in the pop-up falls to about 31 Hz and the check page warns about flicker.
- Remove the line that sets OE high before the latch: on a real panel the old rows ghost into the next group.
- Swap the order of the four SPI.transfer() calls: the rows of each group land in the wrong places.
- Invert the data (a 1 for a lit LED): the sign turns into dark letters on a lit panel.
- Leave out the three drawChar() calls for "TEP": the LEDs-lit tile and the current estimate drop with the empty top half.
Ideas to Extend the Demo
- A clock with the hours and minutes in a bigger font across the whole panel.
- A queue counter with a button that adds one to the number shown.
- Two panels side by side: 256 bits a group before each latch.
Your Own Sketches
The demo sketch is in the zip file, and you can change it in the Arduino IDE. New to Arduino? Start with our Arduino Tutorial for Beginners. Export the compiled binary, and set the UNO's PROGRAM property to the new file. Our guide on How to get the HEX file from Arduino shows you where the file ends up.
Things to Know Before Using a Real P10
- Power: feed the panel from its own 5 V supply of 2 - 4 A; join its GND to the Arduino's GND.
- Keep scanning: the panel shows only the group being driven, so the scan must never stop.
- Speed: hardware SPI and a timer interrupt are the safe way; bit-banging all four groups in loop() is usually too slow.
- Chaining: the OUT connector feeds the next panel; send the data of every panel in the chain before the latch.
- Variants: some P10s are 1/8 or 1/16 scan, or outdoor panels with another bit order - check yours.
Troubleshooting
- The panel stays dark: the interrupt is not running, OE is held high, or there is no supply.
- Dark letters on a lit panel: the data is active low - a 0 lights an LED.
- Rows in the wrong places: the byte order for each 8-column block must be row + 12, + 8, + 4 and + 0.
- Flicker: the refresh in the pop-up is below 100 Hz - scan one group at least every 2.5 ms.
- The part is not simulated:
TEPP10.DLLis missing from MODELS and from the project folder.
Limitations of the Simulation
- The 128-bit chain, the latch, the four row groups, OE active low, the active-low data in the common P10 bit order and the scan rate follow the panel's description; the panel is our own drawing.
- Our own choices: the compact drawing, each row group shown as it was last scanned, and the current estimate.
- Not modelled: chained panels (the OUT connector), the C, D and G lines of the HUB12 connector, the LEDs' colour shift and the drivers' timing limits.
- Arduino is a name of Arduino; this library is not made or endorsed by Arduino or Labcenter.
- Tested in Proteus 8.5 in November 2026 (the demo as shipped). Proteus 7 is not supported.
So, that was all about the P10 LED Panel Library for Proteus Simulation. I hope it helps you get your scan, your bit order and your timing right before the first panel arrives - so that your sign scrolls in the simulation before it scrolls above a shop door. 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