You are on page 1of 23

INTERFACING HP DAS (RS-232) TO PARALLEL PORT OF PC

D. BHAVSINGH
EC94001
M.TECH E.I
INTRODUCTION

 The main objective of the project is to interface HP 34970A


DAS to the parallel port of the PC .

 The HP DAS is having two ports the HPIB port and the RS-
232 port .
PC SIDE
 PARALLEL PORT:-
 D-Type 25 Pin female connector.
 There may also be a D-Type 25 pin male connector
PC SIDE

 The Data, Control and status lines are connected to there corresponding registers
inside the computer.
 So by manipulating these registers in program , one can easily read or write to
parallel port with programming languages like 'C' and BASIC.

 data register 0x0378


 status register 0x0379
 control register 0x037A
TIMING DIAGRAM
HARD WARE HP 34970A DAS

 Data acquisition is the process of acquiring information about


a phenomenon .

 We can measure real world signal like ,


 Temperature , voltage, resistance, force, flow-rate, pressure, etc…

 Data acquisition could consist of measuring and recording the


temperature either continuously or at some discrete interval.

 It will give the digital data so we can easy to interface to pc .


FRONT VIEW OF HP DAS

.
BACK VIWE
hp das channels
IN SIDE THE HP DAS

 A transducer or sensor converts a physical quantity being measured into an


electrical signal which can be measured by the internal DMM.
 To make these measurements, the internal DMM incorporates the
following functions.

 Temperature (thermocouple, RTD, and thermistor)


 Voltage (dc and ac up to 300V)
 Resistance (2-wire and 4-wire up to 100 MW)
 Current (dc and ac up to 1A)
 Frequency and Period (up to 300 kHz)
MEASURING FROM DAS

Measuring temperature using To Output a DC Voltage


thermocouple
Scanning
 The instrument allows to combine a DMM (either internal or
external)
 with multiplexer channels to create a scan. During a scan, the
instrument connects the DMM to the configured multiplexer
channels one at a time
 and makes a measurement on each channel.
REMOTE INTERFACING SELECTION

 Baud Rate: 1200, 2400, 4800, 9600, 19200, 38400, 57600

 Parity and Data Bits: None / 8 data bits (factory setting)


 Even / 7 data bits
 Odd / 7 data bits

 Flow Control: None (no flow control)


 XON/XOFF
 DTR/DSR
 RTS/CTS
 Modem
 Number of Start Bits: 1 bit (fixed)
 Number of Stop Bits: 1 bit (fixed)
SERIAL PORT

 It is a 9-pin connectors that relay information, incoming or


outgoing, one byte at a time.
 Each byte is broken up into a series of eight bits, hence the
term serial port.
 The serial port transmits a '1' as -3 to -25 volts and a '0' as +3
to +25 volts
 where as a parallel port transmits a '0' as 0v and a '1' as 5v
SERIAL PORT PINS.
IN BETWEEN SOFTWARE AND HARD WARE

measuring temperature using thermocouple


MAX232

 The MAX232 is an integrated circuit that converts signals


from an RS-232 serial port to signals suitable for use in TTL
compatible digital logic circuits.
 Charge pump voltage converter .
UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER

 It is a 40 pin ic translates data between parallel and


serial forms.
 UARTs are commonly used in conjunction with
other communication standards such as RS-232
 It can provide parallel-to-serial and serial-to-
parallel data conversion for both the transmitter and
receiver sections.
Contd…

 Transmitter Operation
 The transmitter section accepts parallel data, formats
it, and transmits it in serial form on the TRO
terminal.
TRANSMITTER TIMING WAVEFORMS
RECEIVER OPERATION

 Data is received in serial form at the RRl input


CONCLUSION

 uart gives serial to parallel conversion and reverse


so we can easily controls the device by sending
control signals to device .
THANK YOU

You might also like