Automatic room lighting system

707 views 19 slides May 19, 2023
Slide 1
Slide 1 of 19
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19

About This Presentation


Slide Content

AUTOMATIC ROOM LIGHT CONTROLLER SYSTEM USING MICROCONTROLER 8051 AND VISITOR COUNTER CBP - Phase 1 4 th Sem B section Guide : Prof. Jyothy S T Group Members : R21EN077 – KEERTHI N R21EN096 – ANUSHA B R21EN116 – NANDISH S M R21EN118 – POOJITHA A V

Contents Abstract Introduction Problem Definition/ Objective Methodology Block Diagram Algorithm/Flowchart Hardware & Software Description Expected Outcome/Results References 2

Abstract The project “Automatic room lighting system” controls the switching on and off of the room light. When an individual enters a room the IR sensors gets activated and microcontroller receivers the signals produced by obstruction from sensors and turn on the light and turn off’s when the individual leave the room automatically. The received singal is operated via program stored in ROM of microcontroller. 3

Introduction : Automatic Room Lighting System is a microcontroller based project that automatically turn on or off the lights in a room. We often forget to switch off lights or fans when we leave a room. By using this system, we can intentionally forget about the lights as the system will automatically take care of them. This project is very useful for such problems as one generally forgets to turn off lights and fans while leaving a room. The aim of this is to make an automatic controller based prototype to count the number of individuals entering in the particular room and accordingly light up a room. This project has two parts. One is “Individual count” and other is “Automatic room light Controller” We use IR sensors to detect number of individuals entering in a room. This circuit counts the number of individuals and displays the count on the seven segment LCD display to avoid congestion. This project is very helpful in schools and colleges for their auditorium. “AUTOMATIC ROOM LIGHT CONTROLLER USING MICROCONTROLLER AND VISITOR COUNTER” as the name specifies that it controls the task of counting the number of individuals and lights of a room with accuracy. When an individual enters into a room then one counter is incremented by one and one light in a room will be switched ON and when the individuals leaves a room then the counter is decremented by one. When there is no individual in a room then lights will be switched off automatically. 4

Problem Definition/ Objective : In todays world, many institutions are composed of plenty of commercial buildings in which room lights are not automatically controlled at all. In other words, manual systems are employed in many buildings where one has to switch the room lights on and off. A person can also forget to put off the lights and fan when leaving the room or whenever they are not required. This has posed a major challenge in building economic stimulus for their fiscal development. In operation to control these, this project herein, explores an automated room light controlling system to curb the stemming challenge to numerous institutions, companies, and government agencies. The ability to automatically control light would allow the users to feel comfortable without physically controlling them. The use of automated control here would further aid in the use of such systems by those who are sick, handicapped or elderly.   5

Methodology : This system is designed by using two sets of IR transmitters and receivers. These IR sensors are placed in such a way that they detect a person entering and leaving the room to turn the home appliances. 2. An automatic room-light controller  automatically turns on the lights when a person enters into a room, and turns off the lights when the person leaves the room . This automatic room controller can be implemented by using a simple microcontroller and wireless IR technologies . 6

7 Block Diagram of the Automatic Room light Controller with Visitor Counter project:

Flowchart : 8

Hardware Descriptions Microcontroller ATMEGA16A: 8-bit µC having 16K Bytes In-System Programmable Flash IR sensors Seven Segment LCD Display: 5V dc Step down Transformer: 12V,50Hz, 1AMP Relay Unit: +12V dc to 230V ac Power Supply: 230V,5Hz ac Bridge Rectifier: 20V,2Amp Electrolytic Capacitor: (1000µf,35V) and (10µf,63V) Ceramic capacitor: 220µf LED: 2V or 3V Registers Transistor: BC108 Diodes: IN4004 PCB (Printed circuit board 9

Software Descriptions 10

11 Code : #include <reg51.h> #define lcd P1 sbit relay=P0^0; sbit s1=P0^1; sbit s2=P0^2; void delay(unsigned int); void main() { int seg_code [10]={0xfc,0x60,0xda,0xf2,0x66,0xb6,0xbe,0xe0,0xfe,0xf6}; int i =0;

12 while(1) { if (s1==0) { while(s1==0); if( i <9) { i ++; } } else if (s2==0) { while(s2==0);

13 if ( i >0) { i --; } } lcd= seg_code [ i ]; if ( i ==0) { relay=0; } Else { relay=1; }

14 delay(25000); } } void delay(unsigned int x) { for(;x>0;x--); }

15 Advantages of this project: The main advantage of this project is that it helps in energy conservation. Because when there is nobody inside the room then the lights are automatically turned off. Human efforts to count the number of persons are eliminated. Since this project does automatic person counting with the help of two sensors installed on the door frame.

Expected Outcome/Results Final results/prototype model that you have planned to achieve after successful completion of work. 16

Video : 17

References G. Eason, B. Noble, and I. N. Sneddon , “On certain integrals of Lipschitz-Hankel type involving products of Bessel functions,” Phil. Trans. Roy. Soc. London, vol. A247, pp. 529–551, April 1955. J. Clerk Maxwell, “A Treatise on Electricity and Magnetism,” 3rd ed., vol. 2. Oxford: Clarendon, 1892, pp.68–73. I. S. Jacobs and C. P. Bean, “Fine particles, thin films and exchange anisotropy,” in Magnetism, vol. III, G. T. Rado and H. Suhl, Eds. New York: Academic, 1963, pp. 271–350. R. Nicole, “Title of paper with only first word capitalized,” J. Name Stand. Abbrev., in press. 18

Thank You…..
Tags