{
"version": 1,
"author": "Team D11",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-esp32-devkit-v1",
"id": "esp",
"top": -33.49,
"left": 98.44,
"attrs": { "env": "micropython-20230426-v1.20.0" }
},
{
"type": "wokwi-pir-motion-sensor",
"id": "pir1",
"top": -185.23,
"left": 192.99,
"attrs": {}
},
{ "type": "wokwi-servo", "id": "servo1", "top": 42.84, "left": 294.25, "attrs": {} },
{ "type": "wokwi-servo", "id": "servo2", "top": -54.42, "left": 295.71, "attrs": {} }
],
"connections": [
[ "esp:TX0", "$serialMonitor:RX", "", [] ],
[ "esp:RX0", "$serialMonitor:TX", "", [] ],
[ "pir1:VCC", "esp:3V3", "red", [ "v0" ] ],
[ "pir1:OUT", "esp:D4", "green", [ "v0" ] ],
[ "pir1:GND", "esp:GND.1", "black", [ "v0" ] ],
[ "servo1:GND", "esp:GND.1", "black", [ "h0" ] ],
[ "servo1:V+", "esp:VIN", "red", [ "h0" ] ],
[ "servo2:V+", "esp:VIN", "red", [ "h0" ] ],
[ "servo2:GND", "esp:GND.1", "black", [ "h0" ] ],
[ "servo2:PWM", "esp:D19", "green", [ "h0" ] ],
[ "servo1:PWM", "esp:D5", "green", [ "h0" ] ]
],
"dependencies": {}
}