I would like to build a circuit of a microcontroller reading an analog accelerometer, without the use of a voltage regulator. The problem would be that the battery's voltage will gradually decrease with time changing the VCC of the accelerometer and microcontroller.
In this case, the obvious problem when finding the step for the analog to digital conversion:
$$ step = \frac{VCC}{1023} $$
Is that the step is dependent of VCC and will change with it.
Is it possible to do analog to digital conversion with variable VCC?
(The accelerometer is the ADXL377)