/v1/strain
Strain-gauge bridge output
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/wheatstone-api/v1/strain" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wheatstone-api/v1/strain", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wheatstone-api/v1/strain");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/wheatstone-api/v1/strain",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"mode": "output_from_strain",
"strain": 0.001,
"formula": "Vout/Vin = (k/4)·GF·ε; ΔR/R = GF·ε.",
"active_arms": 1,
"bridge_type": "quarter",
"microstrain": 1000,
"excitation_v": 10,
"gauge_factor": 2,
"output_ratio": 0.0005,
"delta_r_over_r": 0.002,
"output_voltage_v": 0.005,
"output_voltage_mv": 5,
"output_per_volt_mv": 0.5
},
"meta": {
"timestamp": "2026-06-04T10:18:53.969Z",
"request_id": "9316fe51-b65a-4eed-9521-4386c9974fc1"
},
"status": "ok",
"message": "Strain-gauge bridge output",
"success": true
}