上QQ阅读APP看书,第一时间看更新
Hardware wiring
If you have the ESP-WROVER-KIT board, you don't need an additional LCD to perform hardware wiring. Otherwise, if you use another LCD module, you can connect the LCD module to the ESP32 board via ESP32 SPI pins. You can see this wiring based on the ESP-WROVER-KIT board datasheet document in Figure 2-7:
The datasheet can be viewed here:
Figure 2-7: Wiring for the LCD module on ESP32
The following is wiring for the ESP32 and LCD module:
- LCD VCC to ESP32 VCC
- LCD GND to ESP32 3.3V
- LCD SCL to ESP32 SPI CLK (IO19)
- LCD SDA to ESP32 MOSI (IO23)
- LCD SDO to ESP32 MISO (IO25)
- LCD CS to ESP32 CS (IO22)
- LCD D/C to ESP32 D/CX (IO21)
Next, we will create a project.