文档详情

毕业设计(论文)-基于单片机的数字温度采集系统_精品.doc

发布:2018-04-03约2.76万字共45页下载文档
文本预览下载声明
摘 要 虽小,五脏俱全,是单片机主要特点之一。其内部设有程序存储器、数据存储器、各种接口电路。而大型的处理器运算速度较高,运算器位数较多,处理能力较强,但需要在外部配置接口电路。单片机主频一般在100MHZ以下,适合用于独立工作的小型产品之中,引脚数量从几个到百余个。应用简单、灵活,可用汇编语言及C语言开发单片机产品。 DS18B20 数字温度传感 关键词:单片机,数字控制,温度计,温度传感器 ,DS18B20,STC89C52RC ABSTRACT Chip are small, all-sided, is one of the main characteristics of MCU. Its with internal program memory, data storage, all kinds of interface circuit. But large processor speed is higher, unit digit stronger ability and more processing, but external configuration interface circuit in need. MCU in commonly under 100MHZ investigations, suitable for independent work among the small number of products, pins from several to hundreds. Application is simple and flexible and can use assembler language and C language development microcontroller products. Along with the age and social progress and development since the 1990s, a single chip microcomputer has got fast development now spread into every aspect of our life, including work, research, each domain, and became a more mature technology. This paper introduces a kind of controller based on STC89C52RC. This thermometer belonging to digital thermometer multi-function thermometer, can install degrees Celsius and Fahrenheit changeover, DS - 18B20 digital temperature sensor its temperature display range ℃ -- median set on - 50.0 ℃, less than 0.5 accuracy ℃, with a button to change degrees Celsius and degrees Fahrenheit. Keywords: microcontroller, digital control, thermometers, temperature sensors, DS18B20,STC89C52RC single 目 录 第1章 引言 5 1.1 温度采集器的发展与应用 5 1.2 设计温度采集器的目的意义 5 1.3 温度采集器的功能实现要求 6 第2章 温度采集器方案选择 7 2.3 温度采集器的基本方案 7 2.2 方案选择与论证 7 2.2.1 方案一:基于热敏电阻的温度计设计 7 2.2.2 方案二:基于SHT71的数字温度计设计 7 2.3.1 方案三:基于DS18B20的数字温度计设计 8 2.3 各模块简介 9 2.3.1 主芯片简介 9 2.3.2温度传感器简介 12 2.3.3 LED数码管部分简介 14 第3章 温度采集器的硬件设计 16 3.1 电路设计 16 3.2单片机最小系统 17 3.3 显示电路 18 3.4 数据采集芯片与电路 19 3.4.1 DS18B20的接线说明 19 3.4.2数据采集电路 20 3.4.3 DS18B20重要的数据部件 20 第4章 温度采集器的软件设计 24 4.1 DS18B20温度传感器的运行时序 24 4.2 程序流程图 26 4.2.1 主程序 26 4.2.2 读出温度子程序 27
显示全部
相似文档