United Kingdom
Asked — Edited

Hmc5883l Triple Axis Magnetometer Help

Hi

So finally I got may HMC5883L Triple Axis Magnetometer through. But I can't seem to get it working and there doesn't seem to be any reference to it only a dual axis one.

All connections were obvious so I know they are right. It's connected to the 3.3v not 5v.

I can't say much more than that.

I tried using the dual axis options but it only returns a heading of 44 all the rest of the values return -1.

I'd prefer to be using c# scripting if this helps at all.


ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

Author Avatar
United Kingdom
#17  
Author Avatar
United Kingdom
#18  

@Jaychadw interested to know what you want a magnetometer for? If you have an Iphone the new sensor stream can display the Teslameter in 3 axis its kinda fun waving a magnet near my phone and watching the figures change. Very sensitive as well

#19  

Hi,

Old discussion but apparently no solution has been found. I'm also Struggling trying to use HMC5883L chip which crashes my EZB everytime I try to initialize it, using the EZB tutorial's script.

I get that I have to write something, using the datasheet but I can't figure what I'm suppose to send to this i2C device... what hex data am I suppose to write?

Well, I'm totally lost. I'd love my robots to know which direction they're heading though.

Rich? Any help? TheTechguru? Someone?:)