Go to Post Wow! Shipping to Israel?!? It's exciting to have a fan from so far away :D - stens987 [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 27-01-2005, 19:47
AIBob's Avatar
AIBob AIBob is offline
AI Programmer
AKA: Bob Frank DOT org
FRC #0358 (Hauppauge Robotic Eagles)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Long Island, NY (in Binghamton now)
Posts: 297
AIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to behold
Send a message via ICQ to AIBob Send a message via AIM to AIBob Send a message via MSN to AIBob Send a message via Yahoo to AIBob
Re: Playstation Controler

you cannot really use a ps controller, not because of the rules, but because of the way it is set up..
The controllers for FIRST are analog. PS controllers are digital.... it doesnt match, you will find some problems if you try it.
__________________
- from B B frank

  #2   Spotlight this post!  
Unread 28-01-2005, 11:22
ConKbot of Doom ConKbot of Doom is offline
Team Alumni
FRC #1184 (Cobra Robotics)
Team Role: Leadership
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Maryland
Posts: 153
ConKbot of Doom has a spectacular aura aboutConKbot of Doom has a spectacular aura aboutConKbot of Doom has a spectacular aura about
Re: Playstation Controler

Hmm, Digital pots anyone?

If a microcontroller is allowed, you may be able to take whatever the controller of your choice and convert it to analog with a microcontroller, and output it to the OI with one of those. Of course that is one more thing to program, but if you can't get it done this year, why not in the off season?
  #3   Spotlight this post!  
Unread 28-01-2005, 11:57
Josh Hambright's Avatar
Josh Hambright Josh Hambright is offline
{Error Processing Custom Title}
AKA: oneangrydwarf/jtosh
no team (old school gangsta)
Team Role: Alumni
 
Join Date: Apr 2002
Rookie Year: 2000
Location: Indiana
Posts: 1,421
Josh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond repute
Send a message via AIM to Josh Hambright
Re: Playstation Controler

Quote:
Originally Posted by AIBob
you cannot really use a ps controller, not because of the rules, but because of the way it is set up..
The controllers for FIRST are analog. PS controllers are digital.... it doesnt match, you will find some problems if you try it.
You cannot immediately write off using the PS controller for the robot, simply because it is digital and the controller has analog inputs. There are digital input on the controller as well, which gives that option if you can figure out how to make it work with those digital inputs. Also there is the option of producing a Digital to Analog converter. The same way that the robot converts the analog signal to digital so that it can process it, you can do the reverse and give it an analog signal from digital.

I'm sure you can find a digital to analog converter online.

Saying that something cannot be done, is always good inspiration for someone to find a way to do it.
__________________
Former 461 Student/Mentor. Former 1272 and 1018 Mentor. Team 1555 Super-Fan.
Science and Engineering Can Open New Doors. --S.E.C.O.N.D.--
=~=!=@= #=$=%=
Co-Founder IndianaFIRST

Share your FIRST photos on Flickr!
  #4   Spotlight this post!  
Unread 29-01-2005, 18:12
AIBob's Avatar
AIBob AIBob is offline
AI Programmer
AKA: Bob Frank DOT org
FRC #0358 (Hauppauge Robotic Eagles)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Long Island, NY (in Binghamton now)
Posts: 297
AIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to behold
Send a message via ICQ to AIBob Send a message via AIM to AIBob Send a message via MSN to AIBob Send a message via Yahoo to AIBob
Re: Playstation Controler

Quote:
Originally Posted by oneangrydwarf
You cannot immediately write off using the PS controller for the robot, simply because it is digital and the controller has analog inputs. There are digital input on the controller as well, which gives that option if you can figure out how to make it work with those digital inputs. Also there is the option of producing a Digital to Analog converter. The same way that the robot converts the analog signal to digital so that it can process it, you can do the reverse and give it an analog signal from digital.

I'm sure you can find a digital to analog converter online.

Saying that something cannot be done, is always good inspiration for someone to find a way to do it.
I didn't say that it couldnt be done, well atleast didn't mean it in that way, I said you would have problems, I am sorry if you misinterpretted me, but i meant that you would have to search around for one and have some other problems. Please forgive my bad wording.
__________________
- from B B frank


