Go to Post You will find we are more talkative in about 5 1/2 weeks. ;) - mrnoble [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 06-02-2015, 10:12
Jefferson Jefferson is offline
Registered User
AKA: Jeff Clements
FRC #0016 (Bomb Squad)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Mountain Home, AR
Posts: 257
Jefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant future
Re: roboRio limited to 8 Analog Inputs

Quote:
Originally Posted by Joe Johnson View Post
Let me stipulate...
Joe,

I don't have any experience with the items you listed outside of the NAVX, but I won't let that stop me from throwing my opinion out there.

The REVDuino looks like a good option because it does state that you can stack the MXP boards using the provided connector. You could use I2C to communicate between the roboRio and the arduino to avoid any conflict in the UART. There are enough threads here on that very topic that it shouldn't be too difficult.

The I2C breakout board is intriguing. You should be able to power it using the 5V from the VRM. Seems like a cheap and simple solution.

I really hope you can power through the MXP. The NAVX we are both using is powered with it.

Talon SRXs are really the best option to extend the analog capabilities, but I'm guessing you aren't using them if you're still looking for more analog ins.

I know that wasn't super helpful. Maybe somebody can chime in who has some experience with those devices.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2015, 10:46
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: roboRio limited to 8 Analog Inputs

Quote:
Originally Posted by Joe Johnson View Post
* Looking at the pinouts, it looks like the REV RIOduino passes through all the MXP signals so I may be able to plug the REV RIOduino into the roboRIO then plug the navX into the REV RIOduino. I have two concerns. First, will they even physically fit together (see photo attached). Second, both want to use the UART lines -- The roboRIO TX line is no problem as I can have them both listen without a conflict. But I will have to let one or the other use the roboRIO RX line. Never a dull momemt.
Hi Joe,

The RIOduino does come with an extra connector giving you the ability to stack another MXP board on top. However, it is unlikely that the navX will clear the shield headers on the RIOduino.

One solution would be to use the REV MXP Extension Cable to mount the navX elsewhere.

Like others have stated, the RIOduino has both UART and I2C connected to the MXP. You can use I2C on the RIOduino and UART on the navX.

Be sure to check out our website for the latest documents and information about the RIOduino: www.revrobotics.com/product/rioduino
__________________
David Yanoshak
Co-founder REV Robotics | www.revrobotics.com
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2015, 15:08
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: roboRio limited to 8 Analog Inputs

Hey Joe, I understand the need for more analog.

I'm sure it's not a surprise, but I've been using Talon SRX's for my analogs when testing things, but honestly its because my sensors are close to the Talons and I'm lazy when it comes to wiring. Also 20ms was sufficient for what I was doing at the time. Also I like being able to use the self-test in the RIO web-based config to quickly-peak at sensor values (Self-test works even with no robot code, I love that).

What do you think the fastest resolution teams typically will need?
If you need faster than say a sample per 10ms, then the MXP extensions might be better, though I haven't actually used them yet.

EDIT : FYI, I saw your post about your budget. But I figured I'd chime in anyway for teams that did have SRXs.
Reply With Quote
  #4   Spotlight this post!  
Unread 08-02-2015, 23:31
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 343
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: roboRio limited to 8 Analog Inputs

Quote:
Originally Posted by Joe Johnson View Post
* Looking at the pinouts, it looks like the REV RIOduino passes through all the MXP signals so I may be able to plug the REV RIOduino into the roboRIO then plug the navX into the REV RIOduino. I have two concerns. First, will they even physically fit together (see photo attached). Second, both want to use the UART lines -- The roboRIO TX line is no problem as I can have them both listen without a conflict. But I will have to let one or the other use the roboRIO RX line. Never a dull momemt.
The navX MXP has a few dip switches on it; if the UART switch is moved to the disabled position, the navX MXP will completely stay off of the MXP TTL UART lines.

If the navX MXP UART access is disabled, you can still communicate to the navX MXP via the USB port, or you can use the I2C and SPI interfaces. The Labview navX MXP library supports any of these interfaces, however the Java/C++ navX MXP I2C/SPI libraries are not yet released.
Reply With Quote
  #5   Spotlight this post!  
Unread 09-02-2015, 00:10
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: 499
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: roboRio limited to 8 Analog Inputs

An analog multiplexer might be all you need. These are available in chip form or this handy breakout board for $4.95 from Sparkfun https://www.sparkfun.com/products/9056

You just select the line you want to monitor using a digital address from your DIO and then the multiplexer acts like a really fast rotary switch to select that line which you'd feed into one of your analog inputs.

This one from Sparkfun switches in nano seconds so your ability to monitor multiple channels is likely limited by what the RoboRIO can deal with.

This particular chip/breakout board gives you 16 channels.
__________________
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)

Last edited by Dale : 09-02-2015 at 00:13.
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2015, 08:25
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,633
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: roboRio limited to 8 Analog Inputs

Great replies. Thanks everyone.

In the end, the coding team has come to the rescue. They have been working on a project that will need a Beaglebone Black as a coprocessor. They've already got the communication link bits worked out so really it was pretty simple to have them add some analog data to their scheme.

I hate that we have a new shiny CPU on our robots and still have to do work arounds like this but It Is What It Is.

Thanks again for all the feedback.

Dr. Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
Reply With Quote
Reply


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 23:32.

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