{
"version": 1,
"author": "Anonymous",
"editor": "wokwi",
"parts": [
{ "type": "board-st-nucleo-c031c6", "id": "nucleo", "top": 0, "left": 0, "attrs": {} },
{
"type": "wokwi-potentiometer",
"id": "pot_curr",
"top": -87.7,
"left": -182.6,
"attrs": { "label": "Courant (ACS758)" }
},
{
"type": "wokwi-potentiometer",
"id": "pot_volt",
"top": 248.3,
"left": -230.6,
"attrs": { "label": "Tension (Pont Div)" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 368.75,
"left": -163.2,
"attrs": { "value": "150000" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 368.75,
"left": -76.8,
"attrs": { "value": "10000" }
}
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "nucleo:3V3.4", "pot_curr:VCC", "red", [ "v0" ] ],
[ "nucleo:3V3.4", "pot_volt:VCC", "red", [ "v0" ] ],
[ "pot_volt:GND", "nucleo:GND.5", "black", [ "v0" ] ],
[ "pot_volt:VCC", "nucleo:3V3.2", "red", [ "v0" ] ],
[ "pot_volt:SIG", "r1:1", "green", [ "v0" ] ],
[ "r1:2", "r2:1", "green", [ "v0" ] ],
[ "r2:2", "nucleo:GND.5", "black", [ "v0" ] ],
[ "r1:2", "nucleo:A1", "green", [ "v0" ] ],
[ "pot_curr:GND", "nucleo:GND.5", "black", [ "v0" ] ],
[ "pot_curr:VCC", "nucleo:3V3.2", "red", [ "v0" ] ],
[ "pot_curr:SIG", "nucleo:A0", "green", [ "v0" ] ]
],
"serialMonitor": { "display": "always", "convertEol": true }
}