项目简介

项目名:鱼缸(实物)
项目编号:mcuclub-dz-273
单片机类型:STM32F103C8T6
具体功能:
1、通过防水式DS18B20检测水温,水温低于设置最小值,进行加热(防水式加热棒加热)
2、通过超声波检测剩余水位,剩余水位低于设置最小值,进行加水,高于设置最大值进行抽水(需要设定一个鱼缸总高度)
3、通过浊度传感器检测浑浊度,浑浊度大于设置最大值,启动水泵换水(两个继电器)
4、通过光敏电阻检测光照值,光照值低于设置最小值进行补光(灯为彩色,可通过按键切换颜色)
5、通过按键可实现设置定时投喂、定时充氧时间
6、通过按键可设置各阈值
7、通过OLED显示屏显示测量值

总字数:16414

实物链接:点击跳转

设计说明书链接:点击跳转

开题报告链接:点击跳转

答辩PPT链接:点击跳转

基于单片机的智能鱼缸系统设计

摘  要:传统养鱼方式存在费时费力、经验少、易出错等问题,在养鱼环节中出现鱼儿刚进缸阶段环境不适、换水以及长时间没有进行鱼缸管理等问题,设计一款智能鱼缸迫在眉睫。

为了解决上述问题,本文采用STM32作为主控芯片,控制系统的参数采集和参数调节。采用防水式DS18B20检测鱼缸内水温,通过超声波模块检测剩余水位,采用TDS水质模块检测鱼缸内水的浑浊度,采用光敏电阻检测关照值,采用OLED显示屏显示相关监测值,采用按键可以设置定时投喂、充氧时间和阈值设置,还可以控制继电器进行相关工作,达到调节鱼缸环境相关参数的目的。

实物测试表明,该鱼缸可自动实现对鱼缸系统的实时检测、调节功能。并将集到的数据通过传输到显示屏进行实时显示,即可宏观检测鱼缸状态,又可实时操控鱼缸,实现鱼缸的控制功能,更好的美化生态环境,提高人们的生活水平。

关键词:鱼缸;传感器;控制:单片机;OLED显示屏

Design of intelligent fish tank system based on single chip microcomputer

Abstract: Traditional fish farming methods are time-consuming, laborious, less experience, error-prone and other problems. In the fish farming process, the environment is not comfortable when the fish just enter the tank, the water is changed, and the tank management is not carried out for a long time.

In order to solve the above problems, this paper uses STM32 as the main control chip to control the parameter acquisition and parameter adjustment of the system. The waterproof DS18B20 is used to detect the water temperature in the aquarium, the remaining water level is detected by the ultrasonic module, the turbidity of the water in the aquarium is detected by the TDS water quality module, the care value is detected by the photoresistor, the relevant monitoring value is displayed by the OLED display, and the timing feeding, oxygenation time and threshold Settings can be set by pressing the button. The relay can also be controlled to perform related work to achieve the purpose of adjusting the parameters related to the fish tank environment.

The real test shows that the fish tank can automatically realize the real-time detection and adjustment of the fish tank system. And the collected data is transmitted to the display screen for real-time display, which can detect the status of the aquarium in a macroscopic way, and control the aquarium in real time to achieve the control function of the aquarium, better beautify the ecological environment and improve people’s living standards.

Key words: fish tank; Sensor; Control: MCU; OLED display

  

摘  要

Abstract

  1. 绪论

1.1本文研究背景和意义

1.2 国内外发展现状

1.3 主要研究内容和实现功能

1.3.1论文主要研究内容

1.3.2论文实现功能

  1. 系统方案设计

2.1 主要元器件选择

2.1.1 主控模块方案选择

2.1.2 显示模块方案选择

2.1.3 按键方案选择

2.2 系统总体设计思路

  1. 硬件设计

3.1 单片机最小系统

3.2 防水DS18B20温度检测模块电路

3.3 浑浊度检测模块设计

3.4 水位监测模块

3.5 光照强度监测模块

3.6 显示模块电路设计

3.7 独立按键电路模块

3.8 继电器模块电路

3.9 彩灯补光模块电路

  1. 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 温度检测模块子流程

4.5 超声波检测模块子流程

4.6 OLED显示流程设计

  1. 实物制作与调试

5.1 实物制作

5.2 水温调节实物测试

5.3 浑浊度调节实物测试

5.4 水位调节实物测试

5.5 光照强度调节实物测试

5.6 手动控制投喂、充氧实物测试

  1. 结论

参考文献

致  谢

附录

附录A: 原理图

附录B:PCB

附录C:程序

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源