
$2.89
See if it's really the one
Search with this product to compare it, find similar styles, or turn up something better before deciding.
๐ Overview The 2-Channel 5V Relay Module with Optocoupler Isolation lets you safely control high-voltage or high-current devices โ such as lamps, fans, heaters, pumps, solenoid locks, and motors โ from a low-voltage microcontroller like an Arduino, ESP32, or Raspberry Pi. Each channel features an SPDT (Single Pole Double Throw) relay rated for up to 250V AC / 10A or 30V DC / 10A, with onboard optocouplers that electrically isolate the relay coil circuit from your microcontroller for added safety and noise protection. This version features a 4-pin input header (GND, IN1, IN2, VCC) and a JD-VCC jumper that lets you choose between shared power (simple wiring) or fully isolated operation (separate relay power supply). The relays are active-LOW โ they turn ON when the input signal is pulled LOW. LED indicators show the activation state of each channel at a glance. โญ Key Features 2 independent relay channels โ each with its own optocoupler-isolated input and LED status indicator SPDT relay contacts โ COM, NO (Normally Open), and NC (Normally Closed) screw terminals per channel High-power switching โ rated for 250V AC / 10A or 30V DC / 10A per channel Optocoupler isolation โ electrically separates your microcontroller from the relay coil circuit, preventing ground loops and protecting sensitive electronics from voltage spikes JD-VCC jumper โ leave on for simple shared-power wiring, or remove for full electrical isolation with a separate 5V relay supply 3.3V and 5V logic compatible โ works directly with 5V Arduino boards; supports 3.3V logic (ESP32, Raspberry Pi) when JD-VCC jumper is removed Active-LOW trigger โ relay activates when input pin is pulled LOW (15โ20 mA per channel) Screw terminals โ secure, tool-tightened connections for high-voltage / high-current output wiring 4 mounting holes โ M3 holes for secure installation in enclosures or project frames ๐ Pinout Reference Input Header (4-Pin, Low-Voltage Side) Pin Function Description GND Ground Connect to microcontroller GND IN1 Relay 1 Input Active-LOW โ pull LOW to activate Relay 1 IN2 Relay 2 Input Active-LOW โ pull LOW to activate Relay 2 VCC Logic Power Connect to 5V (or 3.3V if JD-VCC jumper is removed) JD-VCC Jumper Jumper State Behavior ON (default) VCC and JD-VCC are bridged โ relay coils share power with logic input. Simple wiring, but no electrical isolation. OFF (removed) VCC and JD-VCC are separated โ supply 5V separately to JD-VCC for full isolation. Enables 3.3V logic compatibility. Relay Output Terminals (High-Voltage Side) โ Per Channel Terminal Name Description COM Common Connect your load's power line here NO Normally Open Disconnected from COM when relay is OFF; connected when relay is ON NC Normally Closed Connected to COM when relay is OFF; disconnected when relay is ON ๐ง JD-VCC Jumper Explained The JD-VCC jumper is what makes this module more versatile than basic relay boards. It controls whether the relay coils share power with your microcontroller or run from a separate supply. Jumper ON โ Simple Wiring (No Isolation) With the jumper in place, just connect VCC to your Arduino's 5V pin and GND to GND. The relay coils draw power from the same 5V rail as your microcontroller. This is the easiest setup but offers no electrical isolation. Jumper OFF โ Full Isolation Remove the jumper and connect a separate 5V power supply to JD-VCC and the relay-side GND. The VCC pin on the input header now only powers the optocoupler LEDs and can run at 3.3V โ making this mode essential for ESP32, Raspberry Pi, and other 3.3V boards. ๐ Wiring โ Arduino (Jumper ON) Relay Module Pin Arduino Pin GND GND IN1 Digital Pin 4 IN2 Digital Pin 5 VCC 5V ๐ Wiring โ ESP32 / Raspberry Pi (Jumper OFF) Relay Module Pin Connection GND (input header) Microcontroller GND IN1 GPIO pin (e.g., GPIO 4) IN2 GPIO pin (e.g., GPIO 5) VCC (input header) Microcontroller 3.3V JD-VCC External 5V supply (+) GND (relay side) External 5V supply (โ) ๐ป Sample Arduino Code This sketch toggles each relay on and off. Remember: LOW = relay ON, HIGH = relay OFF (active-LOW logic). // 2-Channel Relay Module โ Basic Toggle Example // Active-LOW: LOW = ON, HIGH = OFF const int relay1 = 4; const int relay2 = 5; void setup() { pinMode(relay1, OUTPUT); pinMode(relay2, OUTPUT); digitalWrite(relay1, HIGH); // Start OFF digitalWrite(relay2, HIGH); // Start OFF Serial.begin(9600); Serial.println("2-Channel Relay Test"); } void loop() { digitalWrite(relay1, LOW); // Relay 1 ON Serial.println("Relay 1: ON"); delay(2000); digitalWrite(relay1, HIGH); // Relay 1 OFF Serial.println("Relay 1: OFF"); delay(1000); digitalWrite(relay2, LOW); // Relay 2 ON Serial.println("Relay 2: ON"); delay(2000); digitalWrite(relay2, HIGH); // Relay 2 OFF Serial.println("Relay 2: OFF"); delay(2000); } ๐ Specifications Specification Details Number of Channels 2 Relay Type SPDT (Single Pole Double Throw) Relay Contact Rating (AC) 250V AC / 10A Relay Contact Rating (DC) 30V DC / 10A Coil Voltage 5V DC Coil Current (per relay) Approx. 70 mA Trigger Level Active-LOW (LOW = relay ON) Input Drive Current 15โ20 mA per channel Isolation Optocoupler (optical isolation between input and relay coil) Input Connector 1ร4 pin header (2.54mm pitch): GND, IN1, IN2, VCC Relay Power Jumper JD-VCC (connects or disconnects VCC from relay coil power) Output Terminals Screw terminals โ COM, NO, NC per channel Status Indicators 1 LED per channel (lights when relay is active) Logic Compatibility 5V direct; 3.3V with JD-VCC jumper removed Board Dimensions Approx. 51 ร 38 ร 18 mm (2.0 ร 1.5 ร 0.7 inches) L ร W ร H Mounting Holes 4 (M3) ๐ฆ What's in the Box 1x 2-Channel 5V Relay Module with Optocoupler Isolation (JD-VCC jumper pre-installed) ๐ Compatible With Arduino Uno, Mega, Nano, Leonardo, and other 5V Arduino boards ESP32 and ESP8266 (3.3V โ remove JD-VCC jumper, use separate 5V relay supply) Raspberry Pi (3.3V GPIO โ remove JD-VCC jumper, use separate 5V relay supply) STM32, Teensy, and other 3.3V/5V microcontrollers PLC and industrial control interfaces with 5V logic outputs ๐ฏ Typical Applications Home automation โ control lights, fans, appliances, and door locks IoT projects โ remote switching via Wi-Fi (ESP32/ESP8266) or Bluetooth 3D printers & CNC machines โ control heated beds, spindles, or cooling fans Robotics โ switch motors, solenoids, and pneumatic valves Automotive โ control 12V accessories like LED light bars or auxiliary equipment Aquarium & greenhouse automation โ timed control of pumps, lights, heaters, and ventilation โ ๏ธ Important Notes Mains voltage is dangerous. If switching AC mains (110V/220V), ensure all high-voltage wiring is properly insulated and enclosed. Never touch exposed terminals when the circuit is energized. If you are not experienced with mains wiring, consult a qualified electrician. Do not exceed the relay's rated current. For continuous loads, derate to 7โ8A to extend relay life and reduce heat buildup. Inductive loads (motors, solenoids, transformers) generate voltage spikes when switched. Add a flyback diode (DC loads) or snubber circuit (AC loads) across the load to protect the relay contacts. Relay activates on power-up? GPIO pins may float LOW during microcontroller boot. Add a 10 kฮฉ pull-up resistor from each input pin to VCC, and in your code, set the pin HIGH before configuring it as an output. This module is not UL/CE certified for permanent mains installations. It is intended for prototyping, hobby, and educational use. ๐ Documentation & Resources ๐ 2-Channel 5V Relay Module User Guide โ complete setup guide with wiring diagrams, JD-VCC jumper explanation, sample code, and troubleshooting ๐ย All Power & Switching Component User Guides
Have a question about this?
We currently ship within the US, with more countries coming soon.
Final cost and dates are confirmed at checkout.
๐บ๐ธ Ship from USA ยท On Agora since 2026
$2.89