Simple Motion Sensor Light

by Amit_Jain in Workshop > Lighting

12631 Views, 33 Favorites, 0 Comments

Simple Motion Sensor Light

temp_1404125908.jpg

I keep forgetting to switch-off bathroom lights and my wife loves to remind me"you left the lights on again ". So built this simple motion sensor switch that detects that I have done my business and no longer in the room, switches off light. There are many complex circuits out there. I hope I may have simplified them a bit.

And Yes it can be easily bought on Ebay, but I still wanted to do it

What Do You Need ?

temp_1663699763.jpg
temp_852875335.jpg
  1. Universal PCB
  2. PIR Motion Senor ( used with Arduino)
  3. Resister : 1 K Ohms
  4. Old 220V to 6V adaptor ( I used mine from old moto charger)
  5. NPN Transister 2N2222
  6. Connectors
  7. IN7001 diode for low noise
  8. Relay 6V, 5A 220V
  9. Wires
  10. Some kind of Housing

I got my Motion senor from Aliexpress for about a dollar and have used my old Moto mobile charger.

Choose relay to support the load, I wanted to connect 15 Watts CFL ( 600mA, 220V)

CAUTION : There part AC 220V involved. Please seek professional assistance. I am not responsible if some one hurt themselves or hurt others or cause damage of any kind to their homes, following this instructions

Circuit and Sensor

Img0524.jpg
temp_1888540488.jpg
temp_-1558472449.jpg
temp_-1466201803.jpg

The motion senor can take input from 3V to 20 V,. When is senses motion the output pin is set to 3.2V.

Connecting Relay directly to motion sensor is not recommended, So using NPN transistor as switch and 1K resister to prevent current in opposite direction

To avoid spikes / noise, connecting a Diode across Relay.

Build It

temp_-188610790.jpg
temp_1611600838.jpg
temp_1924654012.jpg
temp_1857980131.jpg
temp_1552717137.jpg

I have used old charger and tied the AC and DC cables separately. This helps in identifying AC / DC parts of the circuit

I used Connectors for AC input and AC output for easly installation

Connecting Motion sensor needs to be flexible so made a 3 pin connector

Assembly

temp_-1163940614.jpg
temp_73433777.jpg
temp_-1302831142.jpg
temp_115849495.jpg
temp_-1253978755.jpg

In my first attempt, I used old Laptop charger housing, but was not able to fit in. So had to borrow one of the cold cream boxes, It had excess space. Works good

In future I want fit it is small boxes.....

Test It

temp_595256938.jpg
Motion Sensor

Simply connect a Bulb socket and AC plug to it and test it

In the video, timer is set to few seconds and can be adjusted