{
"version": 1,
"author": "Muhammad Ikhsan Deputra",
"editor": "wokwi",
"parts": [
{
"type": "board-st-nucleo-c031c6",
"id": "nucleo",
"top": -27.97,
"left": -269.78,
"attrs": {}
},
{
"type": "wokwi-photoresistor-sensor",
"id": "ldr1",
"top": 89.6,
"left": -546.4,
"attrs": {}
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": -133.64, "left": -201.6, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 246.2,
"left": -480,
"attrs": { "color": "green", "xray": "1" }
},
{ "type": "wokwi-servo", "id": "servo1", "top": 113.2, "left": 96, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd1", "top": 374.4, "left": -125.4, "attrs": {} }
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "vcc1:VCC", "nucleo:VIN.2", "red", [ "v0" ] ],
[ "ldr1:VCC", "servo1:V+", "red", [ "h57.6", "v-163.2", "h364.8", "v230.4" ] ],
[ "nucleo:PA6", "servo1:PWM", "green", [ "h35.75", "v28.8" ] ],
[ "ldr1:AO", "nucleo:PA0", "green", [ "h28.8", "v85.7" ] ],
[ "btn1:1.r", "nucleo:PB1", "green", [ "v0" ] ],
[ "ldr1:GND", "nucleo:GND.6", "black", [ "h57.6", "v76.4" ] ],
[ "servo1:GND", "gnd1:GND", "black", [ "h-67.2", "v192", "h-144" ] ],
[ "btn1:2.r", "gnd1:GND", "black", [ "h9.8", "v77", "h288" ] ],
[ "gnd1:GND", "nucleo:GND.6", "black", [ "v-19.2", "h-201.6", "v-163.2" ] ]
],
"dependencies": {}
}Loading
st-nucleo-c031c6
st-nucleo-c031c6