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
engineering/mechanical/assembly.json
{
"status": "Motor/PCB alignment and connected J2 harness preview; no mounting fasteners modeled or qualified",
"motor": {
"name": "STEPPERONLINE 34HS31-6004S1",
"step": "34HS31-6004S1.step",
"sha256": "675e55f1d50271255bbd058d8c2e867ecced44b194ded1586c63da77ce1c8a19",
"glb": "engineering/mechanical/34hs31-6004s1.glb",
"mesh_count": 1,
"cad_transform": "STEP X/Y -> PCB X/Y; STEP Z - 79.5 -> CAD Z; front shaft points away from PCB",
"rear_face_step_z_mm": 79.5,
"front_flange_front_step_z_mm": 0,
"front_flange_back_step_z_mm": 10,
"body_length_drawing_max_mm": 80,
"front_hole_xy_mm": [
[
34.75,
34.75
],
[
-34.75,
34.75
],
[
-34.75,
-34.75
],
[
34.75,
-34.75
]
],
"front_hole_pitch_drawing_mm": 69.6,
"front_hole_pitch_tolerance_mm": 0.2,
"front_hole_diameter_mm": 6.5,
"front_hole_note": "STEP centers give 69.5 mm pitch, within the drawing 69.6 +/- 0.2 mm. Use drawing tolerances for fabrication.",
"rear_rotating_shaft_access": "Unconfirmed: single fused STEP envelope shows a central recess, not an identified rotating shaft end or an approved attachment bore.",
"rear_case_screws": "Existing case fasteners are not approved accessory threads. Do not remove/replace them without manufacturer confirmation.",
"step_archive": "engineering/mechanical/34HS31-6004S1-manufacturer.zip",
"rear_hole_xy_mm": [
[
24.447132,
-38.374311
],
[
38.374311,
24.447132
],
[
-24.447132,
38.374311
],
[
-38.374311,
-24.447132
]
],
"assembly_glb": "engineering/mechanical/34hs31-6004s1-routed-cable.glb"
},
"mount": {
"pcb_bottom_to_motor_rear_mm": 19.5,
"copper_keepout_radius_mm": 4.25,
"copper_keepout_layers": [
"F.Cu",
"B.Cu"
],
"concept": "Four existing PCB holes preserved. Unsupported long posts, adapter, spacers, nuts, screws and cable-support fixture removed at user request. No replacement hardware assumed.",
"hardware_modeled": false,
"mechanically_secured": false,
"spacing_note": "19.5 mm retained only as the previous preview separation; not a manufactured mounting stack or confirmed final spacing.",
"rear_thread_specification": null,
"rear_usable_depth_mm": null
},
"encoder": {
"sensor": "Optional U18 AS5047P, bottom side at PCB origin; C52/C53 on top; all three doNotPlace",
"preview_included": false,
"status": "Unresolved for ordered single-shaft motor",
"reason": "QSH-specific pilot, shaft holder and magnet stack withdrawn. Manufacturer confirmation of rotating rear-shaft access is required before a new attachment and working gap can be defined.",
"do_not_place_references": [
"U18",
"C52",
"C53"
]
},
"unresolved": [
"Rear mounting thread, usable engagement and final clearance stack are unverified; no fastener or secure mount is claimed",
"Motor body is 79.5 mm in STEP but 80 mm maximum in drawing; full tolerance stack remains to be reviewed",
"Rear rotating-shaft access and magnet attachment are not established; no encoder hardware is modeled",
"6 A/phase must be translated to an approved driver current/hold waveform; external load inertia and stop profile remain unknown; manufacturer rotor inertia is 1400 g cm²",
"J2 harness has no new retention bracket; final strain-relief attachment requires physical verification"
],
"sources": [
"https://www.amazon.com/dp/B091C83HWF",
"https://www.omc-stepperonline.com/s-series-nema-34-stepper-motor-4-8nm-679-87oz-in-14mm-key-way-shaft-1m-cable-34hs31-6004s1",
"https://files.omc-stepperonline.com/34HS31-6004S1.STEP",
"https://files.omc-stepperonline.com/34HS31-6004S1_Full_Datasheet.pdf",
"https://look.ams-osram.com/m/d05ee39221f9857/original/AS5047P-DS000324.pdf"
],
"published_models": {
"motor": {
"url": "https://raw.githubusercontent.com/techmannih/pd1180-epr/6d2a3103ddf35e9511eebf9be376b01f3f9c7ed8/engineering/mechanical/34hs31-6004s1.glb",
"sha256": "58c1dc543cfc05583ffebd5db7cb66036269adcbbc6b11f0184318a4c2c9d87f"
},
"harness": {
"url": "https://raw.githubusercontent.com/techmannih/pd1180-epr/7be2382153a87b409f3611c56b700579151bf30d/engineering/mechanical/harness-proposal.glb",
"sha256": "30e7e167b3b1f328fd09643784ec91232e5f04bdb929b869731c758983648753"
}
},
"connector_body_clearances": [
{
"reference": "J2",
"minimum_board_edge_mm": 0.5,
"minimum_component_gap_mm": 0.5,
"basis": "Complete projected supplier CAD envelope; top-entry B4P-VH connector body must remain inside the board perimeter."
}
],
"runtime_assets_base_url": "https://raw.githubusercontent.com/techmannih/pd1180-epr/d632f484ea1046071beb703e3e6297d63388f960/engineering/mechanical/parts",
"brake": {
"reference": "J3",
"assembly_modeled": true,
"layout": "engineering/mechanical/harness-layout.json",
"resistor": "LPS0300H10R0GB (provisional)",
"physical_fit_verified": false,
"thermal_qualified": false,
"cooling": "Illustrative cooling/guard interface; no selected or rated heatsink"
}
}