How To Make a 5V Relay Module At Home and Check using Arduino
One of the most useful things you can do with an Arduino is control higher voltage (120-240V) devices like fans, lights, heaters, and other household appliances. Since the Arduino operates at 5V it can’t control these higher voltage devices directly, but you can use a 5V relay to switch the 120-240V current and use the Arduino to control the relay.
Pin details
The relay module consists of six pins as a normally open pin, normally closed, common, signal, Vcc, and ground pins.
Signal Pin: It is used to control the relay. This pin can be active low or active high. In case of active low, the relay will activate when we apply an active low signal to the signal pin. On the contrary, in the case of an active high, the relay will activate when we apply an active high signal to the signal pin. But usually, these modules work on an active high signal. This signal will energize the relay coil to make contact with the common terminal with the normally open terminal.
Vcc Pin: As its name suggests, it is a 5V relay. That means it requires 5V DC to operate. Hence, connect the 5v DC power supply to this pin.
Ground Pin: Connect it with the ground terminal of the 5V power supply. Furthermore, if you are driving a relay module with a microcontroller, also connect this pin with the ground terminal of the microcontroller.
Common Pin: This terminal is connected with the load that we want to switch with the relay module.
NO Pin: This pin is normally open unless we apply an activation signal to the signal pin of the 5V single channel relay module. In this case, the COM pin breaks its connection with the NC pin and makes a connection with the NO pin.
3. 330ohms resistor.
5. Screw terminals(2pols, 2 )
6. LED(any colors, I used Blue here)
7. if using general-purpose PCB
8.Arduino Uno
Applications
- Home Automation Projects
- Switching an AC voltage load from low voltage DC current
- Electrical isolation between low and high power sources
Download a code
Comments
Post a Comment