Tri-axis Accelerometer Gyroscope 6DOF MPU-6050 Module
Type: GY-521/MPU-6050
SKU:MOD-GY-521
Dimension: 20.5×15.5 mm
Weight: 1.8g
Provide MSPM0G3507 example source code
Function: output triaxial acceleration and triaxial angular velocity.
VCC:3.3-5V
Interface: IIC (SCL SDA)
Pin Description
*Code based on STM32 for DMP, Kalman, and Complementary Filter.
*Secondary development platform for the program: Compatible with MDK4.7 or MDK5.1.
Tested MCU model: STM32F103C8T6.
Test environment: WIN7 64-bit.
Wiring Instructions:
VCC:3.3V~5.0V
GND:GND
SCL:PA11
SDA: PA8
When testing, download the program to STM32F103. By default, the program will output the calculated angle at 9600 baud rate through Serial Port 1. You can use the serial port debugging software in the accompanying materials with the following configuration:
(please check the attachment image)
Among them, the DMP version will separately output the angles of the X, Y, and Z axes.
The Kalman and complementary filter versions will output the inclination angle of the Y-axis.
Packing list:
1x GY521 module
2x non soldered head pins