PPIO DESCRIPTION & CONNECTION
The PPIO makes use of the eight output pins (pins 2 through 9) at address 378H to drive its eight outputs. It uses the upper four bits of address 379H (pins 13, 12, 10, and 11) for the upper four input bits of the PPIO. It uses the lower four input bits of address 37AH (pins 1, 14, 16, and 17) for the lower four input bits of the PPIO. This assumes you are using the same port addresses as in Table 1. In this way the PPIO can have eight inputs or eight outputs. Refer to Figure 1 for the PPIO schematic.
Each pin of the PPIO is
To use PPIO I/O bit 0 as an input you first set bit 0 of port 378H LOW to turn OFF the driver transistor. From then on, if you force the PPIO bit 0 to ground, a LOW will show up on pin 1 of the
All you have to remember is that if you force one of the PPIO I/O bits to ground, it will be a ONE when you read it in the computer. If you leave the PPIO I/O pin open or force it HIGH (above 2.5 volts), it will be a ZERO when you read it in the computer.
PPIO I/O bits 0 through 3 are connected to bits 0 through 3 of port 037AH and PPIO I/O bits 4 through 7 are connected to bits 4 through 7 of port 0379H. (This assumes that you are using a parallel port at 0378H in your computer.) A LOW on any PPIO I/O pin will show up as a HIGH on the corresponding bit in the computer.
PPIO2899 Manual | 7 |
B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph