Servo angle from a pulse width
API · /servo-api
RC Servo & PWM API
RC-Servo- und PWM-Mathematik als API, lokal und deterministisch berechnet – die Pulsweiten-, Winkel- und Tastverhältnis-Zahlen, mit denen ein Robotik-, RC- oder Embedded-Entwickler ein Servo ansteuert. Der Winkel-Endpunkt wandelt eine Pulsweite in den Servowinkel um: Ein Hobby-Servo liest die Breite des Pulses (nicht das Tastverhältnis), daher wird der Standardbereich 1000–2000 µs linear über den Verfahrweg abgebildet, wobei 1500 µs der Mitte entsprechen – Winkel = (Puls − Min) ÷ (Min-Max-Spanne) × Verfahrweg – und es wird gemeldet, wenn ein Puls mehr als den konfigurierten Bereich anfordert, damit Sie das Servo nicht in seine mechanischen Anschläge fahren. Der Puls-Endpunkt arbeitet in die andere Richtung und liefert die Pulsweite, die ein Mikrocontroller für einen Zielwinkel schreiben sollte (90° entspricht 1500 µs bei einem 1000–2000 µs / 180° Servo), genau das, was eine Arduino-ähnliche Servobibliothek intern berechnet. Der Duty-Endpunkt wandelt einen Puls und eine Refresh-Frequenz in die PWM-Periode und das Tastverhältnis um: Ein 50-Hz-Servorahmen ist 20 ms, daher ist ein 1500-µs-Puls nur 7,5 % Tastverhältnis – der Wert, den ein Timer-Peripheriegerät benötigt – und schnellere Rahmen für digitale Servos oder Multirotor-ESCs (z. B. 333 Hz) ändern dies. Alles wird lokal und deterministisch berechnet, daher ist es sofort und privat. Ideal für Robotik- und RC-Firmware, Mikrocontroller- und Embedded-Tools, Drohnen- und Animatronik-Projekte sowie Maker-Rechner. Reine lokale Berechnung – kein Key, kein Drittanbieterdienst, sofort. 3 Compute-Endpunkte. Für Stepper-Schritte-pro-mm verwenden Sie eine Stepper-Motor-API.
API salute
salutare- Tempo di attività
- 100.00%
- Sondaggi del server · 24 ore su 24
- Latenza media
- 92 ms
- Sondaggi del server · 24 ore su 24
- Abbonati
- 4,008
- attiva
- Chiamate totali
- 4
- ultimi 7 giorni
Prezzi
Scegli un livello: fatturazione mensile, annullamento in qualsiasi momento.
Free
Gratis
- 8,200 chiamate/mese
- 2 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 8.200 Aufrufe/Monat
- 2 req/sec
- Winkel + Puls + Tastverhältnis
- Keine Kreditkarte
Starter
€7.90 /mese
- 84,000 chiamate/mese
- 6 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 84.000 Aufrufe/Monat
- 6 req/sec
- Benutzerdefinierte min/max/reisen & Häufigkeit
- E-Mail-Support
Pro
€27.50 /mese
- 345,000 chiamate/mese
- 15 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 345.000 Aufrufe/Monat
- 15 req/sec
- Robotics & Firmware-Pipelines
- Priority-Support
Mega
€85.00 /mese
- 1,580,000 chiamate/mese
- 40 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 1.580.000 Aufrufe/Monat
- 40 req/sec
- Plattform-Skalierung
- Dedizierte SLA
Costruito da
Correlato APIs
Altro APIs con tag sovrapposti.
Stepper Motor API
Schrittmotor-Bewegungsmathematik als API, lokal und deterministisch berechnet – die Schritte-pro-Millimeter- und Geschwindigkeitszahlen, mit denen ein 3D-Drucker-, CNC- oder Robotik-Bauer eine Maschine konfiguriert. Der Leadscrew-Endpunkt gibt die Schritte pro mm für eine Spindel- oder Kugelgewindespindel-Achse: (Motorschritte pro Umdrehung × Mikroschrittanzahl) ÷ die Spindelsteigung, also ein 1,8°-Motor (200 Schritte) bei 16 Mikroschritten auf einer 8-mm-Spindel ergibt 400 Schritte/mm mit 2,5 µm Auflösung – der Wert, der direkt in die Firmware eingeht. Der Belt-Endpunkt macht dasselbe für eine Riemen-und-Riemenscheiben-Achse, wobei der Weg pro Motorumdrehung die Riemenscheibenzähne × die Riementeilung (GT2-Riemen = 2 mm) ist, also ergibt eine 20-zähnige GT2-Riemenscheibe die klassischen 80 Schritte/mm einer 3D-Drucker-X/Y-Achse und zeigt den Geschwindigkeits-gegen-Präzisions-Kompromiss einer größeren Riemenscheibe. Der Speed-Endpunkt wandelt Schritte pro mm und eine Schrittimpulsrate in die Achsgeschwindigkeit in mm/s und mm/min um – bei 80 Schritten/mm ergibt eine 40-kHz-Schrittrate 500 mm/s, obwohl die wirkliche Grenze das Motor-Stall bei hohen Schrittraten und die Controller-Impuls-Obergrenze ist. Es wird auch angemerkt, dass Mikroschritte Laufruhe, aber keine echte Genauigkeit hinzufügen, da das Drehmoment pro Mikroschritt abfällt. Alles wird lokal und deterministisch berechnet, also ist es sofort und privat. Ideal für 3D-Drucker- und CNC-Firmware-Setup, Bewegungssteuerungs- und Robotik-Werkzeuge sowie Maker-Rechner. Reine lokale Berechnung – kein Key, kein Drittanbieter-Dienst, sofort. Ideale Geometrie-Schätzungen – lassen Sie eine Marge unterhalb der theoretischen Höchstgeschwindigkeit. 3 Compute-Endpunkte. Für CNC-Oberflächengüte verwenden Sie eine CNC-Finish-API; für Übersetzungsverhältnisse eine Gear-Ratio-API.
api.oanor.com/steppermotor-api
Drone Build API
Multirotor (Drone) Flugmathematik als API, lokal und deterministisch berechnet – die Schub-, Effizienz- und Schwebewerte, die ein FPV-Bauer oder UAV-Designer für einen Quadcopter einstellt. Der Schub-Gewicht-Endpunkt liefert das Schub-Gewicht-Verhältnis, gesamter Motorsschub ÷ Gesamtgewicht: Ziel ist mindestens 2:1, damit das Gerät Autorität hat, Position zu halten und gegen Wind anzukämpfen, wobei Freestyle 3–5:1 und Schwerlast nahe 1,5:1 anstrebt – vier 800-Gramm-Motoren an einem 1.200-Gramm-Quad ergeben ein kräftiges 2,67:1. Der Scheibenbelastungs-Endpunkt liefert die Rotor-Scheibenbelastung, Gewicht ÷ gesamte Propellerfläche, wobei niedriger effizienter ist: große langsame Propeller bewegen mehr Luft mit weniger Leistung, weshalb Ausdauer- und Cinema-Rigs große Propeller mit niedriger Scheibenbelastung verwenden. Der Schwebegas-Endpunkt liefert das Schwebegas, Gesamtgewicht ÷ gesamter Schub – ein guter Bau schwebt nahe 40–50 % und lässt Spielraum für Manöver, während Schweben über ~60 % bedeutet, dass er übergewichtig, träge und heiß läuft. Alles wird lokal und deterministisch berechnet, daher ist es sofort und privat. Ideal für FPV- und Drohnenbau-Apps, UAV-Design- und Motorauswahl-Tools, Hobby-Rechner und Maker-Seiten. Reine lokale Berechnung – kein Key, kein Drittanbieter-Dienst, sofort. Live, nichts wird gespeichert. 3 Compute-Endpunkte. Schätzungen – testen Sie Motoren auf dem Prüfstand bei Ihrer Spannung und Ihrem Propeller. Für Batterielaufzeit verwenden Sie eine Batterie-API.
api.oanor.com/drone-api
Voltage Divider API
Resistive voltage-divider circuit design as an API, computed locally and deterministically. The divide endpoint takes an input voltage and two resistors and returns the output voltage Vout = Vin·R2/(R1+R2), the current I = Vin/(R1+R2) that flows through the chain, and the power dissipated in each resistor and in total — a 12 V source with R1 = 1 kΩ and R2 = 2 kΩ gives 8 V at 4 mA. The loaded endpoint adds a load resistor across R2, computes the parallel combination R2′ = R2·RL/(R2+RL) and the loaded output Vout = Vin·R2′/(R1+R2′), and reports the droop in volts and percent against the unloaded value, the classic mistake when a divider feeds a real load. The resistor endpoint sizes the missing resistor for a target output — R2 = R1·Vout/(Vin−Vout) or R1 = R2·(Vin−Vout)/Vout — so you can pick parts for a reference or sensor-bias point. All quantities are volts, ohms, amps and watts. Everything is computed locally and deterministically, so it is instant and private. Ideal for electronics, embedded, hardware, sensor-interfacing and EE-education app developers, reference-voltage and bias-network tools, and maker software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is the resistive divider; for a single Ohm’s-law relationship use an Ohm’s-law API and for RC/RL filters an RC-filter API.
api.oanor.com/voltagedivider-api
Cable Tray Fill API
Cable-tray fill engineering maths as an API, computed locally and deterministically from NEC Article 392 — the allowable-fill, single-layer and tray-width numbers an electrician, estimator or designer runs for a tray run. The fill endpoint applies NEC 392.22(A)(1) Column 1 for multiconductor power and lighting cables no larger than 4/0 in a ladder or ventilated-bottom tray: the total cable cross-sectional area is capped at the tray width × 7/6, so a 12-inch tray allows 14 in² — sum every cable's csa, get the percentage fill and whether it is within code, with the spare area left. The large-cable endpoint covers cables 4/0 and larger, which must lie in a single layer with the sum of their diameters not exceeding the tray width — no stacking — so it returns the spare width and the code check. The min-width endpoint inverts the rule to size the tray: minimum width = cable area × 6/7, rounded up to a standard 6/9/12/18/24/30/36-inch width, leaving room for spare capacity and future cables. Everything is computed locally and deterministically, so it is instant and private. Ideal for electrical-design and estimating tools, industrial and OSP utilities, and code-check calculators. Pure local computation — no key, no third-party service, instant. Ladder/ventilated trays; solid-bottom and mixed fills use the other NEC columns, and ampacity must be derated for fill. 3 compute endpoints. For conduit and box fill use a conduit API.
api.oanor.com/cabletray-api
Domande frequenti
Risposte rapide su prezzi, quote e integrazione.
Come ottengo una chiave API per RC Servo & PWM API?
Qual è il limite di velocità di RC Servo & PWM API?
Quanto costa RC Servo & PWM API?
Posso cancellare l'abbonamento in qualsiasi momento?
RC Servo & PWM API è conforme al GDPR?
Scegli un endpoint dall'elenco a sinistra per visualizzarne i dettagli e provarlo.
Frammenti di codice
Iscriviti per ottenere una chiave API, quindi chiama qualsiasi percorso sotto il tuo slug.
curl https://api.oanor.com/servo-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/servo-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/servo-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/servo-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Valutazioni
Accedi per votare.
Nessuna recensione ancora.
Discussione
Fai domande, condividi consigli, ricevi risposte dal provider e dagli altri sviluppatori. Pubblico — chiunque può leggere.
Accedi per scrivere o rispondere.
AccediNuova discussione
·
-
Risposta del provider
🔒 Discussione bloccata — non si può più rispondere.
-
·
- Nessuna discussione — inizia tu.
Supporto
Supporto privato 1:1 con il provider — fatturazione, integrazione, account. Solo tu e il team del provider vedete questi thread.
Accedi per aprire un ticket di supporto.
AccediApri nuovo ticket
Descrivi cosa ti serve. Il team del provider riceve un'email e risponde sulla pagina del ticket.
-
·
Urgente - Nessun ticket per questa API.