摘要:体温计是人们日常生活中的必备品,但是传统的水银体温计测量时间长,读数也不方便。本课题基于传统体温计的这些缺点设计出一种新型的电子体温计,它在测温精度能与传统的水银温度计相媲美的情况下,大大的缩短了测温时间,携带方便,对环境几乎没有污染。本次设计以单片机为整个体温计的核心,运用红外线原理去设计一个基于单片机的无线电子体温计,利用热释电红外传感器,采集人体发射出的红外线,再将转换之后的电信号通过A/D转换送入单片机,由MCS-51单片机来实现温度值的转换及送入LED显示,同时还加入了时钟功能和超温报警功能,在软件的控制下,实现智能化的体温测量,精确测温,使设计具有实用性。关键字:体温计、红外线、单片机Abstract:Thermometerisanessentialgoodsinourdailylife,butthetraditionalmeasurementofthemercuryneedsalongtime,readingisnotconvenient.Thissubjectwhichbasedonthetraditionalthermometer’defectsdesignedanewtypeofelectronicthermometer,hascomparablecircumstancesontemperaturemeasurementaccuracywithtraditionalmercurythermometers,greatlyreducedthetemperaturetime,anditiseasytobecarried,ithasalmostnopollutionontheenvironment.Thedesignuseamicrocontrollerasthecoreofthethermometer,useinfraredprinciplestodesignamicrocontroller-basedwirelesselectronicthermometer,usepyroelectricinfraredsensors,collecttheinfraredthatbodyemits,thendeliverthesignaltothemicrocontrollerbyA/Dconversion,usetheMCS-51microcontrollertoimplementtheconversion,anddeliverthetemperaturevalueintotheLEDdisplay,thisdesignalsoaddedaclockfunctionandover-temperaturealarmfunction,underthecontrolofsoftware,intelligenttemperaturemeasurements,accuratetemperaturemeasurement,makethedesignpractical.Keyword:thermometer、infrared、microcontroller目录摘要..............................................................................................错误!未定义书签。Abstract.........................................................................................错误!未定义书签。目录..............................................................................................................................3引言................................................................................................错误!未定义书签。1、绪论..........................................................................................................................21.1红外测温技术简介.............................................................错误!未定义书签。1.2单片机简介.........................................................................................................22、整体方案设计..........................................................................................................52.1整体设计方案的实现.........................................................................................52.1.1设计原理....................................................................................................52.1.2系统框图....................................................................................................52.2系统总方案.........................................................................................................62.2.1系统工作原理..............................................................................................62.2.2系统总硬件原理图.......................................................................................62.3系统开发方法及开发工具.......................................………………………….72.3.1硬件开发工具介绍........................................…………………………..72.3.2软件开发工具介绍....................................................................................82.4元器件方案选择.................................................................................................92.4.1单片机芯片选择........................................................................................92.4.2红外温度传感器........................................................................................92.4.3ADC芯片选择.........................................................................................102.4.4显示器件选择...........................................................................................113、系统硬件设计..........................................................................错误!未定义书签。3.1系统的模块设计.................................................................错误!未定义书签。3.1.1信号采集模块...........................................................................................123.1.2ADC模块.................................................................................................183.1.3单片机控制模块.......................................................................................213.1.4显示模块...................................................................................................253.2系统改进设计.................................................................................................273.2.1时钟显示功能.............................................................................................273.2.2超温报警功能.............................................................................................294、系统软件设计........................................................................................................304.1软件实现...........................................................................................................304.1.1程序设计方法..............................................4.1.2程序设计语言选择..........................................4.1.3系统流程图................................................4.2程序模块分析...................................................................................................