Go to Post Tom didn't need the t-shirt to tell us [that he is a NERD] :D - Peter Matteson [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 02-11-2004, 18:20
Marc P. Marc P. is offline
I fix stuff.
AKA: βetamarc
no team
 
Join Date: Jan 2002
Rookie Year: 1999
Location: Watertown, CT
Posts: 997
Marc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond reputeMarc P. has a reputation beyond repute
Send a message via AIM to Marc P.
Re: usb to db15

It wouldn't be possible to directly use the Xbox controller without some sort of digital to analog converter. I believe a USB connection is a digital signal (4 conductors- +5v, signal+, signal-, ground), while the OI's 15 pin inputs are analog. There has been a bit of discussion around here about using USB joysticks with the OI, and the general consensus seems to be it can't be done using simple connectors, but you can potentially crack open the controller and manually wire the potentiometers and buttons to associated db15 pinouts (as per IFI documentation).

Team 38 did something similar this past season, with a playstation controller. We ended up ripping out the entire thing, building our own board with our own buttons and controls in the PSX controller's shell. It had a few bugs at first, but once everything was securely soldered together, it worked out pretty well.
  #2   Spotlight this post!  
Unread 02-11-2004, 18:33
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: usb to db15

I had an idea as to how this could be done with USB. It involves writing a driver for a laptop.

You need the laptop to interpret the USB signals from the gamepad and run the driver for the gamepad. Then you send a data stream to a microcontroller. The microcontroller uses it's digital and analog outputs to output to the joystick inputs on the Operator Interface.

Very complicated. You would definitely get major props for creating this and bonus points for a white paper.
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
  #3   Spotlight this post!  
Unread 02-11-2004, 18:41
Kyle Fenton Kyle Fenton is offline
GET IT ON!!
FRC #0121 (Rhode Warrior)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 2000
Location: Middletown, R.I.
Posts: 785
Kyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud of
Send a message via AIM to Kyle Fenton
Re: usb to db15

I have seen controllers like this but involved cutting off the connecter at the end and doing some weird wire mapping. But I am guessing that you don't want to do that. There is a possibility of building your own converter, but you would have to know the pin-out of the x-box controller.
__________________
121
Rhode Warriors
NAVSEA/Raytheon/URI/Middletown, Portsmouth, Tiverton, Mt. Hope HS
Quality Robots Since 1996
  #4   Spotlight this post!  
Unread 02-11-2004, 18:47
Elgin Clock's Avatar
Elgin Clock Elgin Clock is offline
updates this status less than FB!
AKA: the one who "will break into your thoughts..."
FRC #0237 (Black Magic)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2001
Location: H20-Town, Connecticut
Posts: 7,773
Elgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond repute
Send a message via AIM to Elgin Clock
Re: usb to db15

You may be interested in this thread here:
http://www.chiefdelphi.com/forums/showthread.php?t=22845&highlight=sega+genesis+cont roller

And this photo: http://www.chiefdelphi.com/forums/pictures.php?s=&action=single&picid=5818&direction =DESC&sort=date&perrow=5&trows=5&quiet=Verbose

