Analog to digital conversion for a project

Click For Summary

Discussion Overview

The discussion revolves around the challenges of performing analog to digital conversion (ADC) for a project, specifically seeking an 8-bit resolution without using digital chips. Participants explore various methods, including resistor ladders and alternative analog approaches, while considering the constraints of a small PCB.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests using a string resistor ladder for ADC but notes the impracticality of needing 255 resistors for 8-bit resolution.
  • Another participant proposes using successive approximation, a DAC, and a comparator as a potentially better approach.
  • A third participant argues that using an ADC IC would be more efficient unless the goal is to build an ADC from components.
  • There is a discussion about the feasibility of using an R2R ladder instead of a DAC, with concerns about the cost of high precision resistors for higher bit counts.
  • One participant shares their project context, mentioning they are building a digital voice recorder that samples at 8 kHz and expresses interest in constructing ADC and DAC from scratch as a challenge.
  • Another participant suggests reconsidering the approach to minimize the number of components used in the project.

Areas of Agreement / Disagreement

Participants express differing views on the best approach to ADC, with some advocating for analog methods while others recommend using integrated circuits. No consensus is reached on a single preferred method.

Contextual Notes

Participants mention limitations related to the precision of resistors and the practicality of building ADCs from discrete components, particularly for higher resolutions.

digitalblggr
Messages
42
Reaction score
0
Hey guys,

I am trying to do analog to digital conversion for a project. I don't want to use the digital chip, but want to do it in analog. I need 8-bit resolution. I found one approach: string resistor ladder. It uses 2^n-1 resistors. For 8-bit conversion I will have to use 255 resistors which is way too much since my final project will be housed on a small PCB. Any suggestions for a better approach?

Thanks
 
Engineering news on Phys.org


digitalblggr said:
Hey guys,

I am trying to do analog to digital conversion for a project. I don't want to use the digital chip, but want to do it in analog. I need 8-bit resolution. I found one approach: string resistor ladder. It uses 2^n-1 resistors. For 8-bit conversion I will have to use 255 resistors which is way too much since my final project will be housed on a small PCB. Any suggestions for a better approach?

Thanks

Yes. Use successive approximation, a DAC, and a comparator instead.
 


digitalblggr,

I don't know what your "project" is, but unless it IS building an ADC from components, using an ADC IC sure is a better way to go. If you plan on having an on-board uController, you could even select one that has a built-in ADC (the AVR family is a good example.) For <$10 you can get an ADC, a DAC, and a very powerful uController with a lot of other capabilities...but it depends on what your project actually is. I have used both the DACs and ADCs in the ATMegas, you can do amazing things with them.

Good Luck!

Fish
 


Yes. Use successive approximation, a DAC, and a comparator instead.

This sounds interesting. So I am trying to use as few digital components as possible just as a challenge. Do you think it would work if I used R2R ladder http://en.wikipedia.org/wiki/File:R2r-ladder.png instead of DAC ( the problem I run in there is that apparently:

"On a printed circuit board, using discrete components, high precision resistors of 1% accuracy may be employed for a 5 bit circuit, however with bit counts beyond this the cost of ever increasing precision resistors becomes prohibitive."

I don't know what your "project" is, but unless it IS building an ADC from components, using an ADC IC sure is a better way to go. If you plan on having an on-board uController, you could even select one that has a built-in ADC (the AVR family is a good example.) For <$10 you can get an ADC, a DAC, and a very powerful uController with a lot of other capabilities...but it depends on what your project actually is. I have used both the DACs and ADCs in the ATMegas, you can do amazing things with them.

So I am building a digital voice recorder, which will sample human voice at 8 Khz and then convert it into digital signal at 8-bit resolution. I am in fact using the Avr mega32 which has in-built ADC, and that's my fall back plan. I just wanted to attempt building ADC and DAC from the scratch because it sounds interesting, and I want to play around with analog circuitry.( Sadly the rest of my project has very few analog components; it's just a bunch of filters and amplifiers)
 


The ATMega32 is an awesome member of the AVR family. Maybe you should consider going the other way...instead of seeing how many analog circuits you can build from scratch and cram onto your PCB, perhaps you should see how few components you can use to complete the project? Just a thought. Obviously the digital voice recorder is a "challenge" project (or you would simply buy something from this page: http://onlinecatalog.digikey.com/WebProject.asp?CodeId=7.4.4.16&pagelabel=682# )

Anyway, have FUN with your project!

Fish
 
Last edited by a moderator:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
7K
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 8 ·
Replies
8
Views
7K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K