
Then, to display a string in the module, select the font using selectFont() function and print a string message “ Welcome to Circuit Digest” in the display using drawMarquee() function. Function clearScreen(true) is used to set all pixels are off initially to clear the display board. Inside setup(), initialize the timer and attach the interrupt to the function scan_module. If yes, then it will trigger an interrupt pin for doing certain events. Then define the font name- Arial_Black_16 for the text scrolling on display board.įunction scan_module() which checks for any incoming data from Arduino side through the SPI Terminals. In our case we are using only one module, so ROW value and COLUMN value will be 1. In the next step, define the number of rows and columns for the LED display board. Then, include all the required fonts library, in our case we are using “Arial Black font” for the display. This library can be downloaded from here. After that include the library for “ TimerOne.h” which will be used for interrupt tasks. Here we are using “DMD.h” Library for P10 led operations, download this library from here and install it in Arduino IDE. The stepwise description of the code is given below.įirst of all, include all the dependent libraries in the program. Complete code for this 10 Led Display Arduino along with the video is given at the end of this tutorial. If you are planning to connect more numbers of the module, then increase your SMPS rating accordingly.Īfter the successful completion of the hardware setup, now it’s time to program Arduino. It is recommended to connect a 5V, 3 Amp DC power supply to a single unit of P10 LED module. Note: Connect the Power terminal of the P10 module to 5V DC SMPS separately. Here a shift register 74HC595 is used.Ĭomplete circuit diagram for P10 module with Arduino is given below:



They take digital input to select any multiplex rows. A, B: These are called multiplex select pins.Enable: This pin is used to control the brightness of the LED panel, by giving a PWM pulse to it.So there is a total of 512 numbers of LEDs present in each module unit. The 32*16 module size means that there are 32 LEDs in each row and 16 LEDs in each column. Any number of such panels can be combined in any row and column structures to design an attractive LED signboard. This panel has a total of 512 high brightness LEDs mounted on a plastic housing designed for best display results.

A P10 LED Display Module is the most suitable for designing any size of outdoor or indoor LED display advertisement board.
