From d15367aa57607eb358533131ee986922d323f182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sat, 22 Oct 2022 16:46:10 +0200 Subject: [PATCH] add LCD TFT display module --- display/tft_1.8-module.yaml | 62 +++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 display/tft_1.8-module.yaml diff --git a/display/tft_1.8-module.yaml b/display/tft_1.8-module.yaml new file mode 100644 index 0000000..cdde6bd --- /dev/null +++ b/display/tft_1.8-module.yaml @@ -0,0 +1,62 @@ +name: MSP18003 +description: LCD TFT module, 1.8 inch, 128x160, ST7735S driver + +pinout: + GND: 7 + VCC: 8 + TFT: + LED: 1 + SCK: 2 + SDA: 3 + AO: 4 + RESET: 5 + CS: 6 + SD: + SD_CS: 9 + SD_MOSI: 10 + SD_MISO: 11 + SD_SCK: 12 + +properties: + power: VCC, LED # anode + ground: GND + bidir: SDA + in: SCK, AO, RESET, CS, SD_CS, SD_MOSI, SD_SCK + inverted: RESET, CS, SD_CS + out: SD_MISO + +schematic: + symbol: ic + left: TFT + right: SD + top: VCC + bottom: GND + +housing: + pattern: custom + bodyWidth: 58.0 + bodyLength: 34.5 + height: 5.08 # unknown + + # TFT + holeDiameter: 1.0 + padDiameter: 1.8 + pitch: 2.54 + rowCount: 8 + columnCount: 1 + rowDX: -26.5 # 58.0 / 2 - 2.5 + rowDY: 0 + + # SD + holeDiameter1: 1.0 + padDiameter1: 1.8 + pitch1: -2.54 + rowCount1: 4 + columnCount1: 1 + rowDX1: 26.5 # 58.0 / 2 - 2.5 + rowDY1: 0 + + # mounting hole + holeDiameter2: 2.8 + padPosition2: -26.0, -14.25, 26.0, -14.25, 26.0, 14.25, -26.0, 14.25 + padDiameter2: 0