{
"version": 1,
"author": "Elc",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-breadboard-mini", "id": "bb1", "top": -87.8, "left": 112.8, "attrs": {} },
{ "type": "board-pi-pico-w", "id": "pico", "top": 54.35, "left": 22.75, "attrs": {} },
{
"type": "wokwi-slide-potentiometer",
"id": "pot1",
"top": 81.8,
"left": 152.6,
"attrs": { "travelLength": "40" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": -118.8,
"left": 301.4,
"attrs": { "color": "white", "lightColor": "green" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": -32.4,
"left": 407,
"attrs": { "color": "white", "lightColor": "red" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": -72.85,
"left": 355.2,
"attrs": { "value": "330" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 42.35,
"left": 441.6,
"attrs": { "value": "330" }
},
{
"type": "wokwi-text",
"id": "text1",
"top": -144,
"left": 268.8,
"attrs": { "text": "Low Flow Alert" }
},
{
"type": "wokwi-text",
"id": "text2",
"top": -19.2,
"left": 441.6,
"attrs": { "text": "High Flow Alert" }
},
{
"type": "board-ssd1306",
"id": "oled1",
"top": -44.86,
"left": -57.37,
"attrs": { "i2cAddress": "0x3c" }
}
],
"connections": [
[ "pico:GP0", "$serialMonitor:RX", "", [] ],
[ "pico:GP1", "$serialMonitor:TX", "", [] ],
[ "pot1:SIG", "pico:GP26", "green", [ "h0" ] ],
[ "led1:C", "bb1:9b.f", "green", [ "h-66.8", "v-19.2" ] ],
[ "led2:C", "bb1:9b.g", "green", [ "h-105.2", "v-9.6" ] ],
[ "pot1:GND", "bb1:9b.i", "black", [ "v0" ] ],
[ "led1:A", "r1:1", "green", [ "v9.6", "h28.8" ] ],
[ "led2:A", "r2:1", "green", [ "v0" ] ],
[ "r1:2", "pico:GP14", "green", [ "v0", "h171.6", "v355.2", "h-585.6", "v-48", "h-9.6" ] ],
[ "r2:2", "pico:GP15", "green", [ "v230.4", "h-490.8", "v-28.8" ] ],
[ "oled1:GND", "bb1:9b.h", "black", [ "v-105.6", "h201.6" ] ],
[ "bb1:2b.j", "pot1:VCC", "green", [ "v0" ] ],
[ "oled1:VCC", "bb1:2b.i", "red", [ "v-19.2", "h105.75", "v76.8" ] ],
[ "pico:GND.1", "bb1:9b.f", "black", [ "h-134.4", "v-249.6", "h316.8" ] ],
[ "oled1:SCL", "pico:GP5", "green", [ "v-48", "h-76.5", "v201.6" ] ],
[ "oled1:SDA", "pico:GP4", "green", [ "v-57.6", "h-95.93", "v211.2" ] ]
],
"dependencies": {}
}Low Flow Alert
High Flow Alert