{
"version": 1,
"author": "The Embedded Rustacean",
"editor": "wokwi",
"parts": [
{
"type": "board-esp32-c3-devkitm-1",
"id": "esp",
"top": -7.98,
"left": -71.1,
"rotate": 90,
"attrs": { "builder": "rust-nostd-esp" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": 275,
"left": -566.4,
"attrs": { "color": "black", "xray": "1", "label": "Snooze" }
},
{
"type": "wokwi-pushbutton",
"id": "btn3",
"top": 342.2,
"left": -566.4,
"attrs": { "color": "red", "xray": "1", "label": "Alarm", "key": "1" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": 217.2,
"left": 215.4,
"attrs": { "color": "red", "flip": "1" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 4.25,
"left": 75.4,
"rotate": 180,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-text",
"id": "t2",
"top": 230.4,
"left": 249.6,
"attrs": { "text": "Alarm" }
},
{ "type": "chip-tca6424", "id": "chip1", "top": 346.62, "left": -168, "attrs": {} },
{
"type": "wokwi-slide-switch",
"id": "sw2",
"top": 520,
"left": 163.7,
"rotate": 90,
"attrs": {}
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": 460.8, "left": 325.8, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd2", "top": 576, "left": 133.8, "attrs": {} },
{
"type": "wokwi-text",
"id": "t5",
"top": 528,
"left": 220.8,
"attrs": { "text": "12/24 Hr" }
},
{ "type": "wokwi-vcc", "id": "vcc5", "top": 96.76, "left": -384, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc6", "top": 96.76, "left": -355.2, "attrs": {} },
{
"type": "wokwi-resistor",
"id": "r7",
"top": 158.4,
"left": -403.75,
"rotate": 90,
"attrs": { "value": "4700" }
},
{
"type": "wokwi-resistor",
"id": "r8",
"top": 158.4,
"left": -374.95,
"rotate": 90,
"attrs": { "value": "4700" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": 274.8,
"left": 215.4,
"attrs": { "color": "limegreen", "flip": "1" }
}
],
"connections": [
[ "esp:TX", "$serialMonitor:RX", "", [] ],
[ "esp:RX", "$serialMonitor:TX", "", [] ],
[ "esp:13", "btn3:1.r", "orange", [ "v0" ] ],
[ "r2:2", "esp:3", "green", [ "h-75.6", "v19.2" ] ],
[ "btn2:1.r", "esp:5", "green", [ "v0", "h192.2" ] ],
[ "esp:GND.4", "btn2:2.l", "black", [ "v-28.8", "h-518.4", "v307" ] ],
[ "btn3:2.l", "esp:GND.4", "black", [ "h-19.2", "v-374.2", "h518.4" ] ],
[ "r2:1", "led2:A", "green", [ "h76.8", "v259.2", "h19.2" ] ],
[ "led2:C", "gnd1:GND", "black", [ "v9.6", "h114.8" ] ],
[ "gnd2:GND", "sw2:2", "black", [ "v0" ] ],
[ "chip1:P04", "btn3:1.r", "green", [ "h0" ] ],
[ "chip1:SDA", "esp:6", "orange", [ "h0" ] ],
[ "chip1:SCL", "esp:7", "gold", [ "h0" ] ],
[ "esp:TX", "chip1:nINT", "green", [ "v0" ] ],
[ "chip1:P16", "sw2:3", "green", [ "v0", "h88.21", "v28.8" ] ],
[ "chip1:P17", "sw2:1", "green", [ "h97.81", "v19.2" ] ],
[ "chip1:ADDR", "esp:GND.8", "black", [ "h0" ] ],
[ "chip1:GND", "esp:GND.8", "black", [ "h0" ] ],
[ "vcc5:VCC", "r7:1", "red", [ "v0" ] ],
[ "vcc6:VCC", "r8:1", "red", [ "v0" ] ],
[ "r8:2", "btn2:1.r", "green", [ "h0", "v94.8" ] ],
[ "r7:2", "chip1:P04", "green", [ "h0", "v162" ] ],
[ "chip1:P15", "led1:A", "green", [ "h270.61", "v-76.8", "h19.2" ] ],
[ "led1:C", "gnd1:GND", "black", [ "v9.6", "h95.6" ] ]
],
"serialMonitor": { "convertEol": true, "display": "terminal" },
"dependencies": {}
}Alarm
12/24 Hr