From cd7796d10dc6b4cb48e36628989c60394373c83e Mon Sep 17 00:00:00 2001 From: Martijn Date: Mon, 21 Oct 2024 21:42:40 +0200 Subject: [PATCH] Completed pinouts --- Components/BAR Module/Components.md | 77 ++++++++++---- Components/Base Module/Components.md | 133 +++++++++++++----------- Components/Display Module/Components.md | 65 ++++++++---- 3 files changed, 174 insertions(+), 101 deletions(-) diff --git a/Components/BAR Module/Components.md b/Components/BAR Module/Components.md index 310ff37..15cae4e 100644 --- a/Components/BAR Module/Components.md +++ b/Components/BAR Module/Components.md @@ -1,13 +1,17 @@ # Components on B+ BAR Module ## Displays: + Brand: Osptek Type: YDP096B002-V1 Protocol: SPI +Driver IC: ST7735S +Resolution: 160 (h) x 80 (v) -[Specification PDF](./YDP_096_B002_V1_8_P_b6210a13b6.pdf) +[Specification PDF](../Datasheets/YDP_096_B002_V1_8_P_b6210a13b6.pdf) ### Pinout: + ``` Left Right Common PIN SYMBOL FUNCTION 1 LEDA Backlight anode @@ -17,34 +21,67 @@ Left Right Common PIN SYMBOL FUNCTION 5 SDA Serial data input pin in serial interface operation 6 SCL Serial interface clock 7 VCC(2.8V) Analog Power Supply for LCM(2.8V) -IC1-14 GP5 8 CS Chip select pin +IC1-14 GP5 IC1-10 GP1 8 CS Chip select pin ``` ## IC 1 + Brand: Microchip Type: MCP23008 Protocol: I2C -[Datasheet](./MCP23008-MCP23S08-Data-Sheet-20001919F.pdf) +[Datasheet](../Datasheets/MCP23008-MCP23S08-Data-Sheet-20001919F.pdf) + +### IO: + +``` +GP0 N.C. +GP1 Chip select Display Right +GP2 Button Right +GP3 N.C. +GP4 N.C. +GP5 Chip select Display Left +GP6 Button Left +GP7 N.C. +``` + +## Neopixels + +Neopixels are connected in series and in the folowing order: +1. Base connector #17 +2. Neopixel Front Left +3. Neopixel Back Left +4. Neopixel Front Right +5. Neopixel Back Right +6. Base connector #16 + +## Buttons + +``` +Button Left: IC 1 # 15 GP6 +Button Right: IC 1 # 11 GP2 +``` ## Base connector 1 + ``` PIN Description Destination -1 - 2 -3 - 4 -5 - 6 I2C Address MSP A2 IC 1 #1 -7 - 8 I2C Address MSP A1 IC 1 #2 -9 - 10 I2C Address MSP A0 IC 1 #3 -11 - 12 -13 - 14 -15 +1 GND + 2 +3.3V +3 Reset IC 1 #4, Display #3 + 4 I2C SI IC 1 #20 +5 SPI SDA Display #5 + 6 I2C SCK IC 1 #19 +7 SPI SCL Display #6 + 8 I2C Address MSP A0 IC 1 #3 +9 SPI Register select Display #4 + 10 I2C Address MSP A1 IC 1 #2 +11 Backlight anode Display #1 + 12 I2C Address MSP A2 IC 1 #1 +13 N.C. ?? + 14 N.C. ?? +15 N.C. ?? 16 Neopixel Data OUT -17 Neopixel Data IN -``` \ No newline at end of file +17 Neopixel Data IN +``` + diff --git a/Components/Base Module/Components.md b/Components/Base Module/Components.md index 6a060df..5a39bbd 100644 --- a/Components/Base Module/Components.md +++ b/Components/Base Module/Components.md @@ -3,53 +3,58 @@ ## Controller Brand: Espressif Type: ESP32-S3-WROOM-1 +Driver IC: ST7735S (ESPHome compatible) -[Datasheet](./esp32-s3-wroom-1_wroom-1u_datasheet_en.pdf) +[Datasheet](../Datasheets/esp32-s3-wroom-1_wroom-1u_datasheet_en.pdf) ## Connectors ### Connector J0 ``` +MCP I2C address: 0x20 + PIN Description Destination -1 - 2 -3 - 4 -5 - 6 I2C Address MSP A2 GND -7 - 8 I2C Address MSP A1 GND -9 - 10 I2C Address MSP A0 GND -11 - 12 -13 - 14 -15 +1 GND + 2 +3.3V +3 Reset ESP32 #3 EN + 4 I2C SI ESP32 #24 IO47 +5 SPI SDA ESP32 #28 IO35 + 6 I2C SCK ESP32 #25 IO48 +7 SPI SCL ESP32 #29 IO36 + 8 I2C Address MSP A0 GND +9 SPI Register select ESP32 #30 IO37 + 10 I2C Address MSP A1 GND +11 Backlight anode ESP32 #16 IO46 (via transistor) + 12 I2C Address MSP A2 GND +13 N.C. ?? + 14 N.C. ?? +15 N.C. ?? 16 Neopixel Data OUT J1 #17 -17 Neopixel Data IN ESP32 #4 GPIO4 +17 Neopixel Data IN ESP32 #4 IO4 ``` ### Connector J1 ``` +MCP I2C address: 0x21 + PIN Description Destination -1 - 2 -3 - 4 -5 - 6 I2C Address MSP A2 GND -7 - 8 I2C Address MSP A1 GND -9 - 10 I2C Address MSP A0 3.3V -11 - 12 -13 - 14 -15 +1 GND + 2 +3.3V +3 Reset ESP32 #3 EN + 4 I2C SI ESP32 #24 IO47 +5 SPI SDA ESP32 #28 IO35 + 6 I2C SCK ESP32 #25 IO48 +7 SPI SCL ESP32 #29 IO36 + 8 I2C Address MSP A0 3.3V +9 SPI Register select ESP32 #30 IO37 + 10 I2C Address MSP A1 GND +11 Backlight anode ESP32 #16 IO46 (via transistor) + 12 I2C Address MSP A2 GND +13 N.C. ?? + 14 N.C. ?? +15 N.C. ?? 16 Neopixel Data OUT J2 #17 17 Neopixel Data IN J0 #16 ``` @@ -57,22 +62,24 @@ PIN Description Destination ### Connector J2 ``` +MCP I2C address: 0x22 + PIN Description Destination -1 - 2 -3 - 4 -5 - 6 I2C Address MSP A2 GND -7 - 8 I2C Address MSP A1 3.3V -9 - 10 I2C Address MSP A0 GND -11 - 12 -13 - 14 -15 +1 GND + 2 +3.3V +3 Reset ESP32 #3 EN + 4 I2C SI ESP32 #24 IO47 +5 SPI SDA ESP32 #28 IO35 + 6 I2C SCK ESP32 #25 IO48 +7 SPI SCL ESP32 #29 IO36 + 8 I2C Address MSP A0 GND +9 SPI Register select ESP32 #30 IO37 + 10 I2C Address MSP A1 3.3V +11 Backlight anode ESP32 #16 IO46 (via transistor) + 12 I2C Address MSP A2 GND +13 N.C. ?? + 14 N.C. ?? +15 N.C. ?? 16 Neopixel Data OUT J3 #17 17 Neopixel Data IN J1 #16 ``` @@ -80,22 +87,24 @@ PIN Description Destination ### Connector J3 ``` +MCP I2C address: 0x23 + PIN Description Destination -1 - 2 -3 - 4 -5 - 6 I2C Address MSP A2 GND -7 - 8 I2C Address MSP A1 3.3V -9 - 10 I2C Address MSP A0 3.3V -11 - 12 -13 - 14 -15 +1 GND + 2 +3.3V +3 Reset ESP32 #3 EN + 4 I2C SI ESP32 #24 IO47 +5 SPI SDA ESP32 #28 IO35 + 6 I2C SCK ESP32 #25 IO48 +7 SPI SCL ESP32 #29 IO36 + 8 I2C Address MSP A0 3.3V +9 SPI Register select ESP32 #30 IO37 + 10 I2C Address MSP A1 3.3V +11 Backlight anode ESP32 #16 IO46 (via transistor) + 12 I2C Address MSP A2 GND +13 N.C. ?? + 14 N.C. ?? +15 N.C. ?? 16 Neopixel Data OUT Extensionplate #5 17 Neopixel Data IN J2 #16 ``` diff --git a/Components/Display Module/Components.md b/Components/Display Module/Components.md index 7a60caa..414ed3a 100644 --- a/Components/Display Module/Components.md +++ b/Components/Display Module/Components.md @@ -1,9 +1,35 @@ -# Components on B+ BAR Module +# Components on B+ Display Module + +## Display: -## Displays: Brand: Shenzen Surenoo Type: YT280S030 (STP0280B2-240320) Protocol: SPI +Driver IC: ST7789V +Resolution: 320 (h) x 240 (v) + +[Datasheet](../Datasheets/STP0280B2-240320.pdf) + +## IC 1 + +Brand: Microchip +Type: MCP23008 +Protocol: I2C + +[Datasheet](../Datasheets/MCP23008-MCP23S08-Data-Sheet-20001919F.pdf) + +### IO: + +``` +GP0 Display Backlight Cathode Display #11,12,13,14 +GP1 Display Backlight Cathode Display #11,12,13,14 +GP2 Button Right +GP3 N.C. +GP4 N.C. +GP5 Display Chip Select Display #5 +GP6 Button Left +GP7 Display Backlight Cathode Display #11,12,13,14 +``` ## Base connector CN0 ``` @@ -48,23 +74,24 @@ PIN Description 17 Neopixel Data IN > directly to pin 16 ``` ## Base connector CN2 + ``` -PIN Description -1 - 2 -3 - 4 -5 - 6 I2C Address MSP A2 IC 1 #1 -7 - 8 I2C Address MSP A1 IC 1 #2 -9 - 10 I2C Address MSP A0 IC 1 #3 -11 - 12 -13 - 14 -15 +PIN Description Destination +1 GND + 2 +3.3V +3 Reset IC 1 #4, Display #2 + 4 I2C SI IC 1 #20 +5 SPI SDA Display #6 + 6 I2C SCK IC 1 #19 +7 SPI SCL Display #3 + 8 I2C Address MSP A0 IC 1 #3 +9 SPI Register select Display #4 + 10 I2C Address MSP A1 IC 1 #2 +11 Backlight anode Display #1 + 12 I2C Address MSP A2 IC 1 #1 +13 N.C. ?? + 14 N.C. ?? +15 N.C. ?? 16 Neopixel Data OUT -17 Neopixel Data IN +17 Neopixel Data IN ``` \ No newline at end of file