Need help with an accelerometer & atmega168 adc converter

Thread Starter

HeadworX

Joined Dec 1, 2009
1
Hello forum, i'm new at this forum i need help with a proyect that I am using an Acelerometer to have a tilt measure. Use an ADXL335 of analog http://www.sparkfun.com/commerce/product_info.php?products_id=9372

and atmega 168 but i have a problem when use a/d converter, the adc use 0to5v and give us a digital value since 0 to 1024 but adxl 3 axis
signal offset 1650mv,
Vmin 1300mv aprox,
Vmax 2000mv aprox.

Ive try to change Vref of adc converter to the external pin to 3.3v that its the power supply of the accelerometer. but not suscess
How could improve resolution of the conversor???

Million thanks
Sorry for my bad english
 
Top