Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: karmax on February 20, 2010, 11:24:55 AM

Title: automatic light control
Post by: karmax on February 20, 2010, 11:24:55 AM
hi ,
   i want to make automatic light control system .i want to make a system which itself know when i out from my room and its switch off all the lights of room.Any idea which sensor should we use. please help me .
Title: Re: automatic light control
Post by: hopslink on February 20, 2010, 11:33:54 AM
Have a look at passive infra-red (PIR) sensors. Those are the types typically used on burglar alarms and automatic lights to detect the presence of a moving heat source (human).
Title: Re: automatic light control
Post by: cooldog on February 20, 2010, 03:44:11 PM
just wire ur lights parallel to a motion sensor
Title: Re: automatic light control
Post by: Pratheek on February 20, 2010, 10:57:24 PM
You could use a sonar or a long range infrared sensor placed near the entrance of the room to detect anyone entering or leaving the room.
Title: Re: automatic light control
Post by: karmax on February 21, 2010, 07:12:48 AM
just wire ur lights parallel to a motion sensor
thanks for reply .but its not necessary that nothing is in motion inside room may be due to wind something vibrates.and when we are resting then we are also not in motion then also its switch off all lights.but i dont want.i want a system which can detect human presence
Title: Re: automatic light control
Post by: karmax on February 21, 2010, 07:15:00 AM
You could use a sonar or a long range infrared sensor placed near the entrance of the room to detect anyone entering or leaving the room.
thanks for reply .but how may i know tht  person entered or exit.
Title: Re: automatic light control
Post by: Soeren on February 21, 2010, 07:58:04 AM
Hi,

A dual receiver IR system (receivers mounted about 5cm to 10 cm apart) near the entrance/exit.
An up/down counter where one receiver controls the clock input and the other the direction. When the first person enters the room, the count goes from 0 to 1, next person 2 etc. (it count persons entering and exiting).
When the counter output is zero, the light is off, any other number will hold the light on.
In case of loose limbs resulting in miscounts, either use a reset button or count up/down with a hand to equalize.