I have used two references on this site to get my MPU6050 up and running.
Because I need data at approx. 500Hz (the DMP of the MPU6050 is limited to 200Hz) I am attempting to implement a quaternion filter (Madgwick) - found here.
The unfiltered data is coming through fine; however, my implementation of the filter is not working correctly as I'm getting 0s even after moving the MPU6050. Any help on this is greatly appreciated.
(Note: The attached project was created w/ the PSOC4-Pioneer Kit - BLE version - easily changed by selecting a different device)
Interesting project, thank you for the link. Can I ask what it is for? I would like to try something like this out on a quad copter. Perhaps this summer...
Without going into too much detail, it's actually something in the wearable arena. However, my son & I are looking for a project this summer and may look at a copter project.
I have downloaded MPU6050 DKW PSOC RevisedV2.cywrk.Archive01 and working on it , the problem is that
without changing the or rotating the sensor I am getting values that are keep changes even at standstill
I'm getting very minor fluctuatons - less than .1 degree on roll and pitch. Yaw drift comes with the territory. See here for more... github.com/kriswiner/MPU-6050. Be sure to hit reset when the MPU is flat and stable.
My MPU 6050 board is "home-wired" and I just followed the datasheet on the circuitry. If you are getting more fluctuation than the above, I would think it would be a hardware issue.
I can't think of why you are getting different results from me other than hardware. I think there are several other examples from others on Github and elsewhere using the MPU board you referenced. It could be a bad board or something in the conversion if you are not using a Pioneer 4 BLE Kit. Really at a loss on the reason. Sorry I can't be of more help.
On the DMP, I'm only aware of the Arduino code, and code provided by InvenSense - but it is only for the MSP430. InvenSense has announced a product that will solve these issues www.invensense.com/products/icm-30630-2/ but not sure of the timing.