MPU6050 With Arduino Uno
by Rachna Aggarwal in Circuits > Arduino
2010 Views, 1 Favorites, 0 Comments
MPU6050 With Arduino Uno

In this project, i am going to interface MPU6050 sensor with arduino UNO.
MPU6050 is also known as 6 axis sensor or 6 degree of freedom(DOF) sensor. Both accelerometer and gyrometer sensors are present in this single module. Accelerometer sensor give output readings in terms of force applied on object due to gravity and gyrometer sensor give output in terms of angular displacement of the object in clockwise or anticlockwise direction.
MPU6050 sensor use SCL and SDA line of Arduino, therefore, we will be using wire.h library in the code for I2C communication.We can attach two MPU6050 sensors with same SCL and SDA lines at address 0x68 and 0x69 with arduino UNO.
Components Required
1. Arduino UNO - https://amzn.to/32jAMUA
2. MPU6050 - https://amzn.to/2FRcOru
3. jumper wires - https://amzn.to/3iqdBxM
4. Breadboard - https://amzn.to/3kdp4Rt
Circuit Schematic

Code
Downloads
Readings on Serial Monitor
