项目编号:mcuclub-yq-002
仿真连接:点击跳转
51实物链接:点击跳转
32实物链接:点击跳转
51设计说明书链接:点击跳转
总字数:13000+
摘 要
本文描述了基于STC89C52单片机和温度传感器等器件设计的数字温度计及电压表的设计原理和实现方法。通过DS18B20测量温度,通过ADC0832配合电压检测电路检测当前电压。硬件包括:电源电路、显示电路、温度采集电路,电压检测点路,按键电路、LED灯电路等。系统最大特点在于其软件设计使用层次化、模块化设计方法。经调试和测试,系统各项性能指标参数完全达到设计指标。系统采用C语言进行编程,易于维护和修改。方案介绍了数字温度计系统的整体功能;其次介绍了各个模块的硬件模块电路设计,说明了相应元器件的选择和应用,阐述了各部分控制原理和软件调试。
关键词:STC89C52单片机;DS18B20温度传感器;LED灯;数字温度计
Abstract
This paper describes the design principle and implementation method of digital thermometer and voltmeter based on STC89C52 microcontroller and temperature sensor. The temperature is measured through DS18B20, and the current voltage is detected through ADC0832 cooperating with the voltage detection circuit. Hardware includes: power circuit, display circuit, temperature acquisition circuit, voltage detection point circuit, key circuit, LED lamp circuit, etc. The biggest feature of the system is that its software design uses hierarchical and modular design methods. After debugging and testing, all performance parameters of the system fully meet the design indicators. The system is programmed with C language, which is easy to maintain and modify. The whole function of the digital thermometer system is introduced; Secondly, it introduces the hardware module circuit design of each module, explains the selection and application of corresponding components, and expounds the control principle and software debugging of each part.
Key words: STC89C52 single chip microcomputer; DS18B20 temperature sensor; LED lamp; Digital thermometer.
目 录
1 绪论
2 系统总体方案
3 硬件电路设计
4 系统程序设计
5 仿真测试
6 实物测试
总结
致 谢
参考文献
附 录
……………..本设计说明书是配套实物和仿真的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..