- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第四届电子设计大赛(论 文)
基于单片机的电子声音报温温度计设计
学 院:
系 别: 专业名称: 学生姓名: 学 号: 指 导 教 师 姓 名:
完成日期 年 月 日
摘要
环境温度的获取对工业、农业、商业都有很大的影响。传统的测温仪测量费时,准确度也较低,而数字温度计相比于传统温度计,具有读数速度快,测温范围广等优势,其输出温度采用数字显示,便于用户使用。
随着单片机技术的不断发展,单片机在日用电子产品中的应用越来越广泛,本设计数字温度计基于89C51单片机平台,使用数字测温传感器DS18B20,用数码管实现温度显示,利用DS18B20和一片89C51单片机即可构成一个简洁但功能强大的低电压温度测量系统,温度显示稳定,设定了定时语音自动播报温度,手动实时播报温度功能,温度达到预设上限启动继电器,以便驱动外接设备。
关键词:DS18B20;数码管显示;语音播报
Abstract
The environment temperature acquisition has great effect on the industrial, agricultural, commercial. Thermometer to measure the traditional time-consuming, the accuracy is low, and compared with the traditional thermometer digital thermometer readings, with fast speed, wide temperature range and other advantages, digital output temperature display, user-friendly.
With the continuous development of SCM technology, SCM applications in the field of electronic products is more and more widely, the design of digital thermometer based on 89C51 microcontroller platform, the use of digital temperature sensor DS18B20, with digital temperature display, is a simple but powerful low voltage temperature measurement system using DS18B20 and a 89C51 single chip computer. Stability, temperature display, set to automatically report temperature timing voice, manual real-time broadcast functions of temperature, the temperature reaches the preset limit starting relay, to drive an external equipment.
Keywords: DS18B20; digital tube display; voice broadcast
目录
摘要 II
Abstract III
1 引言 1
2 设计要求 1
3 实施方案 1
3.2 温度传感器模块 2
3.3 显示模块 2
3.4 键盘控制模块 2
3.5 语音播报模块 2
4 设计原理 3
4.1单片机模块 3
4.1.1单片机介绍 3
4.1.2 单片机外围电路设计 5
4.1.3 AT89S52复位电路 6
4.1.4 AT89S52时钟电路 6
4.2 电源模块 7
4.3温度传感器模块 8
4.3.1 DS18B20的测温原理 8
4.3.2 DS18B20与AT89S52的接口电路设计 9
4.4数码管显示模块 10
4.5语音播报模块 11
4.5.1 ISD1420语音芯片录放音电路设计 11
4.5.2 ISD1420与AT89S52接口电路设计 13
5 软件部分 14
5.1 开发工具介绍 15
5.2系统的主程序设计 15
5.2.1测量温度子程序设计 15
5.2.3显示程序设计 17
5.2.4语音播放子程序 17
6 仿真结果数据分析 18
6.1功能仿真和结果 18
7 结束语 18
参考文献 19
附录一:电路图 20
附
文档评论(0)