项目编号:mcuclub-yq-022

51仿真链接:点击跳转

51实物链接:点击跳转

32实物链接:点击跳转

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

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

总字数:13000+

基于单片机的计步器系统的设计

摘 要

随着物联网的发展和人们对健康的重视,计步器作为一种定量监测人运动情况的可穿戴设各走进了千家万户。本文设计了一款基于传感器MPU6050的低功耗计步器,本设计通过MPU6050陀螺仪进行计步,通过使用单片机内部RTC时间进行获取,通过AT24C02存储月、日和当天的总步数,每天的00.00.00,将数据保存一次,并清除总的步数,通过按键可修正时间、查看记录每天的步数和运动时间,通过显示屏显示时间和步数,除此之外,通过蓝牙模块,手机端可实时获取当天的步数和查看当天运动记录。计步器作为一种步伐检测设备,一定程度上可以反映人体的健康状况,通过计步器对运动状况的监测,不但可以加强人们对自身健康的了解和预防问题发生也可以促使人们制定合理的运动计划,提高身体素质。

关键词:计步器;MPU6050;单片机;存储器

Abstract

With the development of the Internet of Things and people’s attention to health, the pedometer, as a wearable device for quantitative monitoring of people’s physical activity, has entered thousands of homes. This paper designs a low power pedometer based on the sensor MPU6050, this design through the MPU6050 gyroscope for step counting, through the use of single-chip internal RTC time to obtain, through AT24C02 storage month, day and the day of the total number of steps, 00.00.00 every day, will save the data once, and clear the total number of steps, By pressing the button, you can correct the time, view and record the daily steps and exercise time, and display the time and exercise time through the display screen. In addition, through the Bluetooth module, the mobile phone can obtain the real-time steps of the day and view the exercise record of the day. As a kind of pace detection equipment, the pedometer can reflect the health condition of the human body to some extent. Through the monitoring of the exercise condition of the pedometer, not only can strengthen people’s understanding of their own health and prevent problems, but also can promote people to make a reasonable exercise plan and improve their physical fitness.

Key words: pedometer; MPU6050; Single chip microcomputer; memory

目 录

第1章 绪  论 5

1.1 发展背景和现实意义 5

1.2国内外发展现状 5

1.3 设计功能实现 7

第2章 系统设计分析 8

2.1 系统总体设计分析 8

2.2 元器件选择 8

2.2.2  单片机的选择 8

2.2.3  按键的选择 9

2.2.4显示方案的选择 10

第3章 控制系统硬件设计 11

3.1 单片机最小系统 11

3.1.1 主控模块电路 11

3.1.2 晶振电路 13

3.1.3 复位电路 14

3.1.4 电源电路 15

3.1.5 下载电路 17

3.2计步检测模块 17

3.3独立按键模块电路 19

3.4显示模块 19

3.5AT24C02存储模块 21

3.6蓝牙模块 21

第4章 系统程序设计 23

4.1 编程软件介绍 23

4.2 系统主流程设计 24

4.3 独立按键 25

4.4 存储模块子流程 25

4.5 OLED显示流程设计 27

4.6蓝牙模块子流程 27

第5章 实物测试 29

5.1 实物总体设计 29

5.2整体实物上电测试图 29

5.3 修正时间实物测试 30

5.4计步实物测试 31

5.5查看存储数据实物测试 32

5.6蓝牙模块实物测试 32

总 结 33

参考文献 34

附 录 35

附录1:原理图 35

附录2:PCB 36

附录3:主程序 37

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

发表评论

后才能评论

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

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

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

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

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