How to make a self balanceing robot using mpu 6050? Answered

Recently I brought my self a mpu 6050, and I was wondering how to make a self balanceing robot with it ? Iam curently having problems with the code (arduino) and was wondering if any one knows any tutorial related to this... thanks

Question by ThisIsSteve   |  last reply


How to make the GY-87 work probably ?

Hey, This my first question and ... action here with this new account :) My problem is I'm making a quad-copter, which needs some balance and no problem of adding some features like alt. measurement and so. I bought a GY-87 10DOF chip which combines 5 sensors :- MPU6050 Gyroscope MPU6050 Accelerometer BMP085 Barometer BMP085 Temperature sensor HMC5883L Magnometer I don't know yet how to make the quad-copter balance using the chip but I'm focusing now on making the chip work at all. After 7 hours of searching I could get a messy code using KALMAN filter to get the gyro and accel angels which worked fine eccept that the code combines the Z axis with the compass reading and I need to understand how to make every reading separate, which get us to the secong problem, the compass is stuck at 50.3 degrees, after reading i found that i must enable the I2C cuz both of the MPU and the HMC uses the same bus ways, I added a delay (100) ms to let the HMC get it's reading, i could make it work till I realized that the reading is not from 0- 360, it's between 200 and ... maybe 342 ! although making the BMP work was difficult a bit.. now my questions are :- -Understand how the gyro code works or at least add the Z axis of the the gyro not the compass -How to make the compass work probably Files:- https://drive.google.com/open?id=0BxGMyrtCX-KJVHB5S1luZ3VLeGM Libs:- https://drive.google.com/open?id=0BxGMyrtCX-KJcXZ6VlZmejRDR2c

Question by Mavrick23 


Can I control the height of quadcopter using MPU 6050?

Is there a way that I can control the height of the quadcopeter using the MPU 6050? I know that the accelerometer and the gyroscope are used to measure the angular acceleration and the orientations respectively and stabilise the flight. But how would you measure the height of the quadcopter?

Question by Bam Boy   |  last reply


How to control the height of Quadcopter?

Hi, Is there a way to control the height of the quadcopter using the MPU 6050. I know that the sensors i.e. accelerometers and gyroscope measure the orientation of the copter and stabilizes them but how would u measure or like control the height of the copter? Is the controlling of height depends on the IMU unit of completely on the throtle provided to the motors?

Question by Bam Boy 


How can I use the flight control board?

I am making a quadcopter and I am in some confusion. I am planing to get a KKv3 Flight Control Board from Hobby King. The question is, if I get the board then what is the need of getting a seperate IMU6050 as I have seen in some projects that people have used the 6050 sensor along with the Flight Control Board. Is it necessary to use that? As the flight control already have sensors on them. Also, does the flight control board gets connected to the arduino? and if so then how?

Question by Bam Boy 


How to wirelessly transmit information to an Arduino?

So basically I am creating a movement based remote control. The movement is being handled by a MPU-6050 (3-axis accelerometer and 3-axis gyroscope). The idea is to transmit the data to an Arduino that is off the controller on its own hub. The best I've found are these transceivers: https://www.amazon.com/gp/product/B00E594ZX0/ref=ox_sc_act_title_2?ie=UTF8&psc;=1∣=A3GQ2RR1HCHKCZ  The problem with these is that they require an Arduino on both the transmitting and the receiving end. This project is very space limited and I doubt i could even fit an Arduino nano inside. Is there any method of acheiving this that would make use of the space more efficiently or should I just focus on making the casing larger and finding room for every component? Any help would be greatly appreciated. 

Question by SOLRUK   |  last reply


Quadcopter wont lift off? Answered

I have made a quadcopter. However, it wont lift off :( I really need help with that. Following is the list of components I have used: 1) http://www.buildyourowndrone.co.uk/QuadCopter-Full-Motor-ESC-Set-850Kv-p/acq-fmk85.htm 2) 6200mAh, 35C LIPO battery 3) http://www.buildyourowndrone.co.uk/ArduCopter-QuadCopter-v1-0-Frame-Carbon-Fiber-p/ac-frcarbon.htm The weight of the whole copter along with the battery and the components is 1.52Kg which I am sure the motors can lift. I am using and arduino UNO and an MPU 6050 along with a FLYSKY 6Channel Rx/Tx for communication. The motors run on full power, however I am not sure why I can not generate a lift :/ I really need to make it work as this is my final year project. PLeaseeee someone help me :(

Question by Bam Boy   |  last reply