Pin | Description |
---|---|
1 | Keypad -- right column |
2 | Keypad -- middle column |
3 | Keypad -- left column |
4 | Start, Pause, and Reset common |
5 | Keypad -- third row and Reset |
6 | Keypad -- second row and Pause |
7 | Keypad -- top row and Start |
8 | Keypad -- bottom row |
9 | Pot common |
10 | Horizontal pot (POT0, 2, 4, 6) |
11 | Vertical pot (POT1, 3, 5, 7) |
12 | 5 volts DC |
13 | Bottom side buttons (TRIG0, 1, 2, 3) |
14 | Top side buttons |
15 | 0 volts -- ground |
It"s handy to consider the keypad in a matrix format.
Pin # | 4 | 3 | 2 | 1 |
---|---|---|---|---|
7 | Start | 1 | 2 | 3 |
6 | Pause | 4 | 5 | 6 |
5 | Reset | 7 | 8 | 9 |
8 | * | 0 | # |
For instance, mashing button 5 makes a connection between pins 2 and 6.
Analog Direction Inputs
Potentiometer inputs are 0-500kohm, linear. Directional inputs are read by a RC delay circuit, i.e. the time it takes a capacitor to recharge after being discharged determines the potentiometer positions.
- North=0 ohm between pins 9 and 11
- South=500 ohms between pins 9 and 11
- West=0 ohm between pins 9 and 10
- East=500 ohms between pins 9 and 10
The analog joystick is very much like having a pair of paddles, one each for horizontal and vertical coordinates. The difference is that while paddles use the 5V source for the common voltage, the 5200 analog stick has its own dedicated pin. This is because the stick has a definite center, while the paddles do not. To get consistent behavior with any combination of individual stick and individual console, they could have put trimmers on the stick so the user can adjust the center position. Instead of making each stick adjustable to suit the console, they gave the pots a tightly regulated voltage that"s adjustable within the console. That"s what the tiny little trimmer hanging out near the power on/off switch does. Not that big one; that"s for adjusting the color phase delay.
Side buttons are held high by the console until pulled down to ground by mashing a button.
The keypad is read one column at a time. One of pins 1-4 is pulled low, then any buttons in that column that are mashed are read as low signals on pins 5-8.