Tuesday, July 24, 2012

Automatic Room Light Controller With Single Door Bi-Directional Visitor Counter

Automatic Room Light Controller with Single Door Bidirectional Visitor Counter is a reliable circuit that takes over the task of counting number of persons/ visitors in the room passing through a single door and also turns ON the room light when there is at-least one person in the room and turns OFF when the room is empty. The total number of persons inside the room is displayed on seven segment display. We can use any other appliance like fan or anything else instead of the light.
Watch this video to get an overview of this circuit.




The light in the video above is just a prototype. The circuit operates a relay which acts as a switch. Using that you can operate any appliance.
Here is the block diagram of the circuit:












This project is not limited to a specific application or a specific operating environment, but it can be easily implemented wherever such an application is needed. This circuit uses a microcontroller which ensures the flexibility of the circuit, due to which this circuit can easily be integrated or assembled with other modules or circuits where ever required. All the components required are readily available in the market and the circuit is easy to build. The significant feature of this project is that it detects the entry and exit of visitors from a single door itself.

The aim of this project is to count the objects (persons) entering and leaving the room and also switch the room light accordingly. If we consider an office or a conference hall or any other room, we need to turn on the lights whenever anybody enters the room. This is true even in the day time at some places like conference halls or offices where a good brightness levels are desired. Also, the lights should be turned off by the last person leaving the room. The problem is, when the first person is entering a room, he should search for switch board and then for the right set of switches among hundreds of switches corresponding to lights fans, etc of the conference hall. This is a daunting task. While leaving the hall, we cannot guarantee that the last person turns off the lights. Even if he attempts to do it, he again faces the problem the first person had faced. We should not expect them to do that work going through the switching rigmaroles.
To avoid this problem, we have made a circuit which automatically switches ON/OFF the room light depending on the number of people in the room. This circuit keeps track of number of visitors. If the number of visitors is greater than zero, then it turns ON all the lights. Else, it turns OFF all the lights automatically. It does not require any manual intervention.
You can do this project and install this kit at your home and enjoy! You can also do this as either your college project (mini project or major project) or as a hobby project.
If you want to get this project along with all the related documents, presentation (ppt), schematic and code, you can contact me by clicking here.

Creative Commons License
This work by Deekshith Allamaneni is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at http://www.deekshith.in/2012/07/automaic-room-light-controller-with.html.

