{
"version": 1,
"author": "Marcus Rogge",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-arduino-uno", "id": "uno", "top": 0, "left": 0, "attrs": {} },
{
"type": "wokwi-led",
"id": "led1",
"top": -99.6,
"left": 215,
"attrs": { "color": "orange", "flip": "1" }
},
{ "type": "wokwi-ky-040", "id": "encoder1", "top": -132.7, "left": 18.4, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 6.2,
"left": -153.6,
"attrs": { "color": "green" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": 63.8,
"left": -124.8,
"attrs": { "color": "green" }
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": 124.8, "left": -154.2, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd2", "top": -28.8, "left": 345, "attrs": {} },
{
"type": "wokwi-relay-module",
"id": "relay1",
"top": 83,
"left": 281.2,
"rotate": 90,
"attrs": {}
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": 0.76, "left": 384, "attrs": {} },
{
"type": "board-ssd1306",
"id": "oled1",
"top": 252.74,
"left": 96.23,
"attrs": { "i2cAddress": "0x3c" }
},
{ "type": "wokwi-vcc", "id": "vcc2", "top": 229.44, "left": 57.8, "rotate": 180, "attrs": {} },
{
"type": "wokwi-vcc",
"id": "vcc3",
"top": -76.04,
"left": 153.6,
"rotate": 180,
"attrs": {}
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 263.45,
"left": 286.6,
"rotate": 180,
"attrs": { "value": "1000" }
},
{ "type": "wokwi-gnd", "id": "gnd3", "top": 288, "left": 364.2, "attrs": {} }
],
"connections": [
[ "encoder1:CLK", "uno:5", "green", [ "h76.8", "v144" ] ],
[ "encoder1:DT", "uno:6", "green", [ "h0" ] ],
[ "encoder1:SW", "uno:7", "green", [ "h0" ] ],
[ "btn2:2.l", "gnd1:GND", "green", [ "h0" ] ],
[ "btn2:1.r", "uno:9", "green", [ "v-86.4", "h221" ] ],
[ "btn1:2.l", "gnd1:GND", "green", [ "h9.6", "v77" ] ],
[ "btn1:1.r", "uno:10", "green", [ "v-38.4", "h230.6" ] ],
[ "relay1:GND", "gnd2:GND", "black", [ "v-28.8", "h-9.2", "v-48" ] ],
[ "vcc1:VCC", "relay1:VCC", "red", [ "v0" ] ],
[ "relay1:IN", "uno:A2", "green", [ "v0", "h-47.8", "v172.8", "h-76.8" ] ],
[ "oled1:SDA", "uno:A4", "green", [ "v-48", "h86.47" ] ],
[ "oled1:SCL", "uno:A5", "green", [ "v-19.2", "h105.9" ] ],
[ "oled1:GND", "uno:GND.2", "black", [ "v-28.8", "h48" ] ],
[ "vcc2:VCC", "oled1:VCC", "red", [ "v-19.2", "h86.4" ] ],
[ "uno:5V", "vcc2:VCC", "red", [ "v19.7", "h-16" ] ],
[ "encoder1:GND", "uno:GND.1", "black", [ "h0", "v48.8", "h-28.8" ] ],
[ "encoder1:VCC", "vcc3:VCC", "red", [ "h0" ] ],
[ "led1:A", "uno:4", "orange", [ "v38.4", "h-9.2" ] ],
[ "led1:C", "gnd2:GND", "black", [ "v0" ] ],
[ "r1:2", "uno:A3", "green", [ "v0", "h-46.8" ] ],
[ "r1:1", "gnd3:GND", "green", [ "v0", "h28.8" ] ]
],
"dependencies": {}
}