obsidian-notes/DIY/LED屏.md

57 lines
1.9 KiB
Markdown
Raw Normal View History

2024-06-06 13:54:31 +00:00
---
tags:
- led
-
- 触摸
---
## 老王1元1.3寸带触摸360彩屏
排线公头为24pin\*0.4mm,公头规格与普通型号的母座不兼容而无法直接安装
2024-06-06 13:54:31 +00:00
经研究两侧需各留空一对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屏幕已点亮,但触摸无效。