{
"version": 1,
"author": "Uri Shaked",
"editor": "wokwi",
"parts": [
{
"type": "board-st-nucleo-c031c6",
"id": "nucleo",
"top": -18.37,
"left": -10.58,
"attrs": {}
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": -33.6,
"left": 277.85,
"rotate": 90,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": -109.2,
"left": 301.8,
"attrs": { "color": "red", "flip": "1" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 227,
"left": 364.8,
"attrs": { "color": "green", "xray": "1" }
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": 412.8, "left": 124.2, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc1", "top": -56.84, "left": -278.4, "attrs": {} },
{
"type": "wokwi-pir-motion-sensor",
"id": "pir1",
"top": -159.2,
"left": -247.38,
"attrs": {}
},
{
"type": "wokwi-photoresistor-sensor",
"id": "ldr1",
"top": 185.6,
"left": -412,
"attrs": {}
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 14.4,
"left": -298.15,
"rotate": 90,
"attrs": { "value": "1000" }
}
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "r1:1", "led1:A", "green", [ "h0" ] ],
[ "nucleo:PA6", "r1:2", "green", [ "h0" ] ],
[ "gnd1:GND", "led1:C", "black", [ "v-48", "h364.8", "v-297.6", "h-144" ] ],
[ "gnd1:GND", "btn1:2.r", "black", [ "v-48", "h326.4", "v-105.6", "h-29" ] ],
[ "btn1:1.l", "nucleo:PB1", "green", [ "h-76.8", "v76.8", "h-278.4" ] ],
[ "vcc1:VCC", "r2:1", "red", [ "v0" ] ],
[ "vcc1:VCC", "pir1:VCC", "red", [ "v9.6", "h19.2" ] ],
[ "pir1:OUT", "nucleo:A1", "green", [ "v153.6", "h57.46", "v144" ] ],
[ "ldr1:VCC", "r2:2", "red", [ "h19.2", "v-96", "h-96" ] ],
[ "gnd1:GND", "ldr1:GND", "black", [ "v-48", "h-316.8", "v-153.2" ] ],
[ "nucleo:A0", "ldr1:AO", "green", [ "h0" ] ],
[ "vcc1:VCC", "nucleo:3V3.2", "red", [ "v19.2", "h163.2", "v163.2" ] ],
[ "gnd1:GND", "pir1:GND", "black", [ "v-48", "h-316.8", "v-432" ] ]
],
"dependencies": {}
}Loading
st-nucleo-c031c6
st-nucleo-c031c6