The Relay Module V4.0 (DFR0017) by DFRobot is a versatile 5V relay module designed to control high-power devices using low-power control signals. It is capable of switching loads up to 10A, making it ideal for applications such as home automation, industrial control, and robotics. This module provides an easy interface for microcontrollers like Arduino, Raspberry Pi, and other logic-level devices, enabling seamless integration into various projects.
Below are the key technical details of the Relay Module V4.0:
Parameter | Specification |
---|---|
Operating Voltage | 5V DC |
Trigger Voltage | 3.3V to 5V DC |
Maximum Load Current | 10A |
Maximum Load Voltage | 250V AC / 30V DC |
Relay Type | SPDT (Single Pole Double Throw) |
Dimensions | 38mm x 34mm x 19mm |
Weight | 20g |
Isolation | Optocoupler isolation for safety |
The module has a total of 6 pins and terminals, as described below:
Pin | Name | Description |
---|---|---|
1 | VCC | Power supply input (5V DC) |
2 | GND | Ground connection |
3 | IN | Control signal input (active HIGH) |
Terminal | Name | Description |
---|---|---|
1 | COM | Common terminal for the relay switch |
2 | NO | Normally Open terminal (connected when activated) |
3 | NC | Normally Closed terminal (connected when idle) |
Below is an example of how to use the Relay Module V4.0 with an Arduino UNO to control a light bulb.
// Example code to control the Relay Module V4.0 with an Arduino UNO
const int relayPin = 7; // Define the pin connected to the relay module
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 (light bulb ON)
delay(5000); // Wait for 5 seconds
digitalWrite(relayPin, LOW); // Turn the relay off (light bulb OFF)
delay(5000); // Wait for 5 seconds
}
Relay Not Activating
Load Not Switching
Overheating
Noise or Flickering
Q1: Can I use this relay module with a 3.3V microcontroller?
A1: Yes, the module can be triggered with a 3.3V control signal, but ensure the power supply to the module is 5V.
Q2: Is the relay module safe for high-voltage applications?
A2: Yes, the module is designed for high-voltage applications up to 250V AC. However, always follow safety precautions and ensure proper isolation.
Q3: Can I control multiple relays with one Arduino?
A3: Yes, you can control multiple relays by connecting each relay's IN pin to a separate digital pin on the Arduino.
Q4: What is the lifespan of the relay?
A4: The relay has a mechanical lifespan of approximately 100,000 operations under normal conditions.