B&B ELECTRONICS PPIO TV Converter Box user manual

Not Recommended for New Installations.

Please contact Technical Support for more information.

Parallel Port Input/Output Converter

Model PPIO

Document No. PPIO2899

B&B Electronics Mfg. Co. Inc.

Phone (815) 433-5100 -- General Fax (815) 433-5105

Copyright ? 1991-1999 B&B Electronics -- Revised June 1999

Cover Page

B&B Electronics Mfg Co Inc 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104

TABLE OF CONTENTS

INTRODUCTION ...

PACKING LIST...

PC PARALLEL PORT DESCRIPTION ...

PPIO DESCRIPTION & CONNECTION...

CONTROLLING THE PPIO USING GWBASIC...

CONTROLLING THE PPIO USING PASCAL...

CONTROLLING THE PPIO USING C...

INTERFACING TO THE PPIO...

EXAMPLE USE OF THE PPIO ...

APPENDIX...

HEXADECIMAL NUMBERS ...

BINARY NUMBERS ...

PPIO2899 Manual

Table of Contents

B&B Electronics Mfg Co Inc 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104

INTRODUCTION

The PPIO allows you to connect your IBM PC (or clone) computer to the outside world using the computers parallel port.

The eight I/O points can be used as either inputs or outputs. As an output they can control voltages as high as 50 Volts DC and can handle currents as high as 500 mA DC. As an input they can handle voltages from 0 to 50 volts with a threshold of 2.5 Volts DC.

CAUTION: Each output of the PPIO can dissipate 1 Watt when used alone, however, all eight outputs together cannot dissipate more than 2.25 Watts.

NOTE: The PPIO connects to the parallel port of your computer and uses most of the available pins on that port. You MUST use a cable that connects pins 1 through 17 of the DB-25 connector to the PPIO for it to work properly. To be safe you should use a cable that connects all 25 pins from connector to connector.

NOTE: The PPIO can only be used with parallel ports that are in

compatible or normal mode. It will not function properly with parallel ports in ECP or EPP modes. The mode of the parallel port can be changed in the BIOS setup by pressing either the F2 key or

DEL key just after the computer begins the boot procedure.

The PPIO comes with sample DOS programs written in

GWBASIC, QuickBASIC, Pascal, and C. These sample programs can be used "as is" to test the PPIO and to control and display the status of its I/O pins. Parts of these programs can be used in other programs to make it easier to interface to the PPIO. Also, by studying these programs a programmer can learn how to write code in any language to do a similar job.

PPIO2899 Manual

B&B Electronics Mfg Co Inc 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104

Packing List

Examine the shipping carton and contents for physical damage.

If there is damage, contact B&B Electronics immediately. The following items should be in the shipping carton:

This Instruction Manual

PPIO Sample/Test Disk

If any of the above items is missing contact B&B Electronics immediately.

PPIO2899 Manual

B&B Electronics Mfg Co Inc 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104

PC PARALLEL PORT DESCRIPTION

To understand how the PPIO can be controlled you must first understand how the parallel port works inside the computer. The parallel port is designed to connect the computer with the outside world. It can have up to 12 TTL compatible outputs and up to 9 TTL compatible inputs. It cannot have both at the same time since some inputs and outputs share pins. Eight of the outputs and five of the inputs are dedicated. Four of the lines can be either inputs or

The main use for the parallel port is to send data to a printer. The port uses the eight dedicated outputs for data and the other lines for handshakes. Under normal printer operation, the computer will put an eight-bit byte on the eight lines (pins 2-9) and then use the Strobe output (pin 1) to tell the printer to read the data.

Upon receipt of an Acknowledge (pin 10) from the printer the computer knows that the eight bit word was received. It can then send the next word. Other lines are used for bu