Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I connect a digital compass to sbRIO 9631

Support community we need your help.

 

We found this question from Khaled through our Twitter account. We feel his question might warrant ample discussion so we have pointed himhere to the forums and created this thread for him. Is there anyone who can advise Khaled on his project here on this forum thread?

 

Yours truly,

NI Social Media Team

 

1.PNG

0 Kudos
Message 1 of 8
(5,900 Views)

You might check out the LabVIEW Robotics package.  It's got sensor drivers for a handful of digital compasses.  It also has some FPGA code for working with I2C devices.  Find out more at http://ni.com/robotics

Message 2 of 8
(5,882 Views)

how can we do this, i mean how we can connect digital compass with sbrio 9631????? 

0 Kudos
Message 3 of 8
(5,730 Views)

What kind of digital compass are you using?  What sort of outputs does it have?


Best,

Jeff S.
National Instruments
0 Kudos
Message 4 of 8
(5,718 Views)

which will be suitable for sbrio 9631, the output should be such that the sbrio should know the location or  direction of the target that we have set....is it possible???

0 Kudos
Message 5 of 8
(5,693 Views)

Hi suzane,

 

The sbRIO-9631 accepts several Analog inputs and digital outputs.  You need to consult the documentation for this specific model of the digital compass and determine the type of signal it produces, the voltage or current range and the resolution needed.  If you can tell us this information, then we can determine if it is doable.  Check out the Specifications section of the sbRIO-9631 manual to see some of the capabilities of the device.

 

Best,

Ryan C.
Applications Engineer
National Instruments
0 Kudos
Message 6 of 8
(5,678 Views)
hi Ryan-c, i wanted to know the answer for same question and the compass i am using is HMC6343 digital compass ?? help me in this regard . thanks in advance
0 Kudos
Message 7 of 8
(4,910 Views)

Greetings madiha93

 

Your digital compass uses I2C protocol to output the data it senses. What you need is to implement the I2C protocol in your sbRIO. You will need 2 of the Digital I/O lines of the board. Take a look at this document to learn how to implement I2C in LabVIEW FPGA.

 

Let us know if you have further problems.

 

Warm Regards, 

Luis J.
Applications Engineer
National Instruments
0 Kudos
Message 8 of 8
(4,894 Views)