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


Tue Oct 06 2015, 08:22 AM
HI you looking for ideas or you have solution
Fri Oct 02 2015, 03:39 PM
poojitha: projects on wireless communication between two microcontrollers
Thu Oct 01 2015, 04:38 PM
hey! i wanted to simulate my circit using proteus. i have a sugar cube relay in my circuit....but i dont know which one is that in the device libraries of the software. any help? thankyou.
Tue Sep 29 2015, 09:40 PM
@Michal, that rocket is too heavy for itself and trust is not enough unless afterburners are fed with fuel properly.
Sat Sep 26 2015, 08:19 PM
Hello, its possible to make a amateur rocket with this engine, or something simillar, which be able to flight?
Thu Sep 24 2015, 10:38 AM
Ir Switch sir.
Wed Sep 23 2015, 01:10 AM
@engr1931 which project ?
Tue Sep 22 2015, 11:57 AM
Hello sir, is it ok to use 12.000MHz oscillator in IRswitch, because the requirement written in the post is 11.059MHz. And i use PIC1018 as an Ir receiver
Mon Sep 21 2015, 04:15 PM
Hello sir, your blog is kind of helpful for us especially students. May I know do you have the coding for decimal to binary using proteus 8. My mini project is about to convert decimal to binary just like a calculator. The output is LCD. A bit confusing is the decimal to binary coding on proteus 8. pls help thanks.
Sun Sep 20 2015, 09:08 PM
Have you searched our Embedded GSM Development and GSM and CDMA Discussion forums ?



Tue Oct 06 2015, 01:02 PM
Fri Oct 02 2015, 03:28 PM
Sat Sep 26 2015, 01:26 AM
Fri Sep 25 2015, 10:57 AM
Wed Sep 23 2015, 08:13 PM
Wed Sep 16 2015, 04:55 AM
Mon Sep 14 2015, 03:06 PM
Fri Sep 11 2015, 06:03 AM


Guests: 39, Members: 0 ...

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

Members: 37698
Newest member: praveenraoms
Forum Activity
praveenraoms Avatar
Posted By praveenraoms
Tue Oct 06 2015, 01:06 PM
hi i want to know the code to access the geographi...
sachinmm Avatar
Posted By sachinmm
Wed Sep 30 2015, 08:54 AM
how to used polling method in this?? my code is co...
ajay_bhargav Avatar
Posted By ajay_bhargav
Tue Sep 29 2015, 09:39 PM
__irq is just compiler directive to wrap IRQ routi...
ajay_bhargav Avatar
Posted By ajay_bhargav
Tue Sep 29 2015, 09:36 PM
The comment does say the time values as per the th...
ajay_bhargav Avatar
Posted By ajay_bhargav
Tue Sep 29 2015, 09:33 PM
are you testing this on Proteus? or MplabX simulat...
ajay_bhargav Avatar
Posted By ajay_bhargav
Tue Sep 29 2015, 09:31 PM
[Topic moved to ARM Development Forum]
ajay_bhargav Avatar
Posted By ajay_bhargav
Tue Sep 29 2015, 09:29 PM
start with reading datasheet. SPI interface on LPC...
ajay_bhargav Avatar
Posted By ajay_bhargav
Tue Sep 29 2015, 09:27 PM
I am not sure you've solved it or not but "USARTRe...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Sep 29 2015, 06:31 PM
i am confused in "__irq" it is uesd??sachin...
sachinmm Avatar
Posted By sachinmm
Tue Sep 29 2015, 11:11 AM
my I2C.c file=>>/*********************************...