How to use relay module
A power relay module is an electrical switch that is operated by an electromagnet. The electromagnet is activated by a separate low-power signal from a micro controller. When activated, the electromagnet pulls to either open or close an electrical circuit.
Relay module pinout
Signal Pin : It is used to control the relay. This pin can be active low or active high.
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 5V power supply.
Relay module connect to arduino
Requried components :
Arduino uno: https://m.banggood.com/beelink/fm0CyN
Relay module: https://m.banggood.com/beelink/fv0lQp
Bulb: https://m.banggood.com/beelink/mr0C9w
Bulb Holder
Wire
Watch full tutorial on Youtube
You can use led blinking code in this project.
The relay module is easy to use for the arduino and can do a lot of things using it.
-----------------------------------------------------------------------------
If you think this is important, subscribe to my youtube channel to know more like this.
0 Comments