hmc5883L with beagle

Has anyone gotten the honeywell HMC5883L 3 axis magnetometer/compass working with the beagleboard? (hopefully the bone).

Eric

Yes, but I did not use kernel driver, but talked to it directly over i2c.

j.

do you know of a kernel driver for it? can you reference any good code or other references that helped you make use of it? Really wanting to use it as a tilt compensated compass.

Thanks,

Eric

I used the best reference you can get: the datasheet :slight_smile:
The chip is quite popular and there is a lot of code floating around
on the net. I think I read about a kernel driver, but never tried to
use it.
To talk to the chip, I use korebot i2c library:
http://ftp.k-team.com/korebot/libkorebot-doc/

j.

I used the best reference you can get: the datasheet :slight_smile:
The chip is quite popular and there is a lot of code floating around
on the net. I think I read about a kernel driver, but never tried to

Here is one from the GTA04/OpenPhoenux:

http://git.goldelico.com/?p=gta04-kernel.git;a=blob;f=drivers/misc/hmc5883l.c;h=7bb157149b6aa571597a8edc034fd31a047951e4;hb=HEAD

I used the best reference you can get: the datasheet :slight_smile:
The chip is quite popular and there is a lot of code floating around
on the net. I think I read about a kernel driver, but never tried to

Here is one from the GTA04/OpenPhoenux:

http://git.goldelico.com/?p=gta04-kernel.git;a=blob;f=drivers/misc/hmc5883l.c;h=7bb157149b6aa571597a8edc034fd31a047951e4;hb=HEAD