设计说明书
总字数:20000+
摘 要
随着人们生活水平的不断提高,精致生活成为一种时尚。为了增添生活情趣,装饰家居环境,养殖观赏鱼已成为一种潮流,为了给鱼营造良好的生活环境,设计智能养鱼环境监测系统必不可少。本文采用STM32作为主控芯片,配合传感器开发的一种新型养鱼监测系统。采用TDS水质模块检测鱼缸内水的浑浊度,采用防水式DS18B20检测鱼缸内水温,采用超声波模块检测鱼缸水位,采用PH传感器检测水的PH值,采用光敏电阻检测光照值,采用OLED显示屏显示相关监测值,采用按键可以进行阈值设置,还可以控制继电器进行相关工作,达到调节鱼缸水环境的目的,除此之外,还采用了WiFi模块,实现远程控制鱼缸的作用。实物测试表明,该系统可以解决了目前智能鱼缸面临的通信距离短,功耗较高的问题。测试表明,系统参数可以实现稳定控制,且误差较小,有效提高鱼类的存活率。
关键词:鱼缸;传感器;WiFi:单片机;OLED显示屏
Abstract:
With the continuous improvement of people’s living standards, exquisite life has become a fashion. In order to add interest to life, decorate the home environment, breeding ornamental fish has become a trend, in order to create a good living environment for fish, the design of intelligent fish environmental monitoring system is essential.This paper uses STM32 as the main control chip and sensor to develop a new fish monitoring system. TDS water quality module is used to detect the turbidity of the water in the aquarium, waterproof DS18B20 is used to detect the water temperature in the aquarium, ultrasonic module is used to detect the water level of the aquarium, PH sensor is used to detect the PH value of the water, photoresistor is used to detect the light value, OLED display is used to display the relevant monitoring value, and the threshold can be set by buttons. The relay can also be controlled to perform related work to achieve the purpose of adjusting the aquarium water environment. In addition, the WiFi module is also used to achieve remote control of the aquarium.The actual test shows that the system can solve the problems of short communication distance and high power consumption faced by intelligent fish tanks. The test shows that the system parameters can be controlled stably, and the error is small, and the survival rate of fish can be improved effectively.
Key words: fish tank; Sensor; WiFi: MCU; OLED display
目 录
摘 要
Abstract
- 绪论
1.1本文研究背景和意义
1.2 国内外发展现状
1.3 主要研究内容和实现功能
1.3.1论文主要研究内容
1.3.2论文实现功能
1.4智能鱼缸控制系统涉及的关键技术
- 系统方案设计
2.1 主要元器件选择
2.1.1 主控模块方案选择
2.1.2 显示模块方案选择
2.1.3 按键方案选择
2.2 系统总体设计思路
- 硬件设计
3.1 单片机最小系统
3.2 防水DS18B20温度检测模块电路
3.3 浑浊度检测模块设计
3.4 水位监测模块
3.5 PH检测模块
3.6 光照强度监测模块
3.7 显示模块电路设计
3.8 独立按键电路模块
3.9 继电器模块电路
3.10 步进电机驱动电路模块
3.11 WIFI无线传输模块电路
- 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 温度检测模块子流程
4.5步进电机子流程
4.6超声波检测模块子流程
4.7OLED显示流程设计
4.8 WiFi模块子流程设计
- 实物制作与调试
5.1 实物制作
5.2 水温调节实物测试
5.3 浑浊度调节实物测试
5.4 水位调节实物测试
5.5 光照强度调节实物测试
5.6 PH调节实物测试
5.7 手动控制投喂、充氧实物测试
5.8 WiFi模块实物测试
- 结论
参考文献
致 谢
附录
附录A: 原理图
附录B:PCB
附录C:程序
购买后可查看具体内容!