Go to Post bedtime? there's no bedtime while chief delphi is up and running! - Alex Cormier [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-03-2010, 22:31
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,979
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
Exclamation Powering your USB Hub at Competition

Even though this thread is discussing the control system, I found this to be important enough for its own thread.

Twice our robot became unresponsive, either right at the start of teleop, or shortly after. Pete the FTA at NJ looked carefully at the robot when it happened both times, and in both cases the symptom was no comms from cRio to the wireless adapter.

We strongly believe the solution was insufficient power from the classmate PC to the USB hub for the joysticks.

The solution was to plug both the red and the black USB connectors into the Classmate, doubling the available power for the hub devices.

We have four devices connected to the hub: a joystick, and gamepad, the E-Stop button and the PSOC. I heard from three teams that they had experienced similar issues, and connecting the hub to the classmate twice ( the cable to the hub is a "Y" cable) fixed it. As it did for us.

I can't say how USB affected comms on the 'bot, but after we connected the hub this way, the problem went away. YMMV.

Don
__________________

I am N2IRZ - What's your callsign?

Last edited by DonRotolo : 07-03-2010 at 22:34.
  #2   Spotlight this post!  
Unread 07-03-2010, 23:04
DtD's Avatar
DtD DtD is offline
I hope the watchdog starves!
AKA: Pathogen David
FRC #2410 (The Metal Mustangs (Merged from 2334, Hazmat Robotics))
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Kansas
Posts: 86
DtD will become famous soon enoughDtD will become famous soon enough
Re: Powering your USB Hub at Competition

Remember that the E-Stop button can be removed for FMS official rounds - so that will aleviate some power consumption.
  #3   Spotlight this post!  
Unread 07-03-2010, 23:04
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Powering your USB Hub at Competition

I thought teams were being encouraged to plug the Cypress directly into one USB hub, and plugging the joysticks and gamepads into the other. As for how this may cause comms issues, since the Cypress device has to be reprogrammed each time it is enumerated. Perhaps power dropouts cause this to happen repeatedly.

Greg McKaskle
  #4   Spotlight this post!  
Unread 08-03-2010, 03:51
waialua359's Avatar
waialua359 waialua359 is offline
Mentor
AKA: Glenn
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Apr 2003
Rookie Year: 2000
Location: Waialua, HI
Posts: 3,297
waialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond reputewaialua359 has a reputation beyond repute
Re: Powering your USB Hub at Competition

Here's our problem, though sort of off-topic.
How do you recharge your classmate during eliminations when you have to stay on the field the whole time? There is no power to plug into on the driver station area.
This was a major issue for our team as we were scrambling to beg and borrow extra CHARGED batteries.
What happens at CMP?
__________________

2016 Hawaii Regional #1 seed, IDesign, Safety Award
2016 NY Tech Valley Regional Champions, #1 seed, Innovation in Controls Award
2016 Lake Superior Regional Champions, #1 seed, Quality Award, Dean's List
2015 FRC Worlds-Carver Division Champions
2015 Hawaii Regional Champions, #1 seed.
2015 Australia Regional Champions, #2 seed, Engineering Excellence Award
2015 Inland Empire Regional Champions, #1 seed, Industrial Design Award
2014 OZARK Mountain Brawl Champions, #1 seed.
2014 Hawaii Regional Champions, #1 seed, UL Safety Award
2014 Dallas Regional Champions, #1 seed, Engineering Excellence Award
2014 Northern Lights Regional Champions, #1 seed, Entrepreneurship Award
2013 Championship Dean's List Winner
2013 Utah Regional Champion, #1 seed, KP&B Award, Deans List
2013 Boilermaker Regional Champion, #1 seed, Motorola Quality Award
2012 Lone Star Regional Champion, #1 seed, Motorola Quality Award
2012 Hawaii Regional Champions #1 seed, Motorola Quality Award
  #5   Spotlight this post!  
Unread 08-03-2010, 08:11
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,077
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Powering your USB Hub at Competition

Would it be correct to assume that the PSOC is the biggest culprit for USB power consumption?

