1、 本本 科科 毕毕 业业 论论 文文 基于计算机串口控制的温度采集系统 (温度采集模块设计部分) The Temperature Collecting Systems Based on COM (The Part of Temperature Acquisition Module) 系(院)名称: 计算机科学与信息工程系 专业班级: 10 届计算机科学与技术(专升本) 学生姓名: 指导教师姓名: 指导教师职称: 讲师 2010 年 5 月 基于计算机串口控制的温度采集系统 (温度采集模块设计部分) 摘要:摘要:随着时代的进步和发展,人类不断的需求,科技不断的进步,温度采集在 现在的工业生产中起
2、着至关重要的作用,通过对现场温度的采集和监控,从而掌 握生产情况,以单片机为核心的温度采集系统,在生产生活中越来越发挥重要的 作用。 本文采用STC89C52RC单片机作为控制核心, 通过单总线温度采集芯片DS18B20 进行温度采集,并且可以把采集的温度传到 4 位共阴极 LED 数码管上显示和监控, 当采样温度为负时,第一个数字显示“-” ,否则不显示,第二和第三个数字显 示测量温度的整数部分,最后一个数字显示小数部分。 本文主要涉及到单总线技术,LED 数码管驱动技术,对温度的显示和单片机的 软件编程。数字温度计是单总线器件,具有线路简单,体积小的特点。因此用它 来组成一个测温系统,具有
3、线路简单,在一根通信线上可以放很多这样的数字温 度计等优点,十分方便。 关键词:关键词:温度采集 LED 数码管 DS18B20 STC89C52RC The Temperature Collecting Systems Based on COM (The Part of Temperature Acquisition Module) Abstract: With the progress and development of this period, the increasing demand of human being and the progress of science and te
4、chnological, the temperature collection have an important effect in the industrial conduct now. By collection and monitoring of temperature, so it can control the circumstances of the production. The single chip regard as core of temperature collection system, has taken more and more important function in the production and lives. In this paper, the system adopts STC89C52RC sing chip as the core of controlling. According to monobus tem