{
"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": "wokwi-led",
"id": "ledVerde",
"top": 20,
"left": -190,
"attrs": { "color": "green", "label": "NORMAL" }
},
{
"type": "wokwi-resistor",
"id": "rVerde",
"top": 53,
"left": -100,
"attrs": { "value": "220" }
},
{
"type": "wokwi-led",
"id": "ledNaranjo",
"top": 85,
"left": -190,
"attrs": { "color": "orange", "label": "ADVERTENCIA" }
},
{
"type": "wokwi-resistor",
"id": "rNaranjo",
"top": 118,
"left": -100,
"attrs": { "value": "220" }
},
{
"type": "wokwi-led",
"id": "ledRojo",
"top": 150,
"left": -190,
"attrs": { "color": "red", "label": "GRAVE" }
},
{
"type": "wokwi-resistor",
"id": "rRojo",
"top": 183,
"left": -100,
"attrs": { "value": "220" }
},
{
"type": "wokwi-buzzer",
"id": "bz1",
"top": 230,
"left": -190,
"attrs": { "volume": "1.0" }
},
{
"type": "board-ssd1306",
"id": "oled1",
"top": -130,
"left": -190,
"attrs": { "i2cAddress": "0x3c" }
},
{
"type": "wokwi-mpu6050",
"id": "mpu1",
"top": -130,
"left": 90,
"attrs": { "label": "MPU6050 CAIDA" }
},
{
"type": "wokwi-dht22",
"id": "dht1",
"top": 173.1,
"left": 215.4,
"attrs": { "temperature": "36.5", "humidity": "65", "label": "TEMP CORPORAL SIM" }
},
{
"type": "wokwi-pushbutton",
"id": "btn_help",
"top": 320,
"left": -190,
"attrs": { "color": "red", "label": "AYUDA", "key": "A", "bounce": "0" }
},
{
"type": "wokwi-pushbutton",
"id": "btn_ok",
"top": 320,
"left": -70,
"attrs": { "color": "green", "label": "ATENDIDO", "key": "S", "bounce": "0" }
},
{
"type": "wokwi-potentiometer",
"id": "pot_bateria",
"top": 310,
"left": 220,
"attrs": { "label": "BATERIA %" }
},
{
"type": "wokwi-slide-switch",
"id": "sw_ruta",
"top": 430,
"left": -190,
"attrs": { "label": "CAMA / GATEWAY" }
},
{
"type": "wokwi-potentiometer",
"id": "pot_pulso",
"top": 430,
"left": 220,
"attrs": { "label": "PULSO BPM" }
},
{
"type": "wokwi-potentiometer",
"id": "pot_resp",
"top": 530,
"left": 220,
"attrs": { "label": "RESPIRACION RPM" }
}
],
"connections": [
[ "esp:D13", "rVerde:2", "green", [] ],
[ "rVerde:1", "ledVerde:A", "green", [] ],
[ "ledVerde:C", "esp:GND.1", "black", [] ],
[ "esp:D14", "rNaranjo:2", "orange", [] ],
[ "rNaranjo:1", "ledNaranjo:A", "orange", [] ],
[ "ledNaranjo:C", "esp:GND.1", "black", [] ],
[ "esp:D2", "rRojo:2", "red", [] ],
[ "rRojo:1", "ledRojo:A", "red", [] ],
[ "ledRojo:C", "esp:GND.1", "black", [] ],
[ "esp:D15", "bz1:1", "orange", [] ],
[ "bz1:2", "esp:GND.2", "black", [] ],
[ "esp:3V3", "oled1:VCC", "red", [] ],
[ "esp:GND.3", "oled1:GND", "black", [] ],
[ "esp:D21", "oled1:SDA", "blue", [] ],
[ "esp:D22", "oled1:SCL", "yellow", [] ],
[ "esp:3V3", "mpu1:VCC", "red", [] ],
[ "esp:GND.3", "mpu1:GND", "black", [] ],
[ "esp:D21", "mpu1:SDA", "blue", [] ],
[ "esp:D22", "mpu1:SCL", "yellow", [] ],
[ "esp:3V3", "dht1:VCC", "red", [] ],
[ "esp:D4", "dht1:SDA", "purple", [] ],
[ "esp:GND.4", "dht1:GND", "black", [] ],
[ "esp:D18", "btn_help:1.l", "red", [] ],
[ "btn_help:2.l", "esp:GND.5", "black", [] ],
[ "esp:D19", "btn_ok:1.l", "green", [] ],
[ "btn_ok:2.l", "esp:GND.6", "black", [] ],
[ "esp:3V3", "pot_bateria:VCC", "red", [] ],
[ "pot_bateria:SIG", "esp:D34", "blue", [] ],
[ "pot_bateria:GND", "esp:GND.7", "black", [] ],
[ "esp:3V3", "sw_ruta:1", "red", [] ],
[ "sw_ruta:2", "esp:D25", "green", [] ],
[ "sw_ruta:3", "esp:GND.8", "black", [] ],
[ "esp:3V3", "pot_pulso:VCC", "red", [] ],
[ "pot_pulso:SIG", "esp:D35", "blue", [] ],
[ "pot_pulso:GND", "esp:GND.9", "black", [] ],
[ "esp:3V3", "pot_resp:VCC", "red", [] ],
[ "pot_resp:SIG", "esp:D32", "blue", [] ],
[ "pot_resp:GND", "esp:GND.10", "black", [] ],
[ "esp:TX0", "$serialMonitor:RX", "", [] ],
[ "esp:RX0", "$serialMonitor:TX", "", [] ]
],
"serialMonitor": { "collapse": false, "convertEol": true, "display": "terminal", "newline": "lf" },
"dependencies": {}
}