{
"version": 1,
"author": "Maria Utomo",
"editor": "wokwi",
"parts": [
{
"type": "board-st-nucleo-c031c6",
"id": "nucleo",
"top": -18.37,
"left": 75.82,
"attrs": {}
},
{
"type": "wokwi-buzzer",
"id": "bz1",
"top": 165.6,
"left": -113.4,
"attrs": { "volume": "0.1" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": 73.2,
"left": 465,
"attrs": { "color": "limegreen", "flip": "1" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": 73.2,
"left": 599.4,
"attrs": { "color": "yellow", "flip": "1" }
},
{
"type": "wokwi-led",
"id": "led3",
"top": 73.2,
"left": 733.8,
"attrs": { "color": "red", "flip": "1" }
},
{ "type": "wokwi-potentiometer", "id": "pot1", "top": 75.5, "left": -19.4, "attrs": {} },
{ "type": "wokwi-7segment", "id": "sevseg1", "top": 235.38, "left": 389.08, "attrs": {} },
{
"type": "wokwi-resistor",
"id": "r1",
"top": 109.55,
"left": 403.2,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 109.55,
"left": 537.6,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-resistor",
"id": "r3",
"top": 109.55,
"left": 672,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 275,
"left": -28.8,
"attrs": { "color": "green", "xray": "1" }
},
{
"type": "wokwi-resistor",
"id": "r4",
"top": 301.55,
"left": -105.6,
"attrs": { "value": "1000" }
}
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "led1:C", "nucleo:GND.8", "black", [ "v0" ] ],
[ "led2:C", "nucleo:GND.8", "black", [ "v0" ] ],
[ "led3:C", "nucleo:GND.8", "black", [ "v0" ] ],
[ "r1:2", "led1:A", "green", [ "v0" ] ],
[ "r1:1", "nucleo:PA5", "green", [ "v0" ] ],
[ "r2:2", "led2:A", "green", [ "v0" ] ],
[ "r2:1", "nucleo:PA6", "green", [ "v0" ] ],
[ "r3:2", "led3:A", "green", [ "v0" ] ],
[ "r3:1", "nucleo:PA7", "green", [ "v0" ] ],
[ "sevseg1:COM.1", "nucleo:5V.3", "red", [ "h0", "v38.4", "h-38.4", "v-230.4" ] ],
[ "sevseg1:COM.2", "nucleo:5V.3", "red", [ "h0", "v-114.36" ] ],
[ "sevseg1:G", "nucleo:PB6", "cyan", [ "v0.84", "h-9.6", "v134.4", "h-19.2" ] ],
[ "sevseg1:F", "nucleo:PB5", "cyan", [ "v0" ] ],
[ "sevseg1:A", "nucleo:PB0.1", "cyan", [ "v-18.36", "h67.2", "v163.2", "h9.6" ] ],
[ "sevseg1:B", "nucleo:PB1", "cyan", [ "v-37.56", "h96", "v192", "h-393.6" ] ],
[ "sevseg1:E", "nucleo:PB4", "cyan", [ "v19.2", "h-28.8" ] ],
[ "nucleo:PB3", "sevseg1:D", "cyan", [ "h35.75", "v105.6", "h48", "v9.6" ] ],
[ "sevseg1:C", "nucleo:PB2", "cyan", [ "v57.6", "h-67.2", "v-172.8" ] ],
[ "sevseg1:DP", "nucleo:PB7", "cyan", [ "v28.8", "h-115.2" ] ],
[ "pot1:VCC", "nucleo:3V3.1", "red", [ "v0" ] ],
[ "pot1:SIG", "nucleo:PA0", "green", [ "v0" ] ],
[ "pot1:GND", "nucleo:GND.3", "black", [ "v0" ] ],
[ "bz1:1", "nucleo:GND.4", "black", [ "v19.2", "h-48", "v-105.6", "h124.8", "v28.8" ] ],
[ "bz1:2", "nucleo:PA4", "green", [ "v0" ] ],
[ "btn1:2.r", "nucleo:PC13", "green", [ "h0" ] ],
[ "btn1:1.l", "nucleo:5V.1", "red", [ "h-19.2", "v-19.2", "h105.6", "v-86.4" ] ],
[ "r4:2", "btn1:2.l", "green", [ "v0" ] ],
[ "r4:1", "nucleo:GND.4", "black", [ "v0", "h-67.2", "v-172.8", "h144", "v67.2" ] ]
],
"dependencies": {}
}