没有合适的资源?快使用搜索试试~ 我知道了~
仔猪舍环境智能监控系统的设计.docx
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 84 浏览量
2023-09-11
13:23:15
上传
评论
收藏 911KB DOCX 举报
温馨提示
试读
37页
仔猪舍环境智能监控系统的设计.docx
资源推荐
资源详情
资源评论
题 目:
仔猪舍环境智能监控
系统的设计
(论文)
- I -
摘 要
随着养猪业的规模化和集成化,仔猪的繁殖和生长也开始向集中化方向
发展。仔猪舍环境对仔猪生长的影响非常重要,将现代科技融入环境检测系
统中不仅可以省去很多人工还可以提高仔猪的成活率,实现科学化养殖提高
经济效益。根据不同日龄的仔猪对环境温湿度要求的不同,设计一款可以自
动控制仔猪舍环境的智能控制系统。
系统将利用 DHT11 数字温湿度传感器及 MQ-137 氨气传感器采集仔猪舍
环境的实时信息,将数据送入 STM32 单片机进行分析比较,判断其是否超过
阈值。当超出阈值时根据事先确定的控制方案,驱动相关的设备运行。
仔猪在生长过程中对环境因素的要求是不断变化的,为此我们设定了一
种自动模式。根据仔猪所适应的环境,系统自动调节仔猪从出生到两周龄所
需要的环境值。实现仔猪从入舍到出舍的全程自动控制。
关键词: 仔猪舍环境;STM32F103C8T6;温湿度;氨气浓度
(论文)
- II -
Abstract
With the scale and integration of the pig industry, the breeding and growth of
piglets has also begun to develop in a centralized direction. The impact of piglet
house environment on piglet growth is very important. The integration of modern
technology in the environmental detection system can not only save a lot of labor
but also improve the survival rate of piglets, realize scientific breeding and
increase economic benefits. According to the different temperature and humidity
requirements of piglets of different ages, an intelligent control system that can
automatically control the environment of the piglet house is designed.
The system will use DHT11 digital temperature and humidity sensor and
MQ-137 ammonia sensor to collect real-time information of piglet house
environment, and send the data to STM32 microcontroller for analysis and
comparison to determine whether it exceeds the threshold. When the threshold is
exceeded, the relevant equipment is driven to run according to the control plan
determined in advance.
During the growth of piglets, the requirements for environmental factors are
constantly changing, for which we have set an automatic mode. According to the
environment that the piglets adapt to, the system automatically adjusts the
environmental values required for the piglets from birth to two weeks of age.
Realize automatic control of piglets from entering to leaving.
Key Words: Piglet environment; STM32F103C8T6; Temperature and
humidity; Ammonia concentration ;
(论文)
- III -
目 录
摘 要 ............................................................................................................................I
Abstract..........................................................................................................................II
1 引 言........................................................................................................................1
1.1 课题研究的意义 ..............................................................................................1
1.2 国内外研究现状 ..............................................................................................2
1.3 本文主要研究的内容 ......................................................................................3
1.4 本章小结 ..........................................................................................................3
2 系统的总体设计........................................................................................................4
2.1 系统的设计要求 ..............................................................................................4
2.2 MCU 的比较与选择 .........................................................................................4
2.3 传感器的比较与选择 ......................................................................................5
2.3.1 温湿度传感器的比较与选择 ................................................................5
2.3.2 氨气传感器的选择 ................................................................................7
2.4 显示模块的选择 ..............................................................................................7
2.5 负载部分选型 ..................................................................................................8
2.6 本章小结 ..........................................................................................................8
3 硬件电路....................................................................................................................9
3.1 STM32 最小系统..............................................................................................9
3.1.1 STM32F103C8T6....................................................................................9
3.1.2 晶振及复位电路 ....................................................................................9
3.1.3 电源电路 ..............................................................................................10
3.2 传感器模块 ....................................................................................................11
(论文)
- IV -
3.2.1 温湿度传感器 ......................................................................................11
3.2.2 氨气传感器 ..........................................................................................11
3.3 显示模块 ........................................................................................................13
3.4 按键模块 ........................................................................................................13
3.5 报警模块 ........................................................................................................14
3.6 负载控制模块 ................................................................................................15
3.7 本章小结 ........................................................................................................15
4 系统软件设计..........................................................................................................16
4.1 软件开发环境及程序设计流程 ....................................................................16
4.1.1 软件开发环境 ......................................................................................16
4.1.2 仿真调试环境 ......................................................................................16
4.2 系统循环 ........................................................................................................17
4.2.1 系统主循环 ..........................................................................................17
4.2.2 模式一 ..................................................................................................18
4.2.3 模式二 ..................................................................................................18
4.3 各模块驱动程序设计 ....................................................................................19
4.3.1 DHT11 驱动程序 ..................................................................................19
4.3.2 MQ-137 驱动程序.................................................................................21
4.3.3 OLED 驱动程序....................................................................................22
4.3.4 按键检测程序 ......................................................................................22
4.3.5 负载控制程序 ......................................................................................23
4.3.6 定时器中断服务程序 ..........................................................................23
4.4 本章小结 ........................................................................................................24
5 系统的运行调试......................................................................................................25
剩余36页未读,继续阅读
资源评论
南抖北快东卫
- 粉丝: 70
- 资源: 5584
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功