
This circuit features an ESP32 microcontroller interfaced with two 4-channel 30A 5V relays. The ESP32 controls the relays through its GPIO pins, enabling it to switch high-power loads on and off.

The 4 Channel 30A 5V Relay (YYG-4) is an electrically operated switch that allows a low-power signal to control a high-power circuit. This relay module can control up to 30 amps of current using a 5V signal and can switch four different circuits independently. It is commonly used in applications such as home automation, industrial automation, and various DIY projects.

This circuit features an ESP32 microcontroller interfaced with two 4-channel 30A 5V relays. The ESP32 controls the relays through its GPIO pins, enabling it to switch high-power loads on and off.

This circuit features an ESP32-POE-ISO microcontroller connected to a 4-channel 30A 5V relay module. The ESP32 controls the relay channels via its GPIO pins, allowing for the switching of high-power devices through the relay module.

This circuit consists of a 5V battery powering a 4-channel relay module, which controls four LEDs (red, yellow, green, and blue) through individual resistors. Each relay channel is activated by a corresponding SPST toggle switch, allowing manual control of the LEDs.

This circuit is a control system using an ESP32 microcontroller to manage a 4-channel relay module, which in turn controls various loads. The relays are activated by rocker switches and provide visual feedback through LEDs, while power is supplied and regulated by an HLK-PM12 module and protected by a fuse and circuit breaker.
| Parameter | Value |
|---|---|
| Operating Voltage | 5V DC |
| Trigger Voltage | 5V DC |
| Maximum Current | 30A |
| Number of Channels | 4 |
| Relay Type | SPDT (Single Pole Double Throw) |
| Dimensions | 138mm x 55mm x 18mm |
| Weight | 120g |
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | IN1 | Control signal for Relay 1 (Active Low) |
| 2 | IN2 | Control signal for Relay 2 (Active Low) |
| 3 | IN3 | Control signal for Relay 3 (Active Low) |
| 4 | IN4 | Control signal for Relay 4 (Active Low) |
| 5 | GND | Ground |
| 6 | VCC | 5V Power Supply |
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | COM | Common terminal |
| 2 | NO | Normally Open terminal |
| 3 | NC | Normally Closed terminal |
Arduino UNO Relay Module
----------- -------------
5V --------> VCC
GND --------> GND
D2 --------> IN1
D3 --------> IN2
D4 --------> IN3
D5 --------> IN4
// Define relay control pins
const int relay1 = 2;
const int relay2 = 3;
const int relay3 = 4;
const int relay4 = 5;
void setup() {
// Initialize relay control pins as outputs
pinMode(relay1, OUTPUT);
pinMode(relay2, OUTPUT);
pinMode(relay3, OUTPUT);
pinMode(relay4, OUTPUT);
// Set all relays to off state (HIGH)
digitalWrite(relay1, HIGH);
digitalWrite(relay2, HIGH);
digitalWrite(relay3, HIGH);
digitalWrite(relay4, HIGH);
}
void loop() {
// Example: Turn on Relay 1 for 2 seconds, then turn it off
digitalWrite(relay1, LOW); // Turn on Relay 1
delay(2000); // Wait for 2 seconds
digitalWrite(relay1, HIGH);// Turn off Relay 1
delay(2000); // Wait for 2 seconds
// Repeat for other relays as needed
}
By following this documentation, users should be able to effectively utilize the 4 Channel 30A 5V Relay (YYG-4) in their projects, ensuring reliable and safe operation.