资源描述:
《室内温湿度度检测器的设计与实现.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、室温湿度检测器设计与实现摘要:温度、湿度和人类的生产、生活有着密切的关系,同时也是工农业生产中最常见最基本的工艺参数。随着人们生活水平的提高,人们对自己的生存环境越来越关注,而空气中温湿度的变化与人体的舒适度和情绪都有直接的关系,所以对温度、湿度的检测就非常有必要了。本设计中的温湿度检测器与传统的温湿度计相比,具有读数方便,测量围广,测量相对准确等优点,其输出温度采用数字显示,该设计配用全数字型温湿度传感器DHT11,温度测量围0℃--50℃,湿度测量围20%RH—95%RH,可以满足一般需要。若要求更宽测量围,只需更换温湿度传
2、感器型号,硬件电路及软件程序全兼容。温湿度测量响应时间快、长期稳定性好。采用先进的专用微处理器芯片STC89C52,可靠性高,抗干扰能力强。配用EEPROM芯片AT24C04,使存储的温度上限和湿度上限断电后不丢失。可以通过四个按键方便地实现温湿度上限的调整。当温度或湿度超限后,报警信号点亮相应报警灯。关键词:STC89C52单片机;温湿度检测器;LCD显示DesignandImplementationonIndoorDetectorofHumitureStudentmajoringinElectronicinformation
3、engineeringTutorAbstract:Temperatureandhumidityisnotonlyhavingcloserelationshipwithhumanproductionandlife,butalsoplayingthemostcommonandbasicrole,asprocessparameters,inindustrialandagriculturalproduction.Withtheimprovementofpeople’slivingstandards,peopleincreasinglyp
4、ayattentiontotheirownlivingenvironment.Whilechangesinairtemperatureandhumiditymadeadirectimpactonhumanfeelingsofcomfortandemotion,thedetectionoftemperatureandhumiditybecomesseriouslynecessary.Thedesignoftemperatureandhumiditydetectorincomparedwiththetraditional,itsto
5、beconvenientinreading,thetemperaturemeasuringrange,anditsdatetobeaccurate,andsoon.Thedesignshowsoutputsinadigitaldisplay.Thedesignwithall-digitaltemperatureandhumiditysensorDHT11,temperaturemeasuringrangeisbetweenzerodegreesCelsiusandfivedegreesCelsius,humiditymeasur
6、ingrangeis20%RHto95%RH,canmeetthegeneralneeds.Ifitrequiredexpandingthescopeofmeasurement,simplybychangingthemodelsoftemperatureandhumiditysensor,tomakeitshardwareelectricandthesoftwareprocedureentirelycompatible.Themeasurementofhumiturewithfastresponsetimeandlong-ter
7、mstability,usedadvancedspecial-purposemicroprocessorchipSTC89C52.What’smore,ithasthecharacterofhighlyreliabilityandstronglyanti-jammingability.WithEEPROMchipAT24C04,ittomaketheupperandlowerstoragetemperatureandhumidityintheupperandlowerpermanentpreservationbesavedint
8、hecaseofpoweroutages.Inaddition,throughfourpressedkeystorealizethehumitureboundadjustmentconveniently,thealarmlightensthecorrespond