{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-arduino-uno", "id": "uno", "top": 149.05, "left": 0.89, "attrs": {} },
{
"type": "wokwi-hc-sr04",
"id": "ultrasonic1",
"top": -77.64,
"left": 209.03,
"attrs": { "distance": "46" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": -50.13,
"left": -36.2,
"attrs": { "color": "limegreen" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": -47.2,
"left": 22.97,
"attrs": { "color": "yellow" }
},
{ "type": "wokwi-led", "id": "led3", "top": -43.2, "left": 83.4, "attrs": { "color": "red" } },
{
"type": "wokwi-resistor",
"id": "r1",
"top": 41.15,
"left": 76.94,
"rotate": 90,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 31.42,
"left": -36.8,
"rotate": 90,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-resistor",
"id": "r3",
"top": 30.75,
"left": 19.87,
"rotate": 90,
"attrs": { "value": "1000" }
}
],
"connections": [
[ "ultrasonic1:TRIG", "uno:9", "yellow", [ "v96.14", "h-123.78" ] ],
[ "ultrasonic1:ECHO", "uno:10", "green", [ "v118.32", "h-145.94" ] ],
[ "ultrasonic1:VCC", "uno:5V", "red", [ "v351.65", "h-119.44" ] ],
[ "ultrasonic1:GND", "uno:GND.3", "black", [ "v373.83", "h-130.44" ] ],
[ "r1:1", "led3:A", "green", [ "h0" ] ],
[ "r3:1", "led2:A", "green", [ "h0" ] ],
[ "r2:1", "led1:A", "green", [ "h0" ] ],
[ "led1:C", "uno:GND.1", "green", [ "v141.5", "h137.59" ] ],
[ "led2:C", "uno:GND.1", "green", [ "v137.9", "h-0.24" ] ],
[ "led3:C", "uno:GND.1", "green", [ "v133.23", "h-0.9" ] ],
[ "r2:2", "uno:13", "green", [ "v49.15", "h133.34" ] ],
[ "r3:2", "uno:12", "green", [ "h-1.05", "v40.48", "h83.33" ] ],
[ "r1:2", "uno:11", "green", [ "h-0.79", "v19.42", "h37.33" ] ]
],
"dependencies": {}
}