Description
Single-Channel Relay Module 5 V/12 V
The single-channel 5 V or 12 V relay module is a switching device for controlling AC and DC loads. It is compatible with microcontrollers such as Arduino and Raspberry Pi, allowing electrical devices to be controlled remotely.
Detailed specifications
- Relay type: Electromechanical relay
- Number of channels: 1
- Control voltage: 5 V/12 V DC
- Rated current: 10 A
- Contact configuration: SPDT (Single Pole Double Throw)
- Switched load: AC 250 V 10 A, DC 30 V 10 A
- LED indicators: Show the relay status
- Dimensions: 92 x 46 x 20 mm
- Trigger: Active LOW
Operation
The relay operates using an electromagnetic coil activated by a 5 V control voltage to close or open the contacts. This allows high electrical loads to be controlled with a low control voltage, providing effective isolation and reliable switching.
Applications
- Industrial automation: Switching motors, heaters, and other industrial equipment.
- Security systems: Used in alarm systems to activate sirens or signaling devices.
- Home automation: Controlling lighting and electrical appliances in smart homes.
- Electronic projects: Ideal for prototyping and development with Arduino and other microcontrollers.
How to use it with an Arduino Uno
To use this module with an Arduino Uno, you will need:
- 1 x single-channel 5 V relay module
- 1 x Arduino Uno
- Jumper wires
- Breadboard
Wiring instructions:
- Power the module: Connect the module’s VCC pin to the Arduino 5 V pin, and connect the module’s GND pin to Arduino GND.
- Control input: Connect the module’s IN pin to a digital output on the Arduino (for example, pin 7).
- Load connections: Connect the relay output terminals (NO and COM) to the load you want to control. The NO terminal is normally open and closes when the relay is activated.
Arduino Uno code example:
const int relaisPin = 7; // Pin de commande du relais
void setup() {
pinMode(relaisPin, OUTPUT); // Définit la pin de commande comme une sortie
}
void loop() {
digitalWrite(relaisPin, LOW); // Active le relais
delay(5000); // Attend 5 secondes
digitalWrite(relaisPin, HIGH); // Désactive le relais
delay(5000); // Attend 5 secondes
}
Detailed code explanation
- Declare the control pin: Arduino Uno pin 7 is defined as the output used to control the relay.
- Configure the relay: In the
setup()function, the control pin is initialized as an output. - Main loop:
- The relay is activated by sending a LOW signal to the control pin, closing the connected circuit.
- The program waits for 5 seconds.
- The relay is then deactivated by sending a HIGH signal to the control pin, opening the circuit.
- The program waits another 5 seconds before repeating the cycle.
Pinout
- VCC: Connected to the 5 V supply
- GND: Connected to ground (GND)
- IN: Control input, connected to an Arduino digital output
- NO: Normally open, connected to the load
- COM: Common, connected to the load’s power supply
Keywords: solid state relay, 1-channel module, industrial automation, automatic lighting, home automation, relay, channel.









