Tag Archives: accelerometer

Improving MPU6050 IMU Arduino Project Performance with a Complimentary Filter

In this video lesson I show you how you can improve the performance of your Arduino MPU6050 IMU Project by incorporating a complimentary filter. We will combine the roll and pitch calculations from the accelerometer and gyro into a fused result which allows us to enjoy the best of both worlds.

MPU6050
Schematic for connecting the GY-87 module to the Arduino

For your convenience, the code developed is presented below:

 

Reducing Gyro Drift in MPU6050 IMU Arduino Project

 

In this video lesson we learn how to reduce drift in our roll, pitch, and yaw from the MPU6050 IMU Arduino Project. We will be using the following schematic in today’s work.

MPU6050
Schematic for connecting the GY-87 module to the Arduino

This is the code we developed in this lesson:

 

Add an MPU6050 Accelerometer to your Arduino Project

In this video lesson we will show you how to incorporate accelerometers into your Arduino projects. Your Sunfounder kit includes the GY-87 IMU module. This module contains a BMP180 pressure sensor, which we have already used in earlier lessons, and an MPU6050 6 axis IMU. The MPU6050 includes 3 accelerometers and 3 gyros. In today’s lesson, we learn how to use the MPU6050 accelerometers. I will explain how these MEMS bases accelerometers work, and how we can use them in our project.

This is the schematic we use in todays lesson.

MPU6050
Schematic for connecting the GY-87 module to the Arduino

For your convenience, the code developed in the lesson is presented below: