Flex sensor calibration: A fixture and validation worksheet
Author: Spectra Symbol, Editorial team
To calibrate a flex sensor, mount it in the geometry it will use, record readings at known angles, and build a signal-to-angle mapping. Then test that mapping at angles you didn’t use to build it. A straight reading and a bent reading give you a mapping. They don’t tell you how accurate the installed assembly is.
This worksheet covers both jobs. The blank fields are for your own measurements, not Spectra Symbol test results.

The 5-minute version
Need a working angle estimate fast? Here’s the short route.
- Wire a voltage divider: excitation, flex sensor, measurement node, fixed resistor, ground. Measure the fixed resistor instead of trusting its label.
- Mount the sensor on your fixture. Bend it only in the direction the datasheet’s “How It Works” diagram shows, with the conductive-ink side on the outside of the bend.
- Record the analog-to-digital converter (ADC) reading with the sensor flat (0 degrees). Record it again at a known angle near the top of your range, measured with a protractor or angle gauge. Take several samples at each position.
- Draw a straight line between the two points: angle = θ₀ + (x − x₀) × (θ₁ − θ₀) ÷ (x₁ − x₀), where x is the ADC reading.
- Bend the sensor to an angle in between, one you didn’t use in step 3, and compare the estimate to your gauge.
If the estimate lands inside your tolerance, you have a usable mapping for a prototype. If it doesn’t, or if you’re building something you’ll ship, keep reading. A two-point line says nothing about accuracy between the points or when the sensor moves back toward flat.
Which flex sensor do you have?
A flex sensor changes resistance as it bends. Turning that change into an angle takes a relationship you establish for your own assembly. A curve from a different part, mounting arrangement or bend shape isn’t a substitute.
Spectra Symbol’s datasheets separate the original Flex Sensor (FS) series from SpectraFlex (FLX). Use the part number and drawing that came with your order. The flat resistances below identify the stock versions. They aren’t calibration endpoints.
| Stock version | Nominal flat resistance | Printed range | What it means for calibration |
|---|---|---|---|
| FS, 95.25 mm active length | 10 kΩ ±30% | 7,000 to 13,000 Ω | Measure your individual sensor. Don’t substitute tutorial constants. |
| FLX, 55.37 mm active length | 12 kΩ ±20% | 9,600 to 14,400 Ω (calculated) | Calibrate separately from the longer FLX. |
| FLX, 95.25 mm active length | 18 kΩ ±20% | 14,400 to 21,600 Ω | Record the part number and mounting before you collect points. |
Sources: FS datasheet and SpectraFlex datasheet. The 55.37 mm range is calculated from the printed 12 kΩ ±20%.
The SpectraFlex datasheet recommends a bend radius of 2.5 to 8 mm for FLX. The FS datasheet gives no radius, so don’t carry the FLX figure over. Bend the strip only in the direction the “How It Works” diagram in each datasheet shows: the conductive-ink side ends up on the outside of the bend, and the strip folds away from it. Straightening a strip after a bend is normal motion. Do not bend it the opposite way, with the ink side on the inside of the bend.
The FLX comparison table lists ±2% repeatability under controlled conditions. That isn’t ±2 degrees of angle accuracy in your mechanism, and the datasheet doesn’t define its reference well enough to convert the figure into an angle. Don’t use it to set acceptance limits. The same table lists original FS repeatability as never characterized.
What should you record about your fixture?
Start by defining “angle.” You might measure the rotation between two fixture arms, with zero at the documented straight position. Measure that reference independently of the flex sensor. Record the instrument’s resolution and stated uncertainty, so your validation doesn’t claim more certainty than the reference can back up.
Keep the sensor’s location, attachment, free length and bend shape repeatable. Strain-relieve the leads, and keep the connector region out of the moving bend. If your real application lets the sensor slide or changes its curvature, reproduce that behavior on the fixture. A rigid jig that’s easy to build can mislead you. Published research on flex-sensor response looks at how shape and curvature affect output, so angle alone doesn’t fully describe the mechanical input. For handling basics, see Flex Sensor Do’s and Don’ts.
Fill in this table before you test anything.
| Setup item | Record before testing |
|---|---|
| Identity | Part number, sensor ID, drawing and datasheet revision, active length |
| Mechanical reference | Zero definition, angle instrument, resolution, stated uncertainty |
| Geometry | Radius or bend profile, bend location, supported and free length, photo or drawing |
| Mounting | Attachment positions, allowed sliding, lead strain relief |
| Electronics | Divider orientation, measured fixed resistance, excitation, ADC model, reference and settings |
| Timing | Sample rate, filter, dwell before capture, motion rate, any preliminary cycles |
| Environment | Temperature and application conditions you’re evaluating |
| Requirement | Maximum permitted angle error, operating range, motion directions, test conditions |
Pick a dwell time and motion rate that represent real use, then write them down. A long stationary dwell can’t validate a fast-moving application. If you run any preliminary cycles, log how many and keep those readings out of both your calibration and validation records. This workflow is our proposal, not a manufacturer-prescribed acceptance standard.
How do you read the signal?
A voltage divider is the usual way to read a flex sensor’s resistance with an ADC. Wire excitation to the flex sensor, then the measurement node, then a fixed resistor to ground. The ideal unloaded node voltage is:
Vout = Vin × Rfixed ÷ (Rflex + Rfixed)
Output falls as sensor resistance rises. Swap the two resistors and the direction reverses. SparkFun’s hookup guide walks through a practical circuit. Use your own measured values rather than its example constants.
Spectra Symbol’s FLX and FS datasheets suggest an op-amp buffer, such as an LM358 or LM324. Its low bias current reduces error from the sensor’s source impedance. The same notes say you can skip the op-amp for a simple test circuit.
You can calibrate raw ADC counts as long as the electronics stay fixed. Record the excitation and reference behavior, and check your ADC’s acquisition-time and source-impedance requirements. A mapping can’t rescue clipping or an unstable measurement chain. Keep the raw readings next to any filtered output, and validate with the same filter and sampling setup the application will use.
How do you collect calibration points and freeze the mapping?

