Tuesday 12 June 2012

MICROCONTROLLER BASED AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER WITH ASM CODING



Project Overview


This Project “Automatic Room Light Controller with Bidirectional 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 AT89S52 continuously monitor the Infrared Receivers, When any object pass through the IR Receiver's then the IR Rays falling on the receiver are obstructed , this obstruction is sensed by the Microcontroller.

The objective of this project is to make a controller based model to count
number of persons visiting particular room and accordingly light up the room. Here we can use sensor and can know present number of persons.
In today’s world, there is a continuous need for automatic appliances with the increase in standard of living, there is a sense of urgency for developing circuits that would ease the complexity of life.
Also if at all one wants to know the number of people present in room so as not to have congestion. This circuit proves to be helpful.


Block Diagram


Block Diagram Description

The basic block diagram of the bidirectional visitor counter with automatic light controller is shown in the above figure. Mainly this block diagram consists of the following essential blocks.
1.      Power Supply
2.      Entry and Exit sensor circuit
3.      AT 89S52 micro-controller
4.     Relay driver circuit
1 1. Power Supply:-
Here we used +12V and +5V dc power supply. The main function of this block is to provide the required amount of voltage to essential circuits. +12 voltages are given. +12V is given to relay driver. To get the +5V dc power supply we have used here IC 7805, which provides the +5V dc regulated power supply.
   2.    Enter and Exit Circuits:-
This is one of the main parts of our project automatic room light control. The main intention of this block is to sense the person. For sensing the person and light we are using the light dependent register (LDR). By using this sensor and its related circuit diagram we can count the persons.
  3.   89S52 Microcontroller:-
It is a low-power, high performance CMOS 8-bit microcontroller with 8KB of Flash Programmable and Erasable Read Only Memory (PEROM). The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the MCS-51TM instruction set and pin out. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic hip, the Atmel AT89S52 is a powerful Microcontroller, which provides a highly flexible and cost effective solution so many embedded control applications.
  4.   Relay Driver Circuit:-
This block has the potential to drive the various controlled devices. In this block mainly we are using the transistor and the relays. One relay driver circuit we are using to control the light. Output signal from AT89S52 is given to the base of the transistor, which we are further energizing the particular relay. Because of this appropriate device is selected and it do its allotted function.
 
Transmitter circuit diagram





This circuit diagram shows how a 555 timer IC is configured to function as a basic monostable multivibrator.  A monostable multivibrator is a timing circuit that changes state once triggered, but returns to its original state after a certain time delay.  It got its name from the fact that only one of its output states is stable.  It is also known as a 'one-shot'.

In this circuit, a negative pulse applied at pin 2 triggers an internal flip-flop that turns off pin 7's discharge transistor, allowing C1 to charge up through R1. At the same time, the flip-flop brings the output (pin 3) level to 'high'.  When capacitor C1 as charged up to about 2/3 V cc, the flip-flop is triggered once again, this time making the pin 3 output 'low' and turning on pin 7's discharge transistor, which discharges C1 to ground. This circuit, in effect, produces a pulse at pin 3 whose width t is just the product of R1 and C1, i.e., t=R1C1.IR Transmission circuit is used to generate the modulated 36 kHz IR signal. The IC555 in the transmitter side is to generate 36 kHz square wave. Adjust the preset in the transmitter to get a 38 kHz signal at the o/p. around 1.4K we get a 38 kHz signal. Then you point it over the sensor and its o/p will go low when it senses the IR signal of 38 kHz.

 Receiver Diagram
  


                           

The IR transmitter will emit modulated 38 kHz IR signal and at the receiver we use TSOP1738 (Infrared Sensor). The output goes high when the there is an interruption and it return back to low after the time period determined by the capacitor and resistor in the circuit. I.e. around 1 second. CL100 is to trigger the IC555 which is configured as monostable multivibrator. Input is given to the Port 1 of the microcontroller. Port 0 is used for the 7-Segment display purpose. Port 2 is used for the Relay Turn On and Turn off Purpose.LTS 542 (Common Anode) is used for 7-Segment display. And that time Relay will get Voltage and triggered so light will get voltage and it will turn on. And when counter will be 00 that time Relay will be turned off. Reset button will reset the microcontroller.

Transmitter pcb
                        


Receiver Pcb



Application

 

                             1. For counting purposes

     2. For automatic room light control












75 comments:

  1. n.poojacreativembd@gmail.com

    ReplyDelete
  2. hai friends check your mail.the software for this project was sent to your mail.

    don't forget to say thanks

    ReplyDelete
  3. can u send me the software program please?
    plz send it to ritesh110791@gmail.com

    ReplyDelete
  4. vishing.urself@yahoo.in

    ReplyDelete
  5. meet_akshay@yahoo.in
    himsingh1990@gmail.com

    ReplyDelete
  6. ryan_patasin@yahoo.com

    ReplyDelete
  7. can u send me the coding and software program please?
    cheqnum_92@yahoo.com

    ReplyDelete
    Replies
    1. hello cheqnum_92@yahoo.com check your mail for details

      Delete
  8. hello sir.. can you please send me the codes and the software? thanks ^^

    ReplyDelete
  9. Sir, can you send me a copy of codes?

    emosulia@gmail.com

    thanks a lot!

    ReplyDelete
    Replies
    1. please send me this project code?
      shajar.marcus@gmail.com

      Delete
  10. edpaginag@yahoo.com
    emosulia@gmail.com

    thank you sir!

    ReplyDelete
  11. edpaginag@yahoo.com
    emosulia@gmail.com

    ReplyDelete
  12. hello, the email u sent to me was empty. could u possibly re-send the code for this project? thanks!

    ReplyDelete
  13. Hello azam check mail attachment

    ReplyDelete
  14. Sir, can you send me a copy of codes?

    Hishammahrousm89@gmail.com

    thanks a lot!

    ReplyDelete
  15. hai mehoooo,
    First join this site as member using your mail id.then the code will be send to you

    ReplyDelete
  16. i need the code pls....sanjaykulkarni077@gmail.com pls mail it to this id.

    ReplyDelete
  17. hi sir...
    can i get the code for the project pls

    ReplyDelete
  18. Need the code of this program!
    Please mail me sir.

    ReplyDelete
  19. Hai sanjay and deepika check your mail, the program was send to you.
    Hai joel livy please join this site as member or specify your mail id :-):-):-)

    ReplyDelete
  20. Hello sir !
    can i pls get the code for this project

    ReplyDelete
  21. can i pls get the code..
    malvika_aries@yahoo.co.in

    ReplyDelete
  22. can i pls get the code for this project :)
    malvika_aries@yahoo.co.in

    ReplyDelete
  23. Hai malvika check your mail.the code was send to you.

    ReplyDelete
  24. hai,can i get a code and also the full project..u can email me sk8ter_jawe@yahoo.com.urgent,please..thank you very much.

    ReplyDelete
  25. hai teja and Ahmad check your mail ,the program was send to your mail.thank you for your interest.

    ReplyDelete
  26. thanx mani sekar..can i know what software need to use to build this cct??i had confused bcoz there are missing component in software that i use..can u help me??

    ReplyDelete
  27. I can't understand your question whether you asking about pcb design software or compiler to convert asm code into hex code. To design the pcb you can use express pcb or pad2pad . You can not get all component footprints in all pcb software. You have to make all components by using their datasheets . To make custom components refer the help section of the software. If you use express pcb then inform me your missing component . I will help you. If you ask about compiler, use keil or RIDE assembler both are freely available on the net. You can download software and tutorial about keil from our tutorial section. HOPE THIS WILL HELP YOU.

    ReplyDelete
  28. dear mani sekar, actually i want to make this circuit using ISIS software but there are certain components that are not in the software. so what should i do? or is there any other software that contain all components? the components that are not in the software are AT89S52 and sensor infrared,is there any components that can be used but still have the same function? thank you.hope this will make you understand

    ReplyDelete
  29. hai Ahmad,
    i thing you are using Proteus ISIS software. If you are using that software for simulating the circuit then visit the following ling to make the components which are not in library Or you can use ORCAD PSPICE for simulation .

    http://www.edaboard.com/thread146616.html

    If you use that software for designing pcb only then you can get tutorial about making custom components in their help section or you can use simple pcb design software like express pcb,pad2pad.

    ReplyDelete
  30. can u please send me the code for this project to teja.dayana@gmail.com

    ReplyDelete
  31. hai ravi teja,
    check your mail .the code has been sent to you.

    ReplyDelete
  32. please send me the code for this project

    ReplyDelete
  33. ayesha khan please specify your mail id or join as member in our site.

    ReplyDelete
  34. please send me the code for this project

    ReplyDelete
  35. please send me the code for this project..

    ReplyDelete
  36. plz send me the project code 4r Bidirectional visitor counterin assembly language pgrm

    ReplyDelete
  37. please send me the code for birectional visitor counter in assembly language 2 my mail id jananiss002@gmail.com

    ReplyDelete
  38. please send the code of the AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER and the software's link needed to this id - akakde24@gmail.com

    ReplyDelete
  39. please mail me the code my id
    sushilkumar.nikam@gmail.com

    ReplyDelete
  40. Hey I'm Michael Reuben and I'm studying electronics. I want to implement this project "Automatic Room Light Controller with people counter" please send me Program code of this project.
    "michaelreuben91@gmail.com"

    ReplyDelete
  41. hai michael,sushilkumar,akakde24,janani,shajar
    the source code for this project was sent to you.please check your mail.
    sasikala and bharati please specify your mail id

    ReplyDelete
  42. hi ,could i have the code for the project please?

    my email id is arnavbal91@gmail.com

    ReplyDelete
  43. hi
    i m an eee 3 rd yr student ...
    i want to do tis project .. can u please send me program...
    please try to sent me soon ...urgent


    my mail id is
    sangeethesiruthai93@gmail.com

    ReplyDelete
  44. thanks to this project i made it will and it work fine for me hehe we love you maker on this circuit

    ReplyDelete
  45. please send me the code for birectional visitor counter in assembly language 2 my mail id yogi22200@gmail.com

    ReplyDelete
  46. can u send me the software program please?
    send to ama.rokz@yahoo.com

    ReplyDelete
  47. hai friend you can download the program from the given link

    ReplyDelete
  48. send me all details with ppt
    ravibhatiya1992@gmail.com

    ReplyDelete
  49. hai Ravi,
    Download link for this project program was send to you..
    you can download the program for this project from the following link

    http://www.filesin.com/8C08C349870/download.html

    Cannot provide all details .you can prepare the document easily try yourself.

    All the best

    ReplyDelete
    Replies
    1. please send the code to swathi03svs@gmail.com

      Delete
  50. hello sir.. can you please send the code to swathi03svs@gmail.com?

    ReplyDelete
  51. hello sir... can you please send the code to swathi03svs@gmail.com?

    ReplyDelete
  52. swathi03svs@gmail.com
    vinnilochini@gmail.com

    ReplyDelete
  53. hai,
    swathi you can download the program in this page.please read full post.

    ReplyDelete
  54. hello sir can you please send the code of this project to raiashish5555@gmal.com

    ReplyDelete
  55. hi sir can you send me code of this project on my emai id::-
    raiashish5555@gmail.com

    ReplyDelete
  56. sir can u plz send me the ful project report with a working circuit diagram and program codes

    ReplyDelete
  57. sir can u plz send me the full report with a working circuit diagram at my email id
    nikunjhannu@gmail.com

    ReplyDelete
    Replies
    1. hai gupta and ashish,
      the program was send to you.

      Delete
  58. please send me the code and the program for this project

    e-mail: hema_k_a@hotmail.com

    ReplyDelete
    Replies
    1. hai hema
      check your mail the program was send

      Delete
  59. hiii sir send me full description and code for this project
    yogeshpambhar@gmail.com

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...