Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 25th June 2008, 06:51 PM   (permalink)
Default

Quote:
Originally Posted by rainbow View Post
hi all
i have a problem with the parallel port ( exactly with status pins)

i implement an adc using (dac , comparator and a simple software of succusive approximation)
i use an lm741 as a comparator with 12v-ground.
when comparator is high output=9.8v
when comparator is low output=1.89v
this output must be connected to status through parallel port
comparator is either high or low, the status pin don t change its output,it has an output of 4.7v (for only one pin of course ).
is this because of low power from my circuit?
my circuit could not change the pin votage???
when i have connected the ground of the circuit tothis pin it changed to low
but it dont response to my comparator (lm741).......
what is my fault ....?? please it is important for my project

hint:sorry if my english is bad or there is some errors
hi,
It looks as though the 741 otput is not going low enough to switch the status pin low. Not a logic '0'
Do you have another comparator, a LM393 for example.????

Do not appy 9.8V to the status pin, it will damage the port.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Old 25th June 2008, 07:20 PM   (permalink)
Default

first thanks for replying

Quote:
Originally Posted by ericgibbs View Post
hi,
It looks as though the 741 otput is not going low enough to switch the status pin low. Not a logic '0'
i use a seris resistanse to have a drop on it but it didnt work the status pin is still 4.7v
Do you have another comparator, a LM393 for example.????

Do not appy 9.8V to the status pin, it will damage the port.
i did it actually but it turned to 4.7v (the original output of the status pin i use)
rainbow is offline  
Old 25th June 2008, 07:37 PM   (permalink)
Default

Quote:
Originally Posted by rainbow View Post
first thanks for replying



i did it actually but it turned to 4.7v (the original output of the status pin i use)

hi,
You cannot fit a series resistor, you wll never switch off the status bit that way.

The 741 amplifier cannot switch low enough to make a logic '0'.
Inside the PC on the status line is a pullup resistor, the 741 cannot pull the voltage down low enough.
You require a LM393 comparator.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Old 26th June 2008, 11:53 PM   (permalink)
Default

Quote:
Originally Posted by ericgibbs View Post
hi Menticol,
Attached zip file is for:

MC3202 dual 12bit ADC


EDIT
: Added a screen shot.
Hi Eric!

I'm having trouble getting the MCP3202. One of the store's guy (well, I asked on 10 stores) told me the difference between linear and parallel A-D converters, and how difficult is to find MCP3202 in Bogotá (almost impossible!).

He suggested me to use a parallel A-D converter (I don't remember the reference, something like ADC or 0880 8008 etc), but it's not compatible with your software and schematic, so I ignored him.

What other "linear" AD converter could be used? Maybe an older one is easier to find...

Thank you again!
__________________
La Rotta
Menticol is online now  
Old 27th June 2008, 01:02 AM   (permalink)
Default

Sorry by double-posting, edit was disabled

Working with 74LS139 By now, I know how to cascade two of them

But how can I cascade 3, or more?

Thank you in advance
Attached Images
File Type: jpg 74LS139.JPG (28.6 KB, 6 views)
__________________
La Rotta
Menticol is online now  
Old 27th June 2008, 07:47 AM   (permalink)
Default

Quote:
Originally Posted by Menticol View Post
Sorry by double-posting, edit was disabled

Working with 74LS139 By now, I know how to cascade two of them

But how can I cascade 3, or more?

Thank you in advance
hi,
Use 3 of the other output pins into a 74LS138, then use the 8 decoded outputs to select the required LS139.

The PC program was written for a SPI, MCP3202. dual ADC.

What other SPI ADC's are available locally.?

EDIT:
Can you source 74154 4 to 16 mux/demux ic's locally, they are a better option than LS139's
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 27th June 2008 at 07:54 AM.
ericgibbs is online now  
Old 27th June 2008, 09:13 AM   (permalink)
Default

Eric, you are a nice guy, always helping peeps out. Good to know ya, don't cha know

Last edited by Mikebits; 27th June 2008 at 09:14 AM.
Mikebits is online now  
Old 27th June 2008, 02:59 PM   (permalink)
Default

I agree Mikebits, thank you so much Eric!
__________________
La Rotta
Menticol is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Parallel port control port: is it Write Only or Read/Write elexhobby Electronic Projects Design/Ideas/Reviews 6 23rd December 2008 11:18 AM
Parallel Port & Microcontroller Omar.M General Electronics Chat 10 14th August 2007 10:31 AM
Need help badly on Inchworm and MPLAB thushy Micro Controllers 14 11th March 2007 07:05 PM
I need: Parallel Port.. examples and applications.. sonaiko General Electronics Chat 8 28th October 2006 02:44 PM
Multiple devices controlled at once on one parallel port Kerri Ann Electronic Projects Design/Ideas/Reviews 0 18th February 2005 11:52 AM



All times are GMT. The time now is 08:45 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker