Blog2020-02-28T14:41:54+08:00

Our Blog

507, 2020

The Sunday blog: Boost your HMI with advanced mathematics! – Part 1: Introduction

By |July 5th, 2020|

Developers of Nextion HMI solutions often wish to be able to perform display only calculations directly in Nextion code. Be it to relieve the external microcontroller or in a stand-alone application - there is always a reason! A motive could also be that the integrated processor (32bit ARM Cortex M0+ or better) in the Nextion HMI is significantly more powerful than many of the 8bit AVR or PiC processors used in the hobby and control sector.Before we learn what hidden horsepower our Nextion HMI has under the hood and how to use it optimally, let us first recall some basics. Because only if we understand in principle how a microprocessor calculates can we make the best use of its capabilities.

2806, 2020

The Sunday blog: HMI, cybernetics and the steam engine – Part 7: Didactic code

By |June 28th, 2020|

Today is the day! Our project comes to an end! After we built a nifty GUI for our dishwasher HMI in the last episode and we set up a sophisticated system to transfer all the status information from the controller to the HMI within a single packed 30bit number (see Part 5), we'll now write the code to animate our GUI. The title of this episode is "didactic code". That means, it comprises elements (like the "door open" flag of our dishwasher) which we don't actually use in our GUI. It's also written in a way which demonstrates the powerful opportunities of indirect component addressing, which adds a line of code here and there.

2206, 2020

The Sunday blog: HMI, cybernetics and the steam engine – Part 6: Professional graphics

By |June 22nd, 2020|

In the last episode we have dealt extensively with the Nextion HMI code. With it we already succeeded in "unpacking" the 30bit status message of our virtual dishwasher and saving all details in separate variables. For testing purposes, we then wrote some sample data in text and number fields, but the result was still visually unsatisfactory. That's why we want to work on the graphical frontend today and learn how to do it efficiently!

1506, 2020

The Sunday blog: HMI, cybernetics and the steam engine – Part 5: Well thought-out and efficient HMI code

By |June 15th, 2020|

In the last episode of this series, we considered how we could transfer the status information of our virtual dishwasher to the HMI as efficiently as possible without placing unnecessary load on the MCU. We saw that we put everything into a 30-bit bit field, so that sending a single 32-bit integer number is sufficient. Today we want to see how we use Nextion code to unpack and display the information.

806, 2020

The Sunday blog: HMI, cybernetics and the steam engine – Part 4: Theory and practice

By |June 8th, 2020|

In the last 3 episodes of this blog we have followed the technical development of tools, machines and computers. And we have discovered that an intelligent HMI is used where an attractive and ergonomic user interface is to be created in a limited space and with manageable costs and development effort.

106, 2020

The Sunday blog: HMI, cybernetics and the steam engine – Part 3: Embedded development in detail

By |June 1st, 2020|

And here we are again. In episode 1 (link) and episode 2 (link) we followed the rapid technical development and saw how simple tools became machines that could do physical work for humans, and how a new generation of machines emerged that could also do intellectual work for humans, the computers. The latter allows, provided the appropriate programming is in place, to control even very complex machines and to process the status of the machine from a large number of sensors and other measured values and to display them clearly and graphically on a screen.