资源下载地址:https://download.csdn.net/download/sheziqiong/85760450
资源下载地址:https://download.csdn.net/download/sheziqiong/85760450
包含:文档+PORTEL原理图+Keil设计的C语言程序+App源码+查重报告+项目截图
【摘要】随着科学技术与物联网的发展,推动着智能化产品逐渐从无到有再到快速发展,智能科技逐渐改变社会发展方式,过去很多无法想象的科学技术或者生活方式,现在利用先进和智能化逐一解决,而过去普通鱼缸控制系统已经不能科学的需求。为了设计一款基于单片机鱼缸控制系统控制器,此设计利用STM32系列单片机,很好设计出一款智能化鱼缸控制控制系统的要求。
本设计的完整的系统主要包括STM32系列单片机最小系统、温度采集电路、无线WIFI电路、继电器及其驱动电路和电源电路等组成。运用DS18B20传感器实时采集水温数据,经过单片机处理后把数据发送到上位机APP显示;另外系统运用定时方式循环打开和关闭继电器。
本设计软件系统采用模块设计思想,采用C语言作为程序设计语言,通过KEI MDK完成程序设计,使用仿真器下载软件完成程序的烧录和在线调试。本文中设计了各个模块运行流程图和程序运行思想。
在系统硬件和软件系统都完成后,经过相应的软硬件测试后,通过搭建实验平台,逐步验证系统功能。最后,经过实际试验,验证了本系统具有很好的实用性和稳定性。
【关键词】单片机;DS18B20;WIFI;系统测试
Design of fish tank control system based on internet of things
[abstract] with the development of science and technology and the Internet of things, intelligent products are gradually promoted from nothing to rapid development, intelligent science and technology gradually change the way of social development, in the past, many unimaginable science, technology or lifestyle, Now the use of advanced and intelligent one by one, and in the past ordinary fish tank control system can not be scientific needs. In order to design a controller of fish tank control system based on single chip microcomputer, the STM32 series single chip microcomputer is used to design an intelligent fish tank control system.
The complete system of this design mainly includes STM32 series single chip microcomputer minimum system, temperature acquisition circuit, wireless WIFI circuit, relay and its driving circuit and power supply circuit and so on. The DS18B20 sensor is used to collect the water temperature data in real time, and the data is sent to the upper computer APP display after the single chip processor processing. In addition, the system turns on and off the relay cycle by timing mode.
This software system adopts the idea of module design, uses C language as the programming language, completes the program design through KEI MDK, uses the simulator to download the software to complete the burning and on-line debugging of the program. In this paper, the flow chart and program running idea of each module are designed.
After the hardware and software of the system are completed, the function of the system is verified step by building an experimental platform after the corresponding software and hardware tests are carried out. Finally, the practical test shows that the system has good practicability and stability.
Single chip microcomputer; DS18B20;WIFI; system test
目 录
1 绪论 1
1.1本文研究背景和意义 1
1.2智能鱼缸控制系统发展趋势 1
1.3本文研究内容 2
2 控制系统总体方案设计 3
2.1控制系统功能分析 3
2.2系统网关架构设计 3
2.3控制系统所用到关键技术 3
2.4本章小结 4
3 系统的硬件平台设计 5
3.1系统总体框架设计 5
3.2控制中心电路设计 5
3.2.1 MCU电路设计 5
3.2.2最小系统电源电路设计 7
3.3信号采集与处理电路设计 7
3.3.1温度测量电路设计 7
3.3.2 OLED显示电路设计 8
3.3.3无线WIFI模块电路设计 9
3.3.4继电器及驱动电路设计 10
3.4系统总体电路设计 11
4 系统软件平台设计 13
4.1控制中心开发环境软件与工具 13
4.1.1 ARM开发环境 13
4.1.2 ARM软件开发流程 13
4.2控制系统软件架构 14
4.3系统信号采集与处理程序设计 15
4.3.1 OLED显示屏程序设计 15
4.3.2温度传感器程序设计 16
4.3.3WIFI模块驱动软件设计 17
5 系统调试与性能验证 19
5.1系统调试环境搭建 19
5.2系统软硬件调试 19
5.2.1系统软件调试 19
5.2.2系统硬件调试 20
5.3测试结果分析 21
5.4本章小结 21
6 总结 22
7 致谢 23
参考文献 24
本文转载自:http://www.biyezuopin.vip/onews.asp?id=16334
资源下载地址:https://download.csdn.net/download/sheziqiong/85760450
资源下载地址:https://download.csdn.net/download/sheziqiong/85760450