[Diao Ye learns programming] Arduino hands-on (117) --- P10V706 LED screen module

The reference to 37 sensors and actuators has been widely circulated on the Internet. In fact, there must be more than 37 sensor modules compatible with Arduino. In view of the fact that I have accumulated some sensor and actuator modules on hand, according to the concept of practice to get true knowledge (must be done), for the purpose of learning and communication, I am going to try a series of experiments one by one, regardless of success (the program goes through) or not, They will be recorded - small progress or unsolvable problems, hoping to inspire others.

[Arduino] 168 sensor module series experiments (data code + simulation programming + graphics programming)

Experiment 117: P10 single red V706 module 32*16 unit board LED display

insert image description here
insert image description here

Knowledge points: P10 (1R) V706 module 32X16 LED display
Check the chip of the P10 (1R) V706 module (the product on hand is the product of Xiamen Qiangli Jucai)
and roughly look at the related chips. The board is mainly SM74HC595D, and there are others SD74HC245D, etc.

Technical data link
https://www.doc88.com/p-0022544129712.html?r=1
https://www.renrendoc.com/paper/176283428.html

insert image description here
insert image description here
P10 single red V706 module 32*16 unit board LED display technical parameters

1. Physical point spacing: 10mm

2. Physical density: 10000dots/m^2

3. Luminous intensity: 2200cd/m^2

4. Unit board size: 320*160mm

5. Battery board number: 512

6. Violin composition: 1R1G1B

7. Unit board weight: 362g

8. Best pitch: >= 10 m

9. Best viewing angle: horizontal + -80 degrees, vertical + -75 degrees

10. Drive mode: constant current drive, dynamic

11. Scanning method: 1/2 sca

12. Unit board interface: HUB 73

14. Working voltage: DC 5V + -5%

15. Average power consumption: 16W

16. Maximum power consumption: <= 27w

17. Luminous lamp life: 100,000 hours

List of hardware required for P10 (1R) V706 module 32X16 single red LED display experiment

25CM power cord X1

5V2A experimental power supply X1

5V4A experimental power supply X1

DS1307 clock module X1

Arduino Uno development board X1

LED display P16 double-head cable X2

HUB12 interface UNO expansion board (self-made) X1

P10 (1R) V706 module 32X16 LED display X2

insert image description here
Self-made HUB12 interface UNO expansion board

Based on the Proto Shield prototype expansion board, add two P16 sockets for easy experimentation

This is how it is done (the P5 socket is the interface of the DS1307 clock module)

insert image description here
insert image description here
Wiring diagram of Arduino experiment

insert image description here
insert image description here

Arduino Reference Open Source Code

/*

【Arduino】168种传感器模块系列实验(资料代码+仿真编程+图形编程)

实验一百一十七:P10单红V706模组 32*16单元板LED显示屏

项目1:具有动态内容的静态显示(随机变化的三位数字)

*/



#include <TimerOne.h>

#include "SPI.h"

#include <ledP10.h> 

LedP10 myled;



void setup(){
    
    

  // A- 3, B- 4, STORE- 8, OE-9, 1x Panel

  myled.init(3,4,8,9,1);

}



void loop(){
    
    

  int sensorValue = analogRead(A0);

  myled.showmsg_single_static(sensorValue,1);

  delay(500);

}

Arduino Experimental Scene Diagram
insert image description here
Arduino Reference Open Source Code Part 2

/*

【Arduino】168种传感器模块系列实验(资料代码+仿真编程+图形编程)

实验一百一十七:P10单红V706模组 32*16单元板LED显示屏

项目2:显示一个整数计数器值

*/



#include "TimerOne.h"

#include "SPI.h"

#include "ledP10.h"

int num1=0;

LedP10 myled;



void setup(){
    
    

  myled.init(3,4,8,9,1);

}



void loop() {
    
    

  if(num1==50){
    
    

  myled.setbrightness(50);

  }

  myled.showmsg_single_static(num1,0);

  num1+=1;  

  delay(500);

}

Arduino Experimental Scene Diagram
insert image description here
Arduino Reference Open Source Code Part 3

/*

【Arduino】168种传感器模块系列实验(资料代码+仿真编程+图形编程)

实验一百一十七:P10单红V706模组 32*16单元板LED显示屏

项目3:显示两个高度为8像素的计数器

*/



#include <TimerOne.h>

#include"SPI.h"

#include <ledP10.h>

int num1=0,num2=1;

LedP10 myled;



void setup(){
    
    

  myled.init(3,4,8,9 ,1);

}



void loop(){
    
      

  myled.showmsg_double_static(num1,num2,0);

  num1+=1;

  num2+=2;

  delay(500);

}


Arduino experiment scene diagram

insert image description here
Arduino reference open source code four

/*

【Arduino】168种传感器模块系列实验(资料代码+仿真编程+图形编程)

实验一百一十七:P10单红V706模组 32*16单元板LED显示屏

项目4:亮度控制

备注:functon&lt; setbrightness(uint8_t Brightness)&gt;的使用,此函数

采用uint8_t类型的一个参数,其值可以是0到255,亮度最高是255,最低是0。可

以在调用LedP10库的任何其他函数之后或之前的任何时间调用此函数。

在此示例中,当计数器“ num1”达到值50时,亮度降低。

*/



#include "TimerOne.h"

#include "SPI.h"

#include "ledP10.h"

int num1=0;

LedP10 myled;



void setup(){
    
    

  myled.init(3,4,8,9 ,1);

}



void loop(){
    
    

  if(num1==50)

  {
    
    

    myled.setbrightness(50);

  }

  myled.showmsg_single_static(num1,0);

  num1+=1;

  delay(500);

}

Arduino experiment scene diagram

insert image description here
insert image description here
Experimental open source simulation programming (Linkboy V4.62)

insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/weixin_41659040/article/details/131282169
Recommended