16-Channel DC 5V / 12V Relay Module with Optocoupler

  • RM55.00

  • Product Code: 16 Relay Module Board
  • Availability: In Stock

  1. This 8-channel Relay Module can be used to control the lighting, electrical and other larger current equipment through the digital IO port.
    The digital input circuit is optically isolated from the relay, so your controller is protected from voltage spikes and surges.
    The driving capacity is much greater than micro-controller.
  2. For 5V relay module, the relay can share the same power supply with micro-controller, no additional power supply is needed.
  3. For a 12V relay, connect to external 12V power supply, set the relay to high trigger, then connect to micro-controller IO ports.
    (Note: some micro-controller IO port‘s driving capability is weak. Issue can be solved by adding a pull-up resistor. For example, adding 10k resistor to the I/O port of 89C52 will enhance its driving capability).
    As long as the connection is right, all 5V/12V relays can be directly driven by the micro-controllers.

Remarks: If the relay is connected to external power supply (5v / 12V) and driven by a micro-controller, the grounds must be connected.



  • Good in safety. In power system and high voltage system, the lower current can control the higher one, able to control various appliances and other equipment with high-current current.
  • Standard interface that can be controlled directly by microcontroller (Arduino, 8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic).
  • Indication LEDs for Relay output status.
  • With a normally-open (NO) and a normally-close (NC) contact.


  • Number of Relays: 16
  • Control signal: TTL level
  • Rated load: 7A/250VAC; 10A/125VAC; 10A/28VDC;
  • Contact action time: 10ms/5ms
  • Current: 15-20mA per channel
  • Dimension: 133mm (L) * 55mm (W) * 19mm (H)


Below is an example for 4-channel relay board:

Pin definition


  • COM - Common pin: This is source pin, that starts connected to NC, and connects to NO when you apply 0v / GND (active low)
  • NC (Normally Closed): in which case NC is connected with COM when INT1 is set low and disconnected when INT1 is high;
  • NO (Normally Open): in which case NO is disconnected with COM1 when INT1 is set low and connected when INT1 is high.
  • INT 1- Relay 1 control port: changes from the COM–>NO to the COM–>NC when you apply 0v / GND (active low)
  • INT 2- Relay 2 control port: changes from the COM à NO to the COM à NC when you apply 0v / GND (active low)


Above: Example of connecting power and lights to a relays COM and NO connectors.  


The Sketch

Enter the following sketch, upload it and go to town.
If you open your Arduino serial monitor you will be able to see the progress.

// Basic 4 Realy board connection
// Each relay is turned on for 2 seconds and then off.
// You can here them click as there state changes from off to on and on to off.
// You will also see the corresponding Red LED on the 4 Relay board light up when the relay is on.
// Define names for the 4 Digital pins On the Arduino 7,8,9,10
// These data pins link to 4 Relay board pins IN1, IN2, IN3, IN4

#define RELAY1  6                        
#define RELAY2  7                        
#define RELAY3  8                        
#define RELAY4  9

void setup(){    
// Initialise the Arduino data pins for OUTPUT
  pinMode(RELAY1, OUTPUT);       
  pinMode(RELAY2, OUTPUT);
  pinMode(RELAY3, OUTPUT);
  pinMode(RELAY4, OUTPUT);

void loop(){
   digitalWrite(RELAY1,LOW);           // Turns ON Relays 1
   delay(2000);                                      // Wait 2 seconds
   digitalWrite(RELAY1,HIGH);          // Turns Relay Off

   digitalWrite(RELAY2,LOW);           // Turns ON Relays 2
   delay(2000);                                      // Wait 2 seconds
   digitalWrite(RELAY2,HIGH);          // Turns Relay Off

   digitalWrite(RELAY3,LOW);           // Turns ON Relays 3
   delay(2000);                                      // Wait 2 seconds
   digitalWrite(RELAY3,HIGH);          // Turns Relay Off

   digitalWrite(RELAY4,LOW);           // Turns ON Relays 4
   delay(2000);                                      // Wait 2 seconds
   digitalWrite(RELAY4,HIGH);          // Turns Relay Off        


Write a review

Note: HTML is not translated!
    Bad           Good


Related Products

Tags: Relay