资源描述:
《基于单片机设计与实现的电子体温计》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、湖北工业大学商贸学院毕业设计摘要体温是人体健康的一个很重要的指标,体温过高或过低都是身体健康异常的信号。传统的测试体温方法,一般是用水银体温计测量体温,水银体温计测量固然十分准确,但是响应时间长,而且会造成环境的严重污染。随着科技的发展,单片机已经广泛的应用到了物理实验、医疗卫生、食品生产各个领域。本文设计一种基于单片机设计和实现的电子体温计。本设计分为硬件设计和软件设计两个部分,其中硬件设计部分主要包括温度采集电路、显示电路、报警电路,软件设计部分用KEIL作为编程软件,使用C语言进行编程。本设计采用传感器DS18B20采集人体的温度,经过模数转换后的电信号传输到5
2、1单片机,最后再传输到LCD液晶显示器显示。该电子体温计响应时间短,工作稳定,读数方便,测量精度高,当超过人体体温正常值是会发出蜂鸣警报声。并且其中不含汞,不会对环境造成污染,在家庭、医院等场合都能得到广泛应用。关键词:电子体温计51单片机DS18B20LCDShenLongbaolookintheeyes,forachancetokillhim.ShenLongbaobehindsmarttokeepgendarmes,pickedupabrickreservoirincottonvest,walkedintoasmallalleycorner,seeingfour
3、weeksnobodywillstepupandpulledoutbricksAsahionmilitarypoliceknockeddown.UnsuspectingJapanesemilitarypolicewasflaccidparalysis.ShenLongbaopickedtheJapanesemilitarypolicegunincottonvest,leaveIII湖北工业大学商贸学院毕业设计AbstractTemperatureisoneofthemostimportantindexesofhumanhealth,itistoohighortoolo
4、wsignalahealthexception.Temperaturemeasurementmethodoftraditional,isgenerallymeasuredbodytemperaturewithamercurythermometer,Mercurythermometertomeasureisveryaccurate,butthelongresponsetime,andwillcauseseriouspollutionoftheenvironment.Withthedevelopmentofscienceandtechnology,MCUhasbeenwi
5、delyappliedtophysicsexperiments,medicalandhealth,foodproductioninvariousfields.Thispaperdesignakindofelectronictemperaturemeterbasedon51singlechipmicrocomputer.Thedesignisdividedintotwoparts:hardwaredesignandsoftwaredesign,thehardwaredesignmainlyincludestemperatureacquisitioncircuit,dis
6、playcircuit,alarmcircuitandkeyboardcontrolcircuit,thepartofsoftwaredesignusesKEILasprogrammingsoftware,usingCprogramminglanguage.WithsensorDS18B20collectingtemperatureofhumanbody,afterittransferstotheanalogtodigitalconverter,theelectricalsignalwillbetransfertoa51singlechipmicrocomputer,
7、thentransfertotheLCDliquidcrystaldisplay.Theelectronicthermometerwithshortresponsetime,stablework,convenientreading,highmeasuringaccuracy,whenmorethanthenormalhumanbodytemperature,itwillsoundabuzzeralarm.Andwhichdoesnotcontainmercury,harmlesstothehumanbodyandthesurroundingenvir