
This circuit consists of a DC-DC converter powering a 6-channel power module, which in turn supplies 5V to a 2-relay module. The power module distributes the converted voltage to the relay module, enabling it to control external devices.

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.

This circuit consists of a DC-DC converter powering a 6-channel power module, which in turn supplies 5V to a 2-relay module. The power module distributes the converted voltage to the relay module, enabling it to control external devices.

This circuit uses an Arduino UNO to control a 1-Channel Relay. The relay is powered by the Arduino's 5V output and is triggered by a digital signal from pin D7 of the Arduino. A JST PH 2.0 connector is connected to the common (C) and normally open (NO) contacts of the relay, allowing an external device to be switched on and off by the relay.

This circuit features an Arduino UNO microcontroller that controls two 1-channel relays and communicates with an HC-05 Bluetooth module. The relays are powered by the Arduino and can be triggered via digital pins D4 and D5, while the Bluetooth module allows for wireless communication through the Arduino's serial pins D0 and D1.

This circuit uses a WeMos D1 R2 microcontroller to control a 5V 2-relay module, which in turn controls the power to an AC bulb and a cellphone charger. The microcontroller also interfaces with a line tracking sensor, which likely provides input to control the relay states. The AC bulb and cellphone charger are powered by an AC wire connection, with the relay acting as a switch for the bulb.
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.