{
"version": 1,
"author": "Mohamed Amine Hamdi",
"editor": "wokwi",
"parts": [
{
"type": "board-pi-pico-w",
"id": "pico",
"top": -41.65,
"left": 13.15,
"attrs": { "builder": "pico-sdk" }
},
{
"type": "wokwi-dht22",
"id": "dht1",
"top": -38.1,
"left": 196.2,
"attrs": { "temperature": "8.4", "humidity": "45.5" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 61.55,
"left": 307.2,
"attrs": { "value": "1000" }
},
{ "type": "wokwi-potentiometer", "id": "pot1", "top": -20.5, "left": -153.8, "attrs": {} },
{
"type": "wokwi-hc-sr04",
"id": "ultrasonic1",
"top": -219.3,
"left": -90.5,
"attrs": { "distance": "248" }
},
{
"type": "wokwi-photoresistor-sensor",
"id": "ldr1",
"top": -160,
"left": 144.8,
"attrs": {}
},
{
"type": "wokwi-led",
"id": "led1",
"top": -243.6,
"left": -418.6,
"attrs": { "color": "green" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": -253.2,
"left": -476.2,
"attrs": { "color": "red" }
},
{
"type": "wokwi-led",
"id": "led3",
"top": -253.2,
"left": -370.6,
"attrs": { "color": "blue" }
},
{
"type": "wokwi-led",
"id": "led4",
"top": -234,
"left": -313,
"attrs": { "color": "yellow" }
},
{
"type": "wokwi-led",
"id": "led5",
"top": -234,
"left": -245.8,
"attrs": { "color": "orange" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": -44.05,
"left": -336,
"attrs": { "value": "1000" }
}
],
"connections": [
[ "pico:GP0", "$serialMonitor:RX", "", [] ],
[ "pico:GP1", "$serialMonitor:TX", "", [] ],
[ "dht1:GND", "pico:GND.8", "black", [ "v67.2", "h-96", "v-153.6" ] ],
[ "pico:3V3", "dht1:VCC", "green", [ "h38.71", "v105.6", "h86.4" ] ],
[ "dht1:VCC", "r1:1", "red", [ "v0" ] ],
[ "dht1:SDA", "r1:2", "green", [ "v28.8", "h134.5" ] ],
[ "pot1:VCC", "pico:3V3", "red", [ "v38.4", "h66.4", "v-144", "h211.2", "v76.8" ] ],
[
"pot1:GND",
"pico:GND.8",
"black",
[ "v28.8", "h-28.8", "v-144", "h278.4", "v57.6", "h240" ]
],
[ "pico:GP26", "pot1:SIG", "green", [ "h19.51", "v115.2", "h-211.2" ] ],
[ "ultrasonic1:VCC", "pico:VBUS", "red", [ "v48", "h201.6", "v48" ] ],
[ "pico:GP15", "ultrasonic1:TRIG", "green", [ "h0" ] ],
[ "pico:GP14", "ultrasonic1:ECHO", "green", [ "h0" ] ],
[ "ultrasonic1:GND", "pico:GND.8", "black", [ "v38.4", "h181.2", "v76.8" ] ],
[ "ldr1:VCC", "pico:3V3", "red", [ "h28.8", "v76.8" ] ],
[ "ldr1:GND", "pico:GND.8", "black", [ "h19.2", "v76.4" ] ],
[ "pico:GP27", "ldr1:AO", "green", [ "h0" ] ],
[ "led5:C", "led4:C", "green", [ "v28.8", "h-66.8" ] ],
[ "led3:C", "led4:C", "green", [ "v0" ] ],
[ "led1:C", "led3:C", "green", [ "v28.8", "h48.4" ] ],
[ "led2:C", "led3:C", "green", [ "v57.6", "h106" ] ],
[ "led2:C", "r2:1", "green", [ "v0" ] ],
[ "r2:2", "pico:GND.8", "green", [ "v-67.2", "h382.8" ] ],
[ "pico:GP17", "led2:A", "green", [ "h9.91", "v38.44", "h-528" ] ],
[ "pico:GP2", "led1:A", "green", [ "h0" ] ],
[ "pico:GP3", "led3:A", "green", [ "h-355.2", "v19.2" ] ],
[ "pico:GP4", "dht1:SDA", "green", [ "h-38.4", "v115.2", "h249.6" ] ],
[ "pico:GP6", "led4:A", "green", [ "h-307.2", "v-9.6" ] ],
[ "pico:GP7", "led5:A", "green", [ "h-240", "v9.6" ] ]
],
"dependencies": {}
}