Shop OBEX P1 Docs P2 Docs Learn Events
PS Controller — Parallax Forums

PS Controller

El PaisaEl Paisa Posts: 375
edited 2006-09-10 01:03 in Propeller 1
This for John Abshier.
Do you have any special·interface between the controller and the Propeller?
I am refering to the 5V interface of the Playstation controller and the Propeller.

Comments

  • John AbshierJohn Abshier Posts: 1,116
    edited 2006-09-08 18:55
    Not very special. I used the Demo Board. +5 volts to the 5V socket. Ground to VSS. Data, Cmd, Attn, and Clock are wired to Propeller IO pins. Data and Attn are each pulled high with a 4.7kOhm resistor. The interface came from Jon Williams SX article in Nuts and Volts (Jan 2006?)
  • Dennis FerronDennis Ferron Posts: 480
    edited 2006-09-08 19:38
    I can give you help with interfacing the playstation controller too; I've done it with the Basic stamp. By the way, theoretically you can run the playstation controller on the same 3.3 volt supply as the propeller. That will eliminate any issue of interfacing the propeller to a 5 volt signal. In fact, the playstation controller WANTS a 3.3 volt line (the PSX gives it 3.3 volts, not 5), it just happens to also work on 5 volts.
  • Dennis FerronDennis Ferron Posts: 480
    edited 2006-09-08 19:40
    Anyone have a source for sockets for playstation controllers? I couldn't find any for my Basic stamp playstation controller interface - I ended up having to cut open the cable of the playstation controller.
  • El PaisaEl Paisa Posts: 375
    edited 2006-09-09 01:17
    Thanks for the responses.
    I have used the ps2 controller with the BS2P before.
    I like Dennis idea of using 3.3 volts instead of 5 volts.
    I just going to try that.

    ·BTW in my case, TV_terminal object works·where ·TV_text object does not.

    I never could find a suitable mating connector, so I·had to cut the shell of the connector and soldered the pins to a .1 header and mounted in a Radio Trash vector board.
  • El PaisaEl Paisa Posts: 375
    edited 2006-09-09 02:22
    John,
    In one of the objects (PS_Controller) you call "debug_lcd"·· but I dot see any reference calls to any LCD.

    I connected·the controller first to the 3.3 volts and second to the 5 V.
    In both cases did not work.
    Only I got a "Not OK" error message.
    I used the following connections:

    Gnd ---> Vss
    clk· ---> p3
    Attn --> p2
    Dat ---> p0
    cmd -->· p1
    +Vcc --> Vdd·· first·then to ·+5V· (in both cases did not work)

    What I am doing wrong?
  • El PaisaEl Paisa Posts: 375
    edited 2006-09-09 15:20
    I was using this hardware with Parallax BS2P & Pbasic and AVR ATmega128 and AVR Bascom.

    These are the connections.
  • John AbshierJohn Abshier Posts: 1,116
    edited 2006-09-09 15:37
    Here is a link for a connector:
    http://www.lynxmotion.com/Product.aspx?productID=73&CategoryID=44

    At on time I also had a lcd conected for debugging. I cut the code for debugging out.
  • El PaisaEl Paisa Posts: 375
    edited 2006-09-10 01:03
    Thanks to all.
    I have the PS Controller on and running OK.
    ·
Sign In or Register to comment.