Stufin
Home Quick Cart Profile

4 Channel Relay Wireless Module

Buy Now on Stufin

Operating Frequency

433 MHz

Transmission Range

Up to 100 meters (330 feet) in open space

Relay Outputs

4 x SPDT (Single Pole Double Throw)

Maximum Load

10A at 250V AC or 30V DC per relay output

Power Consumption

50mA

Operating Voltage

5V DC

Dimensions

63 x 55 x 25 mm (2.48 x 2.17 x 0.98 inches)

Weight

50g (1.76 oz)

Applications

The 4 Channel Relay Wireless Module is suitable for a wide range of applications, including

Home automation systems

Industrial control systems

IoT projects

Remote monitoring and control systems

Security systems

Smart home devices

Conclusion

The 4 Channel Relay Wireless Module is a versatile and reliable IoT component that offers a convenient and wireless solution for remotely controlling multiple loads. With its compact design, low power consumption, and high-quality relays, this module is an ideal choice for a wide range of applications.

Pin Configuration

  • 4 Channel Relay Wireless Module Documentation
  • Overview
  • The 4 Channel Relay Wireless Module is a multi-channel relay module designed for wireless control of various devices and appliances. This module is equipped with four SPDT (Single Pole Double Throw) relays, which can be controlled remotely using a wireless transmission protocol. The module is suitable for a wide range of applications, including home automation, industrial automation, and IoT projects.
  • Pin Description
  • The 4 Channel Relay Wireless Module has 10 pins, which are described below:
  • ### VCC (5V)
  • Pin Type: Power Input
  • Description: This pin is used to supply 5V power to the module.
  • Connection: Connect to a 5V power source.
  • ### GND
  • Pin Type: Ground
  • Description: This pin is the ground connection for the module.
  • Connection: Connect to the ground of the power source or any other ground point in the circuit.
  • ### TX (Transmit)
  • Pin Type: Digital Output
  • Description: This pin is used for wireless transmission of control signals.
  • Connection: Connect to the receiver module's RX pin.
  • ### RX (Receive)
  • Pin Type: Digital Input
  • Description: This pin is used to receive wireless control signals.
  • Connection: Connect to the transmitter module's TX pin.
  • ### CH1 (Channel 1)
  • Pin Type: Digital Input
  • Description: This pin is used to control Relay 1.
  • Connection: Connect to a digital output of a microcontroller or other control device.
  • ### CH2 (Channel 2)
  • Pin Type: Digital Input
  • Description: This pin is used to control Relay 2.
  • Connection: Connect to a digital output of a microcontroller or other control device.
  • ### CH3 (Channel 3)
  • Pin Type: Digital Input
  • Description: This pin is used to control Relay 3.
  • Connection: Connect to a digital output of a microcontroller or other control device.
  • ### CH4 (Channel 4)
  • Pin Type: Digital Input
  • Description: This pin is used to control Relay 4.
  • Connection: Connect to a digital output of a microcontroller or other control device.
  • ### COM1 (Common 1)
  • Pin Type: Relay Output
  • Description: This pin is the common terminal for Relay 1.
  • Connection: Connect to one end of the load to be controlled by Relay 1.
  • ### NO1 (Normally Open 1)
  • Pin Type: Relay Output
  • Description: This pin is the normally open terminal for Relay 1.
  • Connection: Connect to the other end of the load to be controlled by Relay 1.
  • Note: The COM and NO pins for each relay channel (CH2, CH3, and CH4) are similar to COM1 and NO1, respectively.
  • Connection Diagram
  • Here is a general connection diagram for the 4 Channel Relay Wireless Module:
  • ```
  • +-----------+
  • | Power |
  • | Supply |
  • +-----------+
  • |
  • |
  • v
  • +-----------+ +-----------+
  • | 4 Channel | | Micro- |
  • | Relay Wireless | controller |
  • | Module | | |
  • +-----------+ +-----------+
  • | VCC (5V) | | 5V |
  • | GND | | GND |
  • | TX | | RX |
  • | RX | | TX |
  • | CH1 | | D0 |
  • | CH2 | | D1 |
  • | CH3 | | D2 |
  • | CH4 | | D3 |
  • +-----------+ +-----------+
  • | |
  • | |
  • v v
  • +-----------+ +-----------+
  • | Relay 1 | | Load 1 |
  • | COM1 | | |
  • | NO1 | | |
  • +-----------+ +-----------+
  • | |
  • | |
  • v v
  • +-----------+ +-----------+
  • | Relay 2 | | Load 2 |
  • | COM2 | | |
  • | NO2 | | |
  • +-----------+ +-----------+
  • | |
  • | |
  • v v
  • +-----------+ +-----------+
  • | Relay 3 | | Load 3 |
  • | COM3 | | |
  • | NO3 | | |
  • +-----------+ +-----------+
  • | |
  • | |
  • v v
  • +-----------+ +-----------+
  • | Relay 4 | | Load 4 |
  • | COM4 | | |
  • | NO4 | | |
  • +-----------+ +-----------+
  • ```
  • Note: D0, D1, D2, and D3 represent digital output pins of the microcontroller or other control device.

Code Examples

4 Channel Relay Wireless Module Documentation
Overview
The 4 Channel Relay Wireless Module is a remote control relay module that allows users to control up to 4 relay channels wirelessly using a remote controller or a microcontroller. This module is ideal for IoT and automation projects where remote control of devices is required.
Hardware Specifications
Operating Frequency: 433 MHz
 Transmission Distance: Up to 100 meters (open air)
 Relay Channels: 4
 Voltage: 5V
 Current: 10A per channel
 Connector Type: Screw terminals
Software Specifications
Communication Protocol: Wireless RF (433 MHz)
 Compatible with most microcontrollers (Arduino, Raspberry Pi, etc.)
Code Examples
### Example 1: Arduino Remote Control using 4 Channel Relay Wireless Module
In this example, we will use an Arduino board to control the 4 Channel Relay Wireless Module remotely.
Components needed:
Arduino Uno
 4 Channel Relay Wireless Module
 4 LED lamps (for demonstration purposes)
Arduino Code:
```cpp
#include <VirtualWire.h>
const int rxPin = 2;  // Receive pin for RF module
const int txPin = 3;  // Transmit pin for RF module
const int relayPins[] = {4, 5, 6, 7};  // Pin connections for relay channels
void setup() {
  Serial.begin(9600);
  vw_set_rx_pin(rxPin);
  vw_set_tx_pin(txPin);
  vw_setup(2000);  // Initialize VirtualWire library
  pinMode(relayPins[0], OUTPUT);
  pinMode(relayPins[1], OUTPUT);
  pinMode(relayPins[2], OUTPUT);
  pinMode(relayPins[3], OUTPUT);
}
void loop() {
  char receivedData[4];
  uint8_t relayChannel;
if (vw_get_message(receivedData, 4)) {
    relayChannel = receivedData[0] - '0';
    if (relayChannel >= 1 && relayChannel <= 4) {
      digitalWrite(relayPins[relayChannel - 1], receivedData[1] - '0');
    }
  }
  delay(50);
}
```
How it works:
1. Connect the 4 Channel Relay Wireless Module to the Arduino board.
2. Connect the LED lamps to the relay channels.
3. Use a separate remote controller or another Arduino board to transmit commands to the relay module.
4. The relay module receives the commands and controls the LED lamps accordingly.
### Example 2: Raspberry Pi Home Automation using 4 Channel Relay Wireless Module
In this example, we will use a Raspberry Pi to control the 4 Channel Relay Wireless Module wirelessly, creating a home automation system.
Components needed:
Raspberry Pi
 4 Channel Relay Wireless Module
 4 LED lamps (for demonstration purposes)
Python Code:
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
# Relay channel pin connections
relayPins = [17, 23, 24, 25]
# Initialize relay pins as outputs
for pin in relayPins:
    GPIO.setup(pin, GPIO.OUT)
while True:
    # Receive commands from remote controller or another device
    command = input("Enter command (e.g., '1:on' or '2:off'): ")
    channel, state = command.split(':')
    channel = int(channel)
    state = state.lower() == 'on'
if channel >= 1 and channel <= 4:
        GPIO.output(relayPins[channel - 1], state)
        print(f"Relay {channel} is {'on' if state else 'off'}")
    else:
        print("Invalid channel")
time.sleep(0.5)
```
How it works:
1. Connect the 4 Channel Relay Wireless Module to the Raspberry Pi.
2. Connect the LED lamps to the relay channels.
3. Use a separate remote controller or another device to send commands to the Raspberry Pi.
4. The Raspberry Pi receives the commands and controls the LED lamps accordingly.
Note: In both examples, ensure that the 4 Channel Relay Wireless Module is properly paired with the remote controller or transmitter device before running the code.