/pagar

Lista MT Lab:

FacturaRUC 20385435399

Consultoría Carranza EIRL

ESP32U-WROOM_mínino

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

Untitled

CIRCUITO

Untitled

PIN FÍSCO

Untitled

CÓDIGO

/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;