66 comments:

  1. Hi, How could you handle the counter if more than one people cross the door?

    ReplyDelete
    Replies
    1. there's 2 IC one is for encoding & other is for decoding

      Delete
    2. Hello,
      when the same person cross the door
      1st is necessary to come out from the room and that why he get reduced from total counting
      therefore 1 person can get count again and again
      thank you

      Delete
    3. Hello,
      when the same person cross the door
      1st is necessary to come out from the room and that why he get reduced from total counting
      therefore 1 person can get count again and again
      thank you

      Delete
  2. What you are doing when two people walking together trough the door,
    in the same or opposite directions ?

    ReplyDelete
  3. This is cool. A couple situations that I am curious to see how they would be resolved:
    1) Multiple people passing though a door at the same time (side by side) causing the counter to increment or decrement less then it should.
    2) Assuming the sensor would be placed high so you can count torso's rather than legs, what would be done for small children who could pass below the sensor.

    Good luck, I look forward to seeing more development :0

    ReplyDelete
  4. Hi, Thanks for your interest in my project.

    As of now, it works only if a single person is crossing the door. It works in most cases practically where we have a metal detector (ex: shopping malls, conference halls, etc) in the entrance where only a single person is allowed to enter at a time.

    If you have any idea to avoid this problem, please let me know.

    ReplyDelete
  5. This invention of yours is really interesting. This to prove that engineering jobs are really amazing. I hope that this invention of yours could be known in all countries around the world. Your invention is great and useful in so many ways.

    ReplyDelete
  6. Good evening sir,

    I am very interested in one of your project entitled Automatic Roomlight Controller With Single Door Bidirectional Visitor Counter. I am planning to do this as my project in one of our subject. This coming september is our research proposal. This project may give me a great start in discovering the beauty of engineering in my life. I live in the Philippines.

    I really appreciate your great help. I will look forward to your reply. Thank you sir.

    ReplyDelete
  7. Good evening sir,

    I am very interested in one of your project entitled Automatic Roomlight Controller With Single Door Bidirectional Visitor Counter. I am planning to do this as my project in one of our subject. This coming september is our research proposal. This project may give me a great start in discovering the beauty of engineering in my life. I live in the Philippines.

    I really appreciate your great help. I will look forward to your reply. Thank you sir.

    ReplyDelete
  8. I am very interested in one of your projects,Automatic Roomlight Controller With Single Door Bidirectional Visitor Counter. i want to do this as my mini project. can you pls send me the hardware circuit for this.

    ReplyDelete
    Replies
    1. If u did this project can u help me wid its details

      Delete
  9. hey hi i'm working on this project can u plz send me the program tht has to be fed ?????

    ReplyDelete
  10. hey hi i'm currently working on this project can u send me the program that is required for its working ???

    ReplyDelete
  11. I am very interested in one of your projects,Automatic Roomlight Controller With Single Door Bidirectional Visitor Counter.i want to implement this as my final year project so can you please send me the CIRCUIT DIAGRAM so i can show it to my teachers and get it passed.

    ReplyDelete
  12. I am very interested in one of your projects,Automatic Roomlight Controller With Single Door Bidirectional Visitor Counter.i want to implement this as my final year project so can you please send me the CIRCUIT DIAGRAM of this project so that i can show it to my teacher and get it passed.

    ReplyDelete
  13. i like your idea please tell me CIRCUIT DIAGRAM and which sensor used?
    and i think that we will used TRX AND RCE

    ReplyDelete
  14. I like your project please tell me cicuit diagram this project AND which sensor is used ?we will used TRX and REC also na?

    ReplyDelete
  15. I liked it very much sir n i will make this project in my project work in my college but i want to buy the components of the 'Automatic Room Light Controller with Single Door Bidirectional Visitor Counter'. Can u please give me the address or contact number of the components selling shop n sure i will make more interesting projects n till now i m making small security based projects but they are not getting out.......

    ReplyDelete
  16. hallo sir plz send me all imformetion for
    Automatic Room Light Controller With Single Door Bi-Directional Visitor Counter

    replay

    ReplyDelete
  17. hello sir plz send me all imformetion for
    Automatic Room Light Controller With Single Door Bi-Directional Visitor Counter..my email ID in .....amitparashar1990@gmail.com.,,,,,,,,,plz plz plz sir...

    ReplyDelete
  18. Please send me complete project on my id saannjubora@gmail.com of Automatic Room Light Controller With Single Door Bi-Directional Visitor Counter..thank you!!!!!

    ReplyDelete
  19. hallo sir plz send me all imformetion for
    Automatic Room Light Controller With Single Door Bi-Directional Visitor Counter
    thanking you

    ReplyDelete
  20. how are the photo sensors detecting whether the person is entering or leaving.I am unable to understand the concept involved in the process of detection. Can u please send me the mail regarding the project with all the details.I am doing it for my university project.

    mail ID- saideepkamishetty@gmail.com

    ReplyDelete
  21. sir i want to make automatic room light controller with single door bi-directional visitor counter.I want your needed help plzz

    ReplyDelete
  22. hello sir.
    this is the first time i'm visiting this site.
    i'm interested in doing this as my mini project. but sir i'm not supposed to use micro controllers.. sir can you suggest a way to implement this without using micro controllers?

    ReplyDelete
  23. sir plz send me to this project components sir immediately

    ReplyDelete
  24. hi sir plz send me all imformetion for
    Automatic Room Light Controller With Single Door Bi-Directional Visitor Counter......to e.balaji@hotmail.com

    ReplyDelete
  25. I've a problem with the program.

    Plz send me the logic if possible...ASAp

    Thank you

    Please mail me d details at: azadhind17@gmail.com

    ReplyDelete
  26. I've a problem with the programming logic.
    Here's d logic.

    If PORTA0=1, //PORTA1,A0 I/P
    COUNT++;

    IF PORTA1=1;
    COUNT--;

    IF COUNT!=0 //PORTB0 O/P
    PORTB0=1

    Please correct me where its wrong

    rpl me at: azadhind17@gmail.com

    ReplyDelete
  27. can u please send me the program to be fed ???

    ReplyDelete
  28. hi sir plz send me all imformetion for
    Automatic Room Light Controller With Single Door Bi-Directional Visitor Counter......to bvivek_1993@yahoo.com

    ReplyDelete
  29. i want the documents of this projects ... please send it on bvivek_1993@yahoo.com

    ReplyDelete
  30. plz send the documents of this project........ thank u

    ReplyDelete
  31. hi sir,can you kindly send me all imformetion regarding
    Automatic Room Light Controller With Single Door Bi-Directional Visitor Counter......to fawadazim03@yahoo.com

    ReplyDelete
  32. hey i'm interested in your project sir. can i have the circuit diagram of Automatic Room Light Controller With Single Door Bi-Directional Visitor Counter. pleeeeeeaaaassseeee. this will serve as my project in one of my subjects. thank you!

    ReplyDelete
  33. sir send me matter to k.venkatakondal2177@gmail.com

    ReplyDelete
  34. sir,can u even helpp me wid all d information abt d project as i m not able to find it anywhre

    ReplyDelete
  35. pls send me all the available materials for the above mentioned project sir
    my mail id is :ezhilarasanelec@gmail.com

    ReplyDelete
  36. Is this circuit the same one as the "Automatic Room Power Control circuit" in the EFY pdf that are available for download no your blog.

    ReplyDelete
    Replies
    1. No, this is a more efficient version. This is done using microcontroller and it has can detect people passing in both directions from a single door.

      Unlike this circuit, the one which you have seen in the EFY pdf needs two doors one for entry and other for exit.

      Also, many more optimizations are made in this project to detect the number of people accurately.

      Delete
    2. if u r using the transmitter and reciever circuit which contain 555 ic then i have built another one which is very simple then that one

      Delete
  37. sir i lik ur project very much...i too doing d project now bt i m nt getting d exact ckt nd code 4r d project...can u plz send me sir.........

    ReplyDelete
  38. sir i lik ur project very much...i too doing d project now bt i m nt getting d exact ckt nd code 4r d project...can u plz send me sir.........

    ReplyDelete
  39. Please send a copy of the code(of automatic control of light) to abhnavsgsr@gmail.com

    ReplyDelete
  40. sir pls send me assembly language program pf this project

    ReplyDelete
  41. Sir,
    I am very interested in one of your projects,Automatic Roomlight Controller With Single Door Bidirectional Visitor Counter. i want to do this as my mini project. can you pls send me the hardware circuit & program for this. my email id is pawarrajendra100@gmail.com

    Thanking you.

    ReplyDelete
  42. Sir,
    I am very interested in one of your projects,Automatic Roomlight Controller With Single Door Bidirectional Visitor Counter. i want to do this as my mini project. can you pls send me the hardware circuit & program for this. my email id is dharuumanstar@gmail.com

    ReplyDelete
  43. sir ,i want hardware circuit and program for this project...can you plz send me on kumbharpooja82@gmail.com

    ReplyDelete
  44. sir pls snd me cicuit diagram.... i want to make this project...@rajankhosla30@yahoo.com

    ReplyDelete
  45. sir plss send me its circuit diagram... i want to make this project...@rjankhosla30@yahoo.com..... Thank you

    ReplyDelete
  46. sir plss send me its circuit diagram... i want to make this project...mayank.p556@gmail.com

    ReplyDelete
  47. please send me the circuit diagram.. i am intrested in doin this as my project.. mail me pls : irspro7@gmail.com
    thank yu so much

    ReplyDelete
  48. sir plss send me its circuit diagram... i want to make this project...rpranjith93@gmail.com

    ReplyDelete
  49. sir pls send me its circuit diagram... i want to make this project...jkengineering_co@rediffmail.com
    plz reply asap.
    I am very interested in one of your projects,Automatic Roomlight Controller With Single Door Bidirectional Visitor Counter

    ReplyDelete
  50. Sir m working on this project n need ur help in making connections of relay n bulb.. so please can u help me out as soon as possible..

    ReplyDelete
  51. pls upload the circiut diagram of this project..................so that many of them make use it...............i wanna make this project within 2 days so upload it ASAP.............

    ReplyDelete
  52. please send me the c code of this project.my email is chinmya.cs@gmail.com

    ReplyDelete
  53. pls share the circuit daigram, program n ful details of the project. my email id: akashmkashyap.357@gmail.com

    ReplyDelete
  54. amazing ..i want to make this project for my final year .
    sir can you send me the details of your project at rahultudu22@gmail.com

    ReplyDelete
  55. Hi Sir can you send all the related document of your projects to me? my email is: zhenshe13@gmail.com

    ReplyDelete
  56. Yes I'd love a copy of this project for my own room!

    backupbrain [AT] gmail

    ReplyDelete
  57. Hello. Which sensors are you making use of?

    ReplyDelete
  58. Can i get the circuit and the codes please sir at matmihensem@gmail.com. Urgent tq

    ReplyDelete