Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
Thread Tools Display Modes
Old 27th April 2006, 04:37 PM   (permalink)
Default Need C code for HM55B compass of Parallax

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.
odense is offline   Reply With Quote
Old 6th May 2006, 06:12 AM   (permalink)
Default Hm55b

Quote:
Originally Posted by odense
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!
I also need some info in this regard,

John.
mmsya is offline   Reply With Quote
Old 6th May 2006, 08:26 AM   (permalink)
Default

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.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 7th May 2006, 02:00 AM   (permalink)
Default Hm55b

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.
mmsya is offline   Reply With Quote
Old 7th May 2006, 10:10 AM   (permalink)
Default

Quote:
Originally Posted by mmsya
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.
No idea, presumably the datasheet explains it?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 7th February 2007, 09:28 PM   (permalink)
Default

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.
jess is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 04:48 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.