Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 25th September 2006, 05:09 PM   (permalink)
Default 4 bit adc

hello friends,
can you give name of a low cost commonly used 4 bit analog to digital convertor ic ....which can be used with a transducer.....
Sridhara is offline  
Old 25th September 2006, 05:50 PM   (permalink)
Default

Quote:
Originally Posted by Sridhara
hello friends,
can you give name of a low cost commonly used 4 bit analog to digital convertor ic ....which can be used with a transducer.....
Don't know as I've ever seen 4 bit ones? - as with most such requests, it's probably easiest (and cheapest) to use a PIC to do the job anyway!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 25th September 2006, 06:28 PM   (permalink)
Default

Search for "R-2R" DAC - 8 resistors and an opamp
hjames is offline  
Old 25th September 2006, 09:31 PM   (permalink)
Default

It's very hard to answer your question with out knowing the environment for the device and how you intend to use the data. are you going to use this with a microcontroller? as nigel implied, many have built in ADCs. If you are stuck with one that doesn't have an ADC, use the RC time constant and measure charging time of a cap.

how many specific values are you looking for? for a small number, you could use a comparator (and many uCs have comparators built in, also).

there is a huge universe of ADCs out there with all sorts of different interfaces (parallel, I2C, SPI, ...). I suggest looking at 8 bit ones as they will be the cheapest and you can ignore the lower 4 bits.
philba is offline  
Old 25th September 2006, 09:36 PM   (permalink)
Default

Quote:
Originally Posted by hjames
Search for "R-2R" DAC - 8 resistors and an opamp
It's a picky point, but that's a DAC. He asked for an Analog to digital converter. I've never seen a 4-bit one though.
Papabravo is offline  
Old 25th September 2006, 09:52 PM   (permalink)
Default

Quote:
Originally Posted by Papabravo
It's a picky point, but that's a DAC. He asked for an Analog to digital converter. I've never seen a 4-bit one though.
actually, I believe he is suggesting a sucessive approximation style ADC but that takes 5 pins. that's why it needs the opamp (comparator actually), I think. RC time constant approach takes one (though it has to be switched between in and out).
philba is offline  
Old 25th September 2006, 10:06 PM   (permalink)
Default

An R-2R ladder and an opamp is a voltage output DAC. How did you leap from there to an SAR A/D converter? the original poster asked for an A/D converter IC, not a build it from pieces SAR. Nobody's done that for decades.

My two cents:
MAX7224 its 8 bits and you can hook it to any bus. If you want I2C or SPI serial interfaces then Maxim has those also. Check out Texas Instruments, they make nice parts that complement their line of DSP's

Last edited by Papabravo; 25th September 2006 at 10:08 PM.
Papabravo is offline  
Old 25th September 2006, 10:41 PM   (permalink)
Default

I misread the question - I've never heard anyone ask for a 4 bit ADC. At that level the RC timing circuit (or
one of it's relatives) is the way to go.

James

PS, that said, I can at least save some face by saying (like philba mentions) that you can use a DAC and comparator(maybe a on-chip one) to do a faster ADC conversion - inside 4 clock cycles, (binary, SAR style) than using a RC timing loop.

Last edited by hjames; 25th September 2006 at 10:51 PM.
hjames is offline  
Old 25th September 2006, 10:49 PM   (permalink)
Default

2^4, that's only 16, so it'd be really easy to build one with 4 quad comparator ICs and some diode-transistor logic.

You set up the 16 comparators with 16 different voltage referances. The best way of doing this is with a voltage referance and a potential divider. Now you'll have 16 different outputs, eah will output a high when the reference level is reached, you need to configure your logic circuit so it'll output the correct 4-bit binary value when the input goes high.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 25th September 2006, 11:31 PM   (permalink)
Default

Quote:
Originally Posted by Papabravo
An R-2R ladder and an opamp is a voltage output DAC. How did you leap from there to an SAR A/D converter? the original poster asked for an A/D converter IC, not a build it from pieces SAR. Nobody's done that for decades.

My two cents:
MAX7224 its 8 bits and you can hook it to any bus. If you want I2C or SPI serial interfaces then Maxim has those also. Check out Texas Instruments, they make nice parts that complement their line of DSP's
wow, gettin touchy there, pb. as james said, its pretty straight forward, not much of a leap at all. especially when you can do either with that bag of parts.
philba is offline  
Old 26th September 2006, 05:00 AM   (permalink)
Default

Quote:
Originally Posted by Papabravo
the original poster asked for an A/D converter IC, not a build it from pieces SAR. Nobody's done that for decades.
I have Of course its always a hassle to build things from basic components..but if its not a critical system, and the original poster didn't know much about ADC's, its a great way to learn. Theres many 'leaps of the imagination' there, but hey, might be of some use. Something that may be easier than even an SAR, but still interesting (no offence to the comparators idea) would be the brute force approach....a simple 4-bit binary counter, and a comparator.

Assuming you can't get a 4-bit ADC (I've never seen one tbh) building one isn't that daunting...

