Display Text at P10 LED Display Using Arduino
Intro: Display Text at P10 LED Display Using Arduino
Dotmatrix Display or more commonly referred to as Running Text is often found in shops as a means of advertising their products, its practical and flexible in its use that encourage business actors use it as advertising advice. Now the use of Dotmatric Display has spread, not just as advertiser media only, as well as prayer schedules, warning boards, queuing machines, etc.
Here, we will give a post about Dotmatix Display programming tutorial using Arduino.
STEP 1: Materials You Need
You will need:
- Arduino
- P10 LED Display Module
- DMD Connector
STEP 2: Wiring Connection
Connect P10 LED Display with arduino according to pin configuration above. Here we use DMD Connector.
STEP 3: Connection
Installation of module like picture above.
STEP 4: Code
After proper installation, next is the programming process. Before that you need a supporting library that must be installed on Arduino IDE. To download the DMD library click HERE. Next upload the program below to display a text.
// Insert file Library
#include <SPI.h> #include <DMD2.h> #include <fonts/Arial_Black_16.h> SoftDMD dmd(1,1); // Number of P10 panels used X, Y DMD_TextBox box(dmd, 2, 1, 32, 16); // Set Box (dmd, x, y, Height, Width)
void setup() { dmd.setBrightness(10); // Set brightness 0 - 255 dmd.selectFont(Arial_Black_16); // Font used dmd.begin(); // Start DMD box.print("SFE"); // Display TEXT SFE }
void loop() {
}
STEP 5: Check If It Works
After the upload process is successful, will appear as shown above.
If the light from the display is less bright, you must add an external 5V power supply directly connected to the LED display supply pin.
20 Comments
Ayanparo93 8 months ago
Chandru 1 year ago
jemshihas 4 years ago
marcelompc 1 year ago
JesusR146 4 years ago
iz0cvy 1 year ago
PnV2 2 years ago
d333gs 3 years ago
What is the red shield for? Where do I get it?
Thanks
JesusR146 4 years ago
minhduank3 5 years ago
I need creat Font for module LED P10 ?
Rajneel 5 years ago
How to Program P5 (2121) 16S- 6432- A3 led dispay
Please any help
joeskolengaden 5 years ago
charanm1 5 years ago
MasoudS17 5 years ago
mrsharkit 6 years ago
is it compatible with hub75 panel? Like this, you can see pinout in one of the images: https://it.aliexpress.com/item/P5-Indoor-LED-Panel-Full-Color-LED-Module-320-160mm-HUB75-1-16-Scan-SMD2121-LED/32716025822.html
sfeelectronics 6 years ago
yes, it is compatible..
draliaksu 5 years ago
TanvirN1 5 years ago
Hi ,
have a good day .Nice work indeed .
This code was written for 32 x 16 DMD .I would like to know how to use 64 X 16 Display. What changes needed in code.
SaanjeevS 6 years ago
VincentT57 5 years ago
Found some info here: https://www.freetronics.com.au/collections/display/products/dmdcon-dot-matrix-display-connector-for-arduino (look for "resellers" word)
But I guess hardly you need this $5(!!) piece of art - LED matrix can be connected directly to Arduino.