Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Extra Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=68)
-   -   White Paper Discuss: Playstation 2 Controller Adapter (http://www.chiefdelphi.com/forums/showthread.php?t=42663)

jakep 25-01-2006 22:35

White Paper Discuss: Playstation 2 Controller Adapter
 
Thread created automatically to discuss a document in the White Papers.

Playstation 2 Controller Adapter by jakep

Greg Marra 25-01-2006 22:40

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
That's really cool, but the circuit looks fairly complicated to build and program.

You guys should consider building more and selling them to other teams. Considering that the price of a CH Flightstick on eBay is upwards of $40, you could help people get a better controller for their robot and make your team some extra money at the same time.

pathew100 25-01-2006 22:41

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
Great job by the "geekTeam" of our robotics team. I'm the electrical/software mentor for team 862 and what they have done is amazing. Especially since they didn't even need to ask me for help! I had a major "How the heck did you do that?" moment when they first hooked it up and had it working on the breadboard.

So if you have any questions, ask the students!

Here's our website :www.lightningrobotics.com

Jeff Rodriguez 25-01-2006 23:51

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
Will this also work with a PSone controller?

GhostInTheShell 26-01-2006 07:06

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
It will work with PSOne controllers that have the analog sticks (The dual-shock analog controllers work)

Joel J 26-01-2006 07:33

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
I had no idea you were allowed to connect a PIC between the "joystick" and PORTx of the OI.

Not2B 26-01-2006 08:45

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
Quote:

Originally Posted by Joel J.
I had no idea you were allowed to connect a PIC between the "joystick" and PORTx of the OI.

Yeah, we were nervous. Last year, I would say this would be right out. But this year...

Quote:

Originally Posted by Manual
<R78> All equipment connected to the Joystick Ports of the IFI Operator Interface must be powered solely
through the power available through the port. External power sources of any type are not permitted on any
equipment connected to the Joystick Ports. Portable computing devices may not be connected to Joystick
input ports on the Operator Interface. Power-passive devices (e.g. joysticks that draw their power solely
through the IFI Operator Interface joystick port) are permitted.

I'd call this a power-passive device, as all power is comming from the OI. Then to look at the INTENT of the rule, all the PICs are doing is translating data, they aren't adding any value to the input or doing any calculations to drive the robot any better. So I hope we're OK. It's still up to the human to drive that sucker into a wall and fall over.

OR... another way too look at it...

We made our own joysticks. The joystick starts at the plug. An off the shelf PS2 controller is just one of the materials we used to make our control.

I hope! :)

pathew100 27-01-2006 16:06

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
See also this thread on the Q&A:

Custom-circuit Controllers

This design is officially legal for FIRST competitions.

acumenerratica 27-01-2006 18:03

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
Question about your control mapping...
It was unclear in the white paper (to my insomnia-addled brain, at least) whether both joysticks are mapped to the PIC. Is it possible to run tank drive simply from the two analog sticks of a PS2 controller using your adapter method?

Replies are greatly appreciated

Not2B 27-01-2006 22:08

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
I'm not sure if you need 2 sets or one set... I'll have to ask the geeks. BUT - I can tell you that we drive tank style with the 2 sticks.

I'll see if I can ask the geekTeam more about it.

jakep 27-01-2006 23:44

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
Yes, the two Y axes are sent to the OI, allowing for tank drive.

The X axis on either joystick on the ps2 controller is not sent to the OI, and is instead used to send digital signals. (4 per analog input on the OI, total of 8)

phrontist 30-01-2006 01:46

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
Impressive! You deserve a Innovation In Control award, if you don't get it, they have no idea what they're doing!

(Espescially because it was student designed and built)

Ellery 03-02-2006 22:56

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
Quote:

Originally Posted by jakep
Yes, the two Y axes are sent to the OI, allowing for tank drive.

The X axis on either joystick on the ps2 controller is not sent to the OI, and is instead used to send digital signals. (4 per analog input on the OI, total of 8)


Very nice work! Is your white paper complete enough to have my students try to tackle it as well? I looked through it and it seems to be missing some of the components for the PCB.

What size diodes and Resistors are required for the completion of this project?
Also is there anything missing from the whitepaper I should know about?

Thanks in advance for bringing teams to the next generation!

Ellery

jakep 04-02-2006 13:10

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
No diodes or resistors are required for this project. Depending on how you are building it, you might need to have a resistor for the LED. However, we used an LED mounting that already had a resistor built in. We used to have some in the design, but they were removed to make it more simple.

maniac_2040 06-02-2006 20:36

Re: White Paper Discuss: Playstation 2 Controller Adapter
 
When it comes to changing which buttons we uses, is it possible to just modify the code in some way? My team was thinking about using the playstation controller, but would like to use both the x-axis and y-axis in at least one of the analogs. How would I go about doing this? Thanks in advance!


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi