Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Displaying the output of LM35 on PC using parallel port interface

Status
Not open for further replies.

enigmatic_nexus

Newbie level 2
Joined
May 18, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
Hello Every1
I have been assigned with a semester project which involves displying the output of LM35 on PC using parallel port interfacing and turbo-C/VC++..Please guide me on how should I achieve it, especially the circuit for the 8-bit ADC being used. I have spent a lot of time on the internet but still have doubts on how the circuit for ADC should actually be.. THanks in advance :)
 

Using LPT port, or even RS232 (there are number status and control lines that could be used as GPIO), you could make SPI interface, by switching and reading pins in correct order. The only thing is to translate the logic levels. LPT - 0V..+5V, RS232 -12V..+12V.
Then any ADC with SPI interface would fit.
But there is an easier way to take temperature sensor with builtin ADC and SPI interface, like LM74 (it has +5V power supply) and connect it to PC.
 

Thanks for the great idea :) But i want to interface the temperature sensor output with PARALLEL PORT and not SERIAL PORT. LM74 is SPI (Serial peripheral interface) . Can you tell me if there is any temperature sensor that functions the same way as LM74 but can be interfaced with PARALLEL PORT???
 

Thanks for the great idea :) But i want to interface the temperature sensor output with PARALLEL PORT and not SERIAL PORT. LM74 is SPI (Serial peripheral interface).
It does not matter parallel or serial port (i mean not to use UART tx and rx pins but status and command lines), both could be used just as GPIO(general purpouse input/output).
You could set some output pins to 0 or 1 and read status of input pins, and doing so in correct order implement SPI or I2C or any other serial interface with LPT.
have a look on schematics of different programmer cables: ponyprog, avreal, altera byteblaster.
 

Well you can use good old 8-bit ADC0808, see this **broken link removed**

8-bit data readout can be done by through data port, and control signal to ADC can be give by control port. Use SPI will reduce wire count significantly, but programing part will be bit involved.

Hope this helps
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top