文档详情

基于C单片机温度计设计详解.doc

发布:2016-05-23约2.09万字共45页下载文档
文本预览下载声明
海 南 大 学 单片机课程设计 题 目:基于AT89S52数字温度计的设计 学 号: 20112834320071 姓 名: 庄苗燕 年 级: 2011级 学 院: 应用科技学院(儋州校区) 学 部: 工学部 专 业: 电子科学与技术一班 指导教师: 张健 完成日期: 2013 年 12 月 28日 摘要 随着时代的进步和发展,人们越来越重视对各种仪器设备的温度进行监测和控制。采用单片机来对它们进行监测和控制不仅具有控制方便,简单和灵活性大等优点,还可以使我们自己更加熟悉单片机的原理及使用。 本文详细介绍了一种基于AT89S52单片机的数字温度计,其以单片机为主设备,DS18B20为从设备,通过LED液晶屏显示温度。本文对DS18B20的内部结构,温度的采集﹑转换﹑处理等过程,AT89S52的原理,软件编程等等作了详细的说明。通过测试证明了该温度计功能强大、结构简单,抗干扰能力强,能满足社会的要求,具有可观的前景。 关键词:数字温度计;AT89S52;DS18B20 Abstract With the progress and development of the times, there is growing emphasis on the temperature of the various instruments and equipment for monitoring and control. Using chip computer monitor and control them is not only easy to control, simplicity and flexibility of the big advantages, can also make ourselves more familiar with the principles and the use of the MCU. This paper describes an approach based on AT89S52 single-chip digital thermometer microcontroller-based device, DS18B20 from the device through the LED LCD screen display temperature. Gave a detailed description of the internal structure of this article DS18B20 temperature acquisition processing conversion process, AT89S52 principle, software programming, and so on. The test proved that the thermometer is powerful, simple structure, strong anti-interference ability, to meet the requirements of society, has considerable prospects. Key words:Digital thermometer; AT89S52; DS18B20 目录 1 绪论 1 1.1国内外背景 1 1.2课程设计的意义 2 1.3设计任务和要求 2 2 系统方案 3 2.1 方案一 3 2.2 方案二 4 3 系统器件选择 6 3.1 单片机AT89S52的介绍 6 3.1.1 AT89S52主要特性 6 3.1.2 AT89S52引脚介绍 7 3.2 DS18B20的介绍 8 3.2.1 DS18B20的主要特性 9 3.2.2 DS18B20内部结构 9 3.2.3 DS18B20测温原理 13 3.2.4 DS18B20使用中的注意事项 16 3.3 74LS245芯片的介绍 17 3.3.1 74LS245的功能及特性 17 3.3.2 74LS245的结构 18 3.4 74LS07芯片的介绍 18 3. 4. 1 74LS07的功能及特性 18 3.4.2 74LS07的结构 19 3.5 LED 数码管介绍 20 3.5.1 LED 数码管原理图 20 3.5.2 数码管介绍
显示全部
相似文档