Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

Universal Parallel Adapter. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Computers

Comments on the article Comments on the article

The universal parallel adapter is designed to connect various devices with digital inputs to a computer. For example, it can be used to write information to ROM, directly control stepper motors, to establish various electronic circuits as an emulator, etc. a very real risk of port failure, since its outputs are not protected and are designed to connect only one output, and repair may require replacing the motherboard. In addition, to connect anything to the parallel port, you must first turn off the computer. The adapter eliminates these problems and allows you to think first of all about the circuit being developed, and not about how not to burn the computer in the process of creating it.

Universal Parallel Adapter

The idea of ​​using a parallel port for issuing and receiving digital signals with TTL levels is not new, for example, a similar scheme is given in [1]. The adapter proposed here is characterized by simplicity, with sufficient capabilities for a large number of applications. In addition, if after some time you need to increase the number of inputs / outputs, you can simply assemble the same circuit and connect it according to the table below. Although if it is assumed that the conclusions of one circuit will not be enough right away, it is better to use a more powerful option. The circuit consists of three registers and one multiplexer. All registers are enabled in the same way, with the exception of the third, its outputs can be switched to a high-resistance state, therefore, a control signal to enable the OE outputs is also connected to it. The information inputs of all registers are combined and connected to the corresponding outputs of the computer's parallel port, since the TTLSH series is used, it is permissible to load one port output on several microcircuit inputs. For gating, the control lines of the port are used, connected to the inputs of the C registers. To increase the number of inputs, a D4 multiplexer is used.

The circuit is connected to a parallel port, it is also necessary to supply + 5V power to the microcircuits, it is best to use a computer power supply for this. In my version, the assembled circuit is located inside the computer, it is connected to the internal LPT port connector on the system board, it uses a 4-pin connector for power supply, and the working outputs are routed to a 32-pin connector mounted in a plug from the 5,25 compartment on the front panel. The supply voltages +5, +12 volts are output to the same connector. If it is necessary to increase the number of outputs, you can assemble a second such block and connect it in accordance with the table below to the first one connected to the computer. In this case, several additional entrances and exits will appear, but the access time will increase. O1...O24 circuits are used to connect to an external device, of which O1...O16 are ordinary outputs, and O17-O24 can be used as inputs or outputs. The O16 circuit is used in parallel for internal needs.

Parallel port connection
Port pin A type Output name Adapter chain
2 O D0 IN1
3 O D1 IN2
4 O D2 IN3
5 O D3 IN4
6 O D4 IN5
7 O D5 IN6
8 O D6 IN7
9 O D7 IN8
1 O -STROBE IN9
14 O -AUTO FD IN10
16 O -INIT IN11
17 O -SLCT IN IN12
10 I -ACK IN13
11 I BUSY IN14
12 I PE IN15
13 I SLCT IN16
18 25 ... - GND total

Connecting a second adapter to increase the number of pins
FirstSecondFirstSecond
O1 I1 O9 I9
O2 I2 O10 I10
O3 I3 O11 I11
O4 I4 O12 I12
O5 I5 O17 I13
O6 I6 O18 I14
O7 I7 O19 I15
O8 I8 O20 I16

The program must be written for each specific case of using the device separately, so I do not give any options here, but only consider the basic principles of programmatic control of the circuit. Almost any programming language has functions that allow you to write a number at a given address to an I / O port. The schema is controlled through calls to such functions. To write an 8-bit number to the buffer register of the circuit, it is necessary to write it to the data register of the parallel port, then write to the control register any number that has a unit in the corresponding bit (corresponding to pin C of the selected buffer register) and then zero to it. To read 4 bits of data, simply read the port status register, to read the remaining bits, first change the state of the O16 line. It must be taken into account that some input and output lines of the port are inverted. The register addresses for LPT1 are shown in the table and are correct for most computers, but BIOS data should be used to correctly determine the addresses.
Data register 378 h
Status register 379 h
Control register 37Ah

Publication: cxem.net

See other articles Section Computers.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Artificial leather for touch emulation 15.04.2024

In a modern technology world where distance is becoming increasingly commonplace, maintaining connection and a sense of closeness is important. Recent developments in artificial skin by German scientists from Saarland University represent a new era in virtual interactions. German researchers from Saarland University have developed ultra-thin films that can transmit the sensation of touch over a distance. This cutting-edge technology provides new opportunities for virtual communication, especially for those who find themselves far from their loved ones. The ultra-thin films developed by the researchers, just 50 micrometers thick, can be integrated into textiles and worn like a second skin. These films act as sensors that recognize tactile signals from mom or dad, and as actuators that transmit these movements to the baby. Parents' touch to the fabric activates sensors that react to pressure and deform the ultra-thin film. This ... >>

Petgugu Global cat litter 15.04.2024

Taking care of pets can often be a challenge, especially when it comes to keeping your home clean. A new interesting solution from the Petgugu Global startup has been presented, which will make life easier for cat owners and help them keep their home perfectly clean and tidy. Startup Petgugu Global has unveiled a unique cat toilet that can automatically flush feces, keeping your home clean and fresh. This innovative device is equipped with various smart sensors that monitor your pet's toilet activity and activate to automatically clean after use. The device connects to the sewer system and ensures efficient waste removal without the need for intervention from the owner. Additionally, the toilet has a large flushable storage capacity, making it ideal for multi-cat households. The Petgugu cat litter bowl is designed for use with water-soluble litters and offers a range of additional ... >>

The attractiveness of caring men 14.04.2024

The stereotype that women prefer "bad boys" has long been widespread. However, recent research conducted by British scientists from Monash University offers a new perspective on this issue. They looked at how women responded to men's emotional responsibility and willingness to help others. The study's findings could change our understanding of what makes men attractive to women. A study conducted by scientists from Monash University leads to new findings about men's attractiveness to women. In the experiment, women were shown photographs of men with brief stories about their behavior in various situations, including their reaction to an encounter with a homeless person. Some of the men ignored the homeless man, while others helped him, such as buying him food. A study found that men who showed empathy and kindness were more attractive to women compared to men who showed empathy and kindness. ... >>

Random news from the Archive

Power supply modules type SPM 21.03.2005

FAIRCHILD SEMICONDUCTOR announced the production of SPM power modules that provide efficient motor control for applications such as washing machines and air conditioners.

The modules are designed for powers from 300 W to 13 kW and output currents from 3 to 30 A. Case dimensions are reduced to 44x26,8 mm. There is protection when the supply voltage is out of range, as well as protection against short circuits.

Other interesting news:

▪ Fine grinding for the pig

▪ Portable radio APX Next

▪ Dream Chaser spaceplane tested

▪ Low Capacitance TVS Littelfuse SP3384NUTG

▪ Cold and wellness

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Standard instructions for labor protection (TOI). Selection of articles

▪ article Everything is mixed up in the Oblonskys' house. Popular expression

▪ article What is the danger of using dihydrogen monoxide? Detailed answer

▪ article Warehouse Operations Coordinator. Job description

▪ article Dynamic filter - noise suppressor. Encyclopedia of radio electronics and electrical engineering

▪ Density Tower article. Focus Secret

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024