View Single Post
  #9   Spotlight this post!  
Unread 20-02-2014, 16:00
rben13 rben13 is offline
Registered User
FRC #1153 (Walpole Rebels)
Team Role: Coach
 
Join Date: Feb 2014
Rookie Year: 2013
Location: United States
Posts: 4
rben13 is an unknown quantity at this point
Re: Connecting a Arduino to a cRio to control LEDs

Quote:
Originally Posted by Laxkief9098 View Post
We are trying to use LEDs on our robot, so we purchased the LED kit on AndyMark which includes an Arduino controller (an ATMega328). we also downloaded the Aduino library for labview. In the LED examples there were a couple terminals in the initialize VI that I had a few questions about.
1) What is the VISA resource?
2) What is a XBEE connection and where is the serial port that I can connect the Arduino to the cRio?
We're trying to do the same thing and running into the same problem of not knowing what VISA Resource Name to use. I assume we need to know the name that indicates the RS232 port on the cRIO.

XBEE makes a series of little radios that you can communicate over as if they are RS232 Serial ports. They are commonly used in small robots to provide a link back to a controlling computer or in a mesh network.

While there are other good ways to communicate between the cRIO and the Arduino, including I2C and GPIO lines, I'd prefer to use RS232 because we're actually controlling a 32x32 array of LEDs and would like to let the cRIO send us strings to display on the array.

So, please, if anyone out there knows how to make this work, please post a reply. If I figure it out, I'll post a reply here, myself.

Ray