Ks0059 keyestudio 8-channel 5V Relay Module: Difference between revisions
Jump to navigation
Jump to search
Keyestudio (talk | contribs) No edit summary |
Keyestudio (talk | contribs) No edit summary |
||
Line 53: | Line 53: | ||
</pre> | </pre> | ||
== | |||
==Resources == | |||
'''Video''' | |||
http://www.keyestudio.com/wp/2016/05/ks0059-keyestudio-8-channel-relay-module/ | http://www.keyestudio.com/wp/2016/05/ks0059-keyestudio-8-channel-relay-module/ | ||
'''Datasheet''' | |||
http://www.keyestudio.com/files/index/download/id/1463714412/ | |||
==Buy from == | |||
http://www.keyestudio.com/keyestudio-eight-road-relay-module-for-arduino.html | |||
[[category:Module]] | [[category:Module]] |
Revision as of 14:54, 14 February 2017
Arduino 8-channel 5V Relay Module
Introduction
Arduino Relay Shield employs high quality relay with eight channels input and eight channels output. It can be connected to 250V/10A AC element or 24V/10A DC element to the maximum, therefore, it can be used to control lights, motors and etc.
The modularized design makes it easy to connect to Arduino expansion board. The output state of the relay is shown by a luminous diode for the convenience of actual application.
Specification
- Control signal: TTL voltage
- Rated load:
10A 250VAC 10A 125VAC 10A 30DC 10A 28VDC
- Rated Through-current: 10A(NO) 5A(NC)
- Max Switching Voltage: 250VAC 30VDC
- Contact actuation time: ﹤10ms
- Definition of module pins:
i) Pin 1 -Pin 8----Controlling end ii) Power supply (VCC) iii) Ground (GND)
Connection Diagram
Sample Code
int BASE = 2 ; // I/O pin connected by the first relay int NUM = 8; //total number of all relays void setup() { for (int i = BASE; i < BASE + NUM; i ++) { pinMode(i, OUTPUT); //set digital I/O pin as output } } void loop() { for (int i = BASE; i < BASE + NUM; i ++) { digitalWrite(i, LOW); //set digital I/O pin as ‘low’, i.e. turning off the relay gradually delay(200); //delay } for (int i = BASE; i < BASE + NUM; i ++) { digitalWrite(i, HIGH); // set digital I/O pin as ‘low’, i.e. turning on the relay gradually delay(200); //delay } }
Resources
Video
http://www.keyestudio.com/wp/2016/05/ks0059-keyestudio-8-channel-relay-module/
Datasheet
http://www.keyestudio.com/files/index/download/id/1463714412/
Buy from
http://www.keyestudio.com/keyestudio-eight-road-relay-module-for-arduino.html