{
"version": 1,
"author": "MUHAMMAD HARITS IRFAN BIN SAMSUL KAMAL",
"editor": "wokwi",
"parts": [
{
"type": "board-esp32-devkit-c-v4",
"id": "esp",
"top": -19.2,
"left": -43.16,
"attrs": { "env": "micropython-20231227-v1.22.0" }
},
{ "type": "wokwi-relay-module", "id": "relay1", "top": 29, "left": 115.2, "attrs": {} },
{
"type": "wokwi-led",
"id": "led1",
"top": -42,
"left": 225,
"attrs": { "color": "cyan", "flip": "1" }
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": -66.44, "left": 192, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd1", "top": 115.2, "left": 239.4, "attrs": {} }
],
"connections": [
[ "esp:TX", "$serialMonitor:RX", "", [] ],
[ "esp:RX", "$serialMonitor:TX", "", [] ],
[ "led1:A", "vcc1:VCC", "green", [ "v0", "h-47.6" ] ],
[ "led1:C", "relay1:COM", "green", [ "v57.6" ] ],
[ "relay1:VCC", "esp:3V3", "red", [ "h-48", "v-86.4", "h-105.6" ] ],
[ "relay1:GND", "esp:GND.2", "black", [ "h-28.8", "v-48.4" ] ],
[ "relay1:IN", "esp:5", "green", [ "h-38.4", "v28.6" ] ],
[ "relay1:NC", "gnd1:GND", "green", [ "v-1.2", "h39.6", "v67.2" ] ]
],
"dependencies": {}
}