{
"version": 1,
"author": "ALan Mosco",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-pi-pico",
"id": "pico",
"top": -108.75,
"left": -73.2,
"attrs": { "env": "micropython-20231227-v1.22.0" }
},
{
"type": "board-ssd1306",
"id": "oled1",
"top": 89.54,
"left": -201.37,
"attrs": { "i2cAddress": "0x3c" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn1",
"top": -98.2,
"left": 67.2,
"attrs": { "color": "green" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn2",
"top": -11.8,
"left": 67.2,
"attrs": { "color": "green" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn3",
"top": -50.2,
"left": 67.2,
"attrs": { "color": "green" }
},
{ "type": "wokwi-a4988", "id": "drv1", "top": 81.6, "left": 62.4, "attrs": {} },
{
"type": "wokwi-stepper-motor",
"id": "stepper1",
"top": -149.99,
"left": 115.63,
"attrs": { "size": "17" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": -70.8,
"left": -159.4,
"attrs": { "color": "purple" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": -82.45,
"left": -134.4,
"attrs": { "value": "330" }
}
],
"connections": [
[ "oled1:SDA", "pico:GP12", "green", [ "v0" ] ],
[ "oled1:SCL", "pico:GP13", "green", [ "v0" ] ],
[ "oled1:GND", "pico:GND.4", "black", [ "v0" ] ],
[ "oled1:VCC", "pico:3V3", "red", [ "v-76.8", "h152.55" ] ],
[ "pico:GP28", "btn1:1.l", "green", [ "h30", "v-57.6" ] ],
[ "pico:GP27", "btn3:1.l", "green", [ "h39.6", "v-28.8" ] ],
[ "pico:GP26", "btn2:1.l", "green", [ "h0" ] ],
[ "pico:GND.7", "btn2:2.l", "black", [ "h20.4", "v38.4" ] ],
[ "pico:GND.7", "btn3:2.l", "black", [ "h0" ] ],
[ "pico:GND.7", "btn1:2.l", "black", [ "h20.4", "v-48", "h9.6" ] ],
[ "pico:GND.5", "drv1:GND.2", "black", [ "h126", "v28.8" ] ],
[ "drv1:2B", "stepper1:A-", "green", [ "h0" ] ],
[ "drv1:2A", "stepper1:A+", "green", [ "h0" ] ],
[ "drv1:1A", "stepper1:B+", "green", [ "h0" ] ],
[ "drv1:1B", "stepper1:B-", "green", [ "h0" ] ],
[ "drv1:VDD", "pico:VBUS", "green", [ "h28.95", "v28.88", "h-173.1", "v-288.16", "h27.9" ] ],
[ "drv1:RESET", "drv1:SLEEP", "green", [ "h-19.2", "v0" ] ],
[ "drv1:DIR", "pico:GP16", "green", [ "h0" ] ],
[ "drv1:STEP", "pico:GP17", "green", [ "h-48", "v-67.2", "h-19.2" ] ],
[ "led1:A", "pico:GP1", "green", [ "h86.4", "v-57.6" ] ],
[ "r1:2", "pico:GND.1", "green", [ "v0" ] ],
[ "r1:1", "led1:C", "black", [ "v67.2", "h-10" ] ]
],
"dependencies": {}
}