设计简介:
项目编号:mcuclub-dz-044
项目名:基于单片机的泳池的设计
单片机类型:STM32F103C8T6
具体功能:
1、通过防水式DS18B20测量水温,当水温低于设置最小值,则开始加热,直到加热到设置最大值
2、通过内部RTC时钟获取时间
3、通过按键可设置定时换水时间,需要两个水泵进行抽水和放水
4、通过按键可设置紫外线消毒时间,在时间内时,通过人体热释电感应模块检测是否有人,如果没人,则打开消毒灯,如果有人,则关闭消毒灯
5、通过光敏电阻检测光照值,当检测到有人且光照值低于设置最小值,则开灯补光
6、通过按键可修正时间、设置阈值、手动加热、手动换水、手动控制消毒灯、补光灯、切换模式
7、通过OLED显示各测量数据
8、通过wifi模块,可将数据远程发送手机端,手机端可设置阈值,远程加热、换水、控制消毒灯、补光灯、切换模式
7、通过WIFI模块将测量数据发送到手机端,并可以控制风速、风扇摇头以及模式切换
总字数:16364
实物链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
基于STM32的智能泳池的设计与实现
摘要:
游泳运动作为现在最受欢迎的运动之一,参与的人群多,水质安全尤为重要;在科技快速发展的背景下,通过科技手段实现智能化泳池,是保证水质安全的重要手段;市场现有的泳池水质监控设备可以达到一定智能化程度,但多数用于年代较近泳池,且安装的成本较高,相对老旧的中低端泳池需要一款可以在现有设备上进行低成本升级的产品。为解决部分泳池在现有水质处理设备的基础上,进行低成本的智能化升级提供一款设计成品。此次设计一款基于STM32F103C8T6为核心模块的智能泳池,通过温度检测模块DS18B20可以实现对当前泳池测量水温,当水温低于设置最小值,则开始加热,直到加热到设置最大值;通过单片机内部RTC时钟获取时间;通过按键可设置定时换水时间,需要两个水泵进行抽水和放水;通过按键可设置紫外线消毒时间,在时间内时,通过人体热释电感应模块检测是否有人,如果没人,则打开消毒灯,如果有人,则关闭消毒灯;通过光敏电阻检测光照值,当光照值低于设置最小值,则开灯补光;通过按键可修正时间、设置阈值、手动加热、手动换水、手动控制消毒灯、补光灯、切换模式;通过OLED显示各测量数据;通过wifi模块,可将数据远程发送手机端,手机端可设置阈值,远程加热、换水、控制消毒灯、补光灯、切换模式。池对设计的硬件、软件进行整体系统调式,结果证明本设计能够实现实时控制当前泳池水质、自动控制设备、强制执行管理者指令以及手机端远程监控功能。
关键词:泳池 水质控制 水温测控 定时控制 远程测控
Abstract
Swimming, as one of the most popular sports, has a large number of participants, and water quality safety is particularly important. Under the background of rapid development of science and technology, it is an important means to ensure the safety of water quality to realize intelligent swimming pool through scientific and technological means. The existing swimming pool water quality monitoring equipment in the market can reach a certain degree of intelligence, but most of them are used in pools with a relatively recent age, and the installation cost is high. Relatively old middle and low-end swimming pools need a product that can be upgraded on the existing equipment at a low cost. In order to solve the problem of low-cost intelligent upgrade of some swimming pools on the basis of existing water quality treatment equipment, a design product is provided. The design of an intelligent swimming pool based on STM32F103C8T6 as the core module, through the temperature detection module DS18B20 can be realized to measure the water temperature of the current swimming pool, when the water temperature is lower than the set minimum value, then start heating, until heating to the set maximum value; The time is obtained by the internal RTC clock of MCU; The regular water change time can be set by pressing the button. Two water pumps are needed to pump and release water. The ultraviolet disinfection time can be set by pressing the button. During the time, check whether there is anyone through the human body pyroelectric induction module. If there is no one, turn on the disinfection light; if there is anyone, turn off the disinfection light; Check the light value through the photoresistor. When the light value is lower than the set minimum value, turn on the light for light supplement; By pressing the button, you can modify the time, set the threshold, manually heat, manually change the water, manually control the disinfection light, fill light, switch the mode; Display each measurement data by OLED; Through the wifi module, the data can be sent to the mobile phone terminal remotely, and the mobile phone terminal can set the threshold, remotely heat, change water, control the disinfection light, fill light and switch modes. The pool carries out the overall system mode of the designed hardware and software, and the results prove that the design can realize real-time control of the current pool water quality, automatic control of equipment, mandatory execution of the manager’s instructions and remote monitoring functions on the mobile phone.
Keywords:swimming pool water quality control water temperature measurement and control timing control remote measurement and control
目 录
摘要:
Abstract
第1章 绪论
第2章 系统总体设计方案
第三章 硬件设计
第4章 软件调试
第5章 实物测试
第6章 总结展望
参考文献
附录