Description: This circuit connects to a single parallel port, enabling control of electronic circuits that require up to 96 digital outputs with optically isolated lines, powered by 3 to 15V. The CD4094B is an 8-bit shift register combined with an 8-bit latch. Data is shifted serially through the shift register on the positive edge of the clock signal. The output of the last stage (QS) can be utilized to cascade multiple devices. The output from each stage of the shift register feeds into a latch, which captures data on the negative edge of the strobe input. When the strobe signal is high, data propagates through the latch to the output gates. The total time required for this operation is approximately 50 microseconds; however, using higher speed LPTs, the limit is reduced by the optocouplers to around 20 microseconds. Up to six of these CD4094 chains can be connected to a single LPT using a common clock and strobe pin. It is important to note that optocouplers are not high-speed components. In the accompanying image, a digital input signal to the LED pin (lower trace) and transistor output voltage are illustrated: the transition time is about 500 nanoseconds, and the maximum clock frequency is approximately 2 MHz. There is a challenge with this simple cable setup: LPT pins 2 and 3 must source enough current to illuminate up to six LEDs, one for each connector. Each LED requires about 16 mA, and some LPTs can only source 20-30 mA. Additionally, if a portable PC is used, the current may be even lower. Therefore, this connection functions optimally only with high-current parallel ports and when a limited number of chains are connected. Otherwise, an "active version" of the cable is necessary. The maximum power supply current is about 300 mA, but typical usage is around 150 mA with six chains connected. If the power supply voltage exceeds 10V, a suitable heat sink is required for the voltage regulator.
This circuit configuration provides a versatile solution for controlling multiple electronic devices through a parallel port interface. The CD4094B components allow for efficient data handling, with the shift register facilitating serial data input and the latch ensuring that data is accurately captured and maintained for output. The cascading capability of the CD4094B enables the expansion of the circuit to accommodate additional devices, making it suitable for complex applications requiring numerous outputs.
The design emphasizes the importance of current limitations inherent in parallel port connections. The need for a high-current parallel port is critical when driving multiple LEDs, as the current sourced by the LPT may not suffice for all connected devices. Consequently, the implementation of an active cable version becomes necessary when exceeding the specified limits, particularly in scenarios involving low-current parallel ports or multiple chains.
In terms of performance, the circuit can achieve a maximum clock frequency of 2 MHz, with a transition time of approximately 500 ns, ensuring rapid data transmission. However, the use of optocouplers introduces a delay that must be accounted for, particularly in applications requiring high-speed operation. The total time for data propagation through the latch and to the outputs is a crucial consideration in the design, ensuring that timing requirements are met for reliable operation.
Power management is also a significant aspect of this circuit. The specified maximum power supply current of 300 mA, with typical usage around 150 mA, indicates the need for careful power distribution among the connected devices. When using a power supply voltage greater than 10V, the inclusion of a heat sink for the voltage regulator is essential to prevent overheating and ensure stable operation.
Overall, this circuit design effectively utilizes the capabilities of the CD4094B shift register and latch, while addressing potential challenges related to current sourcing, speed limitations, and thermal management, making it a robust solution for interfacing with parallel port-controlled electronic circuits.Using this circuit you will connect to a single parallel port electronic circuits requiring up to 96 digital output, optically insulated lines, 3 to 15V powered. The CD4094B consists of an 8-bit shift register and a 8-bit latch. Data is shifted serially through the shift register on the positive transition of the clock. The output of the last stag e (QS) can be used to cascade several devices. The output of each stage of the shift register feeds a latch, which latches data on the negative edge of the strobe input. When strobe is high, data propagates through the latch to output gates. Total time required is about 50 us but using higher speed LPT limit values is set by optocouplers to about 20 us.
You can connect to a single LPT up to six of these CD4094 chains using a common clock and strobe pin. Note that optocouplers are not high speed components. In following image, you can see a digital input signal to led pin (lower trace) and transistor output voltage: transition time is about 500 ns and maximum frequency clock is about 2 MHz.
Using this simple cable there is a problem: LPT pin 2 and 3 should source current to light up to six led, one for each connector. A single LED require about 16 mA and some LPT can source no more then 20-30 mA. And if you use a portable PC current may be lower! So this connection work fine only using high current parallel port AND if you connect only a small number of chains.
Otherwise you need an " active version " of cable. Maximum power supply current is about 300 mA but in normal use is 150 mA with six chains connected. If voltage power supply is greater the 10 V a suited heat sink is required for voltage regulator.
The mechanics of the Quantized Random Voltage function are intriguing. Instead of having fixed quantization steps for each output of the 4006 shift register, it is proposed to make the voltages adjustable through potentiometers. The Quantized Random Voltage function utilizes...
The delay timing setting of the program will depend on the CPU speed. The timing delay can be utilized from the C+ library, allowing the standard timing to be set on any computer, with a minimum achievable time delay of...
Below are three examples of controlling a relay from the PC's parallel printer port (LPT1 or LPT2). Figure A shows a solid state relay controlled by one of the parallel port data lines (D0-D7) using a 300 ohm resistor and...
This is the basic interface I used as part of my Computerized Room project. This is the parallel interface only. The 8 bit input card can be found, along with the rest of the project, at Computerize Your Room/House. This...
The clock signal generating circuit utilizes an RC configuration, commonly applicable in most TTL systems. This circuit requires a set of six inverters, specifically three inverters from the SN7401 series. The clock frequency is determined by the values of the...
A 16V power supply can be synthesized using IN1692 rectifiers. A shift pulse input saturates the 2N2714, depriving the Darlington combination (2N2714 and 2N2868) of base drive. The negative pulse generated on the 15V line is differentiated to produce a...
Used in electronic roulette or dice games, this circuit produces a clock signal that initially is several tens of kHz (depending on C2) and gradually decreases to zero in about 15 seconds, as C1 discharges through R4.
The described circuit is...
This circuit is a simple adapter for PC parallel port to think that there is a printer connected to computer. This adapter is useful for testing printing speed with different software and as a part of your own designs. You...
Four 595 shift registers are used together to drive 7-segment displays, with additional code implemented to accept input from a PC. Unlike the previous design that utilized 10-LED bar graphs, the current configuration employs 7-segment displays, which present a greater...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more