summary refs log tree commit diff
path: root/Miscellaneous/64x64 HUB 75 LED Matrix/index.md
blob: 97762d8e22613a8076a7e5eae5a48cd73a7c3647 (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
---
description: "Me documenting my 64x64 LED matrix display"
created: 2025-03-11
---

## 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)

```
    ┌────────┐
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 wiring

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

---

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);

```