Reklam

How to measure angle using Arduino and MPU6050 Gyro and accelarometer sensor

This is a simple project based on Arduino and MPU-6050 to measure angle. This project we will later use in our Arduino based robot projects.
MPU-6050 comes with a gyro and an accelerometer in a single package. Pitch angle and roll angle were calculated then complementary filter were used to find final angle. Then it will send back data the to the PC, so you have to monitor serial port ( Tools – Serial Monitor)
The code is having enough comments to understand every line. So I did not explain the code in the video.
You need to download the libraries MPU6050 and I2Cdev by Jeff Rowberg from the link Below
https://github.com/jrowberg/i2cdevlib/tree/master/Arduino
Once you download copy and paste the folders to
C:\Program Files (x86)\Arduino\libraries
You can download the program code (Firmware) from following link.
https://drive.google.com/file/d/0B5lyA67pJIcWUU5BamlMZkVXLTA/view?usp=sharing

For more creative project ideas subscribe to my YouTube channel - Brainergiser.
Youtube Channel: https://www.youtube.com/user/sauravchakra
Other social media links are as follows:
Facebooks Page: https://www.facebook.com/Brainergiser-1606702352879992/
Inscrutable: http://www.instructables.com/member/Saurav+Chakraborty/
Google Plus : https://plus.google.com/+sauravchakra
Website: http://brainergiser.blogspot.in/
Instagram: https://www.instagram.com/brainergizer/
Pinterest: https://www.pinterest.com/saurav_chakra
Twitter: https://twitter.com/saurav_chakra How to measure angle using Arduino and MPU6050 Gyro and accelarometer sensor
Similar Videos

0 yorum: