techmannih/nema34-mounted-stepper-controller

A 48 V USB‑C PD 3.1 EPR NEMA‑34 stepper controller PCB combining STM32/TMC5160 control, external MOSFET motor bridges, protected power and regenerative braking, USB data, telemetry, diagnostics, status LEDs, and buzzer alarms.

Version
0.3.92
License
unset
Stars
1

docs/motor-data.json

{
  "motor": "34HS31-6004S1",
  "manufacturer": "STEPPERONLINE",
  "order_confirmed_by_user": "2026-10-11",
  "asin": "B091C83HWF",
  "ordered_url": "https://www.amazon.com/dp/B091C83HWF",
  "product_url": "https://www.omc-stepperonline.com/s-series-nema-34-stepper-motor-4-8nm-679-87oz-in-14mm-key-way-shaft-1m-cable-34hs31-6004s1",
  "document": "https://files.omc-stepperonline.com/34HS31-6004S1_Full_Datasheet.pdf",
  "document_local": "engineering/mechanical/34HS31-6004S1-manufacturer.zip#34HS31-6004S1-datasheet.pdf",
  "document_sha256": "695575d44f4ba799b5ab5d27480b8f9c0afcda4269f716f5bee120dfc8d49fd7",
  "phase_current_a": 6.0,
  "current_rating_basis": "Manufacturer states AMPS/PHASE, not an approved TMC5160 RMS setpoint. Resolve waveform, peak/hold current and thermal limits before motor-enabled firmware.",
  "qualified_driver_rms_a": null,
  "holding_torque_nm": 4.8,
  "phase_resistance_tolerance_fraction": 0.1,
  "phase_inductance_h": 0.0035,
  "phase_inductance_tolerance_fraction": 0.2,
  "rotor_inertia_g_cm2": 1400,
  "rotor_inertia_kg_m2": 0.00014,
  "rotor_inertia_note": "Manufacturer drawing A1510 rev 0 specifies 1400 g cm\u00b2. Load inertia and speed/stopping profile remain unqualified.",
  "step_angle_degrees": 1.8,
  "frame_mm": [
    86,
    86
  ],
  "body_length_max_mm": 80,
  "shaft_diameter_mm": 14,
  "shaft_length_mm": 32,
  "shaft_type": "single shaft",
  "front_hole_pitch_drawing_mm": 69.6,
  "front_hole_pitch_tolerance_mm": 0.2,
  "front_hole_diameter_mm": 6.5,
  "wiring": {
    "A+": "black",
    "A-": "green",
    "B+": "red",
    "B-": "blue"
  },
  "external_load_inertia_kg_m2": null,
  "operating_rpm_limit": null,
  "rotor_energy_examples": null,
  "note": "Ordered motor supersedes the QSH8618 reference. No motor-operation, magnetic or mechanical qualification is implied.",
  "factory_cable": {
    "conductors": 4,
    "conductor_area_mm2": 0.75,
    "length_mm": 1000,
    "termination": "bare leads",
    "source": "Manufacturer drawing A1510 rev 0"
  },
  "phase_resistance_25c_ohm": 0.48
}