摘要
利用运动传感芯片MPU6050和STM32L152,设计了一款运动感知及处理模块功耗仅为1.2mA左右的低功耗三维鼠标。针对功耗问题,详细介绍了符合鼠标低功耗工作要求的STM32L152低功耗运行、睡眠模式配置,以及MPU6050加速度计单独循环、单轴加速度计工作模式的配置,给出了加速度计标定及基于加速度计的姿态角计算方法,实现了鼠标姿态的精确测量。
Based on the motion sensor chip MPU6050 and STM32L152 ,a low-power 3D mouse is designed,in which the power consump- tion of the motion detection and processing module is only 1.2 mA. Aiming at the power consumption,the contents of the mouse with low-power need are introduced in detail such as STM32L152 low-power operation,sleep pattern configuration as well as MPU6050 accel- erometer single cycle, single axis accelerometer working mode configuration. And the accelerometer calibration and attitude angle calcula- tion method based on the accelerometer are given,then the precise measurement of mouse gestures is achieved.
出处
《单片机与嵌入式系统应用》
2015年第12期1-4,共4页
Microcontrollers & Embedded Systems