And the accompanying discussion about that photo here:
http://www.chiefdelphi.com/forums/sh...threadid=22852
__________________
The influence of many leads to the individuality of one. - E.C.C. (That's me!!)

  #5   Spotlight this post!  
Unread 02-11-2004, 19:19
aaronbr28040's Avatar
aaronbr28040 aaronbr28040 is offline
Registered User
AKA: Aaron Bradshaw
#0900 (Team Infinity)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Raleigh, NC
Posts: 135
aaronbr28040 is just really niceaaronbr28040 is just really niceaaronbr28040 is just really niceaaronbr28040 is just really nice
Send a message via AIM to aaronbr28040
Re: usb to db15

There was an article on the Parallax website on how to use a playstation controller to control a basic stamp robot. I have a modified version of the basic code that i found online for the project somewhere. It might be easier to use a playstation controller as there is a ton of information available on them and there is already pbasic code written for it. I found out about this in a Nuts and Volts article and was planning on doing a project with it my senior year in high school but ended up working on FIRST stuff the entire time.
-Aaron
__________________
@North Carolina State University
Team 900
North Carolina School of Science and Mathematics
AIM:aaronbr28040

  #6   Spotlight this post!  
Unread 03-11-2004, 12:09
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
Re: usb to db15

Quote:
Originally Posted by MikeDubreuil
I had an idea as to how this could be done with USB. It involves writing a driver for a laptop.

You need the laptop to interpret the USB signals from the gamepad and run the driver for the gamepad. Then you send a data stream to a microcontroller. The microcontroller uses it's digital and analog outputs to output to the joystick inputs on the Operator Interface.

Very complicated. You would definitely get major props for creating this and bonus points for a white paper.
And going by the rules FIRST has set for as long as I can remember, this is effectively illegal, because you have some sort of computer controlling the robot, besides the RC. This idea, while neat, is overly complicated and completely illegal for use during a FIRST competition, and honestly, I think it's a lot easier to rewire a joystick if that's the only joystick you can use.
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #7   Spotlight this post!  
Unread 03-11-2004, 22:39
Adam Shapiro's Avatar
Adam Shapiro Adam Shapiro is offline
Registered User
FRC #0555 (Montclair Robotics)
Team Role: Alumni
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Montclair, NJ
Posts: 401
Adam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud of
Send a message via AIM to Adam Shapiro
Re: usb to db15

Quote:
Originally Posted by Ian W.
And going by the rules FIRST has set for as long as I can remember, this is effectively illegal, because you have some sort of computer controlling the robot, besides the RC. This idea, while neat, is overly complicated and completely illegal for use during a FIRST competition, and honestly, I think it's a lot easier to rewire a joystick if that's the only joystick you can use.
This was my assumption as well. We were considering creating a Playstation controller drive system (just for fun) but decided that, even if we did (which I believe we probably will in the upcoming month or two), it would be illegal if it went through a PC.

The alternative to PC control, which I do believe is allowed, would be to create the interpreter using digital circuitry, transistors, and/or logic gates. For the most part, the circuit can be done simply through basic logic although a microcontroller may be necessary to communicate with certain serial-type controllers (PSX included). For more info on how console controllers communicate (systems from NES to N64 - not only Nintendo! ) check out http://www.arcadecontrols.com/Mirror...pro/index.html and http://www.gamesx.com/controldata/psxcont/psxcont.htm. Following instructions on their site, and one other, I was able to create a PSX->Parallel interface and simple driver which could be easily converted to work with separate circuitry rather than a computer.

Feel free to PM me if you have any more questions. I'll be sure to post a thread and pictures as soon as our team gets working on the controller project in the next weeks.

**EDIT
Now that I think about it, I seem to be having a Déja-vu about this topic. I think I may have posted this same information last year (or possibly the year before). I'm too lazy to search right now but if anyone wants to, feel free.
__________________
Mentor to Teams 555, 1929, and 2070!
Currently working in hardware design at Cisco.
Cornell University DARPA Urban Challenge - http://www.cornellracing.com
Co-Captain Team 555 - 2003,2004,2005
Trust, Love, and Magic

Last edited by Adam Shapiro : 03-11-2004 at 22:47.
  #8   Spotlight this post!  
Unread 03-11-2004, 23:21
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
Re: usb to db15

In any case, be VERY careful about using anything that could be considered a computer in your controls. Unless you can hook everything up with wires, resistors, capacitors, etc, anything simple and that doesn't have logic in it, you'll almost definitely be safe, because it's not a computer. But if you're doing any sort of programming, don't count on that control system being legal in FIRST.

As always, don't take anything said here for 100% truth, you'll all have to do your own research, but that won't happen tilll January. If you want to prototype now, great, but just don't put all your eggs in one basket.
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #9   Spotlight this post!  
Unread 14-01-2005, 22:10
Angry Dictator Angry Dictator is offline
Registered User
#1284 (D.A.R.T.)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Guntersville, AL
Posts: 1
Angry Dictator is an unknown quantity at this point
Re: usb to db15

Quote:
Originally Posted by Adam Shapiro
This was my assumption as well. We were considering creating a Playstation controller drive system (just for fun) but decided that, even if we did (which I believe we probably will in the upcoming month or two), it would be illegal if it went through a PC.

The alternative to PC control, which I do believe is allowed, would be to create the interpreter using digital circuitry, transistors, and/or logic gates. For the most part, the circuit can be done simply through basic logic although a microcontroller may be necessary to communicate with certain serial-type controllers (PSX included). For more info on how console controllers communicate (systems from NES to N64 - not only Nintendo! ) check out http://www.arcadecontrols.com/Mirror...pro/index.html and http://www.gamesx.com/controldata/psxcont/psxcont.htm. Following instructions on their site, and one other, I was able to create a PSX->Parallel interface and simple driver which could be easily converted to work with separate circuitry rather than a computer.

Feel free to PM me if you have any more questions. I'll be sure to post a thread and pictures as soon as our team gets working on the controller project in the next weeks.

**EDIT
Now that I think about it, I seem to be having a Déja-vu about this topic. I think I may have posted this same information last year (or possibly the year before). I'm too lazy to search right now but if anyone wants to, feel free.

I was wondering about using an xbox controller, and I know where I can get my hands on some xbox controller ports. Is there any way that someone can think of that I can use the wiring from the controller to connect to the D-15 port?
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