Skip to content

Commit 3a4fd82

Browse files
committed
doc: nodeMCU wiring
1 parent 020b99e commit 3a4fd82

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

.github/assets/03-nodemcu.png

1.6 MB
Loading

readme.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,31 @@ The display is connected to the ESP8266 using the following GPIO pins:
8787
| **RST** | GPIO 2 | Reset pin |
8888
| **Backlight** | GPIO 5 | Backlight control (Active LOW) |
8989

90+
### ESP8266 dev board wiring example
91+
92+
For a common ESP8266 dev board such as a NodeMCU or ESP-12E development board, wire the TFT module like this:
93+
94+
| TFT pin | ESP8266 GPIO | Common dev board label | Notes |
95+
| -------------- | ------------ | ---------------------- | ------------------------------------------ |
96+
| **GND** | GND | GND | Ground |
97+
| **VCC** | 3V3 | 3V3 | Power the display from 3.3V |
98+
| **SCL / SCK** | GPIO 14 | D5 | SPI clock |
99+
| **SDA / MOSI** | GPIO 13 | D7 | SPI data from ESP8266 to display |
100+
| **DC** | GPIO 0 | D3 | Data/command select |
101+
| **RES / RST** | GPIO 2 | D4 | Display reset |
102+
| **BLK** | GPIO 5 | D1 | Optional backlight control, see note below |
103+
104+
If your module has no **CS** pin, or if **CS** is already tied low on the PCB, no extra wiring is needed for chip select.
105+
106+
Many 1.3" ST7789 modules keep the backlight enabled when **BLK** is left floating. In that case the screen will work without connecting **BLK** at all. If you want firmware-controlled backlight, connect **BLK** to GPIO 5.
107+
108+
Be aware that **GPIO 0** and **GPIO 2** are ESP8266 boot strap pins. This wiring matches the original hardware used by the firmware, but if your module pulls either line to the wrong level during reset the ESP8266 may fail to boot.
109+
90110
<div align="center">
91111
<img src=".github/assets/03-pinout.jpg" alt="Pinout Diagram" width="1000" />
112+
<img src=".github/assets/03-nodemcu.png" alt="NodeMCU working" width="500" />
92113
<br>
93-
<em>Pin Wiring Diagram (exact same for small tv)</em>
114+
<em>Pin Wiring Diagram (exact same for small tv) && NodeMCU working</em>
94115
</div>
95116

96117
### Important configuration details

0 commit comments

Comments
 (0)