I am new to Arduino, I am trying to use PIR sensor and relay to switch the light bulb ON when the motion is detected by PIR.
The problem is the PIR, relay and the light bulb works fine when controlled with Arduino (UNO) program i.e. the bulb switch ON and OFF wrt the movement. However, when I am not using Arduino program and connecting the Output of PIR to input of Relay directly, it always keeps the bulb ON, that means the output of PIR is always HIGH and that keeps relay to LOW.
I have connected both the devices with Arduino for power supply i.e. 5v and GND through breadboard. My connections are shown in attached.
Can anybody advise?