KY-019 5V Relay Module

12.00

The 5V Relay Module is used to control AC circuits, the relay acts as a switch that responds to a signal received from the Arduino, it has an integrated LED that indicates if the signal is high or low.

متوفر في المخزون (يمكن الحجز بالطلب المسبق)

Spread the love

الوصف

The 5V Relay Module is used to control AC circuits, the relay acts as a switch that responds to a signal received from the Arduino, it has an integrated LED that indicates if the signal is high or low.

Commonly used in IoT projects to control lights and other electronic appliances, compatible with Arduino, Raspberry Pi, ESP32 and other microcontrollers

Specifications

The 5V Relay consist of a 1MΩ resistor, a LED, a 1N4007 rectifier diode and a 5VDC relay capable of handling up to 250VAC and 10A.

On the DC side of the board there are 3 male header pins for signal, power and ground. On the AC side there are 3 contacts, NC (Normally Closed),  Common and NO (Normally Open).

Connection Diagram

For the DC part of the circuit connect S (signal) to pin 10 on the Arduino, also connect the Power line (+) and ground (-) to +5 and GND respectively.

On the AC side connect your feed to Common (middle contact) and use NC or NO according to your needs.

NO (Normally Open) will get power when (S) is high, NC (Normally Closed) gets disconnected when (S) is high.

Always be very careful when experimenting with AC, electrical shock can result in serious injures.

5V Relay Arduino AC Device
S Pin 10
+ +5V
GND
NC
Common Feed In
NO Feed Out
Arduino KY-019 5V relay connection diagram

Arduino Code

The following Arduino sketch will turn the relay on/off every second. We’ll connect a desk lamp to the relay using the NO (Normally Open) connection so the lamp is off when the relay is off. Running the sketch will cause the lamp to light up intermittently.

int relay = 10;  //Pin 10
void setup() 
{   
	pinMode(relay,OUTPUT);  	// Define the port attribute as output 
} 
void loop() 
{   
	digitalWrite(relay,HIGH);  	// turn the relay ON
								// [NO] is connected to feed
								// [NC] is not connected to feed
	delay(1000);  				
	digitalWrite(relay,LOW);  	// turn the relay OFF
								// [NO] is not connected to feed
								// [NC] is connected to feed
	delay(1000); 
} 

معلومات إضافية

TTL Control Signal:

5VDC to 12VDC (some boards may work with 3.3)

Maximum AC:

10A 250VAC

Maximum DC:

10A 30VDC

Contact Type:

NC and NO

Board Dimensions:

27mm x 34mm [1.063in x 1.338in]

Downloads:

https://arduinomodules.info/download/ky-019-5v-relay-module-zip-file/

Datasheet:

http://www.songle-relay.com/admin/uppic/200711239462347274.pdf