Electrical and physical data for 8059 brushless motors from 131 manufacturers, for propulsion analysis and motor selection.
motors/ holds one JSON file per motor, named after its id:
{
"id": "SunnySky_X2820_KV860_V3_3-4S",
"name": "X2820 KV860 V3 3-4S",
"manufacturer": "SunnySky",
"kv": 860.0,
"resistance": 0.0258,
"io": 1.3,
"max_current": 65.0,
"weight_g": 143.2,
"max_power": 960.0,
"io_voltage": 10.0
}| Field | Unit | Description |
|---|---|---|
id |
- | Manufacturer and model, file-name safe |
name |
- | Model name |
manufacturer |
- | Manufacturer name |
kv |
RPM/V | Speed constant |
resistance |
ohm | Winding resistance |
io |
A | No-load current, measured at io_voltage |
max_current |
A | Maximum current; 0 when not published |
weight_g |
g | Motor weight |
max_power |
W | Maximum power |
io_voltage |
V | Voltage at which io was measured |
import json
import math
from pythrust.motor import MotorSpec
data = json.load(open("motors/SunnySky_X2820_KV860_V3_3-4S.json"))
motor = MotorSpec(
kv_rpm_per_v=data["kv"],
resistance_ohm=data["resistance"],
no_load_current_a=data["io"],
current_max_a=data["max_current"] or math.inf,
)