1 chapter 4: hitachi hm55b compass module smart sensors and applications chapter 4: hitachi hm55b...
TRANSCRIPT
1
Smart Sensors and Applications Chapter 4: Hitachi HM55B Compass ModuleChapter 4: Hitachi HM55B Compass Module
Presented by: Presented by: Andy LindsayAndy LindsayParallax, Inc.Parallax, [email protected]@parallax.comom
2
Copyrights and Trademarks
This documentation is copyright 2006 by Parallax Inc. By downloading or obtaining a printed copy of this documentation or software you agree that it is to be used exclusively with Parallax products. Any other uses are not permitted and may represent a violation of Parallax copyrights, legally punishable according to Federal copyright or intellectual property laws. Any duplication of this documentation for commercial uses is expressly prohibited by Parallax Inc. Duplication for educational use is permitted, subject to the following conditions: the text, or any portion thereof, may not be duplicated for commercial use; it may be duplicated only for educational purposes when used solely in conjunction with Parallax products, and the user may recover from the student only the cost of duplication.
BASIC Stamp, Stamps in Class, Board of Education, Boe-Bot SumoBot, SX-Key and Toddler are registered trademarks of Parallax, Inc. HomeWork Board, Propeller, Ping))) Parallax, and the Parallax logo are trademarks of Parallax Inc. If you decide to use trademarks of Parallax Inc. on our web page or in printed material, you must state that "(trademark) is a (registered) trademark of Parallax Inc.” upon the first appearance of the trademark name in each printed document or web page. Other brand and product names are trademarks or registered trademarks of their respective holders.
3 Chapter 4, Pages 119 - 120
The Hitachi HM55B The Hitachi HM55B Compass ModuleCompass Module
4 Chapter 4, Activity #1, Pages 120 - 121
Circuit: Figure 4-4, p. 121Circuit: Figure 4-4, p. 121
Program: TestCompass.bs2, p. Program: TestCompass.bs2, p. 121121
√ √ Follow the checkmarks on page Follow the checkmarks on page 122.122.
5 Chapter 4, Activity #1, Page 126
Experiments with Magnetic Experiments with Magnetic FieldsFields
√ √ Follow the checkmark Follow the checkmark instructions on page 124 – 127.instructions on page 124 – 127.
6 Chapter 4, Activity #2, Page 129
Calibration SetupCalibration Setup
√ √ Follow the Follow the checkmark checkmark instructions on pages instructions on pages 128 – 130.128 – 130.
7 Chapter 4, Activity #2, Pages 130 - 132
Calibration ProcedureCalibration Procedure
Program: CalibrateCompass.bs2, page 132Program: CalibrateCompass.bs2, page 132
√ √ Follow the checkmark instructions on pages 128 – 130 and Follow the checkmark instructions on pages 128 – 130 and page137.page137.
8 Chapter 4, Activity #3, Page 138
Program: Program: TestCalibratedCompass.bTestCalibratedCompass.bs2 on page 139s2 on page 139
√ √ Follow checkmark Follow checkmark instructions on page 139.instructions on page 139.
9 Chapter 4, Activity #4, Pages 144 - 146
Step 1: Add two Step 1: Add two CONCON directives.directives.
Step 2: Add four Step 2: Add four variables.variables.
Step 3: Modify the Step 3: Modify the Compass_Get_AxesCompass_Get_Axes subroutine as shown.subroutine as shown.
√ √ Follow checkmark Follow checkmark instructions on page instructions on page 146.146.
Program: Start with Program: Start with TestCompass.bs2, p. TestCompass.bs2, p. 122.122.
10 Chapter 1, Activity #4, Page 145
11 Chapter 4, Activity #5, Pages 148 - 151
Circuit: Figure 4-12 to 4-14, pages 149 – 151Circuit: Figure 4-12 to 4-14, pages 149 – 151
√ √ Follow checkmark instructions on pages 150 – 151.Follow checkmark instructions on pages 150 – 151.
12 Chapter 4, Activity #5, Pages 154 - 156
Program: LcdTestCompass.bs2 on page 156Program: LcdTestCompass.bs2 on page 156
√ √ Install the optional LCD Mounting Bracket if Install the optional LCD Mounting Bracket if desired, following checkmarks on page 154.desired, following checkmarks on page 154.
√ √ Follow the checkmark on page 156.Follow the checkmark on page 156.