ScottSmith Posted June 7, 2013 Report Share Posted June 7, 2013 Does the library support using the MPU-6050 with a slave compass? If so, which one(s)? It seems AK8975 is one of the supported compasses by the chip but I was wondering if others were supported too. Quote Link to comment Share on other sites More sharing options...
Jeff Rowberg Posted June 8, 2013 Report Share Posted June 8, 2013 I haven't added support for anything besides the AK8975, which is what was built into the MotionApps code. However, Github user @muzhig has made it work with the HMC5883L: https://github.com/jrowberg/i2cdevlib/issues/18#issuecomment-18402160 Note that this doesn't work with the DMP, but does provide raw magnetometer readings in the external sensor data registers as described in his comment. Quote Link to comment Share on other sites More sharing options...
ScottSmith Posted June 8, 2013 Author Report Share Posted June 8, 2013 Does the AK8975 work with the DMP? Quote Link to comment Share on other sites More sharing options...
Jeff Rowberg Posted June 12, 2013 Report Share Posted June 12, 2013 It does, yes. That's the only device that the existing DMP binary I have supports, I think. Quote Link to comment Share on other sites More sharing options...
LagaV Posted June 16, 2013 Report Share Posted June 16, 2013 Jeff, will this code also work with the MPU9150, which is described as having an integrated AK8975? Thanks for all the great work you have put into this library so far! LagaV Quote Link to comment Share on other sites More sharing options...
Jeff Rowberg Posted July 4, 2013 Report Share Posted July 4, 2013 Hi LagaV, I have tested the code with a 9150, and it does work (though you may have to modify the AK8975's slave address to be something else--0x0C or 0x0E or something like that--depending on your specific 9150. Some people have had it work as written, and some people have needed to change the slave address of the mag. I'm not sure what the pattern is, or if it relates to engineering samples or what, but in short, the answer is that you should be able to use it. The MotionApps v4.1 code is required, of course, since the v2.0 stuff doesn't have any mag support. Quote Link to comment Share on other sites More sharing options...
luisrodenas Posted January 9, 2014 Report Share Posted January 9, 2014 I know this is quite an old topic, but maybe is the rigth place to ask. Jeff, when you say: I have tested the code with a 9150, and it does work Do you mean that the DMP inside the 9150 is running a 9 axis sensor fusion algorithm by itself? Or is it running a 6 axis algorithm and later fusionates with magnetometer readings at host? Btw, some extra questions. Can the DMP run at 200Hz instead of 100Hz? Maybe new DMP firmware? I have seen people saying it can, at Invensense's developers corner. (http://www.invensense.com/developers/forum/viewtopic.php?f=7&t=633) And here: (http://harinadha.wordpress.com/2013/07/03/mpu9150datalog) And what does Embedded MotionDriver v5.1 have to do with all this thing? Thank you for your time or anyone's who answer! Quote Link to comment Share on other sites More sharing options...
hosein Posted March 26, 2017 Report Share Posted March 26, 2017 hi mr Rowberg I'm making a pov display with mpu6050 and brushless motor as you know its so fast and i need an arduino code to give me the exact angle of the mpu in high speed,can you help me? i searched a lot but i couldn't find. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.