
1-8
PIN 15
PIN 13
PIN 11
PIN 9
DIO24
I/O CONNECTOR
P2
BUFFER
U4
BUFFER
U3
82C55
PORT
C
S2
PIN 7
PIN 5
PIN 3
PIN 1
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
1
2
3
4
5
6
7
8
Fig. 1-8 — Port C Buffer Circuitry
Pull-up/Pull-down Resistors on Digital I/O Lines
The 8255 programmable peripheral interface provides 24 parallel TTL/CMOS compatible digital I/O lines
which can be interfaced with external devices. The lines are divided into four groups: eight Port A lines, four Port C
Lower lines, eight Port B lines, and four Port C Upper lines. You can install and connect pull-up or pull-down
resistors for any or all of these four groups of lines. You may want to pull lines up for connection to switches. This
will pull the line high when the switch is disconnected. Or, you may want to pull down lines connected to relays
which control turning motors on and off. These motors turn on when the digital lines controlling them are high.
To use the pull-up/pull-down feature, you must first install 10 kilohm resistor packs in any or all of the four
locations around the 8255, labeled PA, PB, PCL, and PCH. PA and PB, located to the right of the 8255, take a
10-pin pack, and PCL and PCH, located along the top edge of the board, take 6-pin packs. Figure 1-9 shows these
locations.
After the resistor packs are installed, you must connect them into the circuit as pull-ups or pull-downs. Locate
the three-hole pads on the board near the resistor packs. They are labeled G (for ground) on one end and V (for Vcc)
on the other end. The middle hole is common. PA is for Port A, PB for Port B, PCL is for Port C Lower, and PCH is
for Port C Upper. Figure 1-9 shows a blowup of the pads for Port A. To operate as pull-ups, solder a jumper wire
between the common pin (middle pin of the three) and the V pin. For pull-downs, solder a jumper wire between the
common pin (middle pin) and the G pin. For example, Figure 1-10 shows Port A lines with pull-ups, Port C Lower
with pull-downs, and Port C Upper with no resistors.