Min menu

Pages

project 22 : The P10 LED Display Matrix

 

A P10 LED Matrix Display

 is the most ideal route accessible to make a LED ad board for open air or indoor use. This board has a sum of 512 high brilliance LEDs mounted on a plastic lodging intended for best showcase results. It additionally accompanies an IP65 rating for waterproofing making it ideal for open air use. With this, you can make a major LED billboard by joining quite a few such boards in any line and section structure.








Our module has a size of 32*16, which implies that there are 32 LEDs in each line and 16 LEDs in every section. Thus, there is an aggregate of 512 LEDs present in each drove billboard. Other than that, it has an IP65 rating for waterproofing, it tends to be fueled by a solitary 5V force source, it has an exceptionally wide survey point, and the brilliance can go up to 4500 nits. In this way, you will have the option to see it unmistakably in brought sunshine. Beforehand we have additionally utilized this P10 Display with Arduino to assemble a basic LED Board. 

Pin Description of P10 LED Matrix: 

This LED show board utilizes a 10-pin mail header for info and yield association, in this segment, we have portrayed all the important pins of this module. Additionally, you can see there is an outside 5V connector in the module which is utilized to interface the outer capacity to the board.









Components Required for Arduino Scoreboard

As this is a very simple project, the components requirements are very generic, a list of required components are shown below, you should be able to find all of the listed material in your local hobby store.

  • Arduino Nano
  • P10 LED matrix display
  • Breadboard
  • 5V, 3 AMP SMPS
  • HC-05 Bluetooth Module
  • Connecting Wires

Circuit Diagram for Arduino Scoreboard 

The Schematic for the Arduino LED Scoreboard is appeared beneath as this task is extremely straightforward, I have utilized the famous programming fritzing to build up the schematic.




Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#include <SPI.h>
#include <DMD.h>
#include <TimerOne.h>
#include "SystemFont5x7.h"
#include "Arial_black_16.h"
#define ROW 1
#define COLUMN 1
#define FONT Arial_Black_16
char input;
int a = 0, b = 0;
int flag = 0;
char cstr1[50];
DMD led_module(ROW, COLUMN);
void scan_module()
{
  led_module.scanDisplayBySPI();
}
void setup()
{
  Serial.begin(9600);
  Timer1.initialize(2000);
  Timer1.attachInterrupt(scan_module);
  led_module.clearScreen( true );
}
void loop()
{
  if(Serial.available() > 0)
  {
    flag = 0;
    input = Serial.read();
    if (input == 'a' && flag == 0)
  {
    flag = 1;
    a++;
  }
  else if (input == 'b' && flag == 0)
  {
    flag = 1;
    b++;
  }
  else;
  }
 (String("HOME:")+String(a) + String(" - ") + String("AWAY:")+String(b)).toCharArray(cstr1, 50);
    led_module.selectFont(FONT);
    led_module.drawMarquee(cstr1,50, (32 * ROW), 0);
    long start = millis();
    long timming = start;
    boolean flag = false;
    while (!flag)
    {
      if ((timming + 30) < millis())
      {
        flag = led_module.stepMarquee(-1, 0);
        timming = millis();
      }
   }
}
reaction: