This circuit is a motion switch that can run 110/220v AC lamp up to 10A. the circuit based on PIR motion sensor module HC-SR501, however you can use any other type but must pays attention to pin configuration(Vout in some modules is the first pin).
motion sensor module is very cheap, i bought it from Aliexpress by only 0.96$ with free shipping.
When you buy a PIR motion module usually it not contain LDR so if you want use it for running the lamp by motion just in dark so you have to add the LDR to that, that is very easy as you can see in the picture there are LDR interface under PIR plastic cover.
After making the circuit put it in a plastic box such as ceiling fan regulator box for electrical insulation.
Parts list:
PIR motion sensor HC-SR501
Transistor 2N2222
12v relay
Diode 1N4007
Zener diode 12v 1W
Diode bridge 1A
Capacitor 220uF 25v
Capacitor 330nF 400v
motion sensor module is very cheap, i bought it from Aliexpress by only 0.96$ with free shipping.
When you buy a PIR motion module usually it not contain LDR so if you want use it for running the lamp by motion just in dark so you have to add the LDR to that, that is very easy as you can see in the picture there are LDR interface under PIR plastic cover.
After making the circuit put it in a plastic box such as ceiling fan regulator box for electrical insulation.
Parts list:
PIR motion sensor HC-SR501
Transistor 2N2222
12v relay
Diode 1N4007
Zener diode 12v 1W
Diode bridge 1A
Capacitor 220uF 25v
Capacitor 330nF 400v
Resistor 1k
Resistor 270 ohm 2W
NOTES:
1-Don't touch the circuit when it connected to electric line.
2-Even after plugging out the circuit, it contain some electric power in the capacitor that can give you electric shock.
Resistor 270 ohm 2W
NOTES:
1-Don't touch the circuit when it connected to electric line.
2-Even after plugging out the circuit, it contain some electric power in the capacitor that can give you electric shock.