摘要时代在进步,社会在发展,越来越多的企业,科研领域对单片机都有需求,单片机也因此被注入生活的各个方面,并且单片机的技术手段已经日渐成熟和完善。本次设计主要是介绍利用51单片机作为主体而设计的温度报警器系统,并且会介绍这个系统详细的运作方式,如何焊接排线,最后编程,写入程序知道最后仿真,达到预设的效果—即能够在接通电源的情况下,单片机的蜂鸣器会发出 “滴”的声音,然后温度传感器可以测出实时的温度,在显示模块中显示出来,在这个过程中,我们可以设置需要报警的阈值,最高温度和最低温度,当温度到达临界点的时候,系统就会做出报警的动作,从而让人发现。这一技术可以利用在生活和农业科研等各个领域中,所以无疑对社会科学的发展起到了巨大的作用。下面我会分模块详细介绍我的设计内容。79924
In the era of progress, with the development of society, more and more enterprises, scientific research fields have a demand for SCM, SCM has therefore been injected into all aspects of life, technology and SCM has become mature and perfect。 This design is mainly introduced the temperature alarm system uses 51 microcontroller as the main design, and introduces the mode of operation with this system, how the welding cable, finally know the final written procedures programming, simulation, the effect of which can reach the power supply is switched on under the condition that the microcontroller buzzer will be issued a "drop" sound, then the temperature sensor can measure the real-time temperature, the display module, in this process, we can set alarm threshold, maximum temperature and minimum temperature, when the temperature reaches a critical point, the system will make the alarm action, so as to let people find。 This technology can be used in the fields of life, agriculture and scientific research, so it has undoubtedly played an important role in the development of social science。 Below I will be pided into modules, detailing my design content。
毕业论文关键词:单片机;温度控制;STC89C52;DS18B20;
目录
摘要 3
1 引言 4
2 设计内容及性能指标 5
3 系统方案比较、设计与论证 6
3。1 主控制器模块 6
3。2 温度测量 8
3。3 设置温度 9
3。4 显示模块 10
3。5 电源选取 10
4 系统器件选择 10
5 硬件实现及单元电路设计 12
5。1 主控制模块 12
5。2 显示模块电路 13
5。3 数码管显示驱动电路 13
5。4 温度传感器(DS18B20)电路 14
5。4。1 DS18B20基本介绍 14
5。4。2 DS18B20控制方法 15
5。4。3 DS18B20供电方式 16
5。5 蜂鸣器、发光二极管报警电路 16
6 系统软件设计 17
6。1 程序结构分析 17
6。2 系统程序流图