We have two joysticks and an Xbox controller (but do not currently use the PSOC), and have never had any issues running on Classmate battery power (using only the black plug).
  #6   Spotlight this post!  
Unread 08-03-2010, 08:21
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: Powering your USB Hub at Competition

Quote:
Originally Posted by waialua359 View Post
Here's our problem, though sort of off-topic.
How do you recharge your classmate during eliminations when you have to stay on the field the whole time? There is no power to plug into on the driver station area.
This was a major issue for our team as we were scrambling to beg and borrow extra CHARGED batteries.
What happens at CMP?
read this thread
__________________
Ed Barker
  #7   Spotlight this post!  
Unread 08-03-2010, 12:21
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,746
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Powering your USB Hub at Competition

In these situations on the field that I witnessed, Comms were never actually lost, it just seemed like they were. All statuses were good, but the robot didn't respond whatsoever to any driver controls. Essentially, the Classmate wasn't hearing from the joysticks connected through the hub.

At NJ if I was consulted or found out about it, I had teams plug the PSOC directly into the Classmate and just use the hub for low power devices. A team that didn't use the PSOC, but did have a higher power consumption game controller also had to move that device to a direct Classmate connection.

Using both the red and black USB plugs did not always solve the problem for some, including one of the finalists. They finally went with direct connections for both joysticks. They would have benefitted from just a better redistribution of devices, but under the gun during a match the goal is to just get it working.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 08-03-2010 at 16:28.
  #8   Spotlight this post!  
Unread 08-03-2010, 16:02
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,508
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Powering your USB Hub at Competition

Does anyone know if there is a difference in available USB power between when the classmate is plugged in, or just operating off the battery?
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #9   Spotlight this post!  
Unread 08-03-2010, 16:35
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,738
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Powering your USB Hub at Competition

Quote:
Originally Posted by sanddrag View Post
Does anyone know if there is a difference in available USB power between when the classmate is plugged in, or just operating off the battery?
There should be no difference, according to the USB standard. In order for USB devices to work on an extremely wide variety of machines (from laptops to desktops, Dell to HP to Apple, etc) the standard dictates exactly how the USB port should act, including how much power is available, the transfer rate, protocol, etc. For any device with a USB output, that standard is going to be followed.
  #10   Spotlight this post!  
Unread 08-03-2010, 16:59
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,350
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Powering your USB Hub at Competition

The Targus USB hub became a real problem for us during a practice day with the Fembots. Luckily I had a spare USB hub in my laptop bag and donated it to the cause. When we returned to our classroom, we found a new use for the hub.........Target Practice!.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #11   Spotlight this post!  
Unread 08-03-2010, 17:57
csshakka csshakka is offline
Registered User
FRC #0818
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Warren, MI
Posts: 21
csshakka is an unknown quantity at this point
Send a message via AIM to csshakka Send a message via MSN to csshakka
Re: Powering your USB Hub at Competition

If this solves the problems we were having at the Traverse City competition, this will be very, very appreciated. Out of all of the matches played, we were able to play 1 full match completely, and 2 others for a very brief period. After that it appeared that there was no comm. The field manager helped out a ton, and told us that each time a few seconds into teleop, comm was lost. We had tried multiple wireless adapters and locations for it to sit with no avail. We also have a bunch of joysticks connected to a usb hub only connect to one port on the classmate.

After seeing this thread and mentioning it to one of our mentors, he suggested getting a powered usb hub that connects to a normal ac/dc line, but whip up a device to connect it to something like a 9V battery to power it while up at the match stations. Would this provide more available power for the usb hub then getting a y connector and plugging it into both ports on the classmate?
  #12   Spotlight this post!  
Unread 08-03-2010, 18:07
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Powering your USB Hub at Competition

Quote:
Originally Posted by csshakka View Post
The field manager helped out a ton, and told us that each time a few seconds into teleop, comm was lost.
If you were actually losing communication as indicated by the FMS system, then the issue mentioned in this thread is not your problem. The issue mentioned here is where communication is present, but the robot cannot be controlled using USB devices.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
  #13   Spotlight this post!  
