Go to Post There's nothing wrong with the loader [dividing by zero], John just misses us 229'ers and wanted everyone to know :-P - Jay Trzaskos [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 11-02-2005, 17:35
Thunderhawk1038 Thunderhawk1038 is offline
Registered User
#1038
 
Join Date: Feb 2005
Location: West Chester, OH
Posts: 7
Thunderhawk1038 is an unknown quantity at this point
Cool using a ps2 controller

If anyone knows how to hook up a ps2 controller to this years OI please post asap and help us out. any response would be appreciated.

team 1038
  #2   Spotlight this post!  
Unread 11-02-2005, 17:45
Greg Needel's Avatar Unsung FIRST Hero
Greg Needel Greg Needel is offline
REVving up for a new season
FRC #2848 (All-sparks)
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Dallas, TX
Posts: 3,107
Greg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond repute
Re: using a ps2 controller

i am not sure about a ps2 controller but i know how to use a psone controller and maybe this will help.

basically the 2 thumb pads are essentially tiny joysticks (each one has 2 100k pots) the best way that i have seen to hook that up to the OI is to take the controller apart and solder new leads to the output of those pots and then solder them to a db connector. since both joysticks given in the kit and the pots in the ps1 controller are the same rating this simple trick works...just make sure you check to make sure that your connectors are going to the right pin-outs of the db connector. there are diagrams of the joysticks available online.

hope this helps



note: this required board level soldering so becareful and take your time if you attempt this.
__________________
Greg Needel│www.robogreg.com
Co-founder REV Robotics LLC www.REVrobotics.com
2014 FRC World Champions with 254, 469, & 74
  #3   Spotlight this post!  
Unread 12-02-2005, 10:34
Thunderhawk1038 Thunderhawk1038 is offline
Registered User
#1038
 
Join Date: Feb 2005
Location: West Chester, OH
Posts: 7
Thunderhawk1038 is an unknown quantity at this point
Re: using a ps2 controller

Thank you for that, we are going to try and find a PS1 controller to use. If any one else has any information on how to use a PS2 or PS1 Controller, please post . Thank you all for your help.

Team 1038
  #4   Spotlight this post!  
Unread 12-02-2005, 11:12
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: using a ps2 controller

I haven't done it personally, but it might be an interesting project to decode the signal from the controller with a microcontroller or something so that you don't have to modify it.

I was investigating the use of a game console controller a few weeks ago and came across this one for psx:
http://www.gamesx.com/controldata/psxcont/psxcont.htm
It doesn't seem too hard to do.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
  #5   Spotlight this post!  
Unread 26-02-2005, 14:56
mv.aboyd mv.aboyd is offline
Registered User
#1458
 
Join Date: Jan 2005
Location: Danville
Posts: 10
mv.aboyd is an unknown quantity at this point
Re: using a ps2 controller

i converted 2 ps2 controllers for our joystick and i bouht a broken ps2 and put the OI in it and made it so the ps2 cords plug in to the ps2 ports. This was the funest project i have ever done. I dont advise doing it if you dont know what you are doing. First research eveything and then I will tell you i you still want to know and havent already figured it out.
  #6   Spotlight this post!  
Unread 26-02-2005, 15:19
Bcahn836's Avatar
Bcahn836 Bcahn836 is offline
Iraq is fun.
AKA: Brad Cahn
no team (Robobees 836)
Team Role: Alumni
 
Join Date: Dec 2003
Rookie Year: 2003
Location: Camp Taji, Iraq
Posts: 1,774
Bcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond repute
Send a message via AIM to Bcahn836 Send a message via Yahoo to Bcahn836
Re: using a ps2 controller

Would this work?
  #7   Spotlight this post!  
Unread 26-02-2005, 17:15
mv.aboyd mv.aboyd is offline
Registered User
#1458
 
Join Date: Jan 2005
Location: Danville
Posts: 10
mv.aboyd is an unknown quantity at this point
Re: using a ps2 controller

no you cant buy an adapter you have to do everthing yourself. so same money and dont buy it. If you really want to conver it you have to take apart the controller and desolder everthing. The analog joysticks operate at 10 ohm so the range is almost imposible to drive with, so you have to put a 37k restior or somthng like that and hook up the the varible petentiometer to the right db15 pins and program the new joystick with a range of ten somthing like this

pmw05 = pmw07 = values[p1_x % 256];
pmw06 = pmw08 = values[p1_y % 256];

int values[256] = {
/* 0 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* 16 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* 32 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* 48 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* 64 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* 80 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* 96 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* 112 */ 0, 0, 0, 0, 20, 38, 55, 69, 83, 94,104,112,118,123,126,127,
/* 128 */ 128,132,140,152,170,192,221,255,255,255,255,255,25 5,255,255,255,
/* 144 */ 255,255,255,255,255,255,255,255,255,255,255,255,25 5,255,255,255,
/* 160 */ 255,255,255,255,255,255,255,255,255,255,255,255,25 5,255,255,255,
/* 176 */ 255,255,255,255,255,255,255,255,255,255,255,255,25 5,255,255,255,
/* 192 */ 255,255,255,255,255,255,255,255,255,255,255,255,25 5,255,255,255,
/* 208 */ 255,255,255,255,255,255,255,255,255,255,255,255,25 5,255,255,255,
/* 224 */ 255,255,255,255,255,255,255,255,255,255,255,255,25 5,255,255,255,
/* 240 */ 255,255,255,255,255,255,255,255,255,255,255,255,25 5,255,255,255
};
motA = values[p1_x % 256];
motB = values[pl_y % 256];


This is very very hard
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
Speed controllers won't communicate w/robot controller steven114 Control System 12 03-02-2005 21:26
Program error after controller reset randomperson Programming 6 04-01-2005 23:31
2003 robot controller & interface LGuY Control System 3 04-04-2004 16:01
Help On Coding 2K1 Controller GregTheGreat Programming 9 05-12-2003 18:35
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30


All times are GMT -5. The time now is 19:26.

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