- 1
- 0
- 约1.7万字
- 约 35页
- 2017-06-15 发布于辽宁
- 举报
-基于单片机温度控制系统本科论文
提供全套毕业论文图纸,欢迎咨询
摘要
随着中国社会经济的发展,人们生活水平的提高,人们对生活环境的舒适度也越来越重视,比如室内的温度情况。所以基于以单片机为核心的温度采集和控制的系统出现满足了人们的这一要求,本论文以STC89C52RC单片机为主控器件,以数字温度传感器DS18B20进行当前温度值的采集,并将当前温度值通过LCD12864来显示出来;当温度高于或低于期望值时,通过L298N来控制电机对温度进行实时调控,使温度达到期望值。本系统的硬件设计包括单片机最小系统,温度检测电路,LCD显示电路,按键控制电路和电机控制电路。软件设计包括主程序,温度检测子程序,按键检测子程序,LCD液晶显示子程序,电机控制子程序等。
关键词:单片机;DS18B20;LCDMicrocontroller at Room Temperature
Abstract
With the development of Chinas social economy, people living standard rise, people also pay more and more attention to the living environment of the comfort, such as indoor and outdoor temperature conditions. So based on single chip microcomputer as the core temperature gathering and control system to meet the people of the requirements, this thesis with STC89C52RC MCU as the master device, with digital temperature sensor DS18B20 the temperature value of the collection, and the current temperature value displayed by LCD12864; When the temperature higher or lower than expected, to control the motor by L298N to real-time control of temperature, the temperature reached expectations. The hardware design of this system include the single chip microcomputer minimum system, temperature detection circuit, LCD display circuit, key control circuit and the motor control circuit. Software design includes the main program, temperature detection subroutine, button detection subroutine, LCD liquid crystal display subroutine, motor control subroutine.
Key Words:microcontrollerDS18B20;LCD liquid crystal display; motor control
目录
摘要 II
Abstract III
引言 1
1 概述 2
1.1 设计背景和意义 2
1.2 设计思想 2
1.3 系统的总体设计 2
1.3.1 方案比较 2
1.3.2 系统框图 3
1.4 设计重点与难点 3
2 硬件电路设计 4
2.1 STC89C52RC单片机简介 4
2.2 STC89C52RC单片机管脚图 4
2.3 单片机最小系统电路图 5
2.4 LCD12864液晶简介 5
2.4.1 LCD12864的接口原理图 6
2.5 按键工作原理 6
2.5.1 按键原理图 6
2.6 L298N简介 7
2.6.1 L298N原理图 7
2.7 DS18B20温度传感器简介 8
2.7.1 DS18B20原理图 8
2.8 直流电机工作原理简介 8
2.9 系统总电路原理图 9
3 软件设计 10
3.1 软件整体设计 10
3.2 主程序流程图 10
3.3 温度采集子程序 11
3.4 液晶显示子程序 12
3.5 电机控制处理程序 13
3.6 按键处理程序 14
3.6.1 按键软件消抖 14
3.6.2 按键检测流程图 15
4
您可能关注的文档
- 基于单片机的出租车计价器设计本科本科论文.doc
- 基于单片机的高校节能灯光控制系统本科论文.doc
- 基于单片机的光控自动窗帘控制系统设计说明书本科论文.doc
- 基于单片机的锅炉防爆控制系统本科论文.doc
- 基于单片机的结晶器液压振动波形发生器的设计下位机部分(本科论文.doc
- 基于单片机的火灾报警器设计本科论文.doc
- 基于单片机的流量信号检测系统设计本科论文.doc
- 基于单片机的热释电防盗报警系统本科论文.doc
- 基于单片机的室内多功能检测系统系统设计本科论文.doc
- 基于单片机的数字时钟的设计说明书本科论文.doc
- 2014年济宁市专业技术人员公需科目培训网上考试试题及答案绩效.docx
- 2025年甘肃省定西地区漳县四上数学期末复习检测模拟试题含解析.doc
- 2014年二级建造师考试机电工程押题试卷二 内部资料 严防外泄.docx
- 2018年中级注册安全工程师安全生产专业实务化工安全生产技术模块练习.docx
- 2014年教师资格考试小学教育教学知识与能力仿真题库附答案解析A.docx
- 交友婚恋商业计划书.docx
- 医美公司智慧电商运营方案.docx
- 2024-2025学年浙江省杭州公益中学九上数学期末检测模拟试题含解析.doc
- 2025在校学生青年创业规划书及策划[圆梦园].docx
- 再生能源计划实施方案.docx
原创力文档

文档评论(0)