
Demo Code Relay Module For Arduino , 5v / 12v 4-Channel Relay Module
Quick details:
1. the module uses genuine quality relay
2. stable performance
3.the module can be high or low by a jumper setting trigger
4.all interfaces are available
Description:
1. the module uses genuine quality relay, normally open interfaces
Maximum load: AC 250V/10A, DC 30V/10A;
2. using SMD optocoupler isolation, driving ability, stable
performance; trigger current 5mA;
3. the module Operating voltage 12V;
4. the module can be high or low by a jumper setting trigger;
5. fault-tolerant design, even if the control line is broken, the
relay will not operate;
6. the power indicator (green), the relay status indicator (red)
7. the interface design of human nature, all interfaces are
available through a direct connection terminal leads, very
convenient
8. module size: 73mm*50mm*17mm (L*W*H)
Specification:
Datasheets | Pls contact us for Datasheet |
Product Photos | As show on title or request for more |
Description: | ic |
Standard Package | 2500 |
Category | Integrated Circuits (ICs) |
Family | Drive Ics |
Type | ICs |
Voltage - Supply | 0 V ~ 48 V |
Operating Temperature | -40°C ~ 150°C |
Mounting Type | Surface Mount |
Package / Case | As descriped on description |
Supplier Device Package | As descriped on description |
Packaging | Tape & Reel |
test code:
int BASE = 2; / / first a relay connected to I / O pins
int NUM = 4; / / the total number of relay
void setup ()
{
for (int i = BASE; i <BASE + NUM; i + +)
{
pinMode (i, OUTPUT); / / set the digital I / O pin as an output
}
}
void loop ()
{
for (int i = BASE; i <BASE + NUM; i + +)
{
digitalWrite (i, LOW); / / set the digital I / O pin output is
"low", that is gradually closed relay
delay (200); / / delay
}
for (int i = BASE; i <BASE + NUM; i + +)
{
digitalWrite (i, HIGH); / / set the digital I / O pin output is
"low", that gradually open relay
delay (200); / / delay
}
}
Competitive Advantage:
1. Convenient & Friendly Customer Service
2. Low Prices Direct From Factory Suppliers
3. Fast Delivery Around the World.
4. High Quality With Global Standards.
5. 1 Year Factory Warranty
6. Safe Shipping Way and Payment
Factory Pictures
Oky Newstar Technology Co., Ltd
Oky Newstar Technology Co., Ltd is subsidiary of Okystar Technology Group Co.,Ltd,which holds 4 subsidiary companies and more than 1500 skilled workers and 50 technicians.
Oky Newstar Tech Co.,Ltd built in 2004.It is one of the professional leading exporters of educational DIY products in Shenzhen, China. After 12 years’ development, our company has grown into a large high-tech group corporation integrating industry, technology and trading. With electronic information industry as our main business, We keep being top 10 in the industry of educational DIY products.
In 2009,We opened a subsidiary in Venezuela. In 2012,We became a member of the “shenzhen chamber of E-Commerce”. We look forward to your support and win-win cooperation.
We have been in the international trade field for more than 11 years. Our clients spread all over the world. We have gained sound reputation from our customers, as they acclaim that our products have top performance against price ratio.