cancel
Showing results for 
Search instead for 
Did you mean: 

How to calibrate ADC

parag
Associate II
Posted on January 30, 2011 at 04:56

How to calibrate ADC

3 REPLIES 3
Posted on May 17, 2011 at 14:23

No, it's 12-bit, you have to do the math, pretty basic stuff.

voltage = (3.3 * reading) / 4096.0;

Where 3.3 is your reference voltage.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
parag
Associate II
Posted on May 17, 2011 at 14:23

Ok. Thanks a lot clive1.

Andrew Neil
Evangelist
Posted on May 17, 2011 at 14:23

''i want to convert this value 3.3v''

 

Unless you have a very specific need to use floating-point, it's generally best avoided!

eg, instead of 3.3V, think of it as 3300mV...

(that's just one example - you could use any other scaling factor that's convenient to you)

Note that the symbol for volts is an uppercase 'V' - the same applies to all SI units named after people.