Documentation sections
Wheatstone Bridge Calculator
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug wheatstone-bridge. Calculate Wheatstone bridge output voltage, balance condition, and mV/V sensitivity. Design circuits for strain gauges, RTDs, and load cells.
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.
| Name | Unit | Range | Default | Description |
|---|---|---|---|---|
| vinnumber | V | 0.1 … 30 | 5 | Bridge excitation supply voltage |
| r1number | Ω | at least 1 | 1000 | Bridge resistor R1 (top-left arm) |
| r2number | Ω | at least 1 | 1000 | Bridge resistor R2 (top-right arm) |
| r3number | Ω | at least 1 | 1000 | Bridge resistor R3 (bottom-left arm, often the sensor) |
| r4number | Ω | at least 1 | 1000 | Bridge resistor R4 (bottom-right arm) |
| frontGainnumber | V/V | 0.01 … 100000 | 6 | The gain between the bridge output and the ADC. A gain of 6 brings the bridge's 0.5 V output with R3 at 1.5 kΩ to 3 V. |
| adcRefnumber | V | 0.1 … 50 | 3.3 | The ADC full scale. The ADC is unipolar: a negative bridge output reads 0. |
| adcBitsnumber | bit | 1 … 24 | 12 | ADC resolution in bits |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| voutheadline | V | Differential output voltage of the bridge |
| voutMv | mV | Differential output voltage in millivolts |
| balance | none | Balance indicator: 0 = perfectly balanced (R1/R3 = R2/R4) |
| sensitivity | mV/V | Bridge sensitivity: output mV per V of excitation |
| amplifiedVoltage | V | The bridge output times the amplifier gain |
| adcCode | none | The code an ideal ADC reads: floor(V_amp / V_ref × 2^N), 0 below zero |
| resolution | Ω/LSB | The change in R3 one ADC step spans at this point |
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.