{
"version": 1,
"author": "Maximiliano",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-esp32-devkit-v1",
"id": "esp",
"top": 20,
"left": 0,
"attrs": { "env": "micropython-20231227-v1.22.0", "fullBoot": "1" }
},
{
"type": "board-ssd1306",
"id": "oled1",
"top": -135,
"left": -190,
"attrs": { "i2cAddress": "0x3c" }
},
{
"type": "wokwi-led",
"id": "ledVerde",
"top": 15,
"left": -190,
"attrs": { "color": "green", "label": "NORMAL" }
},
{
"type": "wokwi-resistor",
"id": "rVerde",
"top": 48,
"left": -100,
"attrs": { "value": "220" }
},
{
"type": "wokwi-led",
"id": "ledNaranjo",
"top": 80,
"left": -190,
"attrs": { "color": "orange", "label": "ADVERTENCIA" }
},
{
"type": "wokwi-resistor",
"id": "rNaranjo",
"top": 113,
"left": -100,
"attrs": { "value": "220" }
},
{
"type": "wokwi-led",
"id": "ledRojo",
"top": 145,
"left": -190,
"attrs": { "color": "red", "label": "GRAVE" }
},
{
"type": "wokwi-resistor",
"id": "rRojo",
"top": 178,
"left": -100,
"attrs": { "value": "220" }
},
{
"type": "wokwi-buzzer",
"id": "bz1",
"top": 223.2,
"left": -190.2,
"attrs": { "volume": "0.6" }
},
{
"type": "wokwi-slide-switch",
"id": "sw_pulsera",
"top": 300,
"left": -190,
"attrs": { "label": "PULSERA CERCA" }
},
{
"type": "wokwi-slide-switch",
"id": "sw_zona",
"top": 405,
"left": -190,
"attrs": { "label": "PASILLO / COMEDOR" }
},
{
"type": "wokwi-pushbutton",
"id": "btn_reset",
"top": 510,
"left": -190,
"attrs": { "color": "blue", "label": "RESET ALERTA", "key": "S", "bounce": "0" }
},
{
"type": "wokwi-pushbutton",
"id": "btn_test",
"top": 510,
"left": -60,
"attrs": { "color": "red", "label": "TEST AYUDA", "key": "A", "bounce": "0" }
},
{
"type": "wokwi-potentiometer",
"id": "pot_pulso",
"top": 181.1,
"left": 230.2,
"attrs": { "label": "PULSO BLE SIM" }
},
{
"type": "wokwi-potentiometer",
"id": "pot_resp",
"top": 285,
"left": 230,
"attrs": { "label": "RESP BLE SIM" }
},
{
"type": "wokwi-potentiometer",
"id": "pot_bateria",
"top": 390,
"left": 230,
"attrs": { "label": "BATERIA PULSERA" }
},
{
"type": "wokwi-potentiometer",
"id": "pot_senal",
"top": 495,
"left": 230,
"attrs": { "label": "SENAL BLE RSSI" }
}
],
"connections": [
[ "esp:TX0", "$serialMonitor:RX", "", [] ],
[ "esp:RX0", "$serialMonitor:TX", "", [] ],
[ "esp:3V3", "oled1:VCC", "red", [] ],
[ "esp:GND.1", "oled1:GND", "black", [] ],
[ "esp:D21", "oled1:SDA", "blue", [] ],
[ "esp:D22", "oled1:SCL", "yellow", [] ],
[ "esp:D13", "rVerde:2", "green", [] ],
[ "rVerde:1", "ledVerde:A", "green", [] ],
[ "ledVerde:C", "esp:GND.2", "black", [] ],
[ "esp:D14", "rNaranjo:2", "orange", [] ],
[ "rNaranjo:1", "ledNaranjo:A", "orange", [] ],
[ "ledNaranjo:C", "esp:GND.2", "black", [] ],
[ "esp:D2", "rRojo:2", "red", [] ],
[ "rRojo:1", "ledRojo:A", "red", [] ],
[ "ledRojo:C", "esp:GND.2", "black", [] ],
[ "esp:D15", "bz1:1", "orange", [] ],
[ "bz1:2", "esp:GND.3", "black", [] ],
[ "esp:3V3", "sw_pulsera:1", "red", [] ],
[ "sw_pulsera:2", "esp:D25", "green", [] ],
[ "sw_pulsera:3", "esp:GND.4", "black", [] ],
[ "esp:3V3", "sw_zona:1", "red", [] ],
[ "sw_zona:2", "esp:D26", "green", [] ],
[ "sw_zona:3", "esp:GND.5", "black", [] ],
[ "esp:D18", "btn_reset:1.l", "blue", [] ],
[ "btn_reset:2.l", "esp:GND.6", "black", [] ],
[ "esp:D19", "btn_test:1.l", "red", [] ],
[ "btn_test:2.l", "esp:GND.7", "black", [] ],
[ "esp:3V3", "pot_pulso:VCC", "red", [] ],
[ "pot_pulso:SIG", "esp:D34", "blue", [] ],
[ "pot_pulso:GND", "esp:GND.8", "black", [] ],
[ "esp:3V3", "pot_resp:VCC", "red", [] ],
[ "pot_resp:SIG", "esp:D35", "blue", [] ],
[ "pot_resp:GND", "esp:GND.9", "black", [] ],
[ "esp:3V3", "pot_bateria:VCC", "red", [] ],
[ "pot_bateria:SIG", "esp:D32", "blue", [] ],
[ "pot_bateria:GND", "esp:GND.10", "black", [] ],
[ "esp:3V3", "pot_senal:VCC", "red", [] ],
[ "pot_senal:SIG", "esp:D33", "blue", [] ],
[ "pot_senal:GND", "esp:GND.11", "black", [] ]
],
"serialMonitor": { "collapse": false, "convertEol": true, "display": "terminal", "newline": "lf" },
"dependencies": {}
}