Unread 08-03-2010, 18:21
csshakka csshakka is offline
Registered User
FRC #0818
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Warren, MI
Posts: 21
csshakka is an unknown quantity at this point
Send a message via AIM to csshakka Send a message via MSN to csshakka
Re: Powering your USB Hub at Competition

hmmmmm good point. It wouldn't hurt to do it anyway. It's weird because we stay through autonomous, but as soon as start to move in teleop, controls cut out and all the victors flash and no comm :/ . Could this be a programming error? Our team used LabView this year. As a second backup plan, i got nominated to recode our controls in java to test that out. We're still utterly confused by this problem though.
  #14   Spotlight this post!  
Unread 09-03-2010, 11:49
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Powering your USB Hub at Competition

Quote:
Originally Posted by eagle33199 View Post
There should be no difference, according to the USB standard. In order for USB devices to work on an extremely wide variety of machines (from laptops to desktops, Dell to HP to Apple, etc) the standard dictates exactly how the USB port should act, including how much power is available, the transfer rate, protocol, etc. For any device with a USB output, that standard is going to be followed.
Actually, there could be a difference. The USB standard indicates that a device may initially draw only 100mA from the port. The device must request, via transfer on the bus, if it wishes to exceed that limit, and may request up to 500mA. The host can deny this request if it wants (due to not enough power available etc). I've never seen this actually happen, but certainly seems plausible that a small netbook with a tiny battery might deny >100mA requests when running off battery.
  #15   Spotlight this post!  
Unread 09-03-2010, 11:35
thefro526's Avatar
thefro526 thefro526 is offline
Mentor for Hire.
AKA: Dustin Benedict
no team (EWCP, MAR, FRC 708)
Team Role: Mentor
 
Join Date: Aug 2006
Rookie Year: 2005
Location: New Jersey
Posts: 2,599
thefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond repute
Send a message via AIM to thefro526 Send a message via MSN to thefro526
Re: Powering your USB Hub at Competition

Quote:
Originally Posted by Mark McLeod View Post

Using both the red and black USB plugs did not always solve the problem for some, including one of the finalists. They finally went with direct connections for both joysticks. They would have benefitted from just a better redistribution of devices, but under the gun during a match the goal is to just get it working.
We were the Finalist Referred to in Mark's post.

Our control board included 2 Joysticks and 8 Push Button Inputs, all of which were plugged into the USB hub, which was then plugged into the Classmate using both the Red and Black Wires. Throughout the day our joysticks dropped in and out but I don't believe we ever lost our buttons. I'm going to have our programmer and Electronics Mentor Re-Wire the PSOC Board and check all of the connections for any shorts or anything that would cause it to draw excessive power. For Philly we're going to try plugging our Joysticks into the Hub and then into one of the USB Ports on the Classmate and then Plug our PSOC board into the Other. Hopefully this'll resolve our problems.

Mark, Thanks again for all of your help throughout New Jersey.

Quote:
Originally Posted by Akash Rastogi View Post
We were using both red and black wires to power our joysticks since the beginning of build so I am unaware of what types of problems occurred. What usually happened? Is this what was happening with 1089 and 816, they told me one stick just stopped functioning.
Stogi, our Primary issue stemmed from USB Hub problems and I believe 1089's did as well.

We also had a Faulty C-Rio Power Connection that was causing our C-Rio to Short out and Reset on Saturday...
__________________
-Dustin Benedict
2005-2012 - Student & Mentor FRC 816
2012-2014 - Technical Mentor, 2014 Drive Coach FRC 341
Current - Mentor FRC 2729, FRC 708
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Hub Defective samcorp Kit & Additional Hardware 24 25-02-2010 13:15
Does it matter which port is 1 on usb hub? rsegrest General Forum 3 28-01-2010 21:46
USB Hub Doesnt want to be found CaptainMorton Technical Discussion 4 26-01-2010 11:01
powering usb chicklet kDude Control System 1 16-02-2008 19:44
Powering with the Competition Port David Bing Electrical 4 17-03-2003 19:30


All times are GMT -5. The time now is 17: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