Automatic Electricity Switching System

My this circuit is going to detect the number of persons entering in the room, it’ll turn on the lights as soon as first person enters, will count how many people enter & how many leave, if the room becomes empty, it’ll turn of the lights itself 🙂

For the project I’ve used two light detecting resistors (LDRs) & two laser lights, if a barrier in laser light one is detected the laser light two goes un-noticed, arduino comes to know that someone is entering in the room, but if the laser light 2 (interference in 2nd LDR) is detected first then the first ldr becomes deactivated for a moment so that the person can pass & arduino comes to know that the person is leaving, this is how it’s going to differentiate in the entry of someone & exist of someone.

Leave a comment