summary refs log tree commit diff
path: root/Miscellaneous/64x64 HUB 75 LED Matrix/index.md
blob: e0c45356aab0c6a7a242f6f8f33000fe545c0b6a (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
---
description: "Me documenting my 64x64 LED matrix display"
created: 2025-03-11
---

![Main](Main.webp)

## Display documentation

### From Aliexpress seller

[64x64 Indoor RGB HD P3 Led Module Video Wall High Quality P2.5 P4 P5 P6 P7.62 P8 P10 Panel Full Color Display - Aliexpress.com](https://www.aliexpress.com/item/32757647402.html)

Key                       | Value
------------------------- | -----------------------------------
Item                      | P3
Chip                      | Epstar
Chip size                 | Red 9 mil, Green 12. Blue 12mil
Light type                | SMD2121
Pixel Pitch               | 3mm
Module Size               | 192mmX192mm
Module Resolution         | 64 X 64 (dots)
Density of pixel          | 111111dots/m2
Pixel configuration       | 1R1G1B
Red wavelength            | 625±2nm
Green wavelength          | 525±2nm
Blue wavelength           | 470±2nm
Colors                    | 16777216
Best viewing distance     | ≥2m
viewing angle             | 120°/90°
Maximum power consumption | 20W
Brightness                | 1500cd/m2
Gray scale                | 14bits per color
Color temperature         | 6500k
Control method            | Synchronization or Asynchronization
Driving method            | 1/32 scanning
Frame frequency           | 60Hz
Refresh frequency         | ≥600Hz
Working Voltage           | DC5V
IP grade                  | IP54
MTBF                      | More than 8000hours
Life Span                 | 80,000hours


### Chips

1. CHIPONE `ICN74HC245TS` `A14276CA`
2. `MBI5124GP` `A3YN72CTHB`
3. `RUC7258` `8W913170`

![Chip 1](Chip 1.webp)
![Chip 2](Chip 2.webp)
![Chip 3](Chip 3.webp)

### Display IN connector

![In left](In left.webp)
![In right](In right.webp)

---

## Micro controller wiring

I use an [ESP32 WEMOS LOLIN S2 Mini](https://docs.platformio.org/en/latest/boards/espressif32/lolin_s2_mini.html)
which has an ESP32-S2F chip on it

![ESP32-S2F_chip](ESP32-S2F_chip.webp)

Display in wiring

```
    ┌────────┐
R1  ┤  1  40 ├ G1
B1  ┤  2  38 ├ N
R2  ┤  4  36 ├ G2
B2  ┤  6  34 ├ LE
LA  ┤  8  21 ├ LB
LC  ┤ 10  17 ├ LD
CLK ┤ 13  15 ├ LAT
OE  ┤ 14   ⏚ ├ GND
    └────────┘
```

![ESP32 S2 Mini](ESP32 S2 Mini.webp)

---

## PCB Connector board

The screen glitches unless you have a solid connection.

This PCB is a straight connection, except the gnd which is flipped with the adjacent pin.

![esp32_display_pcb_top_plugged_in](esp32_display_pcb_top_plugged_in.webp)
![esp32_display_pcb_bottom](esp32_display_pcb_bottom.webp)

Half the display glitched out, untill i added a 100pf capacitor between `lat pin` and `gnd`
as per:
<https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/issues/130#issuecomment-867116753>

---

## Software

<https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA>

```c++
#define R1_PIN   1
#define G1_PIN  40
#define B1_PIN   2
#define R2_PIN   4
#define G2_PIN  36
#define B2_PIN   6
#define A_PIN    8
#define B_PIN   21
#define C_PIN   10
#define D_PIN   17
#define E_PIN   34 // required for 1/32 scan panels, like 64x64px. Any available pin would do, i.e. IO32
#define LAT_PIN 15
#define OE_PIN  14
#define CLK_PIN 13

HUB75_I2S_CFG::i2s_pins _pins={R1_PIN, G1_PIN, B1_PIN, R2_PIN, G2_PIN, B2_PIN, A_PIN, B_PIN, C_PIN, D_PIN, E_PIN, LAT_PIN, OE_PIN, CLK_PIN};
HUB75_I2S_CFG mxconfig(
	64, // Module width
	64, // Module height
	1, // chain length
	_pins, // pin mapping
);
dma_display = new MatrixPanel_I2S_DMA(mxconfig);
```

---

I'm still experiencing some glitching, especially on the lower half of the display,
albeit a better PSU made the problem go away for static sketches, plasma still struggles.