ismith1984
New Member
ok guys i would like your advice on a certain scenario. my friend and i are trying to desgn a project which uses automated lighting in a hallway and then in a room. here is how we want it to work. first of all we want to use infrared sensors as triggers to let the system k now that someone is either in the hallway or in the room. so when someone enter the hallway from either direction we want the light to come on. also when someone enters to room we want the light to come on and remain on while the person is in the room and go off when they leave the room.
we are having trouble deciding how we should go about doing that. do we try to use digital logic in a system like that ( by this we mean the use of gates and flip flops connected eventually to a relay and then turning on out lights. or is it better to use a microcontroller which would then be connected to an input output module .
if you guys say that the microcontroller is the better choice (which is think is) i am having a problem with when more than one individual enters to room in that i do not know how to keep the ligghts on when either of them leave. if th microcontroller is the method of choice please can someone advise one for a projecdt like this one with possible software for it programming. i know that might be asking for alot but any help would be greatly appreciated.
we are having trouble deciding how we should go about doing that. do we try to use digital logic in a system like that ( by this we mean the use of gates and flip flops connected eventually to a relay and then turning on out lights. or is it better to use a microcontroller which would then be connected to an input output module .
if you guys say that the microcontroller is the better choice (which is think is) i am having a problem with when more than one individual enters to room in that i do not know how to keep the ligghts on when either of them leave. if th microcontroller is the method of choice please can someone advise one for a projecdt like this one with possible software for it programming. i know that might be asking for alot but any help would be greatly appreciated.