资源描述:
《51单片机温度测量与控制系统_毕业论文.doc》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、51单片机温度测量与控制系统摘要随着现代信息技术和工农业的快速发展,单片机技术已经普及到我们生活、工作、科研、各个领域,已经成为一种比较成熟的技术,本文主要介绍了一个基于51单片机的测温系统,详细描述了利用数字温度传感器DS18B20开发测温系统的过程,重点对传感器在单片机下的硬件连接,软件编程以及各模块系统流程进行了详尽分析,对各部分的电路也进行了介绍,该系统可以方便的实现实时温度采集和显示,并可根据需要设定上下限报警温度,它使用起来相当方便,具有精度高、量程宽、灵敏度高、体积小、功耗低等优点,适合于我们日
2、常生活和工、农业生产中的温度测量,也可以当作温度处理模块嵌入其它系统中,作为其他主系统的辅助扩展。DS18B20与51单片机结合实现最简温度检测系统,该系统结构简单,抗干扰能力强,适合于恶劣环境下进行现场温度测量,有广泛的应用前景。关键字:51单片机、温度、DS18B20、数码管、C51AbstractWiththerapiddevelopmentofmoderninformationtechnologyandindustryandagriculture,microcontrollertechnologyha
3、sspreadtoourlife,work,scientificresearch,eachdomain,hasbecomearelativelymaturetechnology,thispaperintroducesatemperaturemeasurementsystembasedon51singlechip,detaileddescriptionoftheuseofdigitaltemperaturesensorDS18B20temperaturemeasurementsystemdevelopment,
4、keytheconnectiontothesensorundertheSCMhardware,softwareprogrammingandsystemflowofeachmoduleareanalyzedindetail,onthepartofthecircuitareintroduced,thesystemcaneasilyachievethereal-timetemperatureacquisitionanddisplay,andcanaccordingtoneedtosetthealarmtempera
5、ture,itisveryconvenienttouse,hashighaccuracy,LiangChengkuan,highsensitivity,smallvolume,lowpowerconsumption,suitableforourdailylivesandindustrial,agriculturalproductioninthetemperaturemeasurement,whichcanalsobeusedasatemperatureprocessingmoduleembeddedinoth
6、ersystems,asotherauxiliarysystem.DS18B20and51microcontrollerwithtemperaturedetectionsystemtoachievethemostsimple,thesystemhastheadvantagesofsimplestructure,stronganti-interferenceability,suitableforon-sitetemperaturemeasurementsinharshenvironment,hasthewide
7、spreadapplicationprospect.Keywords:The51singlechipmicrocomputer、Temperature、DS18B20、Digitaltube、C51目录第1章概论…………………………………………………………11.1设计背景……………………………………………………11.2总体设计……………………………………………………21.3设计要求……………………………………………………3第2章设计理论基础………………………………………………42.151单片机……………………
8、………………………………42.2温度传感器DS18B20………………………………………72.3锁存器74HC573……………………………………………102.4LED数码管…………………………………………………11第3章硬件电路设计………………………………………………133.1单片机最小的系统…………………………………………133.2温度采集电路………………………………………………143.3温度控制电