The PC parallel port can be easily damaged by wiring mistakes, short circuits, or the circuits connected to it. If the parallel port is integrated into the motherboard, as is the case with most computers, repairs can be expensive. An inexpensive I/O card can be purchased to connect to a spare slot on most motherboards, making it ideal for experimenters and easy to replace. Every reasonable care has been taken in producing this information; however, the author accepts no responsibility for any damage arising from misuse of this information. A versatile output interface can control external devices directly from a computer. It uses freely available software and works with both Windows and Linux. Any PC with a free parallel printer port available should work with this circuit. The schematic requires little explanation. Any data sent to the printer port is already "latched" and just requires buffering to drive an external circuit. The ULN2083 octal transistor array is used to buffer the output current from the parallel port. The pinout for the ULN2083 is provided. The parallel printer port on a PC is a 25-way D-type connector, with pins 2 to 10 serving as data output lines D0 to D7. Pins 18 through 25 are ground pins, while the other pins are unused and left unconnected. The output current is amplified by the ULN2083, with each output pin capable of supplying a load of up to 50mA. The outputs are active low, meaning a high logic input results in a low logic output. To address this, the output load is routed to a positive voltage, so a high input produces a high output. The positive supply can range from +5 to 50Vdc; in this design, 12V relays are used with a 12V supply. A method to send data to the printer port and control the output circuits is required. The chosen software for this interface is Parashell, created by Brett Carol and hosted on Sourceforge. The software is free to use and, as of Version 2.1, works on both Windows and Linux. A brief installation guide follows for both operating systems. For Windows XP, simply clicking on the file will expand its contents. Double-click on the bin, then the windows folder, and drag the file Parashell to the desktop. Open a command prompt and proceed as in Testing. For Suse 10.1, first download Parashell to the home directory. At the time of writing, the current version is parashell-2.1.zip. Download parashell-2.1.zip to the home directory, then open a terminal and unzip the package. Since the package contains binaries for both Windows and Linux, it is compressed in zip format instead of the usual .tar.gz or .tar.bz2 formats. Connect the PC output interface to the printer port on the computer. If the computer has only one parallel port, its address will be 378 (in hex), represented as 0x in the Parashell syntax. Once the software is installed, open a command prompt (Windows) or terminal (Linux) and type: Parashell output commands are in decimal, with outputs D0 through D7 represented in binary. To control individual pins, refer to the binary to decimal conversion table. For instance, to enable D5, use parashell 0x378 32, and to disable it, use 0. To activate circuits connected to D2 and D3 simultaneously, sum the decimal values, i.e., parashell 0x378 12 would activate both D2 and D3. All outputs remain latched until a zero is sent to the desired output pin. Sending the command parashell 0x378 0 would turn off all outputs, which may be undesirable if circuits are connected.
The PC parallel port serves as a convenient interface for controlling external devices, making it particularly useful for hobbyists and experimenters. The integration of the ULN2083 octal transistor array enhances the parallel port's capability by buffering the output current, thereby allowing the control of higher power devices such as relays and motors without risking damage to the PC's internal components. The active low configuration of the outputs necessitates careful consideration in circuit design, ensuring that the external devices are correctly powered and activated in response to the digital signals from the PC.
The flexibility of using a positive voltage supply ranging from +5V to +50V allows for compatibility with a wide variety of external components. This adaptability is crucial in prototyping and testing different circuits, as it enables the user to select the appropriate voltage level based on the requirements of the connected devices. The use of the Parashell software streamlines the process of sending commands to the parallel port, allowing for straightforward control over the output pins. The command structure, utilizing hexadecimal addressing and decimal output commands, is designed to be user-friendly while providing the necessary functionality for effective device management.
In summary, the described circuit provides a robust solution for interfacing a PC with external devices through the parallel port, leveraging the ULN2083 for current amplification and utilizing accessible software for command execution. This combination of hardware and software creates a versatile platform for experimentation and development in electronics.The PC parallel port can be easily damaged by wiring mistakes, short circuits or the circuits you connect to it. If the parallel port is integrated into the motherboard, as is the case with most computers repairs can be expensive.
You can buy inexpensive I/O card which connect to a spare slot on most motherboards, these are ideal for experimentors and easy to replace. Every reasonable care has been taken in producing this information. However, the author can accept no responsibility for any damage arising from mis-use of this information. Please also see this sites general Disclaimer. A versaile output interface that can control external devices direct from your computer. Uses freely available software and works with both windows and Linux. Any PC that has a free parallel printer port available should work with this circuit. The schematic shown above requires little explanation. Any data sent to the printer port is already "latched" and just requires buffering to be able to drive an external ciruit.
In this case I have chosen to use the ULN2083 octal transistor array to buffer the output current from the parallel port. The IC pinout for the ULN2083 is shown below. The pararell printer port on your PC is a 25 way D type connector. Its pinout is shown below. Pins 2 to 10 are the data output lines D0 to D7. Pins 18 through 25 are ground pins, the other pins are not used and left unconnected. The output current is amplified by the ULN2083 and each output pin can supply a load of up to 50mA. The outputs are active low, meaning that a high logic input gives a low logic output. To get around this the output load is routed to a positive voltage, so that any high input will now produce a high output.
The positive supply can be any value from +5 to 50Vdc, I used 12V relays and so used a 12V supply in my design. All that is needed is a way to send data to the printer port and control the output circuits. The program I have chosen to work with this interface is Parashell, created by Brett Carol and hosted on Sourceforge.
The software is free to use and as of Version 2. 1 will work both on Windows and Linux. A quick install guide follows for both operating systems. Unzip the file parahell-2. 1. zip With Windows Xp simply clicking on the file will expand its contents. Double click on the bin, hen the windows folder, and drag the file parashell to your desktop. Open a command prompt and proceed as in Testing. In this example I am using Suse 10. 1 First download Parashell to your home directory, click here for the link. At the time of writing the current version is parashell-2. 1. zip Download parashell-2. 1. zip to your home directory, then open a terminal and unzip the package (as the package contains binaries for both windows and linux it is compressed in zip format instead of the usual. tar. gz and. tar. bz2 linux formats. ) Connect the PC output interface to the printer port on your computer. If your computer only has one parallel port then its address will be 378 (in hex). This is represented by 0x in the parashells syntax. Once the software is installed open a command prompt (windows) or terminal (linux) and type: Parashell output commands are in decimal, the outputs D0 through to D7 are in binary.
Hence if you want to control individual pins you just look up their value in the binary to decimal conversion table below. For example, if you had a circuit connected to pin D5 then you would use parashell 0x378 32 to enable D5, and 0 to disable it.
If you had circuits connected to D2 and D3 and wanted to make them active at the same time, then add the decimal values together, i. e. parashell 0x378 12 would simultaneously activate D2 and D3. All outputs remain latched until a zero is sent to the desired output pin. If you had multiple circuits, then sending the command parashell 0x378 0 would turn all outputs off. This may be undesirable and if for example you had circuits conne 🔗 External reference
The circuit is based on the PIC 16F877 microcontroller, as illustrated in figure 4. The digital display output of the speech recognition circuit connects directly to the pins of the microcontroller. An LED provides a trigger that informs the...
This add-on board is designed to provide a pair of balanced audio outputs for the High-Quality Stereo DAC (Digital to Analog Converter). Two 3-pin male XLR connectors are used for the new outputs, which can either replace or augment...
A drink mixer inspired by BAR2D2 utilizes a gravity-fed pump that operates on a 9V battery. The circuit incorporates a 555 timer to control the duration of the pump's operation. When connected directly to the battery, the pump functions...
Cable and xDSL modems are increasingly popular, leading to a need for designs that interface with existing telephones at subscriber locations. The subscriber line interface circuit (SLIC) within the modem must ring the phone and provide loop current during...
The LT3495, LT3495B, LT3495-1, and LT3495B-1 are low-noise boost converters equipped with an integrated power switch, feedback resistor, and output disconnect circuitry. These devices manage power delivery by adjusting both the peak inductor current and the switch off-time, resulting...
The SP1481E, SP1485E, SP1490E, and SP1491E series transceivers, combined with the SP6652 high-efficiency, high-frequency current mode PWM buck regulator, facilitate the creation of an isolated RS-485 interface capable of providing up to 2kVrms isolation. This configuration supports CAN communication...
We use cookies to enhance your experience, analyze traffic, and serve personalized ads.
By clicking "Accept", you agree to our use of cookies.
Learn more