Shop OBEX P1 Docs P2 Docs Learn Events
Playstation robot controller — Parallax Forums

Playstation robot controller

OwenOwen Posts: 100
edited 2007-03-03 08:33 in Robotics
Has anyone built a playstation robot controller from the January 2006 nuts and volts article by John Williams? I'm curiouse if the pull up resistors on the Data and ATT pins are actualy needed? Also I want to use it with the propellar chip so is the pull up resistor on the SERIAL I/O line needed?
www.parallax.com/dl/docs/cols/nv/vol7/col/NV129.pdf

I guess I don't understand why it's needed when both the playstation controller and the sx28 are both 5v devices

Thanks,
Owen

Comments

  • FranklinFranklin Posts: 4,747
    edited 2007-03-03 06:06
    Pull up resistors are there to guarentee the pin is in a known state when the stamp is not controlling it. otherwise a line could 'float' and be in an unknown state if it were to be read.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • OwenOwen Posts: 100
    edited 2007-03-03 07:01
    why use the external pull up resistor instead of enabling the internal pull up resistors in the SX chip?

    Owen
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2007-03-03 08:33
    Owen,

    The Sony Playstation controller is a bi-directional open collector data device. This means that the bi-directional lines (data and attn) need to have a pull-up
    resistor in order to function properly and to avoid accidental power and ground collisions. (i.e. if the Stamp or SX were wanting to make the line HIGH and
    the controller wanted to make the line LOW, then there would be a short circuit between power and ground). Signals that are not bi-directional are the Clock
    and Cmd... from the Stamp or SX's point of view, they are always configured as outputs.

    You could probably use the internal pull-up resistors within the SX, however these are usually considered weak pull-ups (weaker than 4.7K). Weak pull-ups
    can limit communication speed causing data failures. This may or may not have an impact with the Sony Playstation controller, I'm not sure myself.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
Sign In or Register to comment.