See discussions, stats, and author profiles for this publication at: https://www.researchgate.
net/publication/321275827
Data Acquisition System Using Parallel Port of the Computer
Conference Paper · October 2003
CITATIONS READS
0 563
2 authors:
Traian Turc G. Toderean
Petru Maior University of Târgu Mures Universitatea Tehnica Cluj-Napoca
23 PUBLICATIONS 48 CITATIONS 76 PUBLICATIONS 320 CITATIONS
SEE PROFILE SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Web-based Wireless Sensor System for SCADA Environment View project
naviro View project
All content following this page was uploaded by Traian Turc on 24 November 2017.
The user has requested enhancement of the downloaded file.
Data Acquisition System Using Parallel
Port of the Computer
Traian TURC1, Gavril TODEREAN2
“PetruMaior” University of TirguMures, Romania
Nicolae Iorga Street, no. 1, 540088 TîrguMureş, Romania
1
[email protected] 2
[email protected] Technical University of Cluj-Napoca, Romania
Abstract:
A data acquisition system connected through parallel port of the personal
computer can be easy attached to any personal computer. With this system it is possible
to develop several applications using different language programming(C, PASCAL and
LABVIEW). This work presents a data acquisition system connected to local
CENTRONICS- parallel port of the personal computer. This system has digital inputs,
analogical inputs and digital outputs. The system can be programmed using different
programming language like LABVIEW, C and Pascal.
DATA ACQUISITION THROUGH PARALLEL PORT
The data acquisition system that transfers data through serial port sends
information to computer with a speed equal to serial port communication speed even if
the speed of acquisition is faster.
In case we want to transfer a large quantity of data at high speed, serial transfer of
data is inadequate. A better solution is using data acquisition through parallel port.
The parallel port has 8 bits data bus and a 9 bits commands bus is possible to
make a faster data transfer.
This kind of data acquisition system connected through parallel port is shown in
fig 1.
Data acquisition system using parallel port
Digital Digital Analogical inputs
inputs outputs
Computer
Parallel port Data acquisition system Analogical
multiplexer
Figure 1
The data acquisition system can be an intelligent micro programmed system that
works independently of computer or can be a simple interface using computer to make
acquisition and data transfer.
If data acquisition system is a simple interface controlled by computer, the
acquisition programs are only in computer, acquisition system is only an execution
system. This kind of system is very simple, is cheaper and flexible.
Entire package of programs is on computer. The upgrade of programs, the
improvement and maintenance of programs may be made only in computer.
The data acquisition system can’t work independently and this could be a main
disadvantage.
This system is inadequate for data acquisition and control but it is suitable for data
monitoring.
PARALLEL DATA ACQUISITION SYSTEM ADC16
INT ADC
0804
MUX
AN
16:1 16 Analogical inputs
Figure 2 AI0-AI15
MUX AIN
4X4:1
As w DOUT
ADR
7 digital
574 outputs
RWR
DO0-DO6
404
Computer parallel 8 Digital inputs 4 External address
port
DI0-DI7 ADR1-ADR4
Figure. 2
As we can see in figure 2, data acquisition system is controlled by the computer
using 9 bits control bus of parallel port. Data are read through the 4 bits inputs ports.
Outputs data uses the 8 bits data bus of parallel port. The acquisition speed depends on
computer speed and the number of the connected analogical inputs.
To extend the number of the analogical inputs one must connect an analogical
multiplexer controlled by AD1-AD4.
DATA ACQUISITION SYSTEM WITH ADC 16
The system is used when a higher acquisition seed is necessary, faster than serial
data acquisition speed. 7 digital outputs
64 analogical inputs
ADC-16 DO 0-DO 6
Analogical ADR 1-ADR4 8 Digital inputs
MUX D I0-D I7
16:1 AI 0-AI 15
COMPUTER
Parallel port
Figure 3
The speed is slower than data acquisition systems connected to internal bus
computer.
For the industrial systems the speed of parallel data acquisition system is
acceptable. The major advantage is lower price and simplicity of connection to the
computer. This system is proper for control and monitors a large range of industrial
process.
The screen of debit measurement application is shown in figure 4. The application
is made using Pascal programming language.
Figure 4
A similar application (debit compute end measurement), but realized using
LABVIEW is shown in figure 5. To run this application is necessary to have a computer
with Windows operating system.
Figure 5
Reference:
[1.] Gh.Toderean - Microprocesoare Univ Tehnica Cluj 1994
[2.] Serban Lungu - Microcontrolere –Ed Comprex Cluj 1993
[3.] National Semiconductors National Data Acquisition Databook -1995
[4.] Traian Turc - Referat 2 doctorat- Sisteme de achizitie si prelucrare a datelor din
procese industriale-indrumator prof.dr.ing.Gavril Toderean
View publication stats