{
"version": 1,
"author": "Felix Wanyoike",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-breadboard", "id": "bb1", "top": 131.4, "left": -246.8, "attrs": {} },
{ "type": "wokwi-breadboard-mini", "id": "bb2", "top": -145.4, "left": 103.2, "attrs": {} },
{
"type": "wokwi-hc-sr04",
"id": "ultrasonic1",
"top": 30.82,
"left": -92.2,
"attrs": { "distance": "133" }
},
{
"type": "wokwi-dht22",
"id": "dht1",
"top": 5.78,
"left": -163.66,
"attrs": { "humidity": "63", "temperature": "6" }
},
{
"type": "wokwi-relay-module",
"id": "relay1",
"top": 31.8,
"left": 128.4,
"rotate": 270,
"attrs": {}
},
{
"type": "wokwi-led",
"id": "led1",
"top": -109.2,
"left": 99.8,
"attrs": { "color": "red" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": -109.2,
"left": 243.8,
"attrs": { "color": "limegreen" }
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": -94.46, "left": 181.61, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd1", "top": -28.74, "left": 104.74, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd2", "top": -29.18, "left": 248.72, "attrs": {} },
{
"type": "board-pi-pico-w",
"id": "pico1",
"top": 135.55,
"left": -49.35,
"rotate": 90,
"attrs": { "cyw43": "1", "env": "micropython" }
}
],
"connections": [
[ "ultrasonic1:VCC", "bb1:tp.17", "red", [ "v0" ] ],
[ "ultrasonic1:GND", "bb1:tn.20", "black", [ "v0" ] ],
[ "ultrasonic1:TRIG", "bb1:23t.b", "green", [ "v0" ] ],
[ "ultrasonic1:ECHO", "bb1:24t.b", "gold", [ "v0" ] ],
[ "bb1:15t.b", "bb1:tn.11", "black", [ "v0" ] ],
[ "bb1:28b.i", "bb1:bp.22", "red", [ "v0" ] ],
[ "bb1:bp.2", "bb1:tp.2", "red", [ "v0" ] ],
[ "dht1:VCC", "bb1:tp.5", "red", [ "v0" ] ],
[ "dht1:GND", "bb1:tn.9", "black", [ "v0" ] ],
[ "dht1:SDA", "bb1:14t.a", "blue", [ "v0" ] ],
[ "led2:A", "bb2:17b.f", "", [ "$bb" ] ],
[ "led2:C", "bb2:16b.f", "", [ "$bb" ] ],
[ "led1:A", "bb2:2b.f", "", [ "$bb" ] ],
[ "led1:C", "bb2:1b.f", "", [ "$bb" ] ],
[ "vcc1:VCC", "bb2:9b.f", "", [ "$bb" ] ],
[ "gnd1:GND", "bb2:1b.j", "", [ "$bb" ] ],
[ "bb2:9b.g", "relay1:COM", "green", [ "v0" ] ],
[ "gnd2:GND", "bb2:16b.j", "", [ "$bb" ] ],
[ "bb2:2b.g", "relay1:NC", "green", [ "v0" ] ],
[ "bb2:17b.g", "relay1:NO", "green", [ "v0" ] ],
[ "bb1:26t.a", "bb1:45t.a", "green", [ "v0" ] ],
[ "relay1:IN", "bb1:45t.a", "green", [ "v0" ] ],
[ "relay1:VCC", "bb1:tp.35", "red", [ "v0" ] ],
[ "relay1:GND", "bb1:tn.35", "black", [ "v0" ] ],
[ "pico1:GP0", "bb1:32t.c", "", [ "$bb" ] ],
[ "pico1:GP1", "bb1:31t.c", "", [ "$bb" ] ],
[ "pico1:GND.1", "bb1:30t.c", "", [ "$bb" ] ],
[ "pico1:GP2", "bb1:29t.c", "", [ "$bb" ] ],
[ "pico1:GP3", "bb1:28t.c", "", [ "$bb" ] ],
[ "pico1:GP4", "bb1:27t.c", "", [ "$bb" ] ],
[ "pico1:GP5", "bb1:26t.c", "", [ "$bb" ] ],
[ "pico1:GND.2", "bb1:25t.c", "", [ "$bb" ] ],
[ "pico1:GP6", "bb1:24t.c", "", [ "$bb" ] ],
[ "pico1:GP7", "bb1:23t.c", "", [ "$bb" ] ],
[ "pico1:GP8", "bb1:22t.c", "", [ "$bb" ] ],
[ "pico1:GP9", "bb1:21t.c", "", [ "$bb" ] ],
[ "pico1:GND.3", "bb1:20t.c", "", [ "$bb" ] ],
[ "pico1:GP10", "bb1:19t.c", "", [ "$bb" ] ],
[ "pico1:GP11", "bb1:18t.c", "", [ "$bb" ] ],
[ "pico1:GP12", "bb1:17t.c", "", [ "$bb" ] ],
[ "pico1:GP13", "bb1:16t.c", "", [ "$bb" ] ],
[ "pico1:GND.4", "bb1:15t.c", "", [ "$bb" ] ],
[ "pico1:GP14", "bb1:14t.c", "", [ "$bb" ] ],
[ "pico1:GP15", "bb1:13t.c", "", [ "$bb" ] ],
[ "pico1:GP16", "bb1:13b.h", "", [ "$bb" ] ],
[ "pico1:GP17", "bb1:14b.h", "", [ "$bb" ] ],
[ "pico1:GND.5", "bb1:15b.h", "", [ "$bb" ] ],
[ "pico1:GP18", "bb1:16b.h", "", [ "$bb" ] ],
[ "pico1:GP19", "bb1:17b.h", "", [ "$bb" ] ],
[ "pico1:GP20", "bb1:18b.h", "", [ "$bb" ] ],
[ "pico1:GP21", "bb1:19b.h", "", [ "$bb" ] ],
[ "pico1:GND.6", "bb1:20b.h", "", [ "$bb" ] ],
[ "pico1:GP22", "bb1:21b.h", "", [ "$bb" ] ],
[ "pico1:RUN", "bb1:22b.h", "", [ "$bb" ] ],
[ "pico1:GP26", "bb1:23b.h", "", [ "$bb" ] ],
[ "pico1:GP27", "bb1:24b.h", "", [ "$bb" ] ],
[ "pico1:GND.7", "bb1:25b.h", "", [ "$bb" ] ],
[ "pico1:GP28", "bb1:26b.h", "", [ "$bb" ] ],
[ "pico1:ADC_VREF", "bb1:27b.h", "", [ "$bb" ] ],
[ "pico1:3V3", "bb1:28b.h", "", [ "$bb" ] ],
[ "pico1:3V3_EN", "bb1:29b.h", "", [ "$bb" ] ],
[ "pico1:GND.8", "bb1:30b.h", "", [ "$bb" ] ],
[ "pico1:VSYS", "bb1:31b.h", "", [ "$bb" ] ],
[ "pico1:VBUS", "bb1:32b.h", "", [ "$bb" ] ]
],
"dependencies": {}
}