I am trying to setup my first relay module with live environment. I have attached the relay module image below.
Which I am using to control 4 devices in my switch board as follows:
- Fan (working fine),
- 6w celling LED panel (2 connected in series) (Working fine)
- 15w celling LED panel (2 connected in series) (Sometimes work sometimes don't)
- Spotlights 3 lights in series and some LED strips connected to it (Sometimes works sometimes don't.).
I have cut one wire which is connected to main normal mechanical switch WHICH IS NOT A HOT WIRE its just the another wire connected to the button.
But I am not sure why its not working? Do I need to connect neutral to the another end of the relay. As I have only 2 wires connected to the relay for each of the switches. Here is a screenshot of specifications 15watt LED panel which is connected to my house, if this can help to understand better.
If I connect Neutral on the first pin of relay and when I close the relay switch, do the current will go into the neutral wire as well?
If I keep my 3w spotlights ON or more then 3-4 hours and try to close the relay on connected to it. The relay LED light for that connected relay goes OFF but the light don't. Seems like the mechanical relay is not getting enough power to move the mechanical relay off.
I want to know why this is happening? And how can I solve this issue? Attaching a neutral (earth) wire will help to reduce this? But if connect neutral to first (off side of relay) pin, then will get the current?
Any suggestions will be helpful. Also I added 3.3v from NodeMCU to VCC (instead of jumper) pin. But that is also not helpful.
Vin
pin will be 5V