This sleep ventilator screen interface uses a 5.6-inch STONE serial screen, with its own backlight, rich colors, a serial port to facilitate communication with the main control board, touch input also eliminates the keyboard, the appearance of the entire ventilator is more simple and generous. The adjustable pressure value and delay time are sliding options, which makes the operation more convenient.
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.
The Principle Of Ultrasonic Distance Measurement
The ultrasonic wave has strong directivity and the distance spread in the medium is far. Therefore, an ultrasonic wave is often used for distance measurements, such as distance measuring instruments and object-level measuring instruments, which can be realized through ultrasonic waves. Ultrasonic testing is often more rapid, convenient, simple calculation, easy to achieve real-time control, and in terms of measuring accuracy can meet the requirements of industrial practical, so the development of mobile robots has been widely used.
The principle of ultrasonic ranging is that the ultrasonic wave is emitted by the ultrasonic transmitter, which is based on the time difference when the receiver receives the ultrasonic wave, similar to the principle of radar ranging. The ultrasonic transmitter sends an ultrasonic wave to a certain direction, begins timing at the same time when launching, ultrasonic wave spreads in the air, encounter obstacle on the way to return immediately, the ultrasonic receiver receives reflected wave to stop timing immediately.
(the propagation speed of the ultrasonic wave in the air is 340m/s. According to the time t (seconds) recorded by the timer, the distance (s) from the launching point to the obstacle can be calculated, that is s=340t/2).
The trig and echo ports are configured to low-level output, the output of more than 10 us trig pin high-level pulse (module automatically send out eight 40 k square wave), then wait, capture the output echo rise along, capture the rising edge at the same time, start the timer start timing, wait again to catch the falling edge of the echo, when capturing the falling edge, read the timer time, this is the running time of ultrasound in the air, in accordance with the S = (high level of time * (340 m/S)) / 2 can compute the distance of ultrasonic to the obstacles.
How To Make A Smart Home
STONE's serial port drive display, which can communicate through MCU's serial port, and the UI logic design of this display can be designed directly by using the STONE designer software provided on STONE's official website, which is very convenient for us. So I plan to use it to make a simple appliance controller, which includes the control of various lights (living room, kitchen, children's room, bathroom). At the same time, indoor and outdoor temperature, humidity, and air quality can be collected. This is just a simple demo, and you can conduct secondary development through the code I provided. Some basic tutorials about the STONE screen can go to the website: The website has a variety of information about the model, user and design documentation, as well as video tutorials.