设计说明书
总字数:16000+
暖手宝可以有效解决冬季暖手、寒冷地方取暖等问题。但是,暖手宝的充电口紧邻放气口,容易造成漏电事故,或者是暖手宝爆炸的事故进而使人触电危及生命,甚至发生由于短路而引起火灾。由此,设计一款智能暖手宝监测系统迫在眉睫。本设计采用STC89C52单片机作为主控芯片,采用DS18B20测量暖手宝温度,采用DS1302获取时间,包括时分秒,采用电位器配合ADC0832模拟采集暖手宝电量,采用USB口对外供电,采用按键进行阈值设置、时间修正、手动控制加热等,采用LCD1602对相关数据进行显示。通过实物测试,本系统运行良好,可以实现对暖手宝的监测功能,由于该系统采用低电压的单片机进行控制,所以可以防触电,安全序数极高。
关键词:暖手宝;STC89C52单片机;温度数据采集;数据显示;
Abstract
Hand warmer can effectively solve the problem of warm hands in winter and warm cold places. However, the charging port of the hand warmer is close to the air discharge port, which is easy to cause leakage accidents, or the accident of the hand warmer explosion, which causes electric shock and endangers life, and even causes a fire due to short circuit. Therefore, the design of an intelligent hand warmer monitoring system is imminent.In this design, STC89C52 single chip microcomputer is used as the main control chip, DS18B20 is used to measure the temperature of the hand warmer, DS1302 is used to obtain the time, including the minute and second, potentiometer and ADC0832 are used to simulate the collection of the power of the hand warmer, USB port is used for external power supply, and buttons are used to set the threshold, correct the time, and manually control the heating. LCD1602 was used to display the relevant data.Through the physical test, the system runs well, can realize the monitoring function of the hand warmer treasure, because the system uses a low voltage MCU control, so it can prevent electric shock, safety number is very high.
Keywords: hand warmer; STC89C52 MCU; Temperature data acquisition; The data shows
目录
第1章 绪论
1.1 选题背景及实际意义
1.2 国内外发展历程
1.3 本论文研究目标
第2章 系统设计方案
2.1 主要元器件选择
2.2 整体设计方案
第3章 硬件设计
3.1单片机最小系统
3.2 环境温度采集模块
3.3 时钟模块电路
3.4 电量监测模块电路
3.5 继电器模块控制电路设计
3.6 LED灯模块电路
3.7 按键电路模块
3.8 显示模块设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 A/D模数转换子流程
4.5 时钟模块子流程
4.6 LCD1602液晶显示子流程
5 系统仿真测试
5.1 仿真总体设计
5.2上电运行仿真测试
5.3 温度模块仿真测试
5.4 电量监测仿真测试
5.5 时间获取仿真测试
结 论
参考文献
致 谢
附录1:原理图
附录2:PCB
附录3:主程序
购买后可查看具体内容!