Need help with an accelerometer & atmega168 adc converter

Discussion in 'Embedded Systems and Microcontrollers' started by HeadworX, Dec 1, 2009.

  1. HeadworX

    Thread Starter New Member

    Dec 1, 2009
    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

    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