The Single Channel 12V Relay Module is an essential component for interfacing low-power microcontrollers with high-power devices. This relay module allows a microcontroller, such as an Arduino, to control devices operating at 12 volts, making it ideal for switching AC or DC loads. Common applications include home automation, industrial control systems, and various DIY electronics projects.
Parameter | Value |
---|---|
Operating Voltage | 12V DC |
Trigger Voltage | 5V DC (from microcontroller) |
Current Consumption | 20mA (standby), 70mA (active) |
Relay Type | SPDT (Single Pole Double Throw) |
Max Switching Voltage | 250V AC / 30V DC |
Max Switching Current | 10A |
Dimensions | 50mm x 26mm x 18.5mm |
Pin Name | Description |
---|---|
VCC | Connect to 12V DC power supply |
GND | Ground |
IN | Control signal from microcontroller (5V logic) |
NO | Normally Open contact |
COM | Common contact |
NC | Normally Closed contact |
Power Supply:
Control Signal:
Load Connection:
/*
Single Channel 12V Relay Module Control
This example code demonstrates how to control a 12V relay module
using an Arduino UNO. The relay will turn on for 2 seconds and
then turn off for 2 seconds in a loop.
*/
const int relayPin = 7; // Pin connected to IN pin of relay module
void setup() {
pinMode(relayPin, OUTPUT); // Set relay pin as an output
}
void loop() {
digitalWrite(relayPin, HIGH); // Turn relay on
delay(2000); // Wait for 2 seconds
digitalWrite(relayPin, LOW); // Turn relay off
delay(2000); // Wait for 2 seconds
}
Relay Not Activating:
Relay Stuck in One State:
Interference and Noise:
By following this documentation, users can effectively integrate the Single Channel 12V Relay Module into their projects, ensuring reliable and efficient control of high-power devices with a low-power microcontroller.