
For equipment controls without a separate interface board, the Waveshare ESP32-S31 4.3-inch Touch LCD Development Board combines touch input, RS485 and CAN FD. Waveshare Electronics details a development board you can use to display device status and adjust settings by touch. Ready-to-flash firmware is provided for all 16 supplied examples, with starting points for building a graphical interface and testing audio. Explore how its wireless connections, power options and ESP-IDF support fit your plans for a control panel or information display.
Waveshare ESP32-S31: Touchscreen Board With Expansion
TL;DR Key Takeaways :
- The board uses a dual-core RISC-V processor running at up to 320 MHz, with 16 MB each of flash and PSRAM.
- Its 4.3-inch capacitive touchscreen has an 800 × 480 IPS display and supports up to five touch points in the supplied example.
- The board includes dual microphones, a 2-watt speaker and a six-axis motion sensor.
- Wireless connectivity includes 2.4 GHz Wi-Fi 6 and Bluetooth 5.4, while expansion interfaces include RS485, CAN FD, I2C and USB host.
- Sixteen ready-to-flash examples use ESP-IDF v6.1, while Arduino does not currently support the ESP32-S31.
The Waveshare ESP32-S31 4.3-inch Touch LCD Development Board combines a screen, audio hardware and expansion interfaces on one board, built around an ESP32-S31-WROOM-3-N16R16 module. Waveshare says this cuts most of the hardware setup work, so you can start on the application sooner.
Waveshare Electronics makes the ESP32-S31 4.3-inch Touch LCD Development Board, so the claims reported here about it are the maker’s own.
Its processor and memory specifications are:
- Processor: dual-core 32-bit RISC-V, running at up to 320 MHz.
- Flash storage: 16 MB.
- PSRAM: 16 MB.
- Chip SRAM: 512 KB.
- Chip ROM: 320 KB.
One processor core supports 128-bit SIMD instructions. The chip also includes a JPEG codec, a pixel-processing accelerator and a 2D DMA controller.
Build Touch Controls on the LCD
The 4.3-inch capacitive touchscreen lets you display device status, operating buttons and settings together, so you can view data, switch pages and adjust parameters by touch.
Its IPS LCD has an 800 × 480 resolution, supports 65K colors and uses a 16-bit RGB565 interface. It has a nominal viewing angle of 160 degrees and can play video, while the supplied touch example reads up to five touch points through the GT911 controller.
Here are more guides from our previous articles and guides related to ESP32-S31 boards and touchscreens that you may find helpful.
- ESP32 S31 Devkit Hands-on: 320 MHz RISC-V Chip Adds Wi-Fi 6
- LCD Wizard Generates Ready-to-Use ESP32 Touchscreen Code
- ESP32 Console Runs 6 Games on a 4-Inch Touchscreen
- ESP32 Module Features a 1.14-Inch TFT Screen for Live Data Tracking
Add Audio and Motion Input
For sound capture and playback, the board has dual microphones and an 8-ohm, 2-watt speaker, supported by an ES8389 audio codec and speaker amplifier. The supplied examples let you test audio capture and playback and provide a starting point for connecting sound to an on-screen interface.
A six-axis IMU detects tilt and rotation. Its QMI8658 sensor provides accelerometer and gyroscope measurements for use alongside touch input.
Connect a Project Wirelessly
The ESP32-S31 supports 2.4 GHz Wi-Fi 6 and Bluetooth 5.4, with an onboard antenna for connections in projects such as networked information panels.
It also supports IEEE 802.15.4, Thread, Zigbee and Bluetooth Mesh 1.1. Specific protocol features require the corresponding SDK and firmware.
Attach Devices Through Expansion Ports
The expansion connector exposes half-duplex RS485, CAN FD, I2C and six native GPIOs, while a separate four-pin USB host connector provides another connection for external devices.
You can select the I2C expansion voltage in hardware between 3.3 V and 5 V; it is connected to 3.3 V by default. The GPIOs are non-isolated and must use 3.3 V logic and a common ground, rather than high-voltage inputs or power loads.
Do not press the BOOT button while RS485 is running: the button shares its direction-control pin. The TF card slot supports local storage and is configured for 4-bit SDMMC in the supplied examples.
Choose a Case and Power Source
Three configurations are available: without a case, with a plastic case, or with a plastic case and a 3.7 V lithium battery. On cased versions, the reset and boot buttons, USB port and TF card slot sit on one side, while the other side has the power switch and lets you check device status.
Power comes through 5 V through USB-C, 7-36 V DC through the expansion connector or a single-cell lithium battery. The board includes a battery charging circuit and fuel gauge. Rail and wall brackets or a monitor arm can be used for mounting, but the accessories are sold separately.
Start With ESP-IDF and LVGL
The supplied ESP-IDF examples provide a starting point for getting the display and touch controls running, and an LVGL example can be used to build a graphical interface. The examples use Espressif’s ESP-IDF v6.1 and target the ESP32-S31, with ready-to-flash firmware provided for all 16 examples.
For a first connection, use a computer and a data-capable USB-C cable. Arduino does not currently support the ESP32-S31, and you cannot substitute firmware for an ESP32-S3 board because the architectures, peripherals and pin assignments differ. Flashing the factory firmware image also overwrites the application, partition table, settings and data.
In our view, the notable part is the mix of a touchscreen with RS485, CAN FD and USB host on one board. Screen projects often need a separate interface board, so having both together could save real wiring effort. We think this suits makers and developers who want a ready-made control panel or information display and are happy working in ESP-IDF and LVGL. The supplied display, touch and LVGL examples give those developers a starting point. It is less suited to anyone wanting a plug-and-play device with no coding.
If you are comfortable developing with ESP-IDF and LVGL, the Waveshare ESP32-S31 touchscreen board is worth a closer look for building your own control panel or information display.
Media Credit: Waveshare Electronics
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.