12 | | Connect the IN1 and IN2 of relay to digital pin 3,4 of Arduino board. |
13 | | Connect VCC to +5V of the Arduino board. GND to GND. |
14 | | I Used a dual relay module. But the code can easily be adapted to handle more or less relays by modifying RELAY_1 (which digital input first relay is connected to) and NUMBER_OF_RELAYS defines at the top of the sketch code. |
| 12 | Connect the IN1 and IN2 of relay to digital pin 3,4 of Arduino board.\\ |
| 13 | Connect VCC to +5V of the Arduino board. GND to GND.\\ |
| 14 | |
| 15 | I used a dual relay module. But the code can easily be adapted to handle more or less relays by modifying RELAY_1 (which digital input first relay is connected to) and NUMBER_OF_RELAYS defines at the top of the sketch code. |