28029 Parallax Inc, 28029 Datasheet - Page 134

KIT PARTS SMART SENSORS W/TEXT

28029

Manufacturer Part Number
28029
Description
KIT PARTS SMART SENSORS W/TEXT
Manufacturer
Parallax Inc
Datasheet

Specifications of 28029

Accessory Type
Parts Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp® or Javelin Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Other names
28029PAR
Page 122 · Smart Sensors and Applications
Figure 4-4: Debug Terminal Output with Compass Facing 35° Clockwise of North
Example Program: TestCompass.bs2
' -----[ Title ]--------------------------------------------------------------
' Smart Sensors and Applications - TestCompass.bs2
' Test to make sure Hitachi HM55B Compass Module is working.
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ I/O Definitions ]----------------------------------------------------
Download and unzip the selected source code from the Smart Sensors and
Applications product page at www.parallax.com.
Open the TestCompass.bs2 file with the BASIC Stamp Editor and run the
program.
The Debug Terminal should display the compass x and y axis measurements and
the angle it is facing, clockwise from north.
If your compass reports measurements with less than a 40° error, it means it's
working and ready for the calibration program featured in Activity #2.
Free Download! This program is available as a free .bs2 file download from the Smart
Sensors and Applications Product Page at www.parallax.com.

Related parts for 28029