From e38e9f17d7d11418b0842a9b36a95d761934b927 Mon Sep 17 00:00:00 2001 From: murmur Date: Thu, 6 Jun 2024 21:54:31 +0800 Subject: [PATCH] add files --- DIY/LED屏.md | 56 ++++++++++++++++++++++++++++++++++++++ DIY/{LED.md => LED灯珠.md} | 0 2 files changed, 56 insertions(+) create mode 100644 DIY/LED屏.md rename DIY/{LED.md => LED灯珠.md} (100%) diff --git a/DIY/LED屏.md b/DIY/LED屏.md new file mode 100644 index 0000000..a6acb30 --- /dev/null +++ b/DIY/LED屏.md @@ -0,0 +1,56 @@ +--- +tags: + - led + - 屏 + - 触摸 +--- +老王1元1.3寸带触摸360彩屏,排线公头为24pin\*0.4mm,公头规格与普通型号的母座不兼容而无法直接安装 +经研究两侧需各留空一对pin脚,可与普通型号的20pin\*0.4mm母座兼容 +对应母座引脚定义如下(屏在左。左边是触摸,主控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屏幕已点亮,但触摸无效。 \ No newline at end of file diff --git a/DIY/LED.md b/DIY/LED灯珠.md similarity index 100% rename from DIY/LED.md rename to DIY/LED灯珠.md