基于单片机的智能运动手环设计
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用.
密 惠 保
基于单片机的智能运动手环设计(论文11000字)
摘要
本次论文设计的是一个基于单片机的智能手环基本雏形,主要实现的功能有记步,心率测量以及蓝牙连接,并把相关的数据在显示模块上显示出来。记步功能的实现主要是通过MPU6050加速度传感器的测量计算得到,它是一个六轴的加速度传感器,测量准确;心率测量功能则通过Pulse Sensor光学心率传感器的模拟信号采集,通过ADC0832模数转换模块将模拟信号转为数字信号,再输送给单片机处理得到心率数据;蓝牙功能的实现主要是通过HC-05蓝牙模块来完成;显示模块使用的是OLED 12864显示屏,它是一块体积小、亮度高、可显示字符齐全的显示屏,在嵌入式硬件系统设计中有较为广泛的应用。本设计的主要控制单元为单片机芯片STC89C52RC,它的接口多,片上资源丰富,价格较低并且性能足够满足本次设计需要。
在具体使用方面,使用者可以根据按键,设置预设步长以满足不同需要。此时单片机同时驱动各模块,在显示模块上实时动态显示测量到的步数、心率数据以及计算得到的卡路里消耗数据,蓝牙模块可以和手机端连接,显示实时的心率数据。本设计的成果对可穿戴设备的功能设计有一定的指导作用。
关键词:单片机手环健康监测传感器
[资料来源:www.THINK58.com]
Design of Sports Smart Band Based on Single Chip Microcomputer
Luo Dayuan
(College of Electronic Engineering, South China Agricultural University, Guangzhou510642,China )
Abstract: This paper is to design a prototype of a smart band based on single chip microcomputer, the main features are steps-recording, heart rate measurement and bluetooth connection, and show some related data on the display. The realization of the step recording function is mainly obtained through the measurement and calculation of the MPU6050 acceleration sensor, it is a six-axis acceleration sensor, with accurate measurement result. Heart rate measurement is conducted through the analog signal acquisition of Pulse Sensor optical heart rate Sensor, and the analog signal is converted into digital signal through ADC0832 analog-to-digital conversion module, and then transmitted to the single-chip microcomputer for processing to obtain the heart rate data.
The realization of bluetooth function is mainly accomplished by hc-05 bluetooth module. [资料来源:http://THINK58.com]
The display module USES OLED 0.96 display screen, which is a small, bright and full-character display screen. It is widely used in embedded hardware system design.
The main control unit of this design is the single chip microcomputer chip STC89C52RC, which has many interfaces, abundant on-chip resources, low price and enough performance to meet the needs of this design.
Users can preset the step length through the bottons to meet different needs. The single-chip microcomputer drives each module at the same time. Steps-recording number, heart rate data and calculated calorie consumption data are dynamically displayed on the display module in real time. The bluetooth module can be connected with the mobile phone to display the real-time heart rate data.The results of this design can be the guidance to the design of wearable devices’ fuctionsin a way.
Key words: Single Chip Microcomputer Wrist Band Health Detect Sensor
[来源:http://www.think58.com]
目录
1 前言 1
1.1 本文研究背景 1
1.2 国内外研究背景 1
1.3 本文的主要内容和研究意义 1
2 方案设计 2
2.1系统整体方案概括 2
2.2 系统各个模块的方案选择 3
2.2.1单片机芯片的选择 3
2.2.2显示模块的选择 3
2.2.3记步模块的选择 4
2.2.4心率模块的选择 4
3 硬件电路设计 4 [版权所有:http://think58.com]
3.1基于单片机的智能手环功能设计 4
3.2单片机STC89C52RC介绍 4
3.3单片机最小系统设计 5
3.4电源设计 5
3.5显示模块设计 6
3.6 按键电路设计 8
3.7记步模块设计 8
3.8心率检测模块设计 10
3.9蓝牙模块设计 12
4系统软件设计 13
4.1 Altium Designer软件 13
4.2 Keil uVision 4 软件编译 14
4.2.1 Keil uVision 4 软件相关介绍 14
4.2.2软件开发相关流程介绍 14
4.2.3程序下载到单片机流程 15
4.3 程序流程图 17
5 设计硬件电路焊接与调试 17
5.1硬件电路绘制设计 17
5.2电路焊接 18
5.3硬件电路调试 19
5.3.1电源模块调试 19
5.3.2OLED硬件显示 20
5.3.3记步模块调试 21
5.3.4心率测量模块调试 23
5.3.5蓝牙模块调试 25
6 总结与展望 26
6.1本次设计总结 26
6.2展望 27
参考文献 28
附录部分程序源代码 29
致谢 44 [资料来源:http://www.THINK58.com]