Unknown; and 9-Green is Acknowledge.
We use seven of the nine wires off the connector with
the exceptions being the green and white wires. These are
fine wires which are a little difficult to strip and solder. My
fingers are a little clumsy for this detail work, so I prefer to
use a pre-made PS2 interface cable with a seven-position
socket that plugs onto a header. The schematic for our
circuit is shown in Figure 4. You can hardwire and
build this circuit on a prototyping breadboard (see
Figure 5) or purchase the kit.
To build the kit, we start with the PCB (Figure 6).
The kit is available in three versions that have different
power supply ratings of either one ampere, three
ampere, or five ampere. The higher amps can supply
more power to the servomotors without overheating.
Begin construction by mounting components and
parts on the silkscreen side of the PCB. R1 and
R2 are 1K resistors (color bands are brown,
black, red). R3 is a 4.7K resistor (color bands
are yellow, purple, red); R4 is a 10K resistor
(color bands are brown, black, orange).
Check this out in Figure 7.
Next, mount and solder the ICS- 18 microcontroller
socket labeled U2. Then, mount and solder the 1N5402X
diodes labeled D3–D7. Keep the line on the diode
orientated to the line of the silkscreen outline of the diode.
Next, mount the two colored LEDs. The red LED is labeled
Power LED; the green LED is labeled Status LED. Orientate
the LEDs properly. The longer lead of the LED is positive.
This faces the round portion of the LED outline. The shorter
lead of the LED is negative; it faces the flat side of the LED
silkscreen outline as shown in Figure 8.
Now, mount and solder the round pushbutton switch
FIGURE 2. PS2 with wireless Playstation controller connected to six servos.
Construction
The PS2 controller has a nine-pin connector shown in
Figure 3. If you are hardwiring this circuit from scratch, you
need to obtain a PS2 extension cable. Leave about 4-5
inches of cable attached to the female connector also
shown in Figure 3. Cut and strip the wires inside the cable
to attach to your circuit.
Wire definitions are: 1-Brown is Data; 2-Orange is
Command; 3-Grey is Vibration; 4-Black is Ground; 5-Red is
Power; 6-Yellow is Attention; 7-Blue is Clock; 8-White is
FIGURE 4.
Circuit
schematic.
58 SERVO 02.2011