Analog to digital converter

Thread Starter

shiva Raj

Joined May 29, 2013
2
I have started newly working with AVR microcontroller.I hve an variable analog input from a pressure sensor n i need tht in digital form..can any1 please help me where to connect that input n how to get accurate output using ATMEGA32,,....thanks in advance
 

Thread Starter

shiva Raj

Joined May 29, 2013
2
I have started newly working with AVR microcontroller.I have an variable analog input from a pressure sensor and i need that in digital form..can any one please help me where to connect that input and how to get accurate output using 16 bit Analog to digital converter....
thanks in advance
 

kubeek

Joined Sep 20, 2005
5,795
Atmega32 has only 10-bit ADC, so you will need to get an external one if you need better resolution. What sample rate do you require?
 

t06afre

Joined May 11, 2009
5,934
We need to know which ADC and pressure sensor you will be using, and also which AVR. It will be most likely that the ADC use SPI or I2C like interface http://www.byteparadigm.com/applications/introduction-to-i2c-and-spi-protocols/ I am also sure Atmel have some app-notes about this topic. The pressure sensor will also most probably have a differential output. So using an instrumentation amplifier will be required. Do not try to build one your self.
 

John P

Joined Oct 14, 2008
2,026
And, I have words of caution to share: don't assume that just because you can measure an analog signal to 16 bits of precision, you will be able to get useful information. You need a very quiet electrical environment (i.e. good design, shielding, the right kind of filtering, quiet power supply) to make a 16-bit converter useful. If you have a hand-wired setup and you try to use this wonderful converter, you're likely to appear here again and ask "Why is my measurement so noisy?"

A lot of people say measuring to 10 bits (1 part in 1000, roughly) isn't too difficult, but beyond that you have to work at it.
 

WBahn

Joined Mar 31, 2012
30,062
And, I have words of caution to share: don't assume that just because you can measure an analog signal to 16 bits of precision, you will be able to get useful information. You need a very quiet electrical environment (i.e. good design, shielding, the right kind of filtering, quiet power supply) to make a 16-bit converter useful. If you have a hand-wired setup and you try to use this wonderful converter, you're likely to appear here again and ask "Why is my measurement so noisy?"

A lot of people say measuring to 10 bits (1 part in 1000, roughly) isn't too difficult, but beyond that you have to work at it.
Ditto!

I think 10-bits generally is fairly easy, 12-bits isn't too terribly hard, but 14-bits is getting pretty challenging, and 16-bits can be a bitch.
 
Top