{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于单片机的计步器设计

来源:wenku7.com  资料编号:WK716986 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK716986
以下是资料介绍,如需要完整的请充值下载。
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

基于单片机的计步器设计(任务书,开题报告,外文翻译,论文10300字)
摘  要
计步器作为用来监控日常锻炼的一种简便易用的电器设备,在人们日常生活中很受欢迎,计步器通过行走锻炼时随身计步,鼓励人们尽可能的通过行走消耗体内多余能量,达到瘦身和增强体质的目的。早期的计步器只能简单计数,在设计中依靠机械装置达到检测步伐的目的,当人们行走时会产生晃动,机械式计步器内设了一个摆锤跟随晃动敲击挡块,人们可以听到里面有金属球来回滑动的声音。计步器的主要作用原理是通过计算人的运动量的大小来得出人身体的健康状况,人身体运动表现为很多不同的特征,与传统计步器采用机械式传感方式不同,ADXL345计步器的设计采用了电传感的方式,通过电传感获取人体运动产生的信号来计步,使用起来更加方便准确。低通滤波器滤波对信号进行滤波后,再由设置在单片机内的A/D转换器捕获典型信号,最终实现A/D的转换。控制软件计步时采用自适应算法来进行计算,能显著降低错误统计率,精确性更强。计步情况通过STC89C52液晶显示器显示,并可对步距和散步里程进行精确设置。达到一定距离后发出报警提示,整机工作电流只有1-1.5mA,实现超低功耗。
关键词:计步器;加速度传感器;ADXL345; GPS

Design of pedometer-based microcontrollers
Abstract
Pedometer is a popular daily exercise progress monitor, can motivate people to challenge themselves, enhance physical fitness, to help lose weight. Early designs used a weighted mechanical switch detects the pace, and with a simple counter. When shaking the device, you can hear a metal ball to slide back and forth, left and right, or a pendulum swinging percussion stopper.Pedometer function can calculate the movement of people to analyze the situation of human health. And the movement of people can be analyzed by many features. With the traditional mechanical sensors differ, ADXL345 three-axis sensor is a capacitive acceleration signal by its human motion capture, and more accurate. Signal through a low pass filter, the microcontroller built-in A / D converter for signal sampling, A / D conversion. Software uses an adaptive algorithm pedometer function, reduce error count is more accurate. STC89C52 SCM control LCD pedometer state. Machine operating current of only 1-1.5mA, ultra-low power consumption.
Key Words: pedometer; Acceleration sensor;  ADXL345; GPS
 
目录
摘  要    I
Abstract    II
第一章  绪论    1
1.1  研究背景、目的及意义    1
1.2  论文研究的内容    1
1.3  研究现状    2
1.4  内容安排    2
第二章  方案设计及选择    3
2.1  总体方案    3
2.2  传感器的选择    4
2.3  主控制器的选择    4
2.4  显示屏选择    5
    2.5   通信方式的选择
第三章  系统硬件电路设计    8
3.1STC89C52单片机最小系统    8
3.1.1  电源电路    8
3.1.2  时钟电路    8
3.1.3  复位电路    9
        3.1.4   蓝牙串口模块
3.2 按键电路    10
3.3 液晶显示器电路    11
3.4 GPS模块电路    12
第四章  系统软件设计    14
4.1  概述    14
4.2  下位机编程设计    14
          4.2.1总体设计
          4.2.2 LCD12864显示的编程设计
          4.2.3 按键编程设计
          4.2.4串口通信设计
4.3  上位机编程设计    16
4.3.1  总体设计    16
4.3.2  串口通信设计    20
第五章  系统的综合调试与功能演示    24
5.1  硬件调试    24
5.1.1  单片机最小系统调试    24
5.1.2  按键电路调试    26
        5.1.3    LCD12864调试
5.2  软件调试    28
         5.2.1上位机软件调试
         5,2,2 下位机软件调试
5.3 串口通信调试
     5.3.1上位机串口通信调试
     5.3.2下位机串口通信调试
5.4总体调试及功能演示
第六章  总结与展望    30
参考文献    31
致  谢    32

推荐资料