The reference to 37 sensors and modules 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, in accordance with the concept of true knowledge (must be hands-on), for the purpose of learning and communication, here I am going to try and do more experiments one by one. Whether it is successful or not, it will be recorded ——Small progress or unsolvable problems, I hope to be able to throw bricks and spark jade.
[Arduino] 168 kinds of sensor module series experiments (data code + simulation programming + graphics programming)
Experiment 163: 6mm large size 8x8 LED square lattice module can be cascaded red, green, blue and white optional 8 levels of brightness
There are a total of three large-size 8x8 LED square lattice modules, let's try to cascade
Three dot matrix screens display 1234567890 simultaneously
https://imagemc.dfrobot.com.cn/data/attachment/forum/202107/04/113536xd34q40w04ijy4xj.gif
6mm large size 8x8 LED square lattice module can be cascaded with red, green, blue and white optional 8 levels of brightness.
Experimental open source graphics programming (Mind+, Mixly, learning while editing)
Project 24: smiling faces falling one by one
6mm large size 8x8 LED square lattice module can be cascaded with red, green, blue and white optional 8 levels of brightness.
Experimental open source graphics programming (Mind+, Mixly, learning while editing)
Project 24: smiling faces falling one by one
Experimental scene graph
6mm large size 8x8 LED square lattice module can be cascaded with red, green, blue and white optional 8 levels of brightness.
Experimental open source graphics programming (Mind+, Mixly, learning while editing)
Project 25: "#" character moving to the right
6mm large size 8x8 LED square lattice module can be cascaded with red, green, blue and white optional 8 levels of brightness.
Experimental open source graphics programming (Mind+, Mixly, learning while editing)
Project 25: "#" character moving to the right
Experimental scene diagram
6mm large size 8x8 LED square lattice module can be cascaded red, green, blue and white optional 8-level brightness
Experimental open source simulation programming (Linkboy V4.52)
Project 26: Three cascaded flow display "Come on China"
6mm large size 8x8 LED square lattice module can be cascaded with red, green, blue and white optional 8 levels of brightness
Experiment open source simulation programming (Linkboy V4.52)
Project 26: Three cascaded flow display "Come on China"
Experimental scene graph
6mm large size 8x8 LED square lattice module can be cascaded with red, green, blue and white optional 8 levels of brightness
Experiment open source simulation programming (Linkboy V4.52)
Project 26: Three cascaded flow display "Come on China"
Animation of program simulation running
6mm large size 8x8 LED square lattice module can be cascaded with red, green, blue and white optional 8-level brightness
Project 27: Red and green swallowing snake experiment open source code
Experiment open source code
/*
【Arduino】168种传感器模块系列实验(资料代码+仿真编程+图形编程)
6mm大尺寸8x8LED方块方格点阵模块 可级联 红绿蓝白色 可选8级亮度
项目二十七:红绿色吞吃蛇
接脚连线:
MAX7219 UNO
VCC →→→→→ 5V
GND →→→→→ GND
DIN →→→→→ D12(数据,数据接收引脚)
CS →→→→→ D11(负载,命令接收引脚)
CLK →→→→→ D10(时钟,时钟引脚)
*/
#include <MaxMatrix.h>
int DIN = 12;
int CLK = 10;
int CS = 11;
int maxInUse = 2;
MaxMatrix m(DIN, CS, CLK, maxInUse);
byte pakman[] = {
8, 8, 0x1c, 0x22, 0x41, 0x49, 0x55, 0x22, 0x00, 0x08};
void setup() {
m.init();
m.setIntensity(2);
}
void loop(){
m.writeSprite(0, 0, pakman);
delay(300);
for (int i = 0; i < 8; i++) {
m.shiftRight(false, true);
delay(300);
}
m.clear();
}
6mm large size 8x8 LED square lattice module can be cascaded with red, green, blue and white optional 8-level brightness
Project 27: Red and green swallowing snakes
Experimental scene pictures
6mm large size 8x8 LED square lattice module can be cascaded with red, green, blue and white optional 8-level brightness
Project 28: Dynamic Chinese character face
experiment open source code
/*
【Arduino】168种传感器模块系列实验(资料代码+仿真编程+图形编程)
6mm大尺寸8x8LED方块方格点阵模块 可级联 红绿蓝白色 可选8级亮度
项目二十八:动态国字脸
接脚连线:
MAX7219 UNO
VCC →→→→→ 5V
GND →→→→→ GND
DIN →→→→→ D12(数据,数据接收引脚)
CS →→→→→ D11(负载,命令接收引脚)
CLK →→→→→ D10(时钟,时钟引脚)
*/
#include <MaxMatrix.h>
int DIN = 12;
int CLK = 10;
int CS = 11;
int maxInUse =2;
MaxMatrix m(DIN, CS, CLK, maxInUse);
byte poker[] = {
8, 8,
0xff,
0x81,
0xa5,
0xa1,
0xa1,
0xa5,
0x81,
0xff
};
byte smile[] = {
8, 8,
0xff,
0x81,
0xb5,
0xa1,
0xa1,
0xb5,
0x81,
0xff
};
byte sad[] = {
8, 8,
0xff,
0x81,
0xb5,
0x91,
0x91,
0xb5,
0x81,
0xff
};
byte kiss[] = {
8, 8,
0xff,
0x81,
0xb5,
0xb1,
0xb1,
0xb5,
0x81,
0xff
};
void setup() {
m.init();
m.setIntensity(8);
}
void loop() {
m.writeSprite(0, 0, smile);
delay(1000);
m.clear();
m.writeSprite(0, 0, poker);
delay(1000);
m.clear();
m.writeSprite(0, 0, sad);
delay(1000);
m.clear();
m.writeSprite(0, 0, kiss);
delay(1000);
for (int i = 0; i < 8; i++) {
m.shiftLeft(false, false);
delay(300);
}
m.clear();
}
6mm large size 8x8 LED square lattice module can be cascaded with red, green, blue and white optional 8-level brightness
Project 28: Dynamic Chinese character face
Arduino experimental scene diagram
Some of the most important functions of the MaxMatrix library are as follows:
6mm large size 8x8 LED square lattice module can be cascaded with red, green, blue and white optional 8-level brightness
Project 29: The Matrix Cascading Water Screen
Experimental open source code
/*
【Arduino】168种传感器模块系列实验(资料代码+仿真编程+图形编程)
6mm大尺寸8x8LED方块方格点阵模块 可级联 红绿蓝白色 可选8级亮度
项目二十九:黑客帝国级联落水屏
接脚连线:
MAX7219 UNO
VCC →→→→→ 5V
GND →→→→→ GND
DIN →→→→→ D12(数据,数据接收引脚)
CS →→→→→ D11(负载,命令接收引脚)
CLK →→→→→ D10(时钟,时钟引脚)
*/
#include <Sprite.h> // Sprite before Matrix
#include <Matrix.h>
const int numChips = 3;
// DIN, CLK, LOAD, #chips
Matrix myLeds = Matrix(12, 10, 11, numChips);
void setup() {
myLeds.clear();
}
void loop() {
byte x, y;
// light one LED at a time, scanning left to right
// and top to bottom... useful for testing the matrix
for (y = 0; y < 8; y++) {
for (x = 0; x < (numChips * 8); x++) {
myLeds.write(x, y, HIGH);
delay(50);
myLeds.write(x, y, LOW);
}
}
}
6mm large size 8x8 LED square lattice module can be cascaded with red, green, blue and white optional 8-level brightness
Project 29: The Matrix Cascading Water Screen
Experimental scene pictures