PDA

View Full Version : Playstation gamepad interface code?



dink
- 10th March 2006, 08:55
Nuts and Volts magazine did an article about interfacing playstation gamepad with a Basic Stamp. The article and source code can be found http://www.parallax.com/dl/docs/cols/nv/vol4/col/nv101.pdf

I am curious if anyone has similar code in picbasic? Or if anyone would have any tips on porting that to picbasic pro?

thank you

sayzer
- 10th March 2006, 10:15
Here is a PBP code fully working....

Code reads the data from PSX2 controller and displays it on LCD.

If you use analog data to be read, make sure that your controller is good quality one. Since the pots on these controllers have very small angle to move right,left, up and down the incoming data is not quite precise.

You will see this on LCD.
Also, I am only adding the data reading part; but the schematic is designed for serout part also. You can refer to the schematic for PSX2 connection.


----------------------

macx75
- 29th April 2007, 05:36
Hi
Has any one tried to use the ps2 wireless controller with the picbasic. ?
Want to control servos?
Macx

JohnH
- 29th April 2007, 10:19
Lynxmotion sells a 2.4ghz Playstation2 wireless controller for $19. http://www.lynxmotion.com/Product.aspx?productID=552&CategoryID=46

I also found this article with Playstation controller information (pinouts etc.)
http://www.gamesx.com/controldata/psxcont/psxcont.htm

--John