06-23-2010 07:07 AM
I've recently began a project using our newly acquired robot prototyping kit with sbRIO-9631 control. I've purchased a IR sensor array to use with the robot, but can't seem to figure out how to incorperate it into my block diagram. What must I do to display the signals?
06-24-2010
06:29 PM
- last edited on
07-08-2024
01:43 PM
by
Content Cleaner
broncoeng,
Hey, sounds like you will have an exciting time coming up. Check out the two links below. Specifically, check out the examples mentioned in the second link relating to Sensor Drivers and you should be on your way.
Getting Started Guide for the Robotics Prototyping Kit
Best Regards,
ChrisLS
06-26-2010 12:29 PM
broncoeng,
What is the type output provided by the IR sensor array? For example, does it connect to the sbRIO-9631 with serial, digital IO, analog IO, or some other type of connection? This will be a factor in whether you will need to interact with the sensor from the FPGA or Real-Time processor. Any other details you can give on the sensor array and what you ultimately plan to do with it would be helpful.
-Chris M
06-29-2010 06:22 AM
The there are 8 analog outputs of 0-5 V, so I figured I would be connecting to the sbRIO with the analog I/O. My ultimate plan is make a simple line following robot, then expand with the object avoiding capabilities of the prototyping kit. Any suggestions will be helpful!
06-30-2010 04:00 PM
Bueller? Haha:)
06-30-2010
05:56 PM
- last edited on
07-08-2024
01:45 PM
by
Content Cleaner
In order to pull your data into LabVIEW you will have to drag your FPGA I/O items onto the block diagram. These will be located in your LabVIEW project under your SBRIO.
Are you working from some previous code or will you be developing you application from the beginning?
Chris LS
07-01-2010 02:56 PM
Thanks for your help Chris!
I'm going to read through that link and see what I can't figure out. I've pulled the FPGA I/O (Mod A, AI0) to the block diagram before but didn't know what to do with them exactly... the link looks like it will help.
I'm trying and find previous code, or similar code, to get the robot to simply follow a line...with no luck. I was going to try to use the "roaming" VI that comes with the kit as a starting point but got stuck when I tried to use my new sensors (why I'm here:) ). Do you know of any example VI's that will show simple block diagrams of acquiring the analog signals?
07-02-2010
01:52 PM
- last edited on
07-08-2024
01:45 PM
by
Content Cleaner
If you're just warming up on cRIO there is a great bank of information here: http://www.ni.com/gettingstarted/ The beginning your application section has a great bank of information. The man caveat with sbRIO is that much of the hardware resources appear under the sbRIO target in your project. Also, look at the compactRIO examples in LabVIEW's example finder. You wont be using a Real Time VI, but the FPGA code should look largely the same. I hope this helps!
07-02-2010 01:53 PM - edited 07-02-2010 01:54 PM
duplicate.