1、单片机原理及系统课程设计报告 单片机原理及系统单片机原理及系统课程设计课程设计 专专 业:业: 班班 级:级: 姓姓 名:名: 学学 号:号: 指导教师:指导教师: 评语: 考勤(10) 守纪(10) 过程(40) 设计报告(30) 答辩(10) 总成绩(100) 单片机原理及系统课程设计报告 摘 要 单片机是把中央量的 C 语言程序,然后连接硬件电路,通过与 DS18B20 温度 传感器连接,将温度信号输出到 LED 数码管,可显示具体温度。仿真实验中数码 管正确显示出传感器的温处理器(CPU) 、随机存取存储器(RAM) 、只读存储器 (ROM) 、输入/输出接口、定时器/计数器、中断系统
2、等主要功能部件集成在一块 半导体芯片上的数字电子计算机,主要用于控制,又称为微控制器或嵌入式控制 器。本设计应用单片机进行温度测量,首先编写用于温度测度值,符合程序语言 的设定。结果表明单片机通过与温度传感器后可用于温度的测量及显示,能促进 仪表箱数字化、智能化、综合化等方面发展,应用领域相当广泛。 关键词:单片机;温度测量;传感器;数码管;仿真关键词:单片机;温度测量;传感器;数码管;仿真 单片机原理及系统课程设计报告 Abstract Single Chip Microcomputer is a Electronic Digital Computer which contains chie
3、f functional unit such as CPU、 RAM、 ROM、 I/O interface、 Timer/Counter and interrupt system in a semiconductor chip. It mainly used in controlling system , also called by Microcontroller Unit or Embedded Controller . In this design , we use it to make up a temperature controlling system . First of al
4、l , we need to write C programming language to realize its function . Next , we can connect its hardware circuit and load the code , that is , using a Single Chip Microcomputer to link a temperature sensor named by DS18B20 and a led display . In the simulation experiment , we get a result which goes
5、 perfectly true with its expectant result . The result make it clear that the Single Chip Microcomputer can be widely used in temperature measurement and controlling and It can promote meter box to develop in a digital 、intelligent 、 integrated way. Key words : Single Chip Microcomputer,Temperature
6、measurement,Sensor, Led display,Simulation experiment 单片机原理及系统课程设计报告 基于单片机的温度测量系基于单片机的温度测量系统统 1 引言引言 随着社会的发展,科技的进步以及人们生活水平的逐步提高,各种方便与生 活的自动控制系统开始进入了我们的生活,单片机作为微型计算机发展的一个重 要分支,具有高可靠性、高性能价格比、低电压、低功耗等优势,以其为核心的 自动控制系统赢得了广泛的应用。该课程设计的题目是基于单片机的温度测量系 统,目的重在对于单片机的实际应用,加深对单片机这一课程的理解,达到学以 致用。该系统以单片机为核心,实现对温度信息的输入和输出,通过在图书馆及 网上搜索相关信息并向老师进行咨询,我认为可以用一个温度传感器和 LED 数码 管实现对温度的测量。 选择元器件的时候,考虑到电路需要简单、连接方便、显示精度、便于调试, 在比较了同类型的元器件后,决定使用 DS18B20 温度传感器,其优点在于测温精 度高、需要外围设备少、连接方便、系统简单。因此,该系