{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{
"type": "chip-ds18b20",
"id": "chip",
"top": 127.38,
"left": -161.42,
"attrs": { "temperature": "20" }
},
{
"type": "wokwi-pi-pico",
"id": "pico",
"top": 0,
"left": 0,
"attrs": { "env": "micropython-20220618-v1.19.1" }
},
{
"type": "wokwi-ds1307",
"id": "rtc1",
"top": -96.41,
"left": -165.43,
"rotate": 180,
"attrs": {}
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": -31.81, "left": -49.11, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd1", "top": 6.41, "left": -77.07, "attrs": {} },
{
"type": "wokwi-led",
"id": "led1",
"top": 69.6,
"left": 143.33,
"attrs": { "color": "yellow", "label": "Pump" }
},
{ "type": "wokwi-gnd", "id": "gnd2", "top": 130.65, "left": 142.92, "attrs": {} },
{ "type": "wokwi-relay-module", "id": "relay1", "top": 3.55, "left": 116.61, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc2", "top": -54.78, "left": 133.26, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 48.7,
"left": -173.61,
"attrs": { "color": "green", "label": "Backup timetable" }
}
],
"connections": [
[ "rtc1:SDA", "pico:GP0", "green", [ "h24.24", "v-47.4", "h59.43" ] ],
[ "rtc1:SCL", "pico:GP1", "green", [ "h55.77", "v-14.78" ] ],
[ "vcc1:VCC", "rtc1:5V", "red", [ "v12.76", "h-17.46", "v-36.67" ] ],
[ "gnd1:GND", "rtc1:GND", "black", [ "v0" ] ],
[ "chip:DQ", "pico:GP22", "gold", [ "h-17.5", "v76.07", "h269.04", "v-93.68" ] ],
[ "pico:GP20", "relay1:IN", "green", [ "h0" ] ],
[ "relay1:VCC", "vcc2:VCC", "red", [ "v-31.76", "h28.46" ] ],
[ "relay1:GND", "pico:GND.8", "black", [ "h0" ] ],
[ "vcc2:VCC", "relay1:NC", "red", [ "v15.67", "h121.79", "v34.82" ] ],
[ "led1:C", "gnd2:GND", "green", [ "h0" ] ],
[ "led1:A", "relay1:COM", "green", [ "h90.21", "v-56.05" ] ],
[ "chip:GND", "pico:GND.4", "black", [ "h-8.14", "v31.19", "h170.76" ] ],
[ "btn1:1.r", "gnd1:GND", "green", [ "v0" ] ],
[ "btn1:2.r", "pico:GP13", "green", [ "h78.85", "v85.65" ] ]
],
"dependencies": { "chip-ds18b20": "github:martinkoehler/[email protected]" }
}