Analog to digital conversion for a project

AI Thread Summary
The discussion revolves around creating an analog-to-digital converter (ADC) for a digital voice recorder project, aiming for 8-bit resolution without using digital chips. The initial suggestion of a resistor ladder was deemed impractical due to the high number of resistors required. Alternatives like using a successive approximation method with a DAC and comparator were proposed, alongside the recommendation to consider ADC ICs for efficiency. The user expressed a desire to explore analog circuitry as a challenge, despite having a fallback plan with the AVR Mega32's built-in ADC. Ultimately, the conversation emphasizes balancing the challenge of building from scratch with the practicality of using existing components.
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:
Hey guys. I have a question related to electricity and alternating current. Say an alien fictional society developed electricity, and settled on a standard like 73V AC current at 46 Hz. How would appliances be designed, and what impact would the lower frequency and voltage have on transformers, wiring, TVs, computers, LEDs, motors, and heating, assuming the laws of physics and technology are the same as on Earth?
While I was rolling out a shielded cable, a though came to my mind - what happens to the current flow in the cable if there came a short between the wire and the shield in both ends of the cable? For simplicity, lets assume a 1-wire copper wire wrapped in an aluminum shield. The wire and the shield has the same cross section area. There are insulating material between them, and in both ends there is a short between them. My first thought, the total resistance of the cable would be reduced...
I used to be an HVAC technician. One time I had a service call in which there was no power to the thermostat. The thermostat did not have power because the fuse in the air handler was blown. The fuse in the air handler was blown because there was a low voltage short. The rubber coating on one of the thermostat wires was chewed off by a rodent. The exposed metal in the thermostat wire was touching the metal cabinet of the air handler. This was a low voltage short. This low voltage...
Back
Top