重庆工程学院本科生毕业设计摘要摘要随着科学技术的迅速发展,我国粮仓环境监测系统逐渐走向现代化和智能化,但我国大部分仓库仍然在用传统人力监测的方式对粮仓进行管理。针对这个问题,本文设计了一种基于单片机的粮仓环境监测系统,该系统由主控芯片、温湿度传感器、烟雾传感器、LCD1602液晶显示器和蜂鸣器等模块组成。温湿度传感器和烟雾传感器采集粮仓仓内当前温湿度和烟雾浓度,将数据传输到单片机,并在LCD显示屏上进行实时显示。该系统还能设置温湿度的上下限和烟雾浓度的阈值,当温湿度或烟雾浓度超过设定范围时,蜂鸣器报警装置启动,发出报警信号。本设计实现了粮仓仓内温湿度信号和烟雾浓度信号的检测和报警功能,具有实时有效传输的特性,应用于对粮仓的环境进行实时监测,具有一定研究意义。关键词:粮仓温湿度烟雾浓度单片机I重庆工程学院本科生毕业设计ABSTRACTABSTRACTWiththerapiddevelopmentofscienceandtechnology,China'sgranaryenvironmentalmonitoringsystemisgraduallymovingtowardsmodernizationandintelligence,butmostwarehousesinChinaarestillmanaginggranariesbytraditionalhumanmonitoringmethods.Tosolvethisproblem,thispaperdesignsagranaryenvironmentmonitoringsystembasedonsinglechipmicrocomputer.ThesystemconsistsofLCD1602liquidcrystaldisplay,buzzer,temperatureandhumiditysensorandsmokesensor.Thetemperatureandhumiditysensorandsmokesensordetectthetemperatureandhumidityandsmokeconcentrationinthecurrentgranary,transmitthedatatothesinglechip,displaythecurrenttemperatureandhumidityandsmokeconcentrationinrealtimeontheLCDdisplayscreen,andcansettheupperandlowerlimitsoftemperatureandhumidityandtheupperlimitofsmokeconcentration.Whenthetemperature,humidityorsmokeconcentrationexceedsthesetrange,thebuzzeralarmdevicestartstosendoutanalarmsignal.Thedesignrealizesthedetectionandalarmfunctionsoftemperatureandhumiditysignalsandsmokeconcentrationsignals,hasthecharacteristicsofreal-timeandeffectivetransmission,isappliedtoreal-timemonitoringofgranaryenvironment,andhascertainresearchsignificance.Keywords:granary;temperatureandhumidity;Smokeconcentration;singlechipmicrocomputerII重庆工程学院本科毕业设计目录目录摘要........................................................................................................................................IABSTRACT.................................................................................................................................II1绪论...................................................................................................................................11.1课题研究的背景........................................................................................................11.2国内外发展现状........................................................................................................11.3系统设计开发的意义...............................................................................................21.4本文章节安排...........................................................................................................22系统总体设计........................................................................................................................42.1功能要求...................................................................................................................42.2方案选择...................................................................................................................42.2.1单片机的选择............................................................