![]() |
![]() |
![]() |
|
|
|||||||
| Robotics Chat Specific to discussions about robots and the making of. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
I am working on HM55B compass but there is only a Basic sample code on the website of Parallax. Any guys used the device with AVR, especially, ATMEGA128 for robots or other applications? Can you share C code with me?
Thanks!
__________________
Learning by doing. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
John. |
||
|
|
|
|
|
(permalink) |
|
Surely it's trivial to convert the BASIC code to C?, if you can't I suggest you read the datasheet and write the code from scratch.
|
|
|
|
|
|
|
(permalink) |
|
Hi Nigel,
Do we need to calibrate this chip or it is already calibrated in the factory? If we we calibrate what are we calibrating. Finding the max and min? I am a bit lost in this regard. I appreciate your help. Thanks, John. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
I just posted an inquiry on the HM55B together with a URL for information. One doc I downloaded shows a flow chart which should help in PIC code development.
I'm looking for PIC code or experience with the module. The URL gives some links to other info sources. There is some setup required but I didn't fully understand it. They use the term brad (binary radian). Best I can determine a brad = 1.4 degrees (8 bit resolution of 360 degrees). Try: http://info.hobbyengineering.com/specs/PX-29123.pdf Also try: http://www.parallax.com/detail.asp?product_id=29123 multiple info links Jess Last edited by jess; 8th February 2007 at 04:25 AM. |
|
|
|
|