With the rapid development of intelligent hardware, a series of smart water cups appeared on the market. However, most of the water cups are reminded of the user's drinking water according to the fixed amount of drinking water. This way ignores individual differences. The real way to drink healthy water is to plan the drinking water according to the amount of water needed by the body.
In order to remind the users of drinking water according to the differences in body functions of different people, a smart water cup based on the detection of human salt loss was designed. The design gives the recommended amount of drinking water through the calculation of the user's basic information, and further corrects the recommended amount of drinking water by detecting the loss of salt in the human body, so as to intelligently remind the user to drink water. It mainly uses the STM32 series chip, pressure sensor and pressure sensitive sensor as the hardware foundation, realizes the record data through software programming, draws the corresponding drinking water curve, evaluates the drinking habit, quantitatively reminds the user of drinking water and other functions, and makes the user develop health. Drinking habits.
1, the overall design of the systemThe system consists of a smart water cup end (hereinafter referred to as a water cup end) and a human body salt detection end (hereinafter referred to as a detection end), and a block diagram of the smart water cup system is shown in FIG. The main control chip of the water cup end is STM32F103C8T6, and the power supply voltage is 2.0V~3.6V. A series of power saving modes ensure low power consumption. The main control chip of the detection terminal is STM32F103ZET6. The configuration of this chip is very strong, with external bus (FSMC), which can be used to expand SRAM and connect LCD.
The pressure sensor and the capacitive sensor constitute a drinking water monitoring system, and the drinking water state is recognized by the human body capacitance recognition sensor disposed on the cup edge, the gravity of the water is detected by the pressure sensor, and the data is AD-converted by the HX711 chip. The OLED display provides an interactive interface and facilitates low power design requirements. The wireless charging module makes the charging of the cup end more convenient and safe.
Figure 1 Smart water cup system block diagram
The detection end is composed of a TDS sensor, an RFID identification module and a WiFi module. The TDS sensor has a measuring range of 2000 PPM, which satisfies the detection of urine salt dilution. Different from the contact recognition technology such as magnetic card and IC card, the RFID tag can be recognized without physical contact between the electronic tag and the reader, so it can realize multi-target recognition and moving target recognition, and can be used in a wider range of occasions. application.
Screen Protector,Uv Glue Screen Protector,Uv Tpu Film Screen Protector,Uv Curing Screen Protector
Shenzhen TUOLI Electronic Technology Co., Ltd. , https://www.hydrogelprotectors.com