Last edited by AIBob : 30-01-2005 at 13:46. Reason: missed something...
  #5   Spotlight this post!  
Unread 31-01-2005, 20:20
iwearshoes iwearshoes is offline
Registered User
#1648 (Gearbox Ganstas)
Team Role: Electrical
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta
Posts: 5
iwearshoes is an unknown quantity at this point
Send a message via AIM to iwearshoes
Question about controller/joystick method.

ok, I want to rig an Xbox controller as the main interface for our robot. I have converted them to USB before and have a USB driver and i was wondering if any of you had wiring diragrams of serial ports so i can figure out how to power it and where all the handshakes are. If so please let me know where i can find them. Thank you. Also is it legal to make an xbox controller the interface?
  #6   Spotlight this post!  
Unread 31-01-2005, 20:46
AIBob's Avatar
AIBob AIBob is offline
AI Programmer
AKA: Bob Frank DOT org
FRC #0358 (Hauppauge Robotic Eagles)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Long Island, NY (in Binghamton now)
Posts: 297
AIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to behold
Send a message via ICQ to AIBob Send a message via AIM to AIBob Send a message via MSN to AIBob Send a message via Yahoo to AIBob
Re: Question about controller/joystick method.

I am not sure where you can get a diagram of the serial port, hopefully you will get it, and I am almost certain that you can use an Xbox controller legally.
But USB is digital isnt it... and the serial port is analog.
__________________
- from B B frank


Last edited by AIBob : 31-01-2005 at 21:49. Reason: typi
  #7   Spotlight this post!  
Unread 31-01-2005, 20:49
pakrat pakrat is offline
Rich Ross
no team (The Rat Pack)
Team Role: Alumni
 
Join Date: May 2004
Rookie Year: 2003
Location: Ann Arbor
Posts: 328
pakrat is just really nicepakrat is just really nicepakrat is just really nicepakrat is just really nicepakrat is just really nice
Send a message via AIM to pakrat
Re: Question about controller/joystick method.

Yeah, the digital/analog swith would be enough to steer me towards playstation, but i dunno
__________________
  #8   Spotlight this post!  
Unread 31-01-2005, 21:14
iwearshoes iwearshoes is offline
Registered User
#1648 (Gearbox Ganstas)
Team Role: Electrical
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta
Posts: 5
iwearshoes is an unknown quantity at this point
Send a message via AIM to iwearshoes
Re: Question about controller/joystick method.

I thought Serial cables were both digital and analog.

If you need it the wiring for USB is as follows:

5V / Red

D+ / Green

D - / White

Ground / Black

Lets say we forget about the pressure sensetive buttons (255 levels of sensitivity to be exact) and just wanted to use them as toggels. I know I can get a driver for it, the only thing I need is a way to wire it to a serial port.

Does anyone know of an adapter or crossover that would work?

I thought about PS2 but everyone knows xbox is superior.

Alright, thanks for the help so far.

(P.S. If you want your game system modified [LEDs, Paint Jobs, other crazy stuff, Preformance Xbox mods, etc.] let me know.)
  #9   Spotlight this post!  
Unread 31-01-2005, 21:21
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,503
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Question about controller/joystick method.

Search before you post:

http://www.chiefdelphi.com/forums/sh...+controlle rs

But since I'm a nice guy, I'll tell you--unless you are up for some serious hacking and programming, you are not going to get an XBox controller to interface with the 2005 FRC OI to much success. It's mainly because the DB15 (gameport) connector used is rather old-school.

Many others have looked for a way to do it. None have done it yet. Don't take this as bashing--take it as a challenge. (And of course, IFI provides some resources to aid you in your effort.) Every good thing in FIRST has happened because someone wanted to do a particular task a better/cheaper/faster/more interesting way. (Hence we have the kitbot this year!)
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

93 events (more than will fit in a ChiefDelphi signature), 13 seasons, over 60,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #10   Spotlight this post!  
Unread 31-01-2005, 21:34
iwearshoes iwearshoes is offline
Registered User
#1648 (Gearbox Ganstas)
Team Role: Electrical
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta
Posts: 5
iwearshoes is an unknown quantity at this point
Send a message via AIM to iwearshoes
Re: Question about controller/joystick method.

