Go to Post "git er done" but do it right. - CJO [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 03-11-2004, 12:03
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,830
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: usb to db15

Quote:
Originally Posted by Dave Flowerday
Unfortunately even that won't work. USB devices (such as USB-to-serial converter as well as the Xbox controller) need a USB host to communicate with ...
So it sounds like a laptop has to get thrown into that mix anyway.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #2   Spotlight this post!  
Unread 14-01-2005, 22:37
Jay5780 Jay5780 is offline
Registered User
no team (Aztechs)
Team Role: Alumni
 
Join Date: May 2001
Rookie Year: 1996
Location: Warwick, Rhode Island
Posts: 172
Jay5780 will become famous soon enoughJay5780 will become famous soon enough
Re: usb to db15

Quote:
Originally Posted by 663.keith
for the off season, my team was looking at converting an xbox controller to fit the operator interface. so far we have been unable to find a USB female to db15 male converter (we have found an adapter to get the xbox controller to work on USB). Is there any way to accomplish this?
With a simple google search I found a SmartJoy X USB Adapter I think it is what you are looking for. As for the programming side of things I don't have the slightest clue, but this will adapt an XBOX Controller to USB.

Good luck
__________________
Jay
  #3   Spotlight this post!  
Unread 14-01-2005, 22:47
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: usb to db15

From what I've seen about it, xbox controllers are usb controllers. Their pinout is a bit weird, but there's definitely usb in the xbox (For more info about that, look up modding your xbox to include a usb hub, its a simple hardware mod)
  #4   Spotlight this post!  
Unread 15-01-2005, 21:49
LBK Rules's Avatar
LBK Rules LBK Rules is offline
1467 '06 Alumni
AKA: Anthony Rinaldi
no team (HSRO)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Henrico, VA
Posts: 438
LBK Rules will become famous soon enoughLBK Rules will become famous soon enough
Re: usb to db15

Our team is intrested in using an XBOX controler.

I'll see what I can find on these sites.
__________________
Anthony Rinaldi
Team 1132: 2003
Team 1467: 2004 - 2006
  #5   Spotlight this post!  
Unread 20-01-2005, 13:34
jzampier's Avatar
jzampier jzampier is offline
Finger Lakes Regional Staff
AKA: Jeffrey Zampieron
no team (-)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Rochester
Posts: 74
jzampier is on a distinguished road
Send a message via AIM to jzampier
Re: usb to db15

Here's how this would have to work:
(I'm working with USB for a senior project.)
USB is a serial bus. This means that it has 2-way data communication over a balanced signal. The usb connector also happens to have +5 and GND.

I'm assuming that the XBox controllers have some kind of 'smarts' in them to multiplex (that's assemble) the button pushes into a serial data stream for the USB. So, first off... they require power. I wouldn't recommend trying to draw power off of the OI joystick ports without talking to IFI about current limits, which I don't think are published as such. Secondly, since you aren't allowed a 'computer' at the player station ... well, you can see where I'm going with that.

Now other issues aside the techy details...
A PIC18F4550 appears to have USB support and is in a PDIP package, which means you could actually solder to a IC socket. (It's not a surface mount)
Then you need to write the pic code to decode the probably custom data stream from the XBOX controller and demultiplex it into a set of digital outputs. Then you need to D to A the outputs for the analog sticks because the pic doesn't have built in D to As.

Now how I would do it:
I'd disassemble the xbox controller and see what's inside... I'd try to re-wire it so that each of the buttons has a direct output line to a DB-15 connector.
I'm rusty on my rules, but I don't think you are allowed to do this. (Check)
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour.
Sit with a pretty girl for an hour,
and it seems like a minute. THAT'S relativity." -Einstein

----
First Resume: (If I can remember)
2001 NJ Regional
2001 Championship
2002 NYC Regional
2003 OH Regional
2003 Championship
2004 OH Regional
2005 Finger Lakes Regional
2006 Finger Lakes Regional (yes!)
  #6   Spotlight this post!  
Unread 20-01-2005, 13: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: usb to db15

Quote:
Originally Posted by jzampier
A PIC18F4550 appears to have USB support and is in a PDIP package, which means you could actually solder to a IC socket. (It's not a surface mount) Then you need to write the pic code to decode the probably custom data stream from the XBOX controller and demultiplex it into a set of digital outputs. Then you need to D to A the outputs for the analog sticks because the pic doesn't have built in D to As.
The 18F4550 is only capable of acting as a USB peripheral, not a USB host. You would need something capable of acting as a USB host to talk to the XBOX controller. Since USB was designed to simplify the peripheral side of things, implementing the USB host hardware is more complicated and therefore hard to find in a microcontroller package. Additionally, the software side of the USB host is also fairly complicated.
Quote:
I'd try to re-wire it so that each of the buttons has a direct output line to a DB-15 connector.
I'm rusty on my rules, but I don't think you are allowed to do this. (Check)
I believe this is legal but unsupported by IFI. However, the biggest problem you will face is that the XBOX controller's analog potentiometers are probably not 100K which is required by the IFI OI. We tried to use a PC-based controller that was similar to the XBOX last year but eventually gave up as we couldn't find a decent way to replace the pots inside the device (which I believe were 15K) with 100K pots.
  #7   Spotlight this post!  
Unread 20-01-2005, 15:16
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,576
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: usb to db15

Quote:
Originally Posted by jzampier
Now other issues aside the techy details...
A PIC18F4550 appears to have USB support and is in a PDIP package, which means you could actually solder to a IC socket. (It's not a surface mount)
Then you need to write the pic code to decode the probably custom data stream from the XBOX controller and demultiplex it into a set of digital outputs. Then you need to D to A the outputs for the analog sticks because the pic doesn't have built in D to As.
<R69> says that anything plugged into the joystick port must be powered by the joystick port. You will very likely run into issues trying to power your processor off the joystick port. And of course you have the USB host issue Dave pointed out.
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
Using USB with Serial Tower Mick Lego Mindstorm Discussion 11 07-11-2006 09:54
USB to Serial -- Working Device Found! Eko Programming 10 23-02-2004 12:56
USB to 9-pin serial port (HELP!!) n00b Technical Discussion 10 01-02-2004 21:25
Connecting USB webcam to pbasic stamp? JasonStern Programming 15 14-02-2003 23:45
DB15, Male 15 pin connector. AdamT Technical Discussion 8 06-02-2002 17:17


All times are GMT -5. The time now is 05:31.

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