摘要温度和湿度都是非常常见的物理量,它涉及了我们日常生活与工作中的方方面面,因此对温、湿度的一些基本数据的监测和控制已成为生产过程中非常重要的技术要求。本课题提出一种采用PIC单片来设计实现温度和湿度的测量和控制系统。本系统以PIC16F877A单片机为核心,设计了一个温湿度测量报警控制系统。系统的硬件部分可以分为主控电路(单片机最小系统)、数据采集、显示界面和反馈控制四大部分。最小系统部分主要包括PIC16F877A单片机。数据采集部分由温湿度传感器STH75组成;显示界面为虚拟终端,可以直观的显示采集到的温度和湿度数据。反馈控制为三个按钮和一个直流电机组成,由不同按钮分别控制直流电机的正传,反转和停止。软件部分应用单片机C语言进行编程,实现了该设计的全部控制功能。当检测的温湿度高于最高设定值时,蜂鸣器报警,电机正传代表降温,当检测的温湿度低于最低设定值时,蜂鸣器报警,电机反传代表升温。60825
毕业论文关键词 PIC16F877A单片机 温湿度传感器STH75 虚拟终端 直流电机
毕业设计说明书(论文)外文摘要
Title Design of Intelligent monitoring system Based on Peripheral Interface Controller
Abstract
Temperature and humidity are very common physical nowadays. It involves in all aspects of our daily life. Temperature and humidity for monitoring and control of the production has become very important technical requirements. The project proposes a design using PIC microcontrollers to achieve the temperature and humidity measurement and control systems. This system use PIC16F877A as the microcontroller core for temperature and humidity measurement. Hardware of the system is pided into control circuit, data acquisition, display interface and feedback control. Minimum System section includes PIC16F877A microcontroller. Data acquisition is the temperature and humidity sensors STH75. Virtual terminal is for the display interface. Feedback control has three buttons and a DC motor. Software part of the application microcontroller use C programming language, to achieve full control of the design features. When the detected temperature and humidity is higher than the highest setting, the buzzer alarm, motor Story behalf cooling, when the detected temperature and humidity is below the minimum set value, the buzzer alarm, motor back pass behalf warming.
Keywords PIC16F877A microcontroller virtual terminal DC motor temperature and humidity sensor STH75
目 录
1 绪论 1
1.1 引言 1
1.2 选题的背景 1
1.3 本文的工作 1
2 系统总体方案设计 2
2.1功能要求 2
2.2 设计思路 2
2.3 元器件选择 2
2.4 系统总体设计框图 3
3硬件设计 4
3.1单片机系统设计 4
3.2 温湿度数据采集 8
3.3 H桥直流电机驱动电路 13
3.4 光声报警系统 15
3.5 虚拟终端 15
4.软件设计 15
4.1初始化模块