diff --git a/README.md b/README.md index f31ff58..51d4949 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,9 @@ In order to setup the dashboard start with cloning this repo ;) cd fb-dash # Connect the display to the RaspberryPi +Here is some info on how to wire the display to the RaspberryPi. + +## Full connection diagram (9 wires needed) Wire the display connector according to the connector scheme below.\ **NOTE:** The 56 Ohm resistor is suggested for safety reasons - but it also seems to work fine wihtout it @@ -20,6 +23,41 @@ Wire the display connector according to the connector scheme below.\ GND --------------------------- GND | | PIN 9,14,20,25 VCC --------------------------- 3,3V | | PIN 1,17 +## Minimal connection diagram (7 wires needed) +Wire the display connector according to the connector scheme below.\ +**NOTE:** The 56 Ohm resistor is suggested for safety reasons - but it also seems to work fine wihtout it + + ILI9341 RaspberryPi + =============================================================== + SDO/MISO ---------------------- MISO | GPIO 9 | PIN 21 + LED ----------| 56 Ohm |------- VCC (soldered directly onto the display connector) + SCK --------------------------- SCLK | GPIO 11 | PIN 23 + SDI/MOSI ---------------------- MOSI | GPIO 10 | PIN 19 + DC/RS ------------------------- | GPIO 24 | PIN 18 + RESET ------------------------- VCC (soldered directly onto the display connector) + CS ---------------------------- CE0 | GPIO 8 | PIN 24 + GND --------------------------- GND | | PIN 9,14,20,25 + VCC --------------------------- 3,3V | | PIN 1,17 + +## Some explanation + |---------> Power + GND --| + VCC --| + + |---------> SPI Interface (data transfer) + MISO -| + MOSI -| + SCK --| + CS ---| + + |---------> Data/Command switch + DC/RS | (indicates whether the transfered data is a command or display data) + + |---------> Power to the backgroud lighting + LED --| + + |---------> Resets the display controller when pulled low + RESET | # Configure the display **TL;DR** just run ```make rpi-config```