{
  "version": 1,
  "author": "David Forrest",
  "_comment_": "See https://github.com/wokwi/wokwi-features/issues/191, https://wokwi.com/projects/327761195587076690, and https://wokwi.com/projects/327827412674937427",
  "editor": "wokwi",
  "parts": [
    { "type": "wokwi-arduino-uno", "id": "uno", "top": 0, "left": 0, "attrs": {} },
    {
      "type": "wokwi-a4988",
      "id": "drv1",
      "top": -132.63,
      "left": 34.77,
      "rotate": 270,
      "attrs": { "color": "green" }
    },
    {
      "type": "wokwi-a4988",
      "id": "drv2",
      "top": -131.23,
      "left": 118.47,
      "rotate": 270,
      "attrs": { "color": "green" }
    },
    {
      "type": "wokwi-a4988",
      "id": "drv3",
      "top": -131.78,
      "left": 203.74,
      "rotate": 270,
      "attrs": { "color": "green" }
    },
    {
      "type": "wokwi-a4988",
      "id": "drv4",
      "top": -134.55,
      "left": 295.09,
      "rotate": 270,
      "attrs": { "color": "green" }
    },
    {
      "type": "wokwi-stepper-motor",
      "id": "stepper1",
      "top": -531.22,
      "left": -259.69,
      "attrs": {}
    },
    {
      "type": "wokwi-stepper-motor",
      "id": "stepper2",
      "top": -526.58,
      "left": -19.81,
      "attrs": {}
    },
    {
      "type": "wokwi-stepper-motor",
      "id": "stepper3",
      "top": -531.22,
      "left": 218.52,
      "attrs": {}
    },
    {
      "type": "wokwi-stepper-motor",
      "id": "stepper4",
      "top": -532.77,
      "left": 452.19,
      "attrs": {}
    }
  ],
  "connections": [
    [ "uno:2", "drv1:STEP", "green", [ "v-33.23", "h-62.05" ] ],
    [ "uno:3", "drv2:STEP", "green", [ "v-39.7", "h-24.07" ] ],
    [ "uno:4", "drv3:STEP", "green", [ "v-28.05", "h29.45" ] ],
    [ "uno:5", "drv1:DIR", "green", [ "v-26.76", "h-93.11" ] ],
    [ "uno:6", "drv2:DIR", "green", [ "v-44.76", "h-13.13" ] ],
    [ "uno:7", "drv3:DIR", "green", [ "v-20.89", "h61.33" ] ],
    [ "drv1:ENABLE", "drv2:ENABLE", "green", [ "v23.97", "h83.44" ] ],
    [ "drv2:ENABLE", "drv3:ENABLE", "green", [ "v20.8", "h36.04" ] ],
    [ "uno:8", "drv2:ENABLE", "green", [ "v-23.74", "h-0.35" ] ],
    [ "drv3:ENABLE", "drv4:ENABLE", "green", [ "v22.96", "h51.92" ] ],
    [ "uno:12", "drv4:STEP", "green", [ "v-16.25", "h18.76" ] ],
    [ "uno:13", "drv4:DIR", "green", [ "v-12.05", "h236.27" ] ],
    [ "drv4:SLEEP", "drv4:RESET", "green", [ "v12.08", "h-2.33" ] ],
    [ "drv3:SLEEP", "drv3:RESET", "green", [ "v9.31", "h0.77" ] ],
    [ "drv2:SLEEP", "drv2:RESET", "green", [ "v9.81", "h-6.41" ] ],
    [ "drv1:SLEEP", "drv1:RESET", "green", [ "v9.6", "h-4.15" ] ],
    [ "drv1:2B", "stepper1:A-", "green", [ "v-61.04", "h-198.05" ] ],
    [ "drv1:2A", "stepper1:A+", "green", [ "v-71.54", "h-131.7" ] ],
    [ "drv1:1A", "stepper1:B+", "green", [ "v-75.58", "h-113.02" ] ],
    [ "drv1:1B", "stepper1:B-", "green", [ "v-84.47", "h-85.45" ] ],
    [ "drv2:2B", "stepper2:A-", "green", [ "v-96.07", "h-44.69" ] ],
    [ "drv2:2A", "stepper2:A+", "green", [ "v-101.72", "h-48.64" ] ],
    [ "drv2:1A", "stepper2:B+", "green", [ "v-108.19", "h-31.57" ] ],
    [ "drv2:1B", "stepper2:B-", "green", [ "v-116.27", "h-47.64" ] ],
    [ "drv3:2B", "stepper3:A-", "green", [ "v-137.86", "h50.32" ] ],
    [ "stepper3:A+", "drv3:2A", "green", [ "v44.77", "h-70.23" ] ],
    [ "stepper3:B+", "drv3:1A", "green", [ "v51.63", "h-39.59" ] ],
    [ "stepper3:B-", "drv3:1B", "green", [ "v59.26", "h-81.61" ] ],
    [ "stepper4:A-", "drv4:2B", "green", [ "v78.24", "h-231.82" ] ],
    [ "stepper4:A+", "drv4:2A", "green", [ "v86.74", "h-50.79" ] ],
    [ "stepper4:B+", "drv4:1A", "green", [ "v95.23", "h-216.86" ] ],
    [ "stepper4:B-", "drv4:1B", "green", [ "v103.72", "h-190.07" ] ]
  ]
}
A4988
A4988
A4988
A4988