View Single Post
  #5   Spotlight this post!  
Unread 02-04-2011, 14:42
Andy A. Andy A. is offline
Getting old
FRC #0095
Team Role: Coach
 
Join Date: Jun 2001
Rookie Year: 2001
Location: New Hampshire
Posts: 1,014
Andy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond repute
Re: Arduino and LabVIEW

Quote:
Originally Posted by EricVanWyk View Post
I'm not sure what David is talking about...

You can use I2C, SPI, or serial. Or, you could add an ethernet shield to the Arduino and use that.

For I2C and SPI, the cRIO wants to be the master. I'm not sure if the arduino easily supports slaving in these modes, you will have to check it out.

For serial, the Uno consumes its native serial port with its USB connection. Instead, you will have to use the software serial port library.
There is also a CAN bus shield available, although I know little about it. It has a DB9 connector, which I guess means it's really intended to interface with automotive diagnostics stuff (complete with a sd card slot for data logging!). Still, I'm sure a clever team could handle the wiring and code required to interface it on a FIRST bot.

There are, of course, legal issues regarding custom circuits being in the CAN bus loop. Without carefully looking I think using the bus just to pass data is ok, as long as it doesn't try to control motors. I'm not sure exactly what practical advantage it would give you over SPI or I2C, but it would be pretty neat.

CAN bus shield on Sparkfun. It might be avalible elsewhere.
Reply With Quote