
This circuit features an ESP32 microcontroller connected to an 8-channel relay module. The ESP32 controls the relay channels via its GPIO pins, allowing for the switching of external devices or loads through the relays.

The One Channel Relay with Optocoupler is an electronic switching device that allows a low-power control signal to operate a high-power circuit. It features an optocoupler, which provides electrical isolation between the control side (low voltage) and the load side (high voltage). This isolation enhances safety and prevents damage to sensitive control circuits.

This circuit features an ESP32 microcontroller connected to an 8-channel relay module. The ESP32 controls the relay channels via its GPIO pins, allowing for the switching of external devices or loads through the relays.

This circuit features an ESP32 microcontroller connected to an 8-channel relay module. The ESP32 controls the relay channels via its GPIO pins, allowing it to switch multiple external devices on and off. The ESP32 also provides power to the relay module.

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 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.
The following table outlines the key technical details of the One Channel Relay with Optocoupler:
| Parameter | Value |
|---|---|
| Operating Voltage | 5V DC |
| Trigger Voltage | 3.3V to 5V DC |
| Maximum Load Voltage | 250V AC / 30V DC |
| Maximum Load Current | 10A |
| Isolation Method | Optocoupler |
| Relay Type | SPDT (Single Pole Double Throw) |
| Dimensions | ~50mm x 26mm x 18mm |
| Indicator LED | Yes (indicates relay activation) |
The One Channel Relay with Optocoupler typically has the following pin configuration:
| Pin Name | Description |
|---|---|
| VCC | Connect to the 5V power supply. |
| GND | Connect to the ground of the power supply. |
| IN | Control signal input. A HIGH signal activates the relay. |
| Terminal Name | Description |
|---|---|
| COM | Common terminal. Connect to the load or power source. |
| NO | Normally Open terminal. Connect to the load for default OFF state. |
| NC | Normally Closed terminal. Connect to the load for default ON state. |
Below is an example of how to connect and control the relay using an Arduino UNO:
// Define the relay control pin
const int relayPin = 7;
void setup() {
// Set the relay pin as an output
pinMode(relayPin, OUTPUT);
// Ensure the relay is off at startup
digitalWrite(relayPin, LOW);
}
void loop() {
// Turn the relay ON
digitalWrite(relayPin, HIGH);
delay(5000); // Keep the relay ON for 5 seconds
// Turn the relay OFF
digitalWrite(relayPin, LOW);
delay(5000); // Keep the relay OFF for 5 seconds
}
Relay Not Activating:
Load Not Switching:
Relay Stuck in One State:
Indicator LED Not Lighting Up:
Can I use this relay with a 3.3V microcontroller?
Is the relay safe for high-power applications?
Can I control multiple relays with one Arduino?
What is the purpose of the optocoupler?