Arduino Based Gyroscope Accelerometer Controlled Servo Motor


In this Project, we will measure an angle using MPU6050 Accelerometer and Gyroscope Sensor with an Arduino and control Servo Motors. The Accelerometer sends X, Y, and Z acceleration forces. We need to convert the forces into X, Y, Z 3D angle to determine the 3D Orientation of the sensor.The gyroscope measures rotational velocity or rate of change of the angular position over time, along the X, Y, and Z-axis. It uses MEMS technology and the Coriolis Effect for measuring. The outputs of the gyroscope are in degrees per second, so in order to get the angular position, we just need to integrate the angular velocity.

The accelerometer can measure gravitational acceleration along the 3 axes and using some trigonometry math we can calculate the angle at which the sensor is positioned. So, if we use, or combine the MPU6050 accelerometer and gyroscope data we can get very accurate information about the sensor orientation.