

The DRI0002 is a digital relay interface module designed for controlling and monitoring relay operations in various automation systems. It acts as a bridge between digital signals and relay outputs, allowing users to control high-power electrical devices such as motors, lights, and appliances using low-power digital signals. The module is widely used in home automation, industrial control systems, and IoT applications due to its reliability and ease of integration.








| Parameter | Value |
|---|---|
| Operating Voltage | 5V DC |
| Trigger Voltage | 3.3V to 5V DC |
| Relay Output Voltage | Up to 250V AC or 30V DC |
| Relay Output Current | Up to 10A |
| Module Dimensions | 50mm x 26mm x 18mm |
| Isolation | Optocoupler-based isolation |
| Indicator LED | Yes (Relay status indicator) |
| Mounting | PCB mount or standalone |
| Pin Name | Type | Description |
|---|---|---|
| VCC | Power | Connect to 5V DC power supply. |
| GND | Ground | Connect to the ground of the power supply. |
| IN | Input | Digital input signal to control the relay (3.3V to 5V logic level). |
| NO | Output | Normally Open terminal of the relay. Connect to the load for switching. |
| COM | Output | Common terminal of the relay. |
| NC | Output | Normally Closed terminal of the relay. |
VCC pin to a 5V DC power supply and the GND pin to the ground.IN pin to a digital output pin of a microcontroller (e.g., Arduino UNO). A HIGH signal (3.3V or 5V) will activate the relay.NO (Normally Open) and COM (Common) terminals if you want the load to be off by default and turn on when the relay is activated.NC (Normally Closed) and COM terminals if you want the load to be on by default and turn off when the relay is activated.Below is an example of how to control the DRI0002 module using an Arduino UNO:
// Example code to control the DRI0002 relay module with an Arduino UNO
const int relayPin = 7; // Define the digital pin connected to the IN pin of DRI0002
void setup() {
pinMode(relayPin, OUTPUT); // Set the relay pin as an output
digitalWrite(relayPin, LOW); // Ensure the relay is off at startup
}
void loop() {
digitalWrite(relayPin, HIGH); // Turn the relay on
delay(1000); // Keep the relay on for 1 second
digitalWrite(relayPin, LOW); // Turn the relay off
delay(1000); // Keep the relay off for 1 second
}
Relay Not Activating:
IN pin receives a voltage between 3.3V and 5V. Check all connections.Relay Stuck in One State:
Erratic Behavior:
LED Indicator Not Working:
Q1: Can I use the DRI0002 with a 3.3V microcontroller like the ESP32?
A1: Yes, the DRI0002 is compatible with 3.3V logic levels. Ensure the IN pin receives a stable 3.3V signal.
Q2: Is the module safe for switching inductive loads like motors?
A2: Yes, but it is recommended to use a snubber circuit or flyback diode to protect the relay contacts from voltage spikes.
Q3: Can I control multiple DRI0002 modules with a single microcontroller?
A3: Yes, as long as each module is connected to a separate digital output pin and the microcontroller can handle the total current draw.
Q4: What happens if I exceed the relay's maximum ratings?
A4: Exceeding the voltage or current ratings can damage the relay and pose safety risks. Always stay within the specified limits.