Nextion Editor v0.53
New in v0.53
New Encoding support for: koi8-r,
- Windows 874, 1255, 1256, 1257 and 1258
- Assignments now support HEX values
- Debug Simulator enhancements
- New component QRCode
- Number has new .format attribute
- prints (to replace print)
- covx (to replace cov)
Realtime touch coordinates
- system variables tch0, tch1, tch2, tch3
Nextion Address Mode (Advanced)
- system variable addr
Protocol Reparse (Advanced)
- system variables u[index], usize, recmod
- instruction ucopy and code_c
- byte alignment now handled by firmware
The Sunday Blog: Talking to your Nextion HMI – Part 5: A digital volt meter DVM with Nextion HMI and Arduino Mega
In the last episode, we saw how the Arduino could basically send commands over to the Nextion, and we used that for displaying some funny animated texts. Before we move on, it will be needed to look critically back on our code and eliminate some "not so optimal" things. But we will end up with a simple digital volt meter today, and I guess it's worth it.
As promised in last Sunday's blog episode, where we controlled our Nextion HMI directly from our PC using the Python3 command window, we are now up for a few episodes where we'll see in detail, how to hook up and program an Arduino. Over the next weeks, we'll see step by step how to make an Arduino talking to a Nextion, without using a prefabricated library, just by using the well documented ASCII command format. At the same time, this approach allows us to review some basics of the Arduino C/C++ dialect.
In the previous episode, we have learned how using a Nextion HMI makes designing GUIs much simpler and saves most of the time and resources of your MCU, compared to the use of a simple TFT display. We have designed a very simple example GUI, allowing simply to display some text, using the free Nextion Editor, within seconds. Finally, we used the integrated Nextion simulator to test our GUI and to display "Hello world". Today, we move a step forward, we upload the compiled GUI to our Nextion screen and we'll set and change the displayed text "from outside".
In the first episode of this blog series, we learnt about serial communication in general and how it developed and became a standard, historically. Today, we will have a more in-depth look into the Nextion HMI's principle of operation, and do so partly by comparing the Nextion HMI with the use of a standard TFT in common MCU (Arduino) projects.
I have heard your suggestions, encouragements, and critics. The last two Sunday blog series were dedicated to (future) advanced users and we did our best to push the limits of what a Nextion HMI can do in autonomous mode (without any MCU, i.e. Arduino, connected). We will with these new episodes help the beginners with their hands-on. With our Nextion HMIs, it's like everywhere in life: It's always about communication. Let's see and explore how that works in detail!
The Sunday Blog: Understanding and Customizing HMI components Part 8: Extend an existing component – the animated progress bar
Remember the previous readings? We saw how to design a custom component for our NEXTION HMI from scratch and we learned about animating graphics using a timer component. Today, with this knowledge, we will extend the functionality of an existing component, the progress bar, and give it a more appealing look with animated graphics.