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 Mar 19 2018, 07:33 PM
sorry bedo.. maybe next time
Sun Mar 18 2018, 07:48 AM
Mourya Manojkumar
Please send me circuit diagram and PCB diagram
Thu Mar 01 2018, 05:49 AM
May you please help me with a code for programmable load shedding controlling 4 loads
Sun Feb 25 2018, 08:29 PM
i need of it
Sat Feb 24 2018, 03:35 AM
I want help for digital ic tester
Tue Feb 20 2018, 04:01 PM
Join up.. and post your problem
Mon Feb 19 2018, 11:17 AM
i needs help for my project
Mon Feb 19 2018, 11:16 AM
can i join you guys
Sun Feb 04 2018, 09:38 PM
Hi Dave. Good to see you.
Tue Jan 09 2018, 07:55 PM
It's been a few years since I poked around here - Hi all...



Tue Mar 20 2018, 09:51 AM
Mon Mar 19 2018, 07:48 AM
Fri Mar 16 2018, 10:12 AM
Tue Mar 13 2018, 02:21 PM
Sat Mar 10 2018, 12:09 PM
Fri Mar 09 2018, 06:00 AM
Thu Mar 08 2018, 07:56 AM
Thu Mar 08 2018, 02:57 AM


Guests: 75, Members: 0 ...

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

Members: 37987
Newest member: LAMBO
Forum Activity
bedo123 Avatar
Posted By bedo123
Mon Mar 19 2018, 07:51 AM
guys right now I m in a lab, is there anyone to he...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Mar 17 2018, 09:26 PM
Khadka_Bishal Avatar
Posted By Khadka_Bishal
Fri Mar 16 2018, 11:34 AM
I want to have a delay of 15 microsecond in 8051 u...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Mar 14 2018, 10:46 PM
Thanks a lot for all your help. It's really hard ...
kks Avatar
Posted By kks
Mon Mar 12 2018, 06:54 PM
As i said, it just needed it's own resistor. It's ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Mar 12 2018, 05:07 AM
It isn't faulty, but very dim. I tried it both way...
kks Avatar
Posted By kks
Mon Mar 12 2018, 01:11 AM
It isn't faulty, but very dim. I tried it both way...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Mar 11 2018, 10:47 PM>...
kks Avatar
Posted By kks
Sun Mar 11 2018, 08:10 PM
It's Society car access system, where only the car...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Mar 11 2018, 07:53 PM
>As for the door locking again, you just have to s...