For 4 bits, it'll only take 16 clks, and with a CMOS/TLL counter we're talking MHz. Of course, for high resolutions the counting becomes a lot longer, but 16 clks (4-bit) isn't that bad. With your analogue input (0-5V?) into the comparator, your counter's 4 outputs to a 4 bit R-2R ladder which goes into the other comparator input (I'm sure many know how an SAR ADC works). The comparator output latches a flipflop which stops the counter, and also acts as a 'done' line, and you just read the counters outputs for your digital value. This FF can be reset to start another conversion.

Actually, I'm gonna try this as a quick experiment, can't say its 'fun', but its definately interesting, seeing as the input range (assuming we use the LM393 and of course an opamp buffer after the R2R) can be pretty big, and completely variable. So theres a 'Vref'. Also with the speed it could run at on its own clock, 1Mhz sampling frequency shouldn't be a problem. Well, a lot of hassle, but a stripboard, 2"x1" 4-bit ADC might come in handy one day (even though I'm surrounded by PIC's with ADC's coming out their ears )

just a few thoughts,

Blueteeth

ps. super easy option? Use a standard 8-bit ADC, and only use the 4MSB's, discard the lower nibble. Not ideal, but you'll have 16 'levels' of voltage to measure. (you'll need to correct the input voltage level).
__________________
Inconsistency is the key to flexibility!

Last edited by Blueteeth; 26th September 2006 at 05:09 AM.
Blueteeth is offline  
Old 26th September 2006, 05:50 PM   (permalink)
Default

Use a cheap 8 bit converter and throw out the lower 4 bits.
__________________
"Everything that is done in the world is done by hope." -Martin Luther
"There are two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle."-Albert Einstein
Analog is offline  
Old 26th September 2006, 05:59 PM   (permalink)
Default

Quote:
Originally Posted by Blueteeth
I have Of course its always a hassle to build things from basic components..but if its not a critical system, and the original poster didn't know much about ADC's, its a great way to learn. Theres many 'leaps of the imagination' there, but hey, might be of some use. Something that may be easier than even an SAR, but still interesting (no offence to the comparators idea) would be the brute force approach....a simple 4-bit binary counter, and a comparator.

Assuming you can't get a 4-bit ADC (I've never seen one tbh) building one isn't that daunting...

For 4 bits, it'll only take 16 clks, and with a CMOS/TLL counter we're talking MHz. Of course, for high resolutions the counting becomes a lot longer, but 16 clks (4-bit) isn't that bad. With your analogue input (0-5V?) into the comparator, your counter's 4 outputs to a 4 bit R-2R ladder which goes into the other comparator input (I'm sure many know how an SAR ADC works). The comparator output latches a flipflop which stops the counter, and also acts as a 'done' line, and you just read the counters outputs for your digital value. This FF can be reset to start another conversion.

Actually, I'm gonna try this as a quick experiment, can't say its 'fun', but its definately interesting, seeing as the input range (assuming we use the LM393 and of course an opamp buffer after the R2R) can be pretty big, and completely variable. So theres a 'Vref'. Also with the speed it could run at on its own clock, 1Mhz sampling frequency shouldn't be a problem. Well, a lot of hassle, but a stripboard, 2"x1" 4-bit ADC might come in handy one day (even though I'm surrounded by PIC's with ADC's coming out their ears )

just a few thoughts,

Blueteeth

ps. super easy option? Use a standard 8-bit ADC, and only use the 4MSB's, discard the lower nibble. Not ideal, but you'll have 16 'levels' of voltage to measure. (you'll need to correct the input voltage level).
That is indeed a simple A/D, but it is not a successive approximation A/D. An SAR A/D only requires N clock cycles, not 2^N.
__________________
Ron

Roff is offline  
Old 26th September 2006, 06:34 PM   (permalink)
Default

Quote:
Originally Posted by Ron H
That is indeed a simple A/D, but it is not a successive approximation A/D. An SAR A/D only requires N clock cycles, not 2^N.
You're right, it isn't a SAR, but I didn't say it was.

'Something that may be easier than even an SAR'

I just used the SAR reference because the circuit is almost identical, comparator, DAC etc.. but the algorithm it uses it obviously different.

Its a pretty similar circuit setup, just not 'successive approximation', its the 'brute force' approach. Sorry if I didn't make myself clear. I have built a SAR ADC, back in uni, but we were asked to come up with a similar alogrithm that uses the same circuit (working with CPLD's back then) and simply 'counting' was what I came up with, woefully inefficient, but doesn't really require any 'intelligent' logic, and is therefore cheap and easy.

Blueteeth.
__________________
Inconsistency is the key to flexibility!
Blueteeth is offline  
Old 26th September 2006, 08:34 PM   (permalink)
Default

Quote:
Originally Posted by Blueteeth
You're right, it isn't a SAR, but I didn't say it was.

'Something that may be easier than even an SAR'

I just used the SAR reference because the circuit is almost identical, comparator, DAC etc.. but the algorithm it uses it obviously different.

Its a pretty similar circuit setup, just not 'successive approximation', its the 'brute force' approach. Sorry if I didn't make myself clear. I have built a SAR ADC, back in uni, but we were asked to come up with a similar alogrithm that uses the same circuit (working with CPLD's back then) and simply 'counting' was what I came up with, woefully inefficient, but doesn't really require any 'intelligent' logic, and is therefore cheap and easy.

Blueteeth.
Sorry, Blueteeth. I reread your original post. You did say "Something that may be easier than even an SAR, but still interesting (no offence to the comparators idea) would be the brute force approach....a simple 4-bit binary counter, and a comparator. ". I guess I skipped over that and jumped to an erroneous conclusion.
__________________
Ron

Roff is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 11:19 AM.


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

eXTReMe Tracker