Basic Level     Skills: Not specified    
Author email
[email protected]


Automatic Room light Controller with Visitor Counter

Project not tested

This Project "Automatic Room Light Controller with Visitor Counter using Microcontroller" is a reliable circuit that takes over the task of controlling the room lights as well us counting number of persons/visitors in the room very accurately. When somebody enters into the room then the counter is incremented by one and the light in the room will be switched ON and when any one leaves the room then the counter is decremented by one. The light will be only switched OFF until all the persons in the room go out. The total number of persons inside the room is also displayed on the seven segment displays.

The microcontroller does the above job. It receives the signals from the sensors, and this signal is operated under the control of software which is stored in ROM. Microcontroller continuously monitor the IR Sensors, When any object pass through the 555 timer generates a pulse and interrupt controller. So visitors in the room are counted up by Sensor1 and Sensor2 counts visitors going out of room. As soon as visitor count reaches 0 the room light turns off.

We already had this project in our download section but Anudeep (bobdxcool) had made it working. Thank you so much for sharing this project back.

Here is a working video of project shared by Anudeep:


73.39 kB





29 Aug 2014: 15:18 PM
ahmm what software should i use to program the microcontroller ? i am very glad if you will help me with this project .. thank you very much
30 Aug 2014: 16:17 PM
You will need a programmer hardware, If your controller software support ISP then you can use simple ISP programmer which has little hardware. If you need more help I would suggest posting in fourm.
22 Nov 2014: 15:34 PM
Its urgent plzz reply Asap!
I hv implemented this project using the same schematic and hex file from the zipped folder,'ROOM' : room.hex bt its not wrkng properly!
the seven segment isnt displayng the count 00 even in the start! and nthng is happening after passing obstruction thru the sensors :/
plzz hlp!!
need a working assembly lang code for keil!
and also a hex file t wd wrk !
hvto sbmt in 2 days
26 Nov 2014: 04:53 AM

hvto sbmt in 2 days


You have to start your project well in time. Debugging hardware always need time. Please post in forum for help. This is not the right place.
01 Jan 2015: 16:56 PM
I need an arduino program for automatic room light on off controller with counter.
Would you please provide me ?
07 Jan 2015: 19:29 PM
Hello sir,
I am trying to implement this project but j'm having some trouble with the code, is there any way i can contact you to ask some questions?
09 Jan 2015: 05:06 AM
@sandykura Feel free to post your questions and doubts in our forum Or you can simply click on "post a question" button.
15 Apr 2015: 18:31 PM
i need source code of IC AT89s52.please provide me
17 Apr 2015: 12:51 PM
@jaysukh, Please download it using the green color download file button.
19 Jun 2015: 05:29 AM
sir i need the coding of room light control using visitor's's for my traning project
23 Jun 2015: 13:30 PM
@somia, Project is free to download...
26 Aug 2015: 14:13 PM
I need help in making a 8051 project. Can anyone help.
27 Aug 2015: 07:38 AM
@Divyansh, post in forum please
31 Oct 2015: 13:39 PM
i made the project, but after something cuts through ir led and sensor,the input at P1.0 or P1.1 in microcontroller takes about 4-5 sec to go back to 0.

31 Oct 2015: 13:41 PM
and what can be the maximum distance between ir led and tsop sensor
nirmal kumar
04 Jan 2016: 05:15 AM
What if there r 3 fan , 3 lights in a room and i need only light and a fan tp be turned on! Will the project fail there?
04 Apr 2016: 14:34 PM
Can anyone explain the hex2bcd subroutine used in this program... Its urgent....
23 May 2016: 17:33 PM
sir i was downloaded the file in that file i didn't get the source code . program? ,.i need program
Ahmed seid
07 Nov 2016: 07:23 AM
I need an arduino program for automatic room light on off controller with counter.
Would you please provide me ?
(Required; Min length 5)
(Required; will not be displayed)


Mon May 10 2021, 04:32 AM
This is a topic that is close to my heart... Cheers! Exactly where are your contact details though? online casino real money



Thu Jun 25 2020, 03:46 PM
Mon Jun 22 2020, 03:03 PM
Tue Jun 16 2020, 05:10 PM
Sat Jun 13 2020, 09:43 PM
Thu May 21 2020, 12:44 PM
Thu May 21 2020, 01:28 AM
Wed May 20 2020, 07:05 PM
Wed May 20 2020, 11:52 AM


Guests: 61, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123