Introduction
This single relay module can be used in interactive projects. It is active HIGH level. This module uses SONGLE 5v high-quality relay.
It can also be used to control lighting, electrical and other equipment.
The modular design makes it easy to expand with the Arduino board (not included). The relay output is by a light-emitting diode. It can be controlled through digital IO port, such as solenoid valves, lamps, motors and other high current or high voltage devices.
Specification
- l Type: Digital
- l Rated current: 10A (NO) 5A (NC)
- l Maximum switching voltage: 150VAC 24VDC
- l Digital interface
- l Control signal: TTL level
- l Rated load: 8A 150VAC (NO) 10A 24VDC (NO), 5A 250VAC (NO/NC) 5A 24VDC (NO/NC)
- l Maximum switching power: AC1200VA DC240W (NO) AC625VA DC120W (NC)
- l Contact action time: 10ms
Connection Diagram
Firstly you need to prepare the following parts by yourself before testing.
- l Arduino Board*1
- l Single relay module*1
- l USB Cable*1
- l Jumper Wire*3
Sample Code
Copy and paste the code below to Arduino software.
*************************************************************
int Relay = 8;
void setup()
{
pinMode(Relay, OUTPUT); //Set Pin3 as output
}
void loop()
{
digitalWrite(Relay, HIGH); //Turn off relay
delay(2000);
digitalWrite(Relay, LOW); //Turn on relay
delay(2000);
}
*************************************************************
Test Result
This relay module is active HIGH level.
Wire it up well, powered up, then upload the above code to the board.
You will see the relay is turned on {ON connected, NC disconnected} for two seconds, then turned off for two seconds {NC closed, ON disconnected}, repeatedly and circularly.