Vai al contenuto
GET /v1/series-resistor

Series resistor

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/zener-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/zener-api/v1/series-resistor" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/zener-api/v1/series-resistor", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/zener-api/v1/series-resistor");
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/zener-api/v1/series-resistor",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Series resistor Rs = (Vin − Vz)/(Iz + Il). Pick Iz a few mA above the knee so the Zener stays in regulation at maximum load. Rate the resistor for its dissipation (Vin−Vz)·I_total.",
        "inputs": {
            "load_current": 0.02,
            "input_voltage": 12,
            "zener_current": 0.01,
            "zener_voltage": 5.1
        },
        "zener_power_w": 0.051,
        "resistor_power_w": 0.207,
        "series_resistor_ohm": 230
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:23.520Z",
        "request_id": "086d02e1-4c01-4f49-9246-33d04240e036"
    },
    "status": "ok",
    "message": "Series resistor",
    "success": true
}