https://stone-hmi.com/product/stwi043wt-01/

STONE 4.3 inch serial LCD screen STWI043WT-01 TFT LCD display module USB LCD display rs232 display module

Using STONE serial touch screen portable monitor, the hardware department decided to use NXP’s 32-bit microprocessor chip as the whole machine monitoring, ECG analysis, control center, by ECG bioelectricity acquisition amplification, right leg drive, import MIT ECG database to do an algorithm, but also monitor SpO2 sensor electrical signal, blood pressure, respiratory electrical signal amplification, and filtering processing, through high-speed baud rate communication, drive STONE serial touch screen to display waveform and parameter changes in real-time, and compare with a reference value to make a judgment, and monitor and alarm the changes of human body parameters. If there is a range deviation, it automatically issues voice prompts.

The new version of the STONE serial touch screen perfectly supports curve depiction and display, the communication protocol is simple and easy to remember, microcontroller engineers can use it after reading the manual, there are many examples of drivers in the command set, directly copied to modify the name and parameters can be used. Serial connection is simple, you can use the official adapter board, whether it is a direct serial connection or USB to serial, it is very convenient and easy to use.  The monitor displays multiple groups of vital parameters at the same time, especially 3 curves that are dynamically drawn and displayed at the same time very smoothly, and should be able to draw more groups of curve graphics at the same time, you can try as needed. Of course, the command set curve function has an example of multiple data pushed at the same time, but the actual use of the current hardware does not respond, I hope the official can be optimized as soon as possible. It may also be solved by updating the firmware. For this new version of the drawing curve function, I first tried how can not be tuned out, and finally learned that the serial screen has a new firmware, brushed the new firmware to see the “real face of the mountain”. Seeing the smooth ECG curve coming out of the serial screen with the firmware brushed, the mood is happy, huh ……

The design picture of this project is shown in Figure (1).  The interface is based on a STWI101WT-01 serial screen with 1024*600 resolution, the left side shows 2/3 of the waveform curve and the right 1/3 shows the value.

This article will focus on the creation and depiction of the curve chart view. It is completely according to the production process of the project demo, with no classification, maybe you feel messy, but it is the real process of real development.

First, We Decided To Fix The Curve Depiction Of ECG.