International Journal of Engineering Trends and Technology (IJETT) – Volume 33 Number 8- March 2016 Automatic Room Light Controller with Visitor Counter Desgined using Microcontroller Rajat shah1, Deepak Rasaily 2, Tashi Rapden Wangchuk3, Roshan chettri4, Tsheme choden bhutia5 1, 4,5 Diploma of final year Student in Dept. of Electrical&ElectronicsEngineering, CCCT Polytechnic ,,32Sr. Lecturer in Dept. of Electrical&Electronics Engineering, CCCT Polytechnic Chisopani, South Sikkim, India Abstract — The electronic device nowadays is rapidly taking its best position to ease the human complexity of living life. As per the concern of the human disabilities in keeping counter of everything happening in and around the world we limit this project to you to increment the functioning of the visitors through the light controlling system which we wind up naming “automatic light controller with visitor counter”. The audacity of this project will not only give a count of the person entering the room but will also light up according to the individuals entered. We set up the program in such a way so that each individual when undergoes this system will leave a mark through the counter and lighting up the seven segment display. This project will negotiate as well as cooperate to its level best if we put in better action and give it a better way of exposure. I. OUR WORK This project ―automatic room lightcontroller with bidirectional visitor counter 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. II. BLOCK DIAGRAM Keywords— Microcontroller, Timer 555, LCD, Introduction This Project ―Automatic Room Light Controller with Bidirectional Visitor Counter 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 monitors the Infrared Receivers. When any object pass through the IR Receiver's then the IR Rays falling on the receivers are obstructed. This obstruction is sensed by the Microcontroller. ISSN: 2231-5381 Fig.1 shows the block diagram. BLOCK DESCRIPTION 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. +12V is given to relay driver. To get the +5V dc power supply we have used here IC7805, which provides the +5V dc regulated power supply. http://www.ijettjournal.org Page 378 International Journal of Engineering Trends and Technology (IJETT) – Volume 33 Number 8- March 2016 ENTER AND EXIT CIRCUITS This is one of the main parts of our project. The main intention of this block is to sense the person. For sensing the person we are using a TSOP 1738 sensor. By using this sensor and its related circuit diagram we can count the number of persons. 89S52 MICROCONTROLLER 1. It is a low-power, high performance CMOS 8-bit microcontroller with 8KB of Flash Programmable and Erasable Read Only Memory (PEROM). 2. The device is manufactured using Atmel’s highdensity nonvolatile memory technology and is compatible with the MCS-51TM instruction set and pin out. 3. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89S52 is a powerful Microcontroller, which provides a highly flexible and cost effective solution for many embedded control. RELAY DRIVER CIRCUIT 1. This block has the potential to drive the various controlled devices. In this block mainly we are using the transistor and the lays. One relay driver circuit we are using to control the light. 2. Output signal from AT89S52 is given to the base of the transistor, which energizes the particular relay, because of this, appropriate device is selected and which performs its allotted function. square wave, the period of which is determined by the circuit external to IC 555.The astable multivibrator does not require any external trigger to change the state of the output. Hence the name free running oscillator. The time during which the output is either high or low is determined by the two resistors and a capacitor which are externally connected to the 555 timer.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. Then you point it over the sensor and its o/p will go low when it senses the IR signal of 38 kHz. The IR transmitter will emit modulated 38 kHz IR signal and at the receiver we use TSOP1738 (Infrared Sensor).The output goes high when 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. III. CONCLUSION: This project deals with the usage of the energy in this competitive world of electricity. This project is efficient enough to let someone know about the accuracy of the person entered and have taken the exit from the room. This project saves more electric power than it seems and also collaborates the knowledge of electric and digital study. One can be knowledgeable about two different study at the same time with this project. It not only teaches us about the functioning of the but also teaches us how we can preserve electricity even in the electricity based project. Reference [ 1] Aarfin Circuit connection: A. Circuit description: This circuit diagram shows how a 555 timer IC, configured to function as a basic astable multivibrator.The astable multivibrator generates a ISSN: 2231-5381 Ashraf, Deepak Rasaily, Shubham Kumar ―Biometric Attendance System Using Microcontroller‖ International Journal of Engineering Trends and Technology (IJETT), ISSN: 2231-5381, Volume-32, Issue-6, February 2016. [ 2] Rahul Ranjan Singh, Deepak Rasaily, Rishu Kumar ―Wireless Control Robot movement System Designed Using Microcontroller‖ International Journal of Engineering Trends and Technology (IJETT), ISSN: 2231-5381, Volume-32, Issue-5, February 2016. [ 3] Manish Kumar, Deepak Rasaily, Anup Neopaney ―Cellphone Controlled Car Designed using Microcontroller‖ International Journal of Engineering Trends and Technology (IJETT), ISSN: 2231-5381, Volume-32, Issue-4, February http://www.ijettjournal.org Page 379 International Journal of Engineering Trends and Technology (IJETT) – Volume 33 Number 8- March 2016 [ 4] Das, S., Toya, L., Green, Perez, B., and Murphy, M. M., ―Detecting User Activities using the Accelerometer on the Smartphone‖, Team for Research in Ubiquitous Secure Technology REU Research Program. [ 5] Waldherr, S., Thrun, S., and Romero, R., ―A Gesture based interface for Human-Robot Interaction‖, Kluwer Academic Publishers, Netherland. [ 6] Cannan, J. and Hu, H., ―Human-Machine Interaction (HMI): A Survey‖.[Online]. Available: http://www.dces.essex.ac.uk/staff/hhu/Papers/CES508%20HMI-Survey. [ 7] Annie P. Oommen1, Rahul A P2, Pranav V3, Ponni S4, Renjith Nadeshan5,‖Design and Implementation of a Digital CodeLock‖International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering (An ISO 3297:2007 Certified Organization), Vol. 3, Issue 2, February 2014. [ 8] Himani Goyal, ―Wireless Display using RF-Module‖, International Journal of Inventive Engineering and Sciences (IJIES) ISSN: 2319 9598, Volume-3 Issue-2, January 2015.nm [ 9] Ujjwal Kumar , Deepak Rasaily , Priyanka Rana. ―Cell phone-Based Device Control with Voice Acknowledgement‖ International Journal of Engineering Trends and Technology (IJETT), ISSN: 2231-5381, Volume-32, Issue-5, February 2016 [ 10] Mukesh Kumar Thakur, Ravi Shankar Kumar, Mohit Kumar, Raju Kumar ―Wireless Fingerprint Based Security System using Zigbee‖ , International Journal of Inventive Engineering and Sciences (IJIES) ISSN: 2319–9598, Volume-1, Issue-5, April 2013 Electronic Engineering at Centre for Computer and Communication Technology (CCCTGovt.Polytechnic) Chisopani, South Sikkim, India. [4] Tsheme Choden Bhutia is a final year Diploma student, Dept. Of Electrical and Electronics from Centre for Computer and Communication Technology, Chisopani, South Sikkim. [5] Roshan Chettri is a final year Diploma student, Dept. Of Electrical and Electronics from Centre for Computer and Communication Technology, Chisopani, South Sikkim. Authors: [1] Rajat Shah is a final year Diploma student, Dept. Of Electrical and Electronics from Centre for Computer and Communication Technology, Chisopani, South Sikkim. [2] Deepak Rasaily is presently associated with the Department of Electronics and Communication Engineering at Centre for Computer and Communication Technology (CCCTGovt.Polytechnic) Chisopani, South Sikkim, India as a Senior Lecturer since 2003 to till date. [3] Tashi RapdenWangchuk is Sr.Lecturer in Department ISSN: 2231-5381 of Electrical and http://www.ijettjournal.org Page 380