Manual

Sample program for Arduino™
In this example, IN1 and IN2 are connected to Arduino™ digital
pins 4 and 5.
int IN1 = 4;
int IN2 = 5;
#dene ON 1
#dene OFF 0
void setup()
{
//initialize the relay
relay_init();
}
void loop()
{
//turn on RELAY_1
relay_SetStatus(ON, OFF);
//delay 2s
delay(2000);
//turn on RELAY_2
relay_SetStatus(OFF, ON);
//delay 2s
delay(2000);
}
//initialize the relay
void relay_init(void)
{
//set all the relays OUTPUT
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
//turn o all the relay
relay_SetStatus(OFF, OFF);
}
//set the status of relays
void relay_SetStatus(unsigned char
status_1, unsigned char status_2)
{
digitalWrite(IN1, status_1);
digitalWrite(IN2, status_2);
}
Disposal
Electronic devices are recyclable waste and must not
be placed in household waste. At the end of its service
life, dispose of the product in accordance with the ap-
plicable regulatory guidelines.
Youthusfullyourstatutoryobligationsandcontribute
to protection of the environment.
Technical data
Operating voltage ................. 5 V/DC
Current consumption (max) .. 640 mA (all relays energized)
GPIO current ........................ 4 mA
Number of relays .................. 8
Relay outputs ........................ Changeover contact
(30 V/DC, 10 A; 250 V/AC, 10 A)
Dimensions (W x H x D) ....... 55 x 17 x 140 mm
Weight .................................. 115 g
This is a publication by Conrad Electronic SE, Klaus-Conrad-Str. 1, D-92240
Hirschau (www.conrad.com).
All rights including translation reserved. Reproduction by any method, e.g. photo-
copy,microlming,orthecaptureinelectronicdataprocessingsystemsrequirethe
prior written approval by the editor. Reprinting, also in part, is prohibited.
Thispublicationreectsthetechnicalstatusatthetimeofprinting.
Copyright 2020 by Conrad Electronic SE.*2268124_V1_0920_02_m_RR_VTP_GB