Choose reference angles across your intended range, including both ends. For an illustrative 0 to 90 degree study, you might fit at 0, 30, 60 and 90 degrees and reserve 15, 45 and 75 degrees for validation. Those are example positions, not a recommended bend range. Confirm that your motion and geometry suit the part you ordered.
- Move through your calibration positions in increasing order. At each one, wait out your recorded dwell and capture a defined group of samples.
- Return through the same positions in decreasing order, bending only in the direction the datasheet shows. Log the motion direction and cycle ID with every reading.
- Check for saturation, unstable values and a steady response. If different angles give indistinguishable readings, or the signal reverses direction, a single signal-to-angle mapping may not resolve angle in that region.
- Decide whether to fit one motion direction, both directions or a defined combination, and write it down. Fit a simple mapping first. A two-point line is a starting model. A multipoint lookup table with interpolation can follow curvature, as long as the signal changes steadily in one direction as the angle increases. More points don’t automatically remove direction-dependent behavior.
- Freeze the coefficients or lookup table, the firmware version and the signal-processing settings before you validate. Keep calibration records separate from validation records.
For interpolation between adjacent calibration pairs (x₀, θ₀) and (x₁, θ₁), use:
θestimate = θ₀ + (x − x₀) × (θ₁ − θ₀) ÷ (x₁ − x₀)
Here x is the recorded signal. Require distinct signal values, and use the interval that contains x. Flag out-of-range readings instead of silently extrapolating. A normalized “bend percentage” can work as a control input, but it isn’t a validated angle measurement.
How do you validate the mapping?
Run the frozen mapping at your reserved angles and across additional cycles. Return the sensor to the documented zero position after a cycle to check for a shifted baseline. Log increasing and decreasing motion separately.
Take fresh captures for every validation point. If you revisit a calibration angle, treat it as a repeatability check, not independent validation, because the fit already used that angle.
For each capture, calculate signed error: estimated angle minus reference angle. Report the largest absolute error across all tested positions, directions and cycles. Then compare readings at the same reference angle between increasing and decreasing motion. A gap there shows direction-dependent behavior, often called hysteresis. The test covers your whole assembly, fixture and electronics included, so don’t pin every difference on the sensor.
| Capture | Reference angle | Motion / cycle | Raw signal | Estimated angle | Signed error |
|---|---|---|---|---|---|
| V1 | Enter measured value | Increasing / ___ | ___ | ___ | ___ |
| V2 | Enter measured value | Decreasing / ___ | ___ | ___ | ___ |
| V3 | Enter measured value | Increasing / later cycle ___ | ___ | ___ | ___ |
| V4 | Enter measured value | Decreasing / later cycle ___ | ___ | ___ | ___ |
Copy and extend these rows for every reserved angle and repeat. Keep each capture’s sample count and spread instead of saving only an average. If you revise the mapping after seeing these results, those measurements are now part of your fit. Collect a new validation set before you claim a pass.
What does a worked error calculation look like?
This example is hypothetical. It isn’t a measured FS or FLX result and doesn’t establish an error bound.
Suppose you check an assembly at a 45 degree reference position. The frozen mapping reports 47 degrees on increasing motion and 43 degrees on decreasing motion.
| Capture | Estimated angle | Reference angle | Signed error |
|---|---|---|---|
| Increasing motion | 47° | 45° | +2° |
| Decreasing motion | 43° | 45° | −2° |
The largest absolute error is 2 degrees. The two directions differ by 4 degrees. Averaging the estimates gives 45 degrees, which hides that gap, so keep both paths in your record. Before you make an acceptance decision, check the full range, the relevant conditions and your reference’s uncertainty.
How do you make the release decision?
Set acceptance limits before you look at results. Include a policy for reference uncertainty and any margin your application needs. A pass covers only the range, mechanics, electronics, timing and environment you evaluated. A static test doesn’t show how the assembly behaves in motion.
| Release record | Fill from your test |
|---|---|
| Frozen mapping / firmware ID | ___ |
| Evaluated range and conditions | ___ |
| Largest absolute validation error | ___ degrees, at ___ position / direction / cycle |
| Same-angle direction difference | ___ degrees, measured by ___ |
| Reference uncertainty and decision margin | ___ |
| Requirement and outcome | Limit ___; pass / fail / more testing |
| Revalidation triggers | Remount, sensor replacement, geometry change, electronics change, filter change; other ___ |
If the assembly misses its requirement, look at mechanics, acquisition and direction dependence before you add a more complicated curve. Retest after every change. If your application can’t hold a repeatable relationship between bending and the quantity you need, ask whether a bend sensor is the right measurement approach at all.
Share your setup record with Spectra Symbol’s engineers
SpectraFlex sensors are part of Spectra Symbol’s resistive flex sensor range. To talk through an integration, send the part you ordered, your bend profile, the mounting drawing, your electronics and the measurement behavior you need. A fixture record and a failed validation capture give our engineers more to work with than a request for a universal resistance-to-angle curve.
Discuss your flex-sensor application
Talk with Spectra Symbol about your flex-sensor application, or browse SpectraFlex flex sensors.