- 1、本文档共54页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
序号:
编码:
重庆理工大学
第十八届“开拓杯”学生课外学术科技作品竞赛
参赛作品
作品名称:基于单片机的万年历与温度检测报警系统
作品类别:B
类别:
A自然科学类学术论文
B 科技发明制作
C哲学社会科学类学术论文与社会调查报告
目录
摘要······················································· 1
设计要求与方案论证
1.1设计要求··········································· 2
1.2系统方案选择和论证································· 2
1.3电路最终方案确定··································· 4
二、电子万年历与温度采集报警硬件设计和实现
2.1系统设计··········································· 4
2.1.1系统设计框图································ 4
2.1.2系统硬件需求介绍····························· 4
2.2系统硬件各模块作用································· 5
2.2.1单片机核心控制模块··························· 5
2.2.2实时时钟电路模块····························· 6
2.2.3数字温度传感器模块··························· 13
2.2.4液晶显示电路模块····························· 17
2.2.5蜂鸣器电路模块(2个)··························22
2.2.6 USB和外部电源供电模块························ 23
2.3系统电路图设计·······································23
2.3.1系统电路原理框图和原理图······················23
三、软件设计与分析
3.1系统软件流程图·······································25
3.1.1DS12C87程序流程图······························25
3.1.2DS18B20程序流程图·······························26
3.1.3键盘扫描程序流程图······························27
3.1.4主程序流程图····································28
四、系统测试
4.1测试工具·············································29
4.2软件测试·············································29
4.3硬件测试·············································30
五、设计总结和心得
4.1设计总结与心得·······································31
参考文献·····················································32
附录一:程序清单·············································33
附录三:实物图片·············································48
基于单片机的万年历与温度检测报警系统
摘要
随着社会发展需求的改变,电子万年历是一个应用非常广泛的实用日常计时工具,带有显示世纪,年,月,日,星期,时,分,秒和按键可调时间及其按键设置闹钟的功能,同时具有月末自动更新,闰年补偿功能等多种功能。温度检测报警系统也是在日常生活和工业应用非常广泛的工具,能实时采集周围的温度信息进行显示,程序内部设定有报警上下限,根据应用环境不同可设定不同的报警上下限。
此系统是基于STC89C52单片机设计的,包含液晶显示模块,DS12C887实时时钟模块,DS18B20温度采集模块,键盘扫描模块,报警模块。STC89C52作为控制核心,具有功耗低,功能强等特点,电压可选3到5V电源供电。显示模块采用1602液晶动态显示,相对数码管而言经济实用,占用空间小,对于显示数字、字母最为合适,而且与单片机连线简单,占用IO口相对较少。实时时钟芯片DS12C887是一款与DS12
文档评论(0)