Sorry about not searching for the post guys...... I just assumed this was kinda random and not many people would talk about it... oh well....


Well, if anyone knows the wiring schematics of the DB15 than let me know.
__________________
"Caligraphy and Writing is good for the soul"
  #11   Spotlight this post!  
Unread 31-01-2005, 22:25
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Question about controller/joystick method.

Quote:
Originally Posted by AIBob
I am not sure where you can get a diagram of the serial port, hopefully you will get it, and I am almost certain that you can use an Xbox controller legally.
But USB is digital isnt it... and the serial port is analog.
The serial port on the OI is not analog. Perhaps you are confusing it with the gameports(joystick imputs) on the OI which are Analog. BTW the serial port on the OI is also unidirectional. It can only recieve information from the robot. It can't transmit anything to the robot.
__________________
1139 Alumni
  #12   Spotlight this post!  
Unread 31-01-2005, 22:33
AIBob's Avatar
AIBob AIBob is offline
AI Programmer
AKA: Bob Frank DOT org
FRC #0358 (Hauppauge Robotic Eagles)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Long Island, NY (in Binghamton now)
Posts: 297
AIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to behold
Send a message via ICQ to AIBob Send a message via AIM to AIBob Send a message via MSN to AIBob Send a message via Yahoo to AIBob
Re: Question about controller/joystick method.

Quote:
Originally Posted by Rickertsen2
The serial port on the OI is not analog. Perhaps you are confusing it with the gameports(joystick imputs) on the OI which are Analog. BTW the serial port on the OI is also unidirectional. It can only recieve information from the robot. It can't transmit anything to the robot.
The reason that I would automatically consider the 'Serial Port' as a Joystick by the way they said it, and knowing the serial ports unidirectional. That is why I had said that it is analog, I am sorry for the confusion.
__________________
- from B B frank

  #13   Spotlight this post!  
Unread 31-01-2005, 22:46
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Question about controller/joystick method.

Quote:
Originally Posted by AIBob
The reason that I would automatically consider the 'Serial Port' as a Joystick by the way they said it, and knowing the serial ports unidirectional. That is why I had said that it is analog, I am sorry for the confusion.
Its ait. Don't worry about it.
__________________
1139 Alumni
  #14   Spotlight this post!  
Unread 31-01-2005, 21:38
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Question about controller/joystick method.

Quote:
Originally Posted by iwearshoes
ok, I want to rig an Xbox controller as the main interface for our robot. I have converted them to USB before and have a USB driver and i was wondering if any of you had wiring diragrams of serial ports so i can figure out how to power it and where all the handshakes are. If so please let me know where i can find them. Thank you. Also is it legal to make an xbox controller the interface?
This question comes up at least once every year, and there have been multiple threads about it. No offence, but if you are even asking this question i don't think you should attempt this. You CANNOT directly connect USB stuff to the OI no matter what kind of crazy software you right. This is a hardware restriction and there is no way around it without making a USB to gameport converter. This is not an easy task even for a seasoned hardware developer. USB is an extremely in depth and bulky protocol that is not for the faint of heart. I speak from experience. I have developed USB peripherals in the past. In order to interface with an Xbox controller, you would have to make a device that could act as a USB host. This is far worse than a peripheral. If you absolutely feel you need to to have an Xbox controller then i would rip it apart and see if you can bypass all of the control electronics. I have never opened one up but it probably boils down to mess of switches and potentiometers. If this is the case, you can just hook some wires up to the bottons/axis slap the proper DB15 connector on it and plug it directly into the OI.

BTW yes it is legal
__________________
1139 Alumni
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
Changing 1 joystick code to 2 (rookie team) Brawler006 Programming 5 20-02-2004 17:00
robot goes haywire with the one joystick default code Miles Programming 7 24-01-2003 14:58
Joystick controllers archiver 2001 6 24-06-2002 00:57
joystick problem archiver 2000 12 23-06-2002 23:08


All times are GMT -5. The time now is 03:34.

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