{
"version": 1,
"author": "Marnitz Roux",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-arduino-uno", "id": "uno", "top": 191.95, "left": -35.93, "attrs": {} },
{ "type": "wokwi-a4988", "id": "drv1", "top": 72.74, "left": 282.1, "attrs": {} },
{
"type": "wokwi-stepper-motor",
"id": "stepper1",
"top": -181.42,
"left": 319.79,
"attrs": { "size": "17" }
},
{ "type": "wokwi-potentiometer", "id": "pot1", "top": 25.41, "left": 14.77, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": -72.76,
"left": -40.45,
"attrs": { "color": "green", "bounce": "1", "key": "1" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": -72.56,
"left": 36.01,
"attrs": { "color": "green", "bounce": "1", "key": "2" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": -156.02,
"left": 137.47,
"attrs": { "value": "1000" }
}
],
"connections": [
[ "drv1:1A", "stepper1:A+", "green", [ "h0" ] ],
[ "drv1:2A", "stepper1:A-", "green", [ "h0" ] ],
[ "drv1:2B", "stepper1:B-", "green", [ "h0" ] ],
[ "drv1:1B", "stepper1:B+", "green", [ "h0" ] ],
[ "uno:2", "drv1:DIR", "green", [ "v0" ] ],
[ "uno:3", "drv1:STEP", "green", [ "v0" ] ],
[ "uno:5V", "drv1:SLEEP", "red", [ "v21.63", "h116.47", "v-290.11" ] ],
[ "uno:5V", "drv1:RESET", "red", [ "v21.63", "h121.73", "v-298" ] ],
[ "uno:GND.3", "drv1:GND.1", "black", [ "v15.5", "h207.03", "v-254.29" ] ],
[ "uno:5V", "pot1:VCC", "red", [ "v30.4", "h-175.39", "v-265.57", "h104.3" ] ],
[ "uno:GND.2", "pot1:GND", "black", [ "v46.17", "h-193.66", "v-272.58", "h98.16", "v2.63" ] ],
[ "uno:A0", "pot1:SIG", "green", [ "v51.43", "h-235.66", "v-294.49", "h108.68" ] ],
[ "pot1:VCC", "btn2:2.r", "red", [ "v19.31", "h67.08", "v-169.16" ] ],
[ "btn2:2.r", "btn1:2.r", "green", [ "h1.68", "v21.43", "h-75.38" ] ],
[ "btn1:1.l", "uno:6", "green", [ "h-10.87", "v-46.14", "h194.57" ] ],
[ "btn2:1.l", "uno:5", "green", [ "h0.31", "v-28.81", "h137.6" ] ],
[ "btn1:1.r", "r1:1", "green", [ "v0" ] ],
[ "btn2:1.r", "r1:1", "green", [ "v0" ] ],
[ "r1:2", "uno:GND.2", "green", [ "v-7.96", "h67.71", "v602.73", "h-114.65" ] ]
],
"serialMonitor": { "display": "always", "newline": "lf" }
}