boards-waveshare · ESP32-S3
Waveshare ESP32-S3-Touch-LCD-1.85B
ESP32-S3 with a 360 x 360 round QSPI display (ST77916), a CST816S touch controller, Wi-Fi and a microSD slot.
Board id waveshare-esp32-s3-touch-lcd-1.85b, file boards/esp32/waveshare-esp32-s3-touch-lcd-1.85b.json.
| Property | Value |
|---|---|
| Chip | ESP32-S3 (esp32s3) |
| PSRAM | octal |
| Flash | 16 MB |
| Console | usb-jtag |
Blocks
| Block | Type | Keys | Handled by | Notes |
|---|---|---|---|---|
microsd |
spi |
cs 13, sclk 15, mosi 14, miso 16 | the SDK | The microsd storage ("storage": "microsd"). |
network |
wifi |
none | the SDK + ext-wifi | The script connects with ext-wifi. |
display |
st77916 |
sclk 40, d0 46, d1 45, d2 42, d3 41, cs 21, rst 3, bl 5, width 360, height 360, te 18 | esp32-display-st77916 | QSPI panel. |
i2c |
i2c |
sda 11, scl 10 | ext-i2c | Bus::onboard(); the touch controller is on this bus. |
touch |
cst816s |
int 4, rst 1, width 360, height 360 | touch-cst816s | Needs ext-i2c (it comes with the driver). |
Pins are GPIO numbers, or pins of the board's expander (exio1). The keys are described in
Board files; a project changes them with
board overrides.
Use it in a project
composer require php-baremetal/boards-waveshare
composer require php-baremetal/ext-wifi php-baremetal/esp32-display-st77916 php-baremetal/ext-i2c php-baremetal/touch-cst816s # the blocks you use
{
"sdk": "esp32@^2.0",
"board": "waveshare-esp32-s3-touch-lcd-1.85b",
"runtime": "init-loop",
"storage": "embedded"
}
Install only the drivers of the blocks the program uses: a block without its driver is left alone.
Notes
- The display's TE (tearing effect) pin is GPIO 18:
onVsync()andSt77916::onboard(vsync: true)use it. - The CST816S is on the
i2cbus (SDA 11, SCL 10): INT on GPIO 4, reset on GPIO 1, 360 x 360. - The microSD card uses the SPI3 host.
Related
- Waveshare boards Overview
- Board files SDK
- Board overrides SDK