Go to Post When you are able to get inside their heads, you will either... or.. B) Learn way to much, and end up running away screaming. - Either way, it'll be a learning experience. - Elgin Clock [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 13 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 10-12-2014, 08:16
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,340
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Using USB Sensors?

Quote:
Originally Posted by 3175student17 View Post
Does anyone know how hard connecting an arduino with the native usb connector and communicating using serial 9600 would be in order to replace using an ethernet shield, or would it be easier to simply use the shield?
Beta testing team here. The RoboRIO has *some* support for USB<->Serial devices, like the Arduino and other FTDI devices. You should not need an ethernet shield to do this. Be careful about powering the Arduino over the USB on the RoboRIO though. I don't think it will let you pull more than 500mA (USB Spec) so no massively long blinky LED chains.
  #17   Spotlight this post!  
Unread 10-12-2014, 15:01
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Using USB Sensors?

You can install additional drivers on the RoboRIO (provided it supports Linux) so software is generally not an issue. For USB, National Instruments does have a "durable" USB cable they were showing at St. Louis this year.

http://sine.ni.com/nips/cds/view/p/lang/en/nid/210962

Additionally, you could try using direct RS-232 or I2C with the arduino.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
  #18   Spotlight this post!  
Unread 10-12-2014, 15:28
AlexanderTheOK AlexanderTheOK is offline
Guy
no team
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Los Angeles
Posts: 148
AlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really nice
Re: Using USB Sensors?

You could always attempt something similar using a camera pointed at the floor. NI provides some pretty easy to use optical flow VIs.
  #19   Spotlight this post!  
Unread 10-12-2014, 17:42
Dale's Avatar
Dale Dale is offline
Head Coach & Mentor
AKA: Dale Yocum
FRC #1540 (Flaming Chickens)
Team Role: Coach
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Portland, OR
Posts: 504
Dale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud of
Re: Using USB Sensors?

Quote:
You could always attempt something similar using a camera pointed at the floor. NI provides some pretty easy to use optical flow VIs.
Alas a standard webcam won't have nearly the frame rate necessary to keep up with a robot moving at 15ft/s. That's why mice have always been interesting since the new gaming mice have some pretty significant specialized processing power on-board. It is the case that some optics magic will need to take place in order to not have the mouse dragging on the carpet.
__________________
2016 PNW Championship Chairman's; 2016 Winner Oregon City District, 2015 PNW Championship Chairman's; 2015 PNW District Engineering Inspiration; 2015 PNW District Finalist; 2014 PNW Championship Chairman's; 2014 Championship Innovation in Controls; 2013 Chairman's (Oregon); 2013 Finalist (OKC); 2012 Winner (OKC); 2012 Chairman's (OKC); 2012 Woody Flowers (Oregon); 2011 Volunteer of the Year (Oregon); 2011 Finalist & Captain (San Diego); 2011 Innovation in Control (San Diego); 2010 & 2007 Chairman's (Oregon); 2010 Regional Champions (Colorado); 2010 Innovation in Control (Colorado); 2009 & 2008 Engineering Inspiration (Oregon); 2008 Regional Champions (Oregon); 2007 Regional Finalist (Oregon); 2005 Rookie Inspiration (PNW)
  #20   Spotlight this post!  
Unread 11-12-2014, 04:00
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Using USB Sensors?

Quote:
Originally Posted by marshall View Post
Be careful about powering the Arduino over the USB on the RoboRIO though. I don't think it will let you pull more than 500mA (USB Spec) so no massively long blinky LED chains.
500 mA is the USB 2.0 spec'd max current for Vbus. You should not generally expect more than that from that standard.

That said, the roboRIO is designed to be able to operate with USB 3.0 cameras (at USB 2.0 data rates), but that means roboRIO can source 900 mA per host port so that those cameras function reliably.
Closed Thread


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 19:25.

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