您好,欢迎访问三七文档
当前位置:首页 > 建筑/环境 > 设计及方案 > 物联网工程设计与实施
《物联网工程设计与实施》项目设计项目课题:基于STM32的温湿度检测院系:计算机科学与技术学院专业:物联网工程项目经理:于渊学号:123921043副经理:谢金光学号:123921024项目成员:李周恒学号:123921002项目成员:袁桃学号:123921048项目成员:颉涛学号:123921054项目成员肖青学号:123921025项目成员冯锦融学号:123921011项目成员唐敏学号:1239210232014年12月目录摘要..................................................................................................................................................5Absract..............................................................................................................................................7一.课程设计目的...........................................................................................................................9二.课程设计方案...........................................................................................................................9三.实验所需器材...........................................................................................................................9四.课程设计内容...........................................................................................................................94.1STM32模块.......................................................................................................................94.2AM2302的介绍...............................................................................................................114.2.1产品概述...............................................................................................................114.2.2应用范围...............................................................................................................124.2.3产品亮点...............................................................................................................124.2.4单总线接口定义...................................................................................................124.2.5传感器性能...........................................................................................................134.2.6单总线通信...........................................................................................................134.3Nokia5110介绍...............................................................................................................154.3.1SPI接口时序写数据/命令....................................................................................154.3.2显示汉字...............................................................................................................164.3.3显示图形...............................................................................................................164.4原理图设计......................................................................................................................164.5PCB板设计......................................................................................................................18五.试验软件设计.........................................................................................................................185.1温湿度传感器DHT22的程序........................................................................................185.2温湿度显示程序..............................................................................................................225.3主函数程序......................................................................................................................23六.作品实物展示.........................................................................................................................32七.设计总结.................................................................................................................................33基于STM32的温湿度检测摘要随着现代社会的高速发展,越来越多的科学技术被应用于农业生产领域。在温室大棚中对温湿度、二氧化碳浓度等外部参数的实时准确的测量和调节更是保证农业高效生产的重要前提。本次课程设计中实现了一个基于STM32F103VET6的智能温湿度检测系统,目的是实现温湿度的采集和显示,温湿度的采集是作为自动化科学中一个必须掌握的检测技术,也是一项比较实用的技术。本次实验主要作了如下几个方面工作:首先通过对实时性、准确性、经济性和可扩展性等四个方向的分析比较之后,选择了STM32F103VE微控制器作为主控芯片和AM2303温湿度传感器来实现对温湿度数据进行采集;在Nokia5110显示屏上显示出温度和湿度,然后详细介绍了各个模块的工作原理和硬件电路设计思路,实现了温湿度数据实时准确的测量;之后阐述了系统各个部分的软件设计思路;最后对系统在实际应用中采集到的数据进行了处理,分析了误差产生的原因,并通过分段线性插值算法对系统非线性误差进行了校准,同未校准时采集的数据相比,校准后的数据准确度更高,稳定性更好。在保证测量效果的基础上,本系统设计中充分考虑到性价比和再次开发周期性等,具有成本低、设计开发方便、通用性强等特点,不仅适用于现代农业生产中,还能用于其它工业控制、机械制造等其它领域,具有一定的市场推广价值。关键词:嵌入式技术,电路设计,STM32,AM2302温湿度采集,Nokia5110显示屏,程序设计AbsractInthedesignofthecurriculumimplementsasmarttemperatureandhumiditydetectionsystembasedonSTM32F103VET6,thepurposeistorealizetheacquisitionanddisplayofthetemperatureandhumidity,temperatureandhumidityoftheacquisitionasamustmasterinautomationsciencedetectiontechnology,isalsoapracticaltechnology.Thisexperimentmainlymadethefollowingseveralaspectswork:firstofall,basedonthereal-time,accuracy,economyandexpansibilityetc.Afteranalysisandcomparisonoffourdirections,STM32F103VEmicro-controllerasthemastercontrolchipandAM2303temperatureandhumiditysensorstoachievetemperatureandhumiditydataacquisition;OntheNokia5110screendisplaythetemperatureandhumidity,andthenintroducesindetailtheworkingprincipleofeachmoduleandthehardwarecircuitdesign,realizedthereal-timeaccuratemeasurementoftemperatureandhumiditydata;Elaboratedthesystemaftereachpartofthesoftwaredesignidea;Finally,thesysteminthep
本文标题:物联网工程设计与实施
链接地址:https://www.777doc.com/doc-2221783 .html