文档详情

单片机多点测温.doc

发布:2018-06-18约2.9万字共63页下载文档
文本预览下载声明
基于单片机多点测温设计 工 学 部 专 业 班 级 学 号 姓 名 指导教师 负责教师 2010年6月 摘 要 AT89S52单片机和DS18B20数字温度传感器为核心器件,主要由四路温度采集、单片机数据处理、键盘输入、LCD温度显示、阈值设定以及声光报警等六部分组成。软件设计采用模块化编程方法,使得程序易于调试和维护,并利用C语言实现数据处理、LCD显示、键盘扫描阈值设定报警子程序关键词Abstract With the rapid development of microcomputer technology, SCM has been used widely in various fields. Food is a necessity for human existence, the temperature is a prerequisite for keeping food fresh. It is very important to store large amounts of grain to the stable development of national economy. Granary is generally huge with a lot of measuring points. The method for measuring barn’ temperature and the corresponding intelligent control has been an key problem in food preservation. In order to solve the temperature problem of the modern barn which is difficult to be accurately measured, ensuring that the food will be well stored in the appropriate temperature and prevent it not to be overheated by grain mold. The author has designed temperature measurement system for granary which based on single chip multi-point. This paper presents the design process of the systems hardware and software on the base of the designing backgroud of multi-point temperature measurement system and working principle of single chip. Among them, the hardware design is composed of six parts including four-temperature, single chip data processing, keyboard input, LCD temperature display, the valve set and soundlight alarm, etc. which uses AT89S52 SCM and DS18B20 digital temperature sensor device as the core set. The author uses modular programming method in software design, making programs easier to be debugged and maintained and use the C Programming Language to write each functional subprogram of data processing, LCD display, keyboard scanning, valve set and alarming system. Various functions of the system have been simulated by PROTEL DXP software. In the case that the software is debugged in stable, the hardware circuit is welded which truly realized each function o
显示全部
相似文档