NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Connect an electronic compass to the [LabVIEW for the ARM microcontroller LM3S8962]

VERSION 2

Created on: Sep 3, 2009 1:16 PM by UWvd - Last Modified:  Nov 6, 2009 4:33 PM by Deirdre

These steps will allow you to connect a Honeywell HMC6352 compass to the [LabVIEW for the ARM microcontroller LM3S8962] and diplay the heading in degrees on the front panel.

 

1 Get a LM3S8962 board and HMC6352 Compass.

how to buy a [LabVIEW for the ARM microcontroller LM3S8962]

Compass:http://www.sparkfun.com/commerce/product_info.php?products_id=7915

Note: The datasheet for the compass is available on the page linked here.

 

2 Install software and create a project for the [LabVIEW for ARM microntroller LM3S8962].

http://decibel.ni.com/content/docs/DOC-6233

 

3 Wire pins 47, 48, 57, ad 60 on the LM3S8962 to the compass as shown below.

compass wiring.jpg

4 If you are using Labview 2009 simply copy and paste the picture of the code below into your block diagram; otherwise, the VI is attached to this document.

Compass snippet.png

 

Downloads:
Average User Rating
(0 ratings)




There are no comments on this document

More Like This

  • Retrieving data ...

More by UWvd