摘要
设计了一种基于STM32的饮水提醒水杯及缺水量检测系统,该系统能实现饮水量的实时记录并上传至云端服务器以供查询,同时根据人体盐分流失量,利用内置算法计算出人体的需水量并进行饮水提醒。饮水量检测模块通过电容传感器可智能识别饮水动作,采用压力传感器计算饮水量,并将HX711采样的数值进行AD转换,用OLED屏进行显示。人体盐分检测模块可供多个用户使用,采用RFID进行身份识别,通过TDS传感器计算人体盐分流失,进而计算出人体需水量,并通过云端服务器发送至水杯提醒用户进行饮水。在云端服务器上搭建了与水杯配套使用的网站,开发语言采用PHP,数据库搭建采用My SQL实现。
A water-drinking reminder cup and water shortage detection system based on STM32 is designed. The system can realize the realtime record of drinking water and upload it to the cloud server for inquiry. At the same time,according to the loss of human salt,the built-in algorithm is used to calculate the body's water requirements and to remind the human body to drink water. Drinking water detection module through the capacitive sensor can identify the drinking movement intelligently. Using pressure sensors to calculate the amount of water,then the value of the HX711 AD conversion with OLED screen display. Human salt detection module can be used by multiple users,using RFID for identification,through the TDS sensor to calculate the loss of human salt,and then calculaing the human water demand,through the cloud server to remind the user to drink water. In the cloud server the website is set up supporting the use of the cup,which development language is PHP,database uses My SQL to build.
出处
《微型机与应用》
2017年第17期99-101,105,共4页
Microcomputer & Its Applications
关键词
STM32
饮水提醒
饮水检测
盐分检测
RFID识别
STM32
water-drinking reminder
drinking water detection
salt detection
RFID identification