Waveshare TFT Touch Shield~
Waveshare has a line of TFT Touch Shields for Arduino which are also plug-and-play compatible with the ESPDUINO-32 aka. Wemos “TTGo” D1 R32 board. Unlike many other common Arduino UNO shields the Waveshare displays have an SPI interface with resistive touch controller and backlight control.
Be sure to check if the LCD_BL
, LCD_CS
and TP_CS
pins are present. If these pins are missing, the screen won't work with the pre-compiled builds.
Models~
There are 3 models of this TFT shield:
Model | 2.8" Rev 2.1 | 3.5inch | 4.0inch |
---|---|---|---|
SKU | 10684 | 13506 | 13587 |
Resolution | 320x240 | 480x320 | 480x320 |
TFT controller | ST7789 (Rev 2.1 only) |
ILI9486 | ILI9486 |
Interface | SPI | SPI | SPI |
Touchscreen | Resistive | Resistive | Resistive |
Touch controller | XPT2046 | XPT2046 | XPT2046 |
SD Card | yes | yes | yes |
Screen dimming | yes | yes | yes |
Backlight Control~
All three models come with an LCD_BL
pin that allows for backlight control.
It is connected to GPIO13
on the D1 R32 development board.
Documentation~
Please visit the Waveshare Wiki pages for more information, schematics and demo code:
Configuration~
Note
By default the DIP switches on the display are set in the ICSP
position instead of the SPI
position.
If your board does not include an ICSP
header, you need to switch the display over to use the SPI
pins.
To use the MISO
, MOSI
and SCLK
SPI pins you first need to peel of the orange tape that sticks on top of the dip switches.
Then move all 3 DIP switches to the ON
position with a tiny screwdriver.
The 2.8" model has 3 solder jumpers SB1
, SB2
and SB3
that need to be bridged instead!
Development Boards~
D1 R32~
The Waveshare TFT Touch Shields are compatible with the ESPDUINO-32 aka. Wemos “TTGo” D1 R32 development board. It contains an ESP32-WROOM module with 4MB flash.
Warning
The D1 R32 ESP32 board may suffer from brown-out reboots if not powered adequately.
Arducam IoTai ESP32~
Onboard 4MB PSRAM, 4MByte Flash
To be tested
Adafruit Metro ESP32-S2~
With 4 MByte of Flash and 2 MByte of PSRAM
Note
This board has not been tested yet!