It is an 8-channel relay interface board, which can be controlled directly by a wide range of microcontrollers such as for Arduino, AVR, PIC, ARM, PLC, etc. Be able to control various appliances, and other equipment with large current This relay module is 5V active low.The 8 channel relay module has its own optocoupler also called opto-isolator, photocoupler or optical isolator. Optocoupler is a component that transfers electrical signals between two state of isolation circuits by using light, and prevent high voltage from affecting the system receiving the signal.
It is also able to control various appliances and other equipments with large current.
Relay output maximum contact is AC250V 10A and DC30V 10A.
Standard interface can be directly connected with microcontrollers.
Red working status indicator lights are conducive to the safe use.
Widely used for all MCU control, industrial sector, PLC control, smart home control.
Working voltage: 5V
Channel: 8 channel
In this tutorial we will going to wire the 8 channel Relay Module driven by our own very owned microcontroller, the below illustration illustrate 8 device on external power source triggered by the relay.
This 8 Channel Relay module can adopt most common range of microcontrollers, such as Arduino, Raspberry Pi, AVR, PIC, ARM with digital outputs to control larger loads devices like AC or DC Motors, Electromagnets, Soleniod, Incandescent light bulbs, Actuators and any another devices that you want to drive with in the relay. This relay can handle 7A / 240 VAC, 10A / 125VAC, 10A / 28DV.
- Arduino UNO/MEGA/MINI/NANO
- 8 Channel Relay Module with Optocoupler Isolator
- Devices , you can use any device or appliance as your output.
int Relay1 = 6; //Defined Pin 6 as the Variable
int Relay2 = 7; //Defined Pin 7 as the Variable
int Relay3 = 8; //Defined Pin 8 as the Variable
int Relay4 = 9; //Defined Pin 9 as the Variable
int Relay5 = 10; //Defined Pin 10 as the Variable
int Relay6 = 11; //Defined Pin 11 as the Variable
int Relay7 = 12; //Defined Pin 12 as the Variable
int Relay8 = 13; //Defined Pin 13 as the Variable
pinMode(Relay1, OUTPUT); //Set Pin6 as output
pinMode(Relay2, OUTPUT); //Set Pin7 as output
pinMode(Relay3, OUTPUT); //Set Pin8 as output
pinMode(Relay4, OUTPUT); //Set Pin9 as output
pinMode(Relay5, OUTPUT); //Set Pin10 as output
pinMode(Relay6, OUTPUT); //Set Pin11 as output
pinMode(Relay7, OUTPUT); //Set Pin12 as output
pinMode(Relay8, OUTPUT); //Set Pin13 as output
// Channel 1
digitalWrite(Relay1, HIGH); //Turn off relay
digitalWrite(Relay1, LOW); //Turn on relay
// Channel 2
digitalWrite(Relay2, HIGH); //Turn off relay
digitalWrite(Relay2, LOW); //Turn on relay
// Channel 3
digitalWrite(Relay3, HIGH); //Turn off relay
digitalWrite(Relay3, LOW); //Turn on relay
// Channel 4
digitalWrite(Relay4, HIGH); //Turn off relay
digitalWrite(Relay4, LOW); //Turn on relay
// Channel 5
digitalWrite(Relay5, HIGH); //Turn off relay
digitalWrite(Relay5, LOW); //Turn on relay
// Channel 6
digitalWrite(Relay6, HIGH); //Turn off relay
digitalWrite(Relay6, LOW); //Turn on relay
// Channel 7
digitalWrite(Relay7, HIGH); //Turn off relay
digitalWrite(Relay7, LOW); //Turn on relay
// Channel 8
digitalWrite(Relay8, HIGH); //Turn off relay
digitalWrite(Relay8, LOW); //Turn on relay
Supports all MCU control
Smart home control
Tags: module; relay; power