Software Serial support has been added. Now connect Nextion HMI display to any two pins of ESP8266. Check out our Github Repository (Link is available under “Downloads” section below) for modified Nextion library for ESP8266 (Tutorial work is in progress).
Nextion is a Seamless Human Machine Interface (HMI) solution that provides a control and visualization interface between a human and a process, machine, application or appliance. Nextion is mainly applied to IoT or consumer electronics field. It is the best solution to replace the traditional LCD and LED.
Nextion includes hardware part (A series of TFT boards) and software part (Nextion editor). The Nextion TFT board uses only one serial port to communicate. It lets you avoid the hassle of wiring. Nextion editor has mass components such as button, text, progress bar, slider, instrument panel etc. to enrich your interface design. And the drag-and-drop function ensures that you spend less time in programming, which will reduce 99% of your development workloads. With the help of this Nextion editor, designing a GUI is a piece of cake.
Interesting? So let’s make the working combination of Nextion and ESP8266, Just FOLLOW ME 😛
- Nextion display of your choice (We used Nextion 2.4″ in this demonstration)
- ESP8266 ESP-12E or ESP-12F or NodeMCU or WeMos D1 Mini (ESP-12E or ESP-12F requires additional hardware, For further information see ESP8266 Basic Setup and Program using Arduino IDE)
- CP2102 Micro USB to UART TTL Module
- Arduino IDE with ESP8266 support
- Nextion Example Sketch
- Nextion Editor
- Nextion library
All of the above mentioned software can be downloaded under “Downloads” section below.
Nextion Editor is a Windows based drag and drop tool for creation Nextion GUI in real time, as you can see what you are building. Here is the fun begins, so let’s get started 😎 . Download Nextion Editor and install it. Follow the video tutorial for rest of demonstration. Download Nextion HMI file for current project from “Downloads” section below.
Download Nextion Library (Link is under “Downloads” section below) and install it. Download .ino file for this tutorial under download section. If you are using your own sketch, use the baud rate of 9600 in “void setup” function i.e. Serial.begin(9600); Follow the video for rest of the demonstration.