{
  "metadata": {
    "id": "stepperonline-17hs19-2004s1",
    "name": "STEPPERONLINE 17HS19-2004S1",
    "type": "motor",
    "description": "NEMA 17 bipolar stepper motor, 59 N·cm holding torque, 1.8° step, 2.0 A/phase, 4-wire with 1 m cable and 4-pin connector.",
    "manufacturer": "STEPPERONLINE",
    "part_number": "17HS19-2004S1",
    "datasheet_url": "https://www.omc-stepperonline.com/nema-17-bipolar-59ncm-84oz-in-2a-42x48mm-4-wires-w-1m-cable-connector-17hs19-2004s1",
    "tags": [
      "nema17",
      "stepper",
      "bipolar",
      "59Ncm",
      "2A",
      "48mm",
      "4-wire",
      "1m-cable"
    ],
    "schema_version": "1.4.0",
    "version": "0.3.0",
    "taxonomy": [
      "actuator.motor.stepper"
    ]
  },
  "domains": [
    {
      "domain": "electrical",
      "power_domains": [
        {
          "id": "phase_coils",
          "name": "Stepper Phase Coils",
          "nominal_voltage_V": 2.8,
          "voltage_range_V": [
            0,
            24
          ],
          "isolation_type": "non_isolated",
          "ground_reference": "floating",
          "description": "Per-phase DC winding. Current-driven; 2.8 V is I×R at 2.0 A and 1.4 Ω."
        }
      ],
      "resources": [
        {
          "id": "lead_black",
          "name": "Lead BLK (A+)",
          "functions": [
            {
              "name": "PHASE_A",
              "description": "Phase A positive",
              "direction": "bidirectional",
              "signal_class": "power"
            }
          ],
          "power_domain_id": "phase_coils",
          "current_rating": {
            "source": {
              "max_continuous_mA": 2000
            },
            "sink": {
              "max_continuous_mA": 2000
            }
          },
          "connector_type": "wire"
        },
        {
          "id": "lead_green",
          "name": "Lead GRN (A-)",
          "functions": [
            {
              "name": "PHASE_A_BAR",
              "description": "Phase A negative",
              "direction": "bidirectional",
              "signal_class": "power"
            }
          ],
          "power_domain_id": "phase_coils",
          "current_rating": {
            "source": {
              "max_continuous_mA": 2000
            },
            "sink": {
              "max_continuous_mA": 2000
            }
          },
          "connector_type": "wire"
        },
        {
          "id": "lead_red",
          "name": "Lead RED (B+)",
          "functions": [
            {
              "name": "PHASE_B",
              "description": "Phase B positive",
              "direction": "bidirectional",
              "signal_class": "power"
            }
          ],
          "power_domain_id": "phase_coils",
          "current_rating": {
            "source": {
              "max_continuous_mA": 2000
            },
            "sink": {
              "max_continuous_mA": 2000
            }
          },
          "connector_type": "wire"
        },
        {
          "id": "lead_blue",
          "name": "Lead BLU (B-)",
          "functions": [
            {
              "name": "PHASE_B_BAR",
              "description": "Phase B negative",
              "direction": "bidirectional",
              "signal_class": "power"
            }
          ],
          "power_domain_id": "phase_coils",
          "current_rating": {
            "source": {
              "max_continuous_mA": 2000
            },
            "sink": {
              "max_continuous_mA": 2000
            }
          },
          "connector_type": "wire"
        }
      ],
      "interfaces": [
        {
          "id": "bipolar_stepper_phases",
          "name": "Bipolar stepper, 2-phase",
          "protocol": {
            "type": "bipolar_stepper_phases",
            "role": "motor"
          },
          "requires": [
            {
              "function": "PHASE_A",
              "count": 1
            },
            {
              "function": "PHASE_A_BAR",
              "count": 1
            },
            {
              "function": "PHASE_B",
              "count": 1
            },
            {
              "function": "PHASE_B_BAR",
              "count": 1
            }
          ],
          "constraints": {
            "max_connections": 1,
            "requires_connector_type": "wire"
          },
          "description": "Connect to a bipolar stepper driver. Wiring: A+=Black, A-=Green, B+=Red, B-=Blue."
        }
      ],
      "pin_count": 4,
      "power_consumption_mW": 11200,
      "metadata": {
        "package_type": "Motor with 1 m cable and 4-pin connector"
      }
    },
    {
      "domain": "mechanical",
      "resources": [
        {
          "id": "front_face_mount",
          "name": "Front face mount",
          "functions": [
            {
              "name": "MECHANICAL_MOUNT",
              "description": "NEMA 17 4×M3 clearance",
              "direction": "bidirectional",
              "signal_class": "mechanical_drive"
            }
          ],
          "connector_type": "through_hole",
          "description": "31±0.2 mm bolt circle, 4×M3."
        },
        {
          "id": "output_shaft",
          "name": "D-cut output shaft",
          "functions": [
            {
              "name": "SHAFT_OUTPUT",
              "description": "5 mm D-shaft",
              "direction": "source",
              "signal_class": "mechanical_drive"
            }
          ],
          "connector_type": "custom",
          "description": "Ø5 mm shaft, 24 mm length, D-flat 15 mm."
        }
      ],
      "interfaces": [
        {
          "id": "mounting_interface",
          "name": "NEMA 17 front mount",
          "protocol": {
            "type": "mechanical_connection",
            "role": "mounting_point"
          },
          "requires": [
            {
              "function": "MECHANICAL_MOUNT",
              "count": 1
            }
          ],
          "max_instances": 1,
          "description": "Use four M3 screws."
        },
        {
          "id": "shaft_interface",
          "name": "Shaft output",
          "protocol": {
            "type": "mechanical_connection",
            "role": "custom"
          },
          "requires": [
            {
              "function": "SHAFT_OUTPUT",
              "count": 1
            }
          ],
          "max_instances": 1,
          "description": "Couple with 5 mm bore coupler or gear."
        }
      ],
      "package_type": "NEMA 17 frame",
      "dimensions_mm": {
        "length": 48,
        "width": 42,
        "height": 42
      },
      "weight_g": 390,
      "mount_holes": [
        {
          "location": "front",
          "diam_mm": 3
        }
      ]
    }
  ],
  "design_rules": [
    "Limit phase current to ≤2.0 A.",
    "Use a chopper driver; do not drive coils directly from a voltage source.",
    "Observe wiring sequence: A+=Black, A-=Green, B+=Red, B-=Blue."
  ],
  "validation_requirements": [
    "Verify coil resistance ≈1.4 Ω/phase at 25 °C.",
    "Confirm holding torque near 0.59 N·m at 2-phase energize.",
    "Check runout and coupler alignment to avoid bearing load."
  ],
  "usage_notes": "Rated coil voltage is 2.8 V (I×R). Typical driver bus 12–36 V with current limiting.",
  "application_examples": [
    "3D printer axes",
    "Small CNC stages",
    "Robotics actuators"
  ],
  "compatibility_notes": "Bipolar 4-wire. 1 m cable terminates in 4-pin 2.54 mm female connector; verify mating header.",
  "warnings": [
    "Prolonged stall at rated current can overheat the motor.",
    "Avoid excessive axial/radial loads; use proper couplers."
  ]
}