{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{
"type": "board-st-nucleo-c031c6",
"id": "nucleo",
"top": -8.77,
"left": 296.62,
"attrs": {}
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": -104.84, "left": 393.6, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 236.6,
"left": 144,
"attrs": { "color": "green", "xray": "1" }
},
{ "type": "wokwi-servo", "id": "servo1", "top": 103.6, "left": 604.8, "attrs": {} },
{
"type": "wokwi-photoresistor-sensor",
"id": "ldr1",
"top": 156.8,
"left": 58.4,
"attrs": {}
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": 403.2, "left": 412.2, "attrs": {} }
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "servo1:V+", "vcc1:VCC", "red", [ "h-19.2", "v-230.3", "h-182.4" ] ],
[ "ldr1:VCC", "vcc1:VCC", "red", [ "v-240", "h172.8" ] ],
[ "nucleo:VIN.2", "vcc1:VCC", "red", [ "h0" ] ],
[ "btn1:1.r", "nucleo:PB1", "green", [ "h105.8" ] ],
[ "btn1:2.r", "gnd1:GND", "black", [ "h67.4", "v86.6" ] ],
[ "servo1:GND", "gnd1:GND", "black", [ "h-19.2", "v230.4" ] ],
[ "ldr1:GND", "gnd1:GND", "black", [ "h9.6", "v220.4" ] ],
[ "servo1:PWM", "nucleo:PA6", "green", [ "h0" ] ],
[ "ldr1:AO", "nucleo:PA0", "green", [ "v37.7", "h86.4" ] ]
],
"dependencies": {}
}