Skip to content

Fixed faulty voltage calculation from ADC

Derick Sivakumaran requested to merge fix/varying_measurement_frequency into master

The voltage was calculated by multiplying the ADC-value with the Voltage/ADC-factor (=3300mV/4096bit) and subtracting an offset (measured during calibration).

By applying different voltages and recording the corresponding ADC-value a slightly different Voltage/ADC-factor (=0.788mV/bit) and offset (=162mV) were found.

Merge request reports