简易土壤温湿度环境检测仪的设计与制作
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
2 系统设计.................................................................................................................................2
3 硬件设计.................................................................................................................................9 3.1 单片机最小系统设计..................................................................................................9 3.2 传感器模块设计........................................................................................................10 3.2.1 温度传感器模块设计.....................................................................................10 3.2.2 湿度传感器模块设计.....................................................................................14 3.3 显示模块设计............................................................................................................15 4 软件设计...............................................................................................................................20 4.1 主程序流程图............................................................................................................20 4.2 温读取度....................................................................................................................20 4.3 ADC 读取及湿度转换............................................................................................... 22 4.4 湿度采集转换计算....................................................................................................23 5 系统调试与误差分析...........................................................................................................24 5.1 测试仪器....................................................................................................................24 5.2 调试方法....................................................................................................................24 5.3 调试结果....................................................................................................................24 5.4 结论............................................................................................................................25 结束语.......................................................................................................................................26 致 谢.......................................................................................................................................27 参考文献...................................................................................................................................28 附 录
I
宜宾职业技术学院电子信息与控制工程系
基于 MSP430 单wk.baidu.com机简易温湿度环境检测仪
Design and production of simple soil temperature and humidity environment detector
Abstract
This design is a simple and easy to environment temperature and humidity testing instrument, this system is composed of MSP430 single chip microcomputer as control module, LCD12864 LCD display module, DS18B20 temperature sensor module, the soil humidity sensor modules. This system using soil moisture sensor, analog signals were collected in combination with MSP430 single chip microcomputer internal AD12 analog-to-digital conversion module, into soil moisture, plus the DS18B20 temperature signal collected, so as to realize the function of the real-time monitoring of environmental temperature and humidity. This design has the characteristics of convenient observation and use, and let people when observed the change of environmental temperature and humidity with fast response, make people work more efficiently.
Keywords:MSP430;LCD12864;DS1B20;soil moisture sensor; AD12
II
宜宾职业技术学院电子信息与控制工程系
基于 MSP430 单片机简易温湿度环境检测仪
目
1 引
录
言.....................................................................................................................................1 2.1 系统框图......................................................................................................................2 2.2 系统方案论证与选择..................................................................................................2 2.2.1 主控模块...........................................................................................................2 2.2.2 显示模块...........................................................................................................4 2.2.3 电源模块...........................................................................................................5 2.2.4 温度传感器模块...............................................................................................6 2.2.5 土壤湿度传感器模块.......................................................................................7 2.3 系统各模块最终方案..................................................................................................8
宜宾职业技术学院电子信息与控制工程系
基于 MSP430 单片机简易温湿度环境检测仪
简易土壤温湿度环境检测仪的设计与制作
摘 要
本设计是一个简易的能对土壤环境温度和湿度检测的仪器, 此系统是由 MSP430 单 片机为控制模块、LCD12864 液晶显示模块、DS18B20 温度传感器模块、土壤湿度传感 器模块构成的。本系统利用土壤湿度传感器采集到的模拟信号,结合 MSP430 单片机内 部的 AD12 模数转换模块,转化为土壤湿度,加上 DS18B20 采集到的温度信号,从而 实现实时监测土壤的温度和湿度的功能。本设计具有方便观察和使用的特点,让人们在 观察到环境温度或湿度的变化时更快速做出反应,提高工作效率。 关键词:MSP430;LCD12864;DS18B20;土壤湿度传感器;AD12
附录 1 电路原理图 附录 2 PCB 图
III
宜宾职业技术学院电子信息与控制工程系