i2c code for a Honeywell HMC6343 Tilt Compensated Compass?
-
- Posts: 513
- Joined: Sat Apr 26, 2008 7:14 am
i2c code for a Honeywell HMC6343 Tilt Compensated Compass?
Does anyone happen to have i2c code to interface to a Honeywell HMC6343 Tilt Compensated Compass? If so, I'd appreciate not reinventing the wheel. Thanks in advance.
Re: i2c code for a Honeywell HMC6343 Tilt Compensated Compass?
Hi R.
Try the Honeywell website to see if there is C code examples there. If not try tech. support.
Phil
Try the Honeywell website to see if there is C code examples there. If not try tech. support.
Phil
Re: i2c code for a Honeywell HMC6343 Tilt Compensated Compass?
Looking at the datasheet for this device, it looks very simple if all you need to do is get out heading, pitch and roll. The end of the datasheet shows the commands to send and get back this information.
Are you looking for a more complex driver for this that will handle calibration, setup etc?
Cheers,
Dave...
Are you looking for a more complex driver for this that will handle calibration, setup etc?
Cheers,
Dave...
-
- Posts: 513
- Joined: Sat Apr 26, 2008 7:14 am
Re: i2c code for a Honeywell HMC6343 Tilt Compensated Compass?
Yes, I've looked at the data sheet... yes, I'd do the calibration and setup while I'm at it since compasses are pretty useless w/o cal.
The Honeywell site does not have any code examples, although you are right, the data sheet does explain the protocol, pretty much likle most i2c protocols. I was amused by the rep who told me no code was required...?
Just wondered if the code might be available from anyone here? As usual, if not, I'm sure it's just a matter of cranking through it.
The Honeywell site does not have any code examples, although you are right, the data sheet does explain the protocol, pretty much likle most i2c protocols. I was amused by the rep who told me no code was required...?
Just wondered if the code might be available from anyone here? As usual, if not, I'm sure it's just a matter of cranking through it.