株洲师范高等专科学校物理与电子工程系毕业论文
基于单片机的温度控制
姓名:李恒立指导老师:肖利君专业:应用电子技术班级:学号:
07级应电班04207107
时间:201055至2010528
ff摘要
本文主要通过温度传感DS18B20采集温度信号,首先是对DS18B20的深入了解并根据DS18B20的内部结构来设计硬件电路和软件电路的,因思考到温度TH和TL,所以本次设计采用了4个按键来控制,通过按键之间的协调来温度设定值,由于温度的不同,我们采用不同的信息来作为信号处理,所以硬件电路中用蜂鸣器来报警提醒。本系统包括温度传感器,数据传输模块,温度显示模块和温度调节驱动电路其中温度传感器为数字温度传感器DS18B20,包括了单总线数据输出电路部分。文中对每个部分功能、实现过程作了详细介绍。关键词:单片机STC89C52RC温度传感DS18B20按键设定控制
I
fAbstract
ThispaperDS18B20do
emai
lythroughse
sorstomeasuretemperaturea
dthroughtittosetthetemperatureDS18B20isthefristi
_depthu
dersta
di
gofa
di
accorda
cewiththei
ter
alstrucrureofDS18B20todesig
hardwarea
dsoftwarebytaki
gi
toaccou
tthetemperaturesetti
gsTHa
dTLsothisdesig
usesfourbutto
stoco
trolthroughthecoordi
ati
grolebetwee
i
formatio
todiffere
tassig
alprocessi
ghardwareCircuitusedasawar
i
gtorei
dthebuzzerThissystemi
cludetemperaturese
sora
ddatatra
smissio
themoduledisplaysmodulea
dthermoregulatio
drive
circuitfromthese
sorsi
tofiguresofthetemperaturese
sorsds18b20i
cludi
galistofthedataoutputcircuitthetextofeverypartofthefu
ctio
sa
dprocedureatprese
tKeyword:TDPstc89c52rctheco
trollerDS18B20schematicsa
dprocedures
II
f目录
摘要IAbstractII目录III第一章绪论1第二章各元器件介绍3218051系列芯片中STC8952RC简介32274HC245N介绍42374HC573介绍r