Engineering tools, Science and Technology Articles and Comments by Deekshith Allamaneni

Wednesday, July 25, 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.

32 comments:

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

    ReplyDelete
    Replies
    1. 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
  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 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
  15. hallo sir plz send me all imformetion for
    Automatic Room Light Controller With Single Door Bi-Directional Visitor Counter

    replay

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

    ReplyDelete
  17. 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
  18. 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
  19. 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
  20. 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
  21. sir pls send me assembly language program pf this project

    ReplyDelete
  22. 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
  23. sir ,i want hardware circuit and program for this project...can you plz send me on kumbharpooja82@gmail.com

    ReplyDelete
  24. Where is Circuit Diagram??

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

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

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

    ReplyDelete
  28. 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