1.1k
The KY-019 5V relay module
- Songle SRD-05VDC-SL-C Relay
- Relay UL/CUL Rating: 10A @ 125V AC, 28V DC
- Relay CCC/TUV Raiting: 10A @ 250V AC, 30V DC
- Control high-power devices up to 10A with a simple high/low signal
- Provides isolation between the microcontroller and the device being controlled
- Screw terminals for relay connections
- 3-pin servo-style header for power/signal interface
- LED indicator provides visual feedback
- Voltage requirements: 5V DC (Relay Power), 3.3V to 5V DC (Input Signal)
- Current requirements: ~85 mA (Relay Power)
- Communication: Logic High/Low (3.3V to 5V DC)
- Dimensions: 1.57 × 1.06 × 0.71 inches (4.0 × 2.7 × 1.8 cm)
- Operating temperature: -13 to +158 °F (-25 to +70 °C)
Connection
KY-019 | Arduino |
S | Pin 10 |
+ | 5v |
– | GND |
Code
[codesyntax lang=”cpp”]
//KY019 5V relay module int relay = 10; // relay turns trigger signal - active high; void setup () { pinMode (relay, OUTPUT); // Define port attribute is output; } void loop () { digitalWrite (relay, HIGH); // relay conduction; delay (1000); digitalWrite (relay, LOW); // relay switch is turned off; delay (1000); }
[/codesyntax]
Links
37 in 1 box Sensor Kit For Arduino Starters brand in stock