文档详情

《基于AT89S52单片机的数字温度计》-毕业论文(设计).doc

发布:2018-11-30约3.4万字共65页下载文档
文本预览下载声明
PAGE 摘 要 日常生活中,实时地掌握温度和时间信息对于人们来说必不可少。本设计是基于单片机的多功能温度计,实现时间显示和温度显示两种功能。 整个硬件系统采用AT89S52单片机作为主芯片,协调整机工作并进行数据处理。温度测量模块以DS18B20数字温度传感器作为核心,单线接口即可实现与处理器的双向通讯;时钟模块则采用实时时钟电路DS1302,提供秒、分、时、日期的信息;1602字符液晶提供的32个字符的显示容量足以显示时间和温度;电源方面,直接使用USB接口供电;由四个按键组成的键盘电路用以设置日期时间。 本设计采用Proteus作为仿真软件,根据硬件设计思想,将系统所需要的元件在ISIS中连接好后,在AT89S52单片机中加载编译好的hex文件,即可进行仿真。仿真运行正常后,进入实物制作阶段,最终实物实现了设想功能。 关键字:AT89S52; DS18B20; DS1302; 1602字符液晶; Proteus Abstract Its necessary to get the information about the real-time and temperature in our daily life。This design is expect to display the real-time and temperature by a multifunctional thermometer which is based on one type of singlechip . The hardware system uses AT89S52 Micro-chip Controller Unit as a core to coordinate the whole systems work and process the datas.In the temperature measure module ,temperature sensor DS18B20 is a good choice since it can achieve a two-way communication with the singlechip by only one interface.The real-time module is based on the real-timer DS1302 which can provide the the information about the present year,date and time.As a monitor,Character Mode LCD(Liquid Crystal Display)1602 has a big enough display capacity of 32 characters to show the real-time and temperature information.A USB(Universe Serial Bus) interface was used to take charge of power supply. This design uses Proteus as the simulation software, Connect the required components according to the hardware system design in the ISIS , and load the compiled hex files to the AT89S52 microcontroller.Then can run into the physical production stage, the ultimate achievement can realise expected function. Keywords: AT89S52; DS18B20; DS1302; Character Mode LCD 1602; Proteus 目 录 TOC \o 1-3 \u 摘 要 PAGEREF _Toc264448449 \h I Abstract PAGEREF _Toc264448450 \h II 1前 言 PAGEREF _Toc264448451 \h 1 1.1 选题背景 PAGEREF _Toc264448452 \h 1 1.2 选题意义 PAGEREF _Toc264448453 \h 2 2 多功能温度计的硬件设计 PAGEREF _Toc264448454 \h 3 2.1 系统分析 PAGEREF _Toc264448455 \h 3 2.1.1 处理器分析 PAGER
显示全部
相似文档