/pagar
Lista MT Lab:
3 ESP32 con antena: https://mtlab.pe/producto/esp32-devkitc-v4-esp32-wroom-32d-32u/
1 Desoldante: https://mtlab.pe/producto/ws26/
1 Punta para cautín: https://mtlab.pe/producto/punta-de-plata-para-cautin-30w/-
FacturaRUC 20385435399
Consultoría Carranza EIRL
| NOMBRE | PIN ESQUEMA | PIN CIRCUITO | PIN CÓDIGO |
|---|---|---|---|
| 3.3V | 3.3V | 3V3 | x |
| bocina | 6 | 35 | hooter - 18 |
| backup | 7 | 32 | rele2 - 5 |
| red | 8 | 33 | 17 |
| yellow | 9 | 25 | 16 |
| green | 10 | 26 | 4 |
| buzzer | 11 | 27 | 0 |
| PF2 | 19 | 5V | alimentacion - 5V |
| SDA | 25 | 21 | x |
| CSL | 22 | 22 | x |
| GND | 26 | GND | x |
| GND | 20 | GND | x |
ESQUEMATICO

CIRCUITO

PIN FÍSCO

/Pines de conexion;
// 4 Relay Module
const int led_red = 17; // Para rojo [4RM:IN1]
const int led_yellow = 16; // Para ámbar [4RM:IN2]
const int led_green = 4; // Para verde [4RM:IN3]
const int buzzer = 0; // Para buzzer [4RM:IN4]
// 2 Relay Module
const int hooter = 18; // Para sirena [2RM:IN1] (cambiado para el debug)
const int rele2 = 5; // [2RM:IN2]
// Variable global para testeo
int test_mode = hooter;