Basic ADC with accelerometer