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
(Required; Min length 5)
(Required; will not be displayed)


Mon Nov 23 2015, 06:32 PM
طريقة عمل مشروع dtmf على الماتلاب بالتفصيل
Mon Nov 23 2015, 02:26 PM
Muhammad Naveed kayani
principal of Electrical circuits 8th Edition, by Thomas L. Floyd , Prentice Hall please send me ... ??
Sun Nov 22 2015, 03:20 AM
@Naresh Jain ..hex file for what ?
Thu Nov 19 2015, 04:16 PM
Naresh Jain
can u arrange hex file
Thu Nov 19 2015, 04:14 PM
Naresh Jain
where is PCB file ? there is error.
Thu Nov 19 2015, 02:25 PM
hello all
Thu Nov 19 2015, 03:31 AM
@Bhaveen Lodaya.. can you rejoin as a new user
Wed Nov 18 2015, 03:39 PM
Bhaveen Lodaya
@Ajay... I forgot my username and password as I haven't used this site for a very long time. Please help me reset it. I am not receiving the password reset emails too.
Sun Nov 15 2015, 04:31 AM
@Phil, please check my PM and reply.
Thu Nov 12 2015, 08:50 PM
@Ajay.. PM sent.. just routine stuff



Sat Nov 21 2015, 09:19 PM
Sat Nov 21 2015, 07:05 PM
Mon Nov 16 2015, 11:49 PM
Wed Nov 11 2015, 09:02 PM
Wed Nov 11 2015, 09:20 AM
Tue Nov 10 2015, 11:12 PM
Thu Nov 05 2015, 06:27 PM
Thu Nov 05 2015, 01:03 PM


Guests: 32, Members: 0 ...

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

Members: 37715
Newest member: emreaydogmus06
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Nov 12 2015, 08:58 PM
Your problem may be the mismatch of a 3.7 volt mic...
ajay_bhargav Avatar
Posted By ajay_bhargav
Thu Nov 12 2015, 04:21 PM
Length of tracks or wires depends on drive strengt...
ajay_bhargav Avatar
Posted By ajay_bhargav
Thu Nov 12 2015, 04:13 PM
Sure, we will be interested in discussing your pro...
ajay_bhargav Avatar
Posted By ajay_bhargav
Thu Nov 12 2015, 04:09 PM
For AC devices, power = area under the curve so if...
gauravkothari23 Avatar
Posted By gauravkothari23
Wed Nov 11 2015, 09:10 PM
HI all,I am making a small project in which i am u...
csedwards1965 Avatar
Posted By csedwards1965
Tue Nov 10 2015, 11:20 PM
Hello.I am struggling to get the project lab going...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Nov 06 2015, 01:21 AM
Mains fan motors are generally meant to only run a...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Nov 06 2015, 01:12 AM
The key thing is the length of the interrupt code....
bobster Avatar
Posted By bobster
Thu Nov 05 2015, 06:39 PM
Hi all,I am using an atmel 89c5131 microcontroller...
ajay_bhargav Avatar
Posted By ajay_bhargav
Thu Nov 05 2015, 12:20 PM
8086 is a microprocessor with only a CPU. It does ...