If you want, you can set accelerometer offsets Serial.println("Could not find a valid MPU6050 sensor, check wiring!") Click on that entry, and then select Install. Look for Adafruit MPU6050 Library by Adafruit.
To install the library navigate to the Sketch > Include Library > Manage Libraries… Wait for Library Manager to download libraries index and update list of installed libraries.įilter your search by typing ‘mpu6050’. MPU6050 can be programmed to raise interrupt on gesture detection, panning, zooming, scrolling, tap detection, and shake detection. When you leave the ADO pin unconnected, the default I2C address is 0圆8HEX and when you connect it to 3.3V, the I2C address becomes 0圆9HEX. It can be used if the module is conflicting with another I2C device, or if you wish to use two MPU6050s on the same I2C bus. The external I2C bus is for connecting external sensors.ĪD0 : it allows you to change the internal I2C address of the MPU6050 module. This line is used for both transmit and receive. This is a timing signal supplied by the Bus Master device.
GND: should be connected to the ground of Arduino. Connect it to the 5V output of the Arduino. Inbuilt temperature sensor MPU6050 Module Pinout: It is capable of processing nine-axis algorithms, it simultaneously captures motion in x, y and z axis. It was designed for low-cost and high-performance smartphones, tablets and wearable sensors. It is the world’s first six-dimension motion tracking device. MPU6050 can be easily interfaced with other sensors such as magnetometers and microcontrollers MPU6050 is basically a sensor for motion processing devices. The module is very low in size, has low power consumption requirements, is highly accurate, has high repetition, high shock tolerance, has application-specific performance programmability and low consumer price points. It has on-chip gyroscope and accelerometer sensors with temperature sensors. Which consists of a three-axis accelerometer and a three-axis gyroscope. MPU 6050 is an MEMS-based 6-axis motion tracking device. We have already discussed the basic knowledge of MPU 6050- Introduction to MPU6050 Motion Sensor What is MPU6050? It measures the angle and speed values of accelerometer and gyroscope. In this tutorial we will learn about Interfacing with MPU 6050 sensor on Arduino Boards.