View Single Post
  #2   Spotlight this post!  
Unread 27-07-2011, 18:51
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,998
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Sending commands to an arduino

I don't have an answer for you, but the Arduino Mega supports I2C, and the Digital Sidecar also speaks I2C. Similarly, the cRio speaks Serial Data (RS-232 I believe) as does the Mega (but you may need a simple lever converter like a MAX202)

Labview, by itself, can't speak to anything. It's software. I assume you mean to use the FRC hardware (cRio) to communicate with the Mega? The trick then is to find the command block for data communications, address it to the correct port (I2C, Serial, etc) and then all you do is squirt your data in and listen for what comes out. Have to do that on the 'duino too.

There's lots of info for the Arduino side of this; Google it.
__________________

I am N2IRZ - What's your callsign?