Hello.
I am trying to build my own quadcopter, but have been stuck for a few months trying to get a stable motion sensor in place. Does anyone have any suggestions to a good, reliable mpu system with as little drift as possible? And, on top of that, it would also be awesome to know how to code and install the device.
Thanks all!
Did you look add the MPu6050 with the dmp (digital motion processor) ?
You can find sample code+lib here GitHub - jrowberg/i2cdevlib: I2C device library collection for AVR/Arduino or other C++-based MCUs
if you use the dmp you get good usable values ,the dmp will do the calculations for you.
Make sure you callibrate first and set the speed to 200hz (thats the max.).
You can change the speed in the MPU6050_6Axis_MotionApps20.h file on line 305.