本科生毕业论文(设计)
题目:
基于温度传感器的单片机温控电路设计
系部电子信息工程学院学科门类工学专业电子信息工程学号1008211048姓名徐晓龙指导教师万丽娟
2012年5月18日
f合肥师范学院2012届本科生毕业论文(设计)
基于温度传感器的单片机温控电路设计摘要
随着微处理器和大规模集成电路的发展及其在测试控制技术方面的广泛应用,仪器设备的智能化已成为自动化技术发展方向,数据采集与温度检测的自动化将取代传统的方法。本设计采用STC89C52型号的单片机,数字温度传感器采用美国DALASS公司的1Wire器件DS18B20,即单总线器件DS18B20,与单片机组成一个测温系统,当系统上电时,温度传感器就会读出当前环境的温度,并在LED数码显示管上显示出当前的温度,该测温系统的测温范围为40℃~110℃,按此要求设计硬件和软件以实现这一功能。关键词:单片机温度传感器DS18B20测量电子线路温度
I
f合肥师范学院2012届本科生毕业论文(设计)
ABSTRACT
Alo
gwiththemicroprocessora
dlargescalei
tegratedcircuita
di
thetestco
troltech
ologyiswidelyuseda
dthei
tellige
ti
strume
ta
dequipme
thasbecomeautomatio
tech
ologydevelopme
tdirectio
dataacquisitio
a
dtemperatureautomatictesti
gwouldreplacethetraditio
almethodThisdesig
usestheSTC89C52typeofsi
glechipmicrocomputerdigitaltemperaturese
sorusi
gtheAmerica
DALASScompa
y1WiredeviceDS18B20
amelysi
glebusdeviceDS18B20a
dco
sistsofasi
glechipmicrocomputertemperaturemeasureme
tsystemwhe
thesystemispoweredo
temperaturese
sorswillreadthecurre
te
viro
me
ttemperaturea
di
displaytubeLEDdigitalshowedo
thecurre
ttemperaturethetemperaturemeasureme
tsystemofmeasuri
gtemperaturera
gefor40℃110℃accordi
gtothisdesig
requireme
tforhardwarea
dsoftwaretoachievethisfu
ctio
Keywordssi
glechipmicrocomputertemperaturese
sorDS18B20temperaturemeasureme
tcircuit
II
f合肥师范学院2012届本科生毕业论文(设计)
目
录
一
绪论1
11课题研究背景及意义112国内外研究现状113研究内容2
二
系统硬件设计3
21总体设计方案3211设计思路3212设计方框图322单片机介绍3221STC单片机结构介绍4222STC单片机r