Go to Post Understand that not only can you learn from other experienced engineers, but also mechanics, farmers, and craftsmen. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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,017
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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi