摘要伴随着生产生活中各种生产生活用品越来越智能化,越来越多的新型智能产品出现在我们的日常生活当中,更加方便着我们的生活。为使我们能以更科学的方式摄入水分,养成良好的饮水习惯,提高人们的整体健康水平。本文提出了一种基于TSC89C52单片机的传感器技术。喝水提醒器还可对水杯进行加热,若水温过低,可加热到45度、60度、100度,利用DS18B20温度传感器测温原理,以检测水的温度,通过LDC1602显示屏显示被测温度的数值与设置的温度是否一致,加热时,发光二极管亮起,当水杯里水的温度超过预设温度时,蜂鸣器报警。提醒器上放置水杯,可每隔1小时提醒一次喝水。若中间拿起水杯喝水,从放下水杯开始重新开始计时。关键词:单片机:计时:喝水提醒:加热ABSTRACTAlong with the increasing intelligence of various production and living goods in productionlife,more and more new intelligent products are appearing in our daily life,making it moreconvenient for us.In order to enable us to consume water in a more scientific way,to develop gooddrinking habits and to improve people's overall health.This paper presents a sensor technologybased on the TSC89C52 microcontroller.Drinking reminder can also heat the water cup,if thewater temperature is too low,it can be heated to 45 degrees,60 degrees,100 degrees,using theDS18B20 temperature sensor temperature measurement principle,in order to detect the temperatureof the water,through the LDC1602 display shows whether the value of the measured temperature isconsistent with the set temperature,when heating,the light-emitting diode lights up,when thetemperature of the water in the water cup exceeds the preset temperature,the buzzer alarm.Thewater cup is placed on the reminder and can be used to remind you to drink water every 1 hour.Ifthe glass is picked up in the middle of a drink,the timer starts again from the moment the glass isput down.Keywords:microcontroller;timing;drinking reminder;heating.目录摘要ABSTRACT...............。。。。。。。第1章绪论..1.1喝水提醒器研究背景及意义...11.1.1喝水提醒器研究背景.....11.1.2喝水提醒器研究意义.......21.2喝水提醒器的国内外研究现状及研究目的31.2.1国内外研究现状......31.2.2喝水提醒器的研究目的41.3论文的结构与本文的主要工作41.3.1本文结构......41.3.2本文的主要工作......5第2章电路结构与分析62.1系统组成.....62.2系统模块分析.…62.2.1轻触按键....62.2.2STC89C52单片机模块.72.2.3LCD1602液晶显示屏82.2.4上拉电阻.92.2.5晶振电路102.2.6复位电路...112.2.7发光二极管模块122.2.8温度传感器132.2.9DS18B20模块142.3本章小结.。15第3章系统硬件设计结构...163.1设计结构的原件组成...163.2轻触按键实物模块...·173.3DS18B20温度传感器实物模块173.4STC89C52单片机实物模块183.5报警实物模块.......193.6LCD1602显示屏实物模块….20
暂无评论内容