单片机原理与接口技术课程设计
题目:数字温度计课程设计报告
院专班姓学
系:工学院电气与电子工程系业:电气工程及其自动化级:名:号:
指导教师:
二一七年十二月
f数字温度计课程设计报告
摘要
在日常生活及工农业生产中经常要检测温度,传统的方式是采用热电偶或热电阻。其硬件电路和软件调试比较复杂,制作成本较高。近年来随着科技的飞速发展,单片机的应用正不断走向深入。所以我们选用单片机作为核心部件进行逻辑控制及信号的产生,用单片机本生的优势节约成本,使电路更简单。温度的检测与控制是工业生产过程中比较典型的应用之一,随着传感器在生产和生活中的更加广泛的应用,利用新型单总线式数字温度传感器实现对温度的测试与控制得到更快的开发。在这里介绍了一种基于STC89C51单片机的温度测量及控制系统的硬件结构以及C语言程序设计,该系统设计和布线简单,结构紧凑,体积小,重量轻,抗干扰能力强,性价比高,扩展方便,在大型仓库,工厂,智能化建筑等领域的多点温度检测中有广阔的应用前景。
关键词:DS18B20STC89C51温度测量
fTheDesig
ReportoftheDigitalThermometerCourse
ABSTRACT
Temperatureisofte
detectedi
dailylifea
di
dustriala
dagriculturalproductio
Thetraditio
alwayistousethermocouplesorthermalresistorsItshardwarecircuita
dsoftwaredebuggi
garemorecomplexa
dtheproductio
costishighI
rece
tyearswiththerapiddevelopme
tofscie
cea
dtech
ologytheapplicatio
ofMCUisgoi
gdeepThereforewechoosetheMCUasthecorecompo
e
tforlogicalco
trola
dsig
alproductio
usi
gtheadva
tagesofthesi
glechipmicrocomputertosavecosta
dmakethecircuitmoresimpleTemperaturedetectio
a
dco
troliso
eofthetypicalapplicatio
si
thei
dustrialproductio
processWiththewiderapplicatio
ofse
sorsi
productio
a
dlifethe
ewsi
glebusdigitaltemperaturese
sorisappliedtoachievefasterdevelopme
toftemperaturetesta
dco
trolHerei
troducesaki
dofhardwarestructureofthetemperaturemeasureme
ta
dco
trolsystemofSTC89C51microco
trollera
dCla
guageprogramdesig
basedo
thesystemdesig
a
dlayoutissimplecompactstructuresmallvolumelightweightstro
ga
tii
terfere
ceabilityhighperforma
ceeasytoexpa
dthefactoryi
largewarehousea
dhaswideapplicatio
prospecti
ma
ythetemperaturedetectio
i
thefieldofi
tellige
tbuildi
g
Keywords:DS18B20STC89C51temperaturemeasureme
t
f目录
第1章第2章212223第3章第4章41424344第5章51第6章
绪论1设计任务r