Stufin
Home Quick Cart Profile

Single CHANNEL 12V RELAY MODULE 30AMP

Buy Now

Name

Single Channel 12V Relay Module 30AMP

Description

The Single Channel 12V Relay Module 30AMP is a compact, high-power relay module designed to control and switch various electrical loads in IoT applications. This module features a single relay channel, making it ideal for simple on/off control of devices, such as lights, fans, pumps, and motors.

Functionality

The Single Channel 12V Relay Module 30AMP acts as an electronic switch that enables or disables the flow of electrical current to a connected load. The module receives a digital control signal from a microcontroller or other control devices, which triggers the relay to switch the load on or off. The relay module can handle high-current loads up to 30 Amps, making it suitable for applications that require robust and reliable control.

Input Voltage

12V DC

Relay Type

Electromagnetic relay

Contact Rating

30 Amps, 250V AC/30V DC

Operating Frequency

50/60 Hz

Control Input

Digital (TTL compatible)

Control Voltage

3.3V/5V compatible

Trigger Type

Active Low ( trigger signal is 0V to switch on, and 5V/3.3V to switch off)

Switching Time

5ms (max)

Operating Lifetime

100,000 cycles (min)

Module Size

43.5mm x 34.5mm x 23.5mm

PCB Material

FR4 (Flame Retardant 4)

Mounting Option

Screw terminals for easy connection

Overload Protection

Built-in protection against overload and short-circuit

Isolation

Optoisolator used for input and relay output isolation

Home Automation

Control lights, fans, and appliances remotely

Industrial Automation

Switch pumps, valves, and motors in industrial settings

Robotics and Machine Learning

Control servo motors and other peripherals

IoT Projects

Integrate with microcontrollers, Raspberry Pi, or Arduino boards to create complex IoT systems

Package Includes

1 x Single Channel 12V Relay Module 30AMP

1 x Jumper wires for easy connection

1 x Printed documentation and datasheet

Note

The module's specifications and features may vary depending on the manufacturer and supplier. Be sure to check the datasheet and documentation provided with the module for specific details.

Pin Configuration

  • Single Channel 12V Relay Module 30Amp Documentation
  • Pin Description:
  • The Single Channel 12V Relay Module 30Amp has a total of 6 pins, which are used to control and power the relay. Below is a detailed explanation of each pin:
  • 1. VCC (Power Supply):
  • Pin Name: VCC
  • Pin Type: Power Input
  • Voltage: 12V DC
  • Description: This pin is used to supply power to the relay module. Connect a 12V DC power source to this pin to power the relay.
  • 2. GND (Ground):
  • Pin Name: GND
  • Pin Type: Ground
  • Description: This pin is the ground connection for the relay module. Connect the ground of your power supply or circuit to this pin.
  • 3. IN (Signal Input):
  • Pin Name: IN
  • Pin Type: Digital Input
  • Voltage: 0-5V DC (TTL-level)
  • Description: This pin is used to control the relay. Apply a logic-level signal (0-5V) to this pin to switch the relay on or off.
  • 4. NO (Normally Open):
  • Pin Name: NO
  • Pin Type: Relay Output
  • Description: This pin is one of the two output terminals of the relay. When the relay is switched on, the NO pin is connected to the COM pin.
  • 5. NC (Normally Closed):
  • Pin Name: NC
  • Pin Type: Relay Output
  • Description: This pin is the other output terminal of the relay. When the relay is switched off, the NC pin is connected to the COM pin.
  • 6. COM (Common):
  • Pin Name: COM
  • Pin Type: Relay Output
  • Description: This pin is the common terminal of the relay. It is connected to either the NO or NC pin depending on the state of the relay.
  • Connection Structure:
  • To use the Single Channel 12V Relay Module 30Amp, follow these steps:
  • Connect the VCC pin to a 12V DC power source.
  • Connect the GND pin to the ground of your power supply or circuit.
  • Connect the IN pin to a digital output of your microcontroller or control circuit (0-5V DC).
  • Connect the NO and NC pins to the load you want to control (e.g., a lamp, fan, or motor).
  • Connect the COM pin to the other terminal of the load.
  • When the IN pin is high (5V), the relay is switched on, and the NO pin is connected to the COM pin. When the IN pin is low (0V), the relay is switched off, and the NC pin is connected to the COM pin.
  • Example Connection:
  • Suppose you want to control a lamp using the relay module and an Arduino board.
  • Connect the VCC pin of the relay module to the 12V output of the Arduino's power supply.
  • Connect the GND pin of the relay module to the GND of the Arduino board.
  • Connect the IN pin of the relay module to one of the digital output pins of the Arduino board (e.g., D2).
  • Connect the NO pin of the relay module to one terminal of the lamp.
  • Connect the COM pin of the relay module to the other terminal of the lamp.
  • Connect the NC pin of the relay module to leave it unconnected, as it is not used in this example.
  • In your Arduino code, set the digital output pin high (5V) to switch the relay on and low (0V) to switch it off.

Code Examples

Single Channel 12V Relay Module 30Amp Documentation
Overview
The Single Channel 12V Relay Module 30Amp is a versatile and powerful relay module designed for controlling high-current loads up to 30A. This module is suitable for a wide range of applications, including home automation, industrial control, and IoT projects.
Pinout
The module has the following pinout:
VCC: 12V power supply
 GND: Ground
 IN: Input signal (active low)
 COM: Common terminal for relay
 NO: Normally Open terminal for relay
 NC: Normally Closed terminal for relay
How to Use
The Single Channel 12V Relay Module 30Amp can be controlled using a digital signal from a microcontroller or other digital device. The module operates by applying a low-level signal to the IN pin to activate the relay. When the relay is activated, the COM terminal connects to the NO terminal, and when the relay is deactivated, the COM terminal connects to the NC terminal.
Code Examples
### Example 1: Arduino Control
In this example, we will use an Arduino Uno board to control the relay module. The relay will be turned on and off every 5 seconds.
```c
const int relayPin = 2; // Choose a digital pin to control the relay
void setup() {
  pinMode(relayPin, OUTPUT);
}
void loop() {
  digitalWrite(relayPin, LOW); // Turn on the relay
  delay(5000);
  digitalWrite(relayPin, HIGH); // Turn off the relay
  delay(5000);
}
```
### Example 2: Raspberry Pi Python Control
In this example, we will use a Raspberry Pi board with Raspbian OS to control the relay module using Python. The relay will be turned on and off every 5 seconds.
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
relay_pin = 17 # Choose a GPIO pin to control the relay
GPIO.setup(relay_pin, GPIO.OUT)
while True:
    GPIO.output(relay_pin, GPIO.LOW) # Turn on the relay
    time.sleep(5)
    GPIO.output(relay_pin, GPIO.HIGH) # Turn off the relay
    time.sleep(5)
```
### Example 3: ESP32 MicroPython Control
In this example, we will use an ESP32 board with MicroPython to control the relay module. The relay will be turned on and off every 5 seconds.
```python
import machine
import time
relay_pin = machine.Pin(32, machine.Pin.OUT) # Choose a GPIO pin to control the relay
while True:
    relay_pin.value(0) # Turn on the relay
    time.sleep(5)
    relay_pin.value(1) # Turn off the relay
    time.sleep(5)
```
Precautions
Make sure to use a suitable power supply for the relay module.
 Ensure the load you are controlling with the relay module does not exceed the maximum current rating of 30A.
 Use a flyback diode or other protection circuitry to prevent back-EMF damage to the relay module or controlling device.
Troubleshooting
If the relay module does not respond to the control signal, check the power supply and wiring to the module.
 If the relay module is not turning off, check the control signal and ensure it is set high when the relay should be off.