基于单片机的远传智能水表研究
来源:56doc.com 资料编号:5D21496 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D21496
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 密 保 惠 帮助
资料介绍
基于单片机的远传智能水表研究(任务书,开题报告,论文9000字)
摘 要
随着我国各项建设的高速发展,为缓解日益突出的发展与水资源之间的矛盾以及相应社会各界提出的节约用水、科学用水的呼吁,本文设计了基于单片机的远传智能水表,实现了实时采集数据以及无线传输数据等功能,实现了智能水表数据的实时性无线传输
本文基于SMT32单片机为研究对象,使用了STM32F103RBT6型号的单片机,同时单片机连接了流量传感器、无线远传模块等外围模块。本文介绍了远传智能水表的基本概念和发展状态,说明了发展远传智能水表的重要性。然后介绍了远传智能水表的核心单片机以及各项外围硬件。然后,阐述了对智能水表硬件和软件方面的设计,其中涵盖了各个硬件的电路图及各个外围模块的程序代码。最后通过软件和硬件相结合的方式阐述基于STM32单片机的远传智能水表。最后,简单讨论说明了本论文完成的工作和后续的工作展望。
关键词:STM32单片机 智能水表 无线通信
Research on Remote Intelligent Water Meter Based on Single Chip Microcomputer
Abstract
With the rapid development of the construction in our country, to alleviate the increasingly prominent with the development of the contradiction between water resource and the corresponding proposed by the social from all walks of life to save water, water science calls for the paper design a remote intelligent water meter based on MCU, realizes the real-time data gathering and wireless data transmission, and other functions, realizes the intelligent water meter real-time wireless transmission of data
Based on SMT32 MCU as the research object, this paper USES STM32F103RBT6 MCU, which is connected with peripheral modules such as traffic sensor and wireless remote transmission module. This paper introduces the basic concept and development status of remote intelligent water meter, and explains the importance of developing remote intelligent water meter. Then, the core microcontroller and peripheral hardware of remote intelligent water meter are introduced. Then, the design of intelligent water meter hardware and software is described, which includes the circuit diagram of each hardware and the program code of each peripheral module. Finally, this paper describes the remote intelligent water meter based on STM32 microcontroller through the combination of software and hardware. Finally, a brief discussion is given to explain the work completed in this paper and the prospect of subsequent work.
Keywords: STM32 Single-chip Microcomputer; Intelligent water meter; Wireless Communication
目 录
摘 要 I
Abstract II
目 录 III
第一章 引言 1
1.1概述 1
1.2远传智能水表的发展现状 1
1.3研究的目的与意义 1
1.4远传智能水表未来的发展方向 2
1.5论文主要研究内容 3
第二章 STM32单片机以及核心硬件模块简介 4
2.1 STM32单片机 4
2.1.1 STM32系列单片机简介 4
2.1.2 STM32系列单片机选型 4
2.2 YF-S201流量传感器 4
2.3 nRF24L01无线模块 7
2.3.1 nRF24L01无线模块概述 7
2.3.2 nRF24L01技术规格及引脚功能 7
2.4电源模块 8
第三章 远传智能水表硬件设计 9
3.1系统总体设计方案 9
3.2远传智能水表的主要功能 10
3.3远传水表参数设定 10
3.4主控芯片STM32F103RBT6单片机 10
3.5电机驱动芯片L298n特性及电路图 12
3.6无线收发模块设计 14
3.7 串口信号转换电路 16
第四章 远传智能水表软件设计 18
4.1系统软件总体结构 18
4.2系统子程序 19
4.2.1传感器脉冲计数程序 19
4.2.2水闸电机工作程序 20
4.2.3无线通信程序 22
结 语 25
参考文献 26
致 谢 27 |