{
"version": 1,
"author": "Андрей Артамонов",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-arduino-mega", "id": "mega", "top": 226.3, "left": 93.36, "attrs": {} },
{
"type": "wokwi-ntc-temperature-sensor",
"id": "ntc1",
"top": 28.87,
"left": 559.48,
"rotate": 90,
"attrs": { "value": "100" }
},
{
"type": "wokwi-stepper-motor",
"id": "stepper1",
"top": 155.14,
"left": 559.55,
"attrs": { "size": "17" }
},
{ "type": "wokwi-a4988", "id": "drv1", "top": 355.87, "left": 535.11, "attrs": {} },
{
"type": "wokwi-ky-040",
"id": "encoder1",
"top": 39.78,
"left": 463.93,
"rotate": 90,
"attrs": {}
},
{ "type": "wokwi-lcd2004", "id": "lcd1", "top": -1.75, "left": 108.81, "attrs": {} },
{
"type": "wokwi-buzzer",
"id": "bz1",
"top": 344.1,
"left": 664.96,
"attrs": { "volume": "0.1" }
},
{
"type": "wokwi-pushbutton",
"id": "endstop",
"top": 437.36,
"left": 331.66,
"attrs": { "color": "red" }
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": 313.18, "left": 519.95, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc2", "top": 132.42, "left": 474.03, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd1", "top": 134.36, "left": 496.91, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc3", "top": 317.44, "left": 573.7, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd2", "top": 428.04, "left": 632.17, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd3", "top": 89.21, "left": 673.09, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc4", "top": 83.68, "left": 697.04, "attrs": {} },
{
"type": "wokwi-led",
"id": "led1",
"top": 290.39,
"left": 276.32,
"attrs": { "color": "red", "flip": "1" }
}
],
"connections": [
[ "drv1:1A", "stepper1:A-", "green", [ "h0" ] ],
[ "drv1:2A", "stepper1:A+", "green", [ "h0" ] ],
[ "drv1:1B", "stepper1:B+", "green", [ "h0" ] ],
[ "drv1:2B", "stepper1:B-", "green", [ "h0" ] ],
[ "drv1:SLEEP", "drv1:RESET", "green", [ "h-15.51", "v-9.6" ] ],
[ "lcd1:VSS", "mega:GND.1", "black", [ "v51.75", "h41.3" ] ],
[ "lcd1:RS", "mega:16", "orange", [ "v46.25", "h182.51" ] ],
[ "lcd1:E", "mega:17", "green", [ "v39.22", "h169.11" ] ],
[ "lcd1:D4", "mega:23", "blue", [ "v34.52", "h236.54", "v36.59" ] ],
[ "lcd1:D5", "mega:25", "violet", [ "v29.36", "h231.57", "v51.5" ] ],
[ "lcd1:D6", "mega:27", "purple", [ "v21.86", "h228.4", "v68.5" ] ],
[ "lcd1:D7", "mega:29", "yellow", [ "v14.82", "h225.53", "v85.04" ] ],
[ "bz1:2", "mega:37", "red", [ "v46.47", "h-216.59", "v-163.77" ] ],
[ "encoder1:CLK", "mega:31", "violet", [ "v125.21", "h-0.19", "v21.31" ] ],
[ "encoder1:DT", "mega:33", "gold", [ "v135.04", "h0.23", "v20.98" ] ],
[ "encoder1:SW", "mega:35", "cyan", [ "v144.87", "h-0.4", "v20.65" ] ],
[ "drv1:STEP", "mega:26", "green", [ "h-39.24", "v-33.1", "h-4.76", "v-118.29", "h-41.55" ] ],
[ "drv1:DIR", "mega:28", "blue", [ "h-9.97", "v2.28", "h-12.17", "v-153.65", "h-63.41" ] ],
[ "drv1:ENABLE", "mega:24", "gray", [ "h-36.85", "v-102.44", "h-48.7" ] ],
[ "ntc1:OUT", "mega:A13", "#8f4814", [ "v13.07", "h116.98", "v335.78", "h-305.6" ] ],
[ "mega:GND.2", "btn1:2.l", "black", [ "v109.29", "h9.09" ] ],
[ "btn1:1.r", "mega:18", "green", [ "v0" ] ],
[ "drv1:MS3", "drv1:MS2", "green", [ "h-15.14", "v-4.76" ] ],
[ "drv1:MS1", "drv1:MS2", "green", [ "h-14.7", "v7.96" ] ],
[ "vcc1:VCC", "drv1:MS1", "red", [ "h0.1", "v29.05" ] ],
[ "vcc2:VCC", "encoder1:VCC", "red", [ "v21.17", "h40" ] ],
[ "gnd1:GND", "encoder1:GND", "black", [ "v0" ] ],
[ "drv1:VDD", "vcc3:VCC", "red", [ "h0" ] ],
[ "drv1:VMOT", "vcc3:VCC", "red", [ "h0" ] ],
[ "gnd2:GND", "drv1:GND.1", "black", [ "v0" ] ],
[ "gnd2:GND", "bz1:1", "black", [ "v0" ] ],
[ "endstop:1.r", "mega:18", "yellow", [ "h2.34", "v-215.06" ] ],
[ "endstop:2.l", "mega:GND.2", "black", [ "h0" ] ],
[ "led1:A", "mega:10", "magenta", [ "h-41", "v-97.09" ] ],
[ "led1:C", "mega:GND.3", "black", [ "v14.87", "h-24.14", "v63.54" ] ]
],
"dependencies": {}
}