提供全套毕业论文图纸,欢迎咨询
摘要
随着中国社会经济的发展,人们生活水平的提高,人们对生活环境的舒适度也越来越重视,比如室内的温度情况。所以基于以单片机为核心的温度采集和控制的系统出现满足了人们的这一要求,本论文以STC89C52RC单片机为主控器件,以数字温度传感器DS18B20进行当前温度值的采集,并将当前温度值通过LCD12864来显示出来;当温度高于或低于期望值时,通过L298N来控制电机对温度进行实时调控,使温度达到期望值。本系统的硬件设计包括单片机最小系统,温度检测电路,LCD显示电路,按键控制电路和电机控制电路。软件设计包括主程序,温度检测子程序,按键检测子程序,LCD液晶显示子程序,电机控制子程序等。关键词:单片机;DS18B20;LCD液晶显示;电机控制
fTheDesig
ofCo
trolSystemBaseo
Microco
trolleratRoomTemperatureAbstract
Withthedevelopme
tofChi
associaleco
omypeoplelivi
gsta
dardrisepeoplealsopaymorea
dmoreatte
tio
tothelivi
ge
viro
me
tofthecomfortsuchasi
doora
doutdoortemperatureco
ditio
sSobasedo
si
glechipmicrocomputerasthecoretemperaturegatheri
ga
dco
trolsystemtomeetthepeopleoftherequireme
tsthisthesiswithSTC89C52RCMCUasthemasterdevicewithdigitaltemperaturese
sorDS18B20thetemperaturevalueofthecollectio
a
dthecurre
ttemperaturevaluedisplayedbyLCD12864Whe
thetemperaturehigherorlowertha
expectedtoco
trolthemotorbyL298Ntorealtimeco
troloftemperaturethetemperaturereachedexpectatio
sThehardwaredesig
ofthissystemi
cludethesi
glechipmicrocomputermi
imumsystemtemperaturedetectio
circuitLCDdisplaycircuitkeyco
trolcircuita
dthemotorco
trolcircuitSoftwaredesig
i
cludesthemai
programtemperaturedetectio
subrouti
ebutto
detectio
subrouti
eLCDliquidcrystaldisplaysubrouti
emotorco
trolsubrouti
eKeyWords:microco
troller;DS18B20;LCDliquidcrystaldisplay;motorco
trol
II
f目录
摘要IAbstractII引言11概述211设计背景和意义212设计思想213系统的总体设计2131方案比较2132系统框图314设计重点与难点32硬件电路设计421STC89C52RC单r