P10 Led (DMD) Using Arduino Nano V.3

Introduction: P10 Led (DMD) Using Arduino Nano V.3

About: someone who likes electronics Yt channel : https://www.youtube.com/c/mrsottong IG 1 : sottong_teknik

In my previous article. I have already shown how to use the Output device on Arduino. The output devices include "7-Segment", "RGB ring", "Led Matrix" and "2x16 LCD".

In this article, I will also show you how to use the Output device on Arduino. The output device that I use this time is the P10 Led Module.

This Led is almost the same as the Led matrix that I used before. The difference is the size and number of LEDs.

For this tutorial, here are the components we need:

Required Library:

  • DMD2

Step 1: DMD Specification

P10 Led Module Specifications:

  • Operating voltage: 5V
  • 32 x 16 Red Led
  • Body: Plastic
  • IC control On board

Step 2: Connect the LED to Arduino

This is the P10 led module installation scheme for Arduino:

P10 Led to Arduino

OE ==> D9

A ==> D6

GND ==> GND

CLK ==> D13

SCLK ==> D8

DATA ==> D11

This module must be supplied with an external 5V power supply. So the module can light up.

If not given an external supply can still be lit. but the results are not very bright.

for the difference between modules that use an external supply and not. the difference can be seen in the step result.

Step 3: Programming

Make sure the "DMD2" Library is installed in the Arduino IDE.

Below is a sketch that I made to try this P10 Led Module.

#include
#include #include

const int WIDTH = 1;

const uint8_t *FONT = Arial14;

SoftDMD dmd(WIDTH,1); DMD_TextBox box(dmd);

void setup() { Serial.begin(9600); dmd.setBrightness(255); dmd.selectFont(FONT); dmd.begin(); }

void loop() {

dmd.drawString(0,0,String("Hello"));

}

The above sketch is a small example of the use of this p10 Led Module. for other sketches about this module, see Examples provided by the library.

Step 4: Result

See the picture above to see the results.

Figure 1: Module that uses an external supply
Figure 2: Modules that do not use an external supply

Be the First to Share

    Recommendations

    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    Discussions