DIYmall One Channel Relay Module for Arduino

What you need:
1PCS Arduino UNO
1PCS  Relay Module
3PCS Female to Male Dupont Cable

Connection:
Relay Module             Arduino UNO
S                                          D8
+                                          5V
–                                           GND

 

Code:

 

void setup(){
pinMode(8, OUTPUT);

}
void loop(){
digitalWrite(8,LOW);
delay(2000);
digitalWrite(8,HIGH);
delay(2000);

}

Result:  
The red LED on relay will turn on and turn off automatically

Where to buy:
Amazon Link:
https://www.amazon.com/dp/B08R8TMT73

Website Link:

Alibaba Link:

Aliexpress Link:

eBay Link:

Any question please email sales@diymalls.com

Leave a Reply

Your email address will not be published. Required fields are marked *