Nextion Integration

Nextion Integration

This post will expand on the CYD post here, (https://www.cloudacm.com/?p=5386). Instead of using the all encompassing CYD platform, a Nextion display will be used. Much of the code used in the CYD will be used here with some minor adjustments.

The hardware used here is the Nextion HSD035383B4 which connects to a ESP32-C3 module. In addition, a SPI micro-SD module was attached to provide data logging.

The code for the ESP32 module can be found here, https://github.com/cloudacm/ESP32-C3-Nextion-microSD

The Nextion display uses proprietary software and serial formatting. This will require a Windows system with the Nextion Editor software installed.

This post (https://nextion.tech/2021/05/31/the-sunday-blog-developing-and-debugging-how-can-i-step-by-step/) provided the basis of the demo provided here. The real challenge was getting the font sizing and positioning to match what had been done on the CYD.

The display offers some offset in development where much of the workload is handled by the editor. Programming the display can be done serially or by uploading the compiled flash file to a micro-SD card attached directly to the display.

Comments are closed.