Fieldeng
Instrumentation & Controls

Voltage to ADC Counts

Nearest integer count using round-half-away-from-negative-infinity (ECMA Math.round).

Instrumentation & ControlsElectrical & Power

Nearest integer count using round-half-away-from-negative-infinity (ECMA Math.round).

App id: INST-13. Reference version 1.0.

How to fill it

Fill the inputs. The tool shows the outputs.

On the tool screen, Calc is the working sheet. Presets stores values you reuse. Reference is the formula, assumptions, and provenance below.

Formula

counts = round(V / Vref × (2^N − 1))

Inputs

NameUnit
Voltage (camera)V
Resolution (bits)1
Reference voltageV

Outputs

NameUnit
ADC counts (hero result)1

Diagnose

This tool does not attach diagnose observations.

Assumptions

  • Voltage is clamped only by rounding, not by 0…max until you interpret the count.

Provenance

  • Inverse of INST-12 with integer rounding.

On this page