Skip to content
Documentation sections

Accelerometer Range & Sensitivity

POSThttps://rftools.io/api/py/v1/calculate

Slug accelerometer-sensitivity. Calculate accelerometer output voltage, ADC resolution in mg per LSB, and full-scale range. Design MEMS vibration and motion sensor interfaces.

Inputs

Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.

Inputs of accelerometer-sensitivity
NameUnitRangeDefaultDescription
sensitivitynumbermV/gat least 0.001300From accelerometer datasheet (e.g., ADXL335: 300 mV/g)
fullScaleRangenumbergat least 0.13Full-Scale Range
supplyVoltagenumberVat least 0.13.3Supply Voltage
adcBitsnumberbits8 … 2412ADC Resolution
accelerationnumbergany1The acceleration along the sensing axis: 1 g at rest with the axis vertical
frontGainnumberV/V0.01 … 10001The gain between the sensor and the ADC, applied around the zero-g level, which sits at half the supply. 1 is a direct connection, which the per-LSB outputs assume.

Outputs

Returned in values, by key. A value that is unbounded or undefined is null.

Outputs of accelerometer-sensitivity
FieldUnitDescription
fullScaleVoltagemVFull-Scale Output Swing
voltagePerCountmVVoltage per LSB
accelerationMgPerCountheadlinemgAcceleration per LSB
outputVoltageVThe sensor output at this acceleration: half the supply at 0 g
amplifiedVoltageVHalf the supply plus the gain times the sensor swing
adcCodenoneThe code an ideal ADC referenced to the supply reads: floor(V_amp / V_cc × 2^N)
resolutiong/LSBThe acceleration one ADC step spans, the amplifier gain included

Calling it

  • Calculate: one call, the request and response in full, and its errors.
  • Batch: this calculator with others, or a sweep, in one request.
  • Solve for a target: the value of one input that brings an output to a target.