多功能数字温湿度计设计摘要随着人们生产生活的复杂性加剧,检测所处环境温湿度参数的情景越来越多,温湿度作为一个常见的指标对人们生活的影响也在加大。作为两个重要的参数指标,其在制药、化工行业中有重大意义。温湿度的测量对人们生产生活有着重要的意义。本设计能实现实时检测当前环境下的温湿度参数值,并且通过LCD12864将数值显示出来,在超过设定的阈值时会进行声光报警。还可以实现时间和日历的显示功能,对时、分、秒进行显示,并且带有闹钟功能。通过按键,还可以调节温湿度的上下限:调节日期和时间:调节闹钟的时间以及闹钟的开关。采用DS1302时钟芯片、纽扣电池以及AT24C02芯片,这样可以对设置的报警值、闹钟、时间等信息实现掉电存储。关键词:单片机:温湿度:万年历:闹钟1ABSTRACTWith the intensification of the complexity of people's production and life,there are moreand more scenarios to detect the temperature and humidity parameters of the environment,andthe impact of temperature and humidity as a common indicator on people's lives is alsoincreasing.As two important parameter indicators,it is of great significance in thepharmaceutical and chemical industries.The measurement of temperature and humidity is ofgreat significance to people's production and life.This design can realize real-time detection of the temperature and humidity parametervalues in the current environment,and display the values through LCD12864,and sound andlight alarms will be issued when the set threshold is exceeded.It can also realize the displayfunction of time and calendar,display hours,minutes and seconds,and has an alarm clockfunction.By pressing the button,you can also adjust the upper and lower limits of temperatureand humidity;adjust the date and time;adjust the time of the alarm clock and the switch of thealarm clock.Using DS1302 clock chip,button battery and AT24C02 chip,it can realizepower-down storage for the set alarm value,alarm clock,time and other information.Key words:Single-chip computer:temperature and humidity;calendar calendar;alarm clock目录第1章引言.....11.1设计背景和意义…1.2设计目标.21.2本文创新点.2第2章系统总体设计方案32.1系统总框图32.2设计方案选择32.2.1单片机的选择32.2.2传感器的选择2.2.3显示器的选择..52.2.4时钟芯片的选择..62.2.5最终决定方案….6第3章软硬件系统设计.3.1硬件电路设计..73.2软件部分设计.….8第4章系统调试....4.1硬件测试..104.2软件测试....104.3测试结果分析与结论104.3.1测试结果分析..104.3.2测试结论...11第5章结论或结语0…….12参考文献..…13IV
暂无评论内容