This manual provides quick start, calibration, and testing instructions for the Parallax Hitachi HM55B Compass Module (#29123), a dual-axis magnetic field…
The document serves as a user guide for the Parallax Hitachi HM55B Compass Module (product #29123). It details how to connect and test the module using BASIC Stamp 2 or Ubicom SX microcontrollers. The manual explains that the device is a dual-axis magnetic field sensor designed to add direction sensing to electronic or robotic projects.
| Sensitivity | 1.0 to 1.6 µT/lsb |
|---|---|
| Linear measurement range | -180 to 180 µT |
| Conversion time | 30 to 40 ms |
| Operating temperature | 0 to 70 °C |
| Supply Voltage | 5.0 V (Typical) |
| Average active supply current | 7 mA (Typical) |
Do not apply magnetic fields in excess of 300 µT to the Compass Module, as stronger fields can permanently damage the sensor.
To resolve θ into a clockwise angle from north, use arctan(-y/x), which in PBASIC 2.5 is x ATN -y.
Communication and direction calculations are made easy with the PBASIC commands SHIFTOUT, SHIFTIN, and ATN.