
Login or create an account
CloseReturning Customer
I am a returning customer
Login or create an account
CloseRegister Account
If you already have an account with us, please login at the login form.
Your Account Has Been Created!
Thank you for registering with TechMaze!
You will be notified by e-mail once your account has been activated by the store owner.
If you have ANY questions about the operation of this online shop, please contact the store owner.
Account Logout
You have been logged off your account. It is now safe to leave the computer.
Your shopping cart has been saved, the items inside it will be restored whenever you log back into your account.
Tags: 2, channel, 5v, relay, module, board, with, optocoupler, for, arduino, raspberry, pi
Relay 2 Channel Module Board 5V with Optocoupler
15.00 AED
19.00 AED
- Be able to control various appliances, and other equipment with large current
- Can be controlled directly by microcontroller (Arduino UNO, MEGA, PRO, 8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic)
- 5V 2-Channel Relay interface board, each relay needs 50 - 60 mA Driver Current
- Equipped with high-current relays, AC250V 10A ; DC30V 10A
- Indication LED’s for Relay output status
Arduino code and Video for Dual Channel 5V Relay
This is the Arduino code for Dual Channel 5V Relay
This video shows you how to use control or connect 2 AC or DC load using Arduino and relay.
/*
* This is the Arduino code for Dual Channel 5V Relay
* to control turn ON or OFF AC or DC load. You can control 2 differen loads such as bulbs, or heater or other machine
* Watch the video https://youtu.be/EclIomn_3dI
* *
* Written by Ahmad Nejrabi for Robojax Video
* Date: Dec 26, 2017, in Ajax, Ontario, Canada
* Permission granted to share this code given that this
* note is kept with the code.
* Disclaimer: this code is "AS IS" and for educational purpose only.
*
*/
void setup() {
Serial.begin(9600);// setup Serial Monitor to display information
pinMode(7, OUTPUT);// connected to Relay 1
pinMode(8, OUTPUT);// connected to Relay 2
}
void loop() {
digitalWrite(8, LOW); // turn relay 2 OFF
Serial.print("Pin 8 LOW");
digitalWrite(7,HIGH);// turn relay 1 ON
Serial.println(" Pin 7 HIGH");
delay(3000);// keep in relay 2 OFF and relay 1 On for 3 seconds
digitalWrite(7, LOW);// turn relay 1 OFF
digitalWrite(8,HIGH);// turn relay 2 ON
Serial.print("Pin 7 LOW");
Serial.println(" Pin 8 HIGH");
delay(3000);// keep in relay 1 OFF and relay 2 On for 3 seconds
}
- Supports all MCU control
- PLC control
- Smart home control