6125399852
Affected files: DIY/LED屏.md
57 lines
1.9 KiB
Markdown
57 lines
1.9 KiB
Markdown
---
|
||
tags:
|
||
- led
|
||
- 屏
|
||
- 触摸
|
||
---
|
||
## 老王1元1.3寸带触摸360彩屏
|
||
排线公头为24pin\*0.4mm,公头规格与普通型号的母座不兼容而无法直接安装
|
||
经研究两侧需各留空一对pin脚,可与普通型号的20pin\*0.4mm母座兼容
|
||
对应<mark>母座</mark>引脚定义如下(屏在左。左边是触摸,主控ST1615;右边是屏幕,主控ST7789):
|
||
|
||
```c
|
||
/***
|
||
+----+------+------+------+------+------+------+------+------+------+------+----+
|
||
| 20 11 |
|
||
+----+------+------+------+------+------+------+------+------+------+------+----+
|
||
| X | CS | DC | RST | SDA | SCK | GND | VCC | VDDI | BL- | BL+ | X |
|
||
+----+------+------+------+------+------+------+------+------+------+------+----+
|
||
| X | GND | GND | GND | VCC | INT | RST | SDA | SCL | X | BL+ | X |
|
||
+----+------+------+------+------+------+------+------+------+------+------+----+
|
||
| 1 10 |
|
||
+----+------+------+------+------+------+------+------+------+------+------+----+
|
||
***/
|
||
```
|
||
|
||
竖版
|
||
```c
|
||
/***
|
||
+----+------+------+----+
|
||
| | X | X | |
|
||
+----+------+------+----+
|
||
| 1 | GND | CS | 20 |
|
||
+----+------+------+----+
|
||
| 2 | GND | DC | 19 |
|
||
+----+------+------+----+
|
||
| 3 | GND | RST | 18 |
|
||
+----+------+------+----+
|
||
| 4 | VCC | SDA | 17 |
|
||
+----+------+------+----+
|
||
| 5 | INT | SCK | 16 |
|
||
+----+------+------+----+
|
||
| 6 | RST | GND | 15 |
|
||
+----+------+------+----+
|
||
| 7 | SDA | VCC | 14 |
|
||
+----+------+------+----+
|
||
| 8 | SCL | VDDI | 13 |
|
||
+----+------+------+----+
|
||
| 9 | X | BL- | 12 |
|
||
+----+------+------+----+
|
||
| 10 | BL+ | BL+ | 11 |
|
||
+----+------+------+----+
|
||
| | X | X | |
|
||
+----+------+------+----+
|
||
***/
|
||
```
|
||
采用四线SPI控制,分辨率240\*240
|
||
> 24.05.29屏幕已点亮,但触摸无效。 |