文档介绍:基于单片机的饮水机温度控制系统
摘要
随着计算机在社会领域的渗透, 单片机的应用正在不断地深入,同时带动传统控制检测日新月益更新。在实时检测和自动控制的单片机应用系统中,单片机往往是作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构,以及具体应用对象特点的软件结合,以作完善。
本论文从硬件和软件两方面来讲述单片机的温度控制系统,主要以AT89C51单片机为核心,温度信号AD590温度传感器采集,并以数字信号的方式传送给单片机,并通过两位数码管LED显示器显示实时温度的一种数字温度。在软件方面,采用汇编语言来进行程序设计,汇编语言指令的执行速度快,节省存储空间。为了便于为了便于扩展和更改,软件的设计采用模块化结构,使程序设计的逻辑关系更加简洁明了,使硬件在软件的控制下协调运作。
系统的过程:首先,通过设置按键,设定恒温运行时的温度值,并且用数码管显示这个温度值,然后,温度传感器 AD590从周围环境的不同位置采集温度,再通过模数转换器,最后,通过单片机 AT89C51 获取采集的温度值,进一步控制报警装置和控制装置。
关键词: 温度传感器模数转换器单片机控制装置报警系统
Abstract
Along with puter in the social sector ration and MCU application is continuously thorough, and push the traditional control test on the new beneficial update. In real time detection and automatic control of the puter application system, the MCU is often as a ponent to use, only MCU aspects knowledge is not enough, should according to the specific hardware structure, and the specific application of the characteristics of the object bination to be perfect.
From two aspects of hardware and software to tell of the single chip puter temperature control system, mainly AT89C51 as the core, temperature signal chipAD590 collection by the temperature, and the way to digital signal transfer to the single chip puter, and through the four LED display shows real-time digital tube temperature of a digital temperature. In software, the assembly language for program design, assembly language instruction execution speed, save storage space. In order to facilitate the expansion and change, the software design using modular structure, make the program design logical relationship more concise and clear, make the hardware in the software under the control of the harmonious operation.
The system process: first, by setting up button, set the temperature constant temperature operation, and with a digital pipe display the temperature, and then, from the surrounding environment temperature sensor AD590 different positions of the collection temperature, again through the adc, f