Shop OBEX P1 Docs P2 Docs Learn Events
HM55b Hitachi Compass — Parallax Forums

HM55b Hitachi Compass

Raphael LinkerRaphael Linker Posts: 7
edited 2007-03-18 14:40 in BASIC Stamp
I have connected the HM55b to the Basic Stamp as shown in the HM55BModDocs.pdf (page 1, Fig 1) and I ran the file CalibrateHm55bCompass.bs2. The program gets stuck in the subroutine Compass_Get_Axes (endless DO loop because status is never equal to Ready). Any suggestions?

Thanks
Rafi

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2007-03-18 11:11
    Rafi -

    The first thing I would do is to re-check my wiring.

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • Raphael LinkerRaphael Linker Posts: 7
    edited 2007-03-18 11:49
    We checked the wiring several times and tried using different pins on the BS. No changes!
  • Mike GreenMike Green Posts: 23,101
    edited 2007-03-18 14:40
    Although it is possible, it is very unlikely that you have a defective HM55B. I use one and they're pretty rugged and seem to survive all kinds of accidents and abuse. There's no magic to the software. If you've copied it correctly (by using the file or cutting and pasting) it should work. Again, check your wiring. Use an ohmmeter or continuity tester. Sometimes wires break internally or at a plug/socket. If you can't find anything, call or e-mail Parallax support on Monday.
Sign In or Register to comment.