HMC5883L with Embedded MotionApps

By gert_engelhardt , 20 September 2011

I would like to implement the Embedded Motion Apps 9-axis Fusion using the HMC5883L magnetometer with the MPU6050. I see that the HMC5883L is included in the umpl slave.h file.

Is there any plan to release a version of the Embedded MotionApps UC3-A3 example project with 9-axis fusion using the HMC5883L? There shouldn't be any issues with rights restrictions like there are with the AKM8975.

Thank you for your help.

- Noah Zerkin
zerkin AT integratedrealities.com

guy_mcilroy

14 years 6 months ago

We do support HMC5883L in our MotionApps software (for handsets and tablets) that runs on Application processor.

We don’t have a target date for supporting HMC5883L in the Embedded MotionApps software release.

phpbb Post ID
18030

markw

13 years 10 months ago

Hello,

I see this old post but I wonder if the HMC5883L is now (or soon) supported in the Embedded MotionApps software for a 9-axis fusion ?

Thanks

phpbb Post ID
18033

hernan_angel

13 years 9 months ago

@ereca-france wrote:

Hello,

I see this old post but I wonder if the HMC5883L is now (or soon) supported in the Embedded MotionApps software for a 9-axis fusion ?

Thanks


I managed to get sensor fusion with the HMC5883L and to work at ~200 Hz, but not using the built-in DMP, which is more trouble than it's worth. The code for my quaternion-based AHRS runs amazinly well on ARM, MSP430, and AVR. You can select either floating point AHRS update, 32-bit fixed point update, ot 16-bit fixed point update. AHRS update for 32-bit fixed point output (Q26 format) run in about 27,000 instructions on an MSP430. :-)

http://www.soldercore.com/manual/corebasic_ahrs.htm

http://www.soldercore.com/manual/corebasic_soldercore_core_mpu.htm

http://soldercore.com/products/sensecore/corempu/

Libraries for these will be released so you can use them with our products.

Sorry if this sounds like an advertisement, but you know, InvenSense were not helpful when we tried to get 9DOF working with the DMP on an ARM using their software--it was problematic, so we wrote our own. You can do the same!

Regards,

-- Paul.
phpbb Post ID
18039

guy_mcilroy

13 years 8 months ago

Paul_I_Curtis,

No apology necessary and I must compliment your work. We encourage Developers to share their knowledge and experience with the entire community to help stimulate innovation; it's what the forum is here for.

phpbb Post ID
18042

hernan_angel

13 years 8 months ago

@sectionsbest wrote:

Paul_I_Curtis,

No apology necessary and I must compliment your work. We encourage Developers to share their knowledge and experience with the entire community to help stimulate innovation; it's what the forum is here for.


It looks like you may well be on the way to making the DMP more usable with the MPU-6000 series, from what I read in this forum anyway. I placed an order for MPU-6050s when they were announced, and I have to say I am actually very pleased with the way that the device works when I just use it as gyro+accelerometer. You will see that I've ordered, directly or through distribution, pretty much everything you sell. :-)

I've recently received my MPU-9150EVB, which is great. I hooked it up and it works nicely. I also wrote drivers for the MPU-6000's SPI mode, and it too works great. So now I have each and every MPU-6000 covered plus the MPU-9150. And I also wrote drivers for various other InvenSense sensors. :-)

Next, a video showing sensor fusion running at >100 Hz but without the DMP.

If you need testers for your IP package, well, I'm more than glad to lend a hand. I've been critical of what InvenSense have delivered in the past, and rightly so I think, but then that's just my opinion. However, the idea was to get quaternions out of the DMP and, whilst that can be done, it is terribly intricate and requires ripping apart eMPL.

At some point I will be hooking up a low-power ARM and the MPU-9150; I have yet to decide whether to use an EFM32 or one of the new Freescale L series CM0+ devices.
phpbb Post ID
18045

hernan_angel

13 years 8 months ago

@sectionsbest wrote:

Paul_I_Curtis,

No apology necessary and I must compliment your work. We encourage Developers to share their knowledge and experience with the entire community to help stimulate innovation; it's what the forum is here for.


A blogged a bit and there is now a video showing the MPU-6050 used with an HMC5883L, fused an ARM microcontroller (a TI LM3S9D92, if anybody is interested).

http://soldercore.com/sensor-fusion-1/

Sensor response is pretty neat. :-)
phpbb Post ID
18048
phpbb Topic ID
13521