题目:-I-仔猪舍环境智能监控系统的设计摘要随着养猪业的规模化和集成化,仔猪的繁殖和生长也开始向集中化方向发展。仔猪舍环境对仔猪生长的影响非常重要,将现代科技融入环境检测系统中不仅可以省去很多人工还可以提高仔猪的成活率,实现科学化养殖提高经济效益。根据不同日龄的仔猪对环境温湿度要求的不同,设计一款可以自动控制仔猪舍环境的智能控制系统。系统将利用DHT11数字温湿度传感器及MQ-137氨气传感器采集仔猪舍环境的实时信息,将数据送入STM32单片机进行分析比较,判断其是否超过阈值。当超出阈值时根据事先确定的控制方案,驱动相关的设备运行。仔猪在生长过程中对环境因素的要求是不断变化的,为此我们设定了一种自动模式。根据仔猪所适应的环境,系统自动调节仔猪从出生到两周龄所需要的环境值。实现仔猪从入舍到出舍的全程自动控制。-II-关键词:仔猪舍环境;STM32F103C8T6;温湿度;氨气浓度AbstractWiththescaleandintegrationofthepigindustry,thebreedingandgrowthofpigletshasalsobeguntodevelopinacentralizeddirection.Theimpactofpiglethouseenvironmentonpigletgrowthisveryimportant.Theintegrationofmoderntechnologyintheenvironmentaldetectionsystemcannotonlysavealotoflaborbutalsoimprovethesurvivalrateofpiglets,realizescientificbreedingandincreaseeconomicbenefits.Accordingtothedifferenttemperatureandhumidityrequirementsofpigletsofdifferentages,anintelligentcontrolsystemthatcanautomaticallycontroltheenvironmentofthepiglethouseisdesigned.ThesystemwilluseDHT11digitaltemperatureandhumiditysensorandMQ-137ammoniasensortocollectreal-timeinformationofpiglethouseenvironment,andsendthedatatoSTM32microcontrollerforanalysisandcomparisontodeterminewhetheritexceedsthethreshold.Whenthethresholdisexceeded,therelevantequipmentisdriventorunaccordingtothecontrolplandeterminedinadvance.Duringthegrowthofpiglets,therequirementsforenvironmentalfactorsareconstantlychanging,forwhichwehavesetanautomaticmode.Accordingtotheenvironmentthatthepigletsadaptto,thesystemautomaticallyadjuststheenvironmentalvaluesrequiredforthepigletsfrombirthtotwoweeksofage.Realizeautomaticcontrolofpigletsfromenteringtoleaving.-III-KeyWords:Pigletenvironment;STM32F103C8T6;Temperatureandhumidity;Ammoniaconcentration;(论文)目录摘要............................................................................................................................IAbstract..........................................................................................................................II1引言.........................................................................................................................11.1课题研究的意义...............................................................................................11.2国内外研究现状...............................................................................................21.3本文主要研究的内容.......................................................................................31.4本章小结...........................................................................................................32系统的总体设计.........................................................................................................42.1系统的设计要求...............................................................................................42.2MCU的比较与选择.........................................................................................42.3传感器的比较与选择............................................................................