|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
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 Last edited by DonRotolo : 07-03-2010 at 22:34. |
|
#2
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
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? |
|
#5
|
|||||
|
|||||
|
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
|
||||
|
||||
|
Re: Powering your USB Hub at Competition
Quote:
|
|
#7
|
|||||
|
|||||
|
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. Last edited by Mark McLeod : 08-03-2010 at 16:28. |
|
#8
|
|||
|
|||
|
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?
|
|
#9
|
||||
|
||||
|
Re: Powering your USB Hub at Competition
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
|
||||
|
||||
|
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!.
![]() |
|
#11
|
|||
|
|||
|
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
|
|||||
|
|||||
|
Re: Powering your USB Hub at Competition
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.
|
|
#13
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: Powering your USB Hub at Competition
Quote:
We don't know for sure whether plugging in the second USB cable on the hub fixed the problem because we also switched out the radio and an ethernet cable. However after these modifications, it didn't happen again. |
|
#15
|
|||
|
|||
|
Re: Powering your USB Hub at Competition
Huh. Thanks for the input. That may have narrowed down our problem to the power going through the USB hub considering we swapped multiple Ethernet cables and tried 3 different wireless gaming adapters in different locations on the robot.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |