SlideShare a Scribd company logo
WELCOME TO OUR PRESENTATION
BANGLADESH UNIVERSITY OF SCIENCE BUSINESS AND TECHNOLOGY
(BUBT)
AUTOMATIC ROOM LIGHT CONTROLLING SYSTEM
Name ID
Md. Mahfuzur Rahman 14153103024
Md. Sayeed Mahmud 14153103095
Marufa Akter mukty 14153103105
Md. Sabbir Alam 14153103110
Tanjila Akter 14153103121
Ajmoon Nahar Urmi 14153103132
Group No: 03
Supervise By:
Md. Maynul Islam
Lecturer in EEE
Department of EEE
INTRODUCTION
Automatic Room Light controlling System is a microcontroller based project that automatically turn on or
off the lights in a room. Electricity, being one of the most important resources, must be utilized carefully.
The project implemented here is one such project where the microcontroller based system automatically
controls the room lights.
EXISTING SYSTEMWe 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. The digital World we are living in
allows us to use different technologies to automatically perform certain tasks. Such automation is very useful in
certain areas like energy consumption, reducing human efforts, improving standard of living etc.
AIM OF THE PROJECTThe aim of this project is to automatically turn on or off the lights in a room by detecting the human movement.
We implemented this project using 8051 Microcontroller and two Infrared (IR) sensors. Since the job of the
circuit is to turn on the light when someone enters the room and turn off the light when the last person leaves
the room, the project has to internally count the number of visitors entering and leaving the room. Hence, the
project acts as an Automatic Room Light System as well as Bidirectional Visitor Counter.
COMPONENTS REQUIRED
• AT89S52 Microcontroller
• Development Board
• 2 x Infrared Sensors
• 16 x 2 LCD Display
• 5V Relay Module
• Lamp
• Connecting Wires
• Power Supply
COMPONENT DESCRIPTION
LCD (liquid crystal display) LCD (liquid crystal
display) is the technology used for displays in
notebook and other smaller computers. Like light-
emitting diode (LED) and gas-plasma technologies,
LCDs allow displays to be much thinner than
cathode ray tube (CRT) technology
LCD Display Module
AT89S52 MICROCONTROLLER
The AT89S52 is a low-power, high-performance CMOS 8-
bit microcontroller with 8K bytes of in-system programmable
Flash memory. The device is manufactured using Atmel's high-
density nonvolatile memory technology and is compatible with
the indus- try-standard 80C51 instruction set and pinout.
IR SENSOR MODULE
• An Infrared or IR Sensor is a simple circuit that is
used to detect objects (Proximity Sensor) or
measure distance (Range Finder). An IR Sensor
consists of 3 components: an IR Transmitter (IR
LED), an IR Receiver (like a Photo Diode) and a
signal processing circuit.
• We have used reflective type IR sensor modules
in this project. The detailed circuit diagram of the
module is shown in the following image.
IR SENSOR MODULE CIRCUIT
5V RELAY MODULE
A 5V Relay Module is used in this project which helps 8051 Microcontroller to operate high voltage AC
loads like a light. The detailed circuit of the Relay Module is shown in the following image. It consists of a
5V Electromechanical Relay, an Optocoupler IC, transistor, two resistors and two diodes.
5V RELAY MODULE CIRCUIT
PROTEUS CIRCUIT DESIGN OF OUR PROJECT
CIRCUIT DESCRIPTION
• we have used modules for Relay and IR Sensor and hence, the connections are shown with respect to
those modules only. Corresponding circuit diagrams are also provided.
• For the circuit design, a 16 x 2 LCD Display, two IR Sensors and a 5V Relay Module must be connected to
the 8051 Microcontroller. First, connect the 8 data pins of the LCD to PORT1 pins i.e. P1.0 to P1.7.
• The 3 control pins of LCD i.e. RS, RW and E are connected to P3.6, GND and P3.7 pins respectively. A 10
KΩ Potentiometer is connected to contrast adjust pin of LCD i.e. its pin 3.
CIRCUIT DESCRIPTION
• Two Reflective type IR Sensors are connected to PORT2 pins i.e. P2.0 and P2.1. Detailed circuit of the IR
Sensor is mentioned in the Component Description.
• The input of the 5V Relay is connected to PORT0 pin P0.0. The detailed circuit of the 5V Relay module
used in the project is explained in the component description section. Alternatively, you can construct
the circuit as per the circuit diagram which consists of 5V Relay, Transistor, Diode and a Resistor.
HARDWARE CIRCUIT OF PROJECT
WORKING OF THE PROJECT
• In this project, an automatic room lighting system is developed using 8051 microcontroller. The working
of the project is explained here.
• The main component of the project is IR Sensor and we have used two of them. The placement of the
sensors is important as it will determine the functioning of the project.
• Practically speaking, both the sensors must be placed on the either side of the door or entrance of the
room. The sensor placed on the outside of the room is named as Sensor 1 and the sensor, which is
placed on the inside is named Sensor 2.
• When a person tries to enter the room, Sensor 1 detects the person first and then Sensor 2. This action
will indicate the 8051 Microcontroller that the person is entering the room.
WORKING OF THE PROJECT
• Hence, the microcontroller will turn on the light and also increments the visitor counter to 1. If there
are more visitor, the microcontroller will keep the light turned on and increments the visitor counter
accordingly.
• When a person tries to leave the room, Sensor 2 detects the person first and then Sensor 1. This
process will make the microcontroller to understand that a person is trying to leave the room and
hence, it will decrement the count of visitors. The microcontroller will not turn off the light until the
last person has left the room.
• As the visitors start leaving the room, the visitor count will be decremented and when the last person
leaves the room, the count be comes 0. During this point, the microcontroller understands that there is
nobody in the room and turns OFF the light.
APPLICATIONS
• Automatic Room Light Controlling with Bidirectional Visitor Counter can be used to automatically
turn on the light in a room when a person enters the room and turn it off when the person leaves
the room.
• The project can also be dubbed as a Bidirectional Visitor Counter it is an integral part of the
Automatic Room Lighting circuit.
• The project can be modified with LEDs and as the number of persons in the room increases, the
number of LEDs turning ON also increases.
FUTURE PLAN
• Automatic Room Light and Fan or AC(Air Condition)Controlling with Bidirectional Visitor Counter can be
used to automatically turn on the light in a room when a person enters the room and turn it off when
the person leaves the room.
• The project can also be dubbed as a Bidirectional Visitor Counter it is an integral part of the Automatic
Room Lighting circuit.
Auto Room Lighting System

More Related Content

What's hot

Automatic Room Light Controller Using Arduinom & PIR Sensor
Automatic Room Light Controller Using Arduinom & PIR SensorAutomatic Room Light Controller Using Arduinom & PIR Sensor
Automatic Room Light Controller Using Arduinom & PIR Sensor
Ankit Chaudhary
 
IoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationIoT Based Home Automation System Presantation
IoT Based Home Automation System Presantation
Farhan Ahmed Rahee
 
project report on fire alarm
project report on fire alarmproject report on fire alarm
project report on fire alarm
Rattan Pal
 
Power generation through speed breaker and footsteps
Power generation through speed breaker and footstepsPower generation through speed breaker and footsteps
Power generation through speed breaker and footsteps
Rabail khan
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino
AMIT SANPUI
 
project presentation on "THMC"
project presentation on "THMC"project presentation on "THMC"
project presentation on "THMC"
Teja venkat
 
Obstacle avoiding robot.doc
Obstacle avoiding robot.docObstacle avoiding robot.doc
Obstacle avoiding robot.doc
Electronics - Embedded System
 
Bluetooth controlled home appliances
Bluetooth controlled home appliancesBluetooth controlled home appliances
Bluetooth controlled home appliances
ADARSH KUMAR
 
Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)Rappy Saha
 
Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...
Diwash Kapil Chettri
 
Gsm based home automation
Gsm based home automationGsm based home automation
Gsm based home automation
Mainak Sinha
 
Fire fighting robot using arduino
Fire fighting robot using arduinoFire fighting robot using arduino
Fire fighting robot using arduino
Niranjan Kumar
 
Automatic room light controller with bi directional visitor counter using Ard...
Automatic room light controller with bi directional visitor counter using Ard...Automatic room light controller with bi directional visitor counter using Ard...
Automatic room light controller with bi directional visitor counter using Ard...
PRASENJITMORE2
 
Speed control of DC motor using pulse width modulation technique
Speed control of DC motor using pulse width modulation technique Speed control of DC motor using pulse width modulation technique
Speed control of DC motor using pulse width modulation technique
Imanul Mazarbhuiya
 
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Abhishekvb
 
WIDE AREA MONITORING SYSTEMS(WAMS)
WIDE AREA MONITORING SYSTEMS(WAMS)WIDE AREA MONITORING SYSTEMS(WAMS)
WIDE AREA MONITORING SYSTEMS(WAMS)
Vikram Purohit
 
Bidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project ProposalBidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project Proposal
Arsalan Ahmad
 
Artificial intelligence in power system
Artificial intelligence in power systemArtificial intelligence in power system
Artificial intelligence in power system
Bittu Goswami
 
Light Automation System Using Bidirectional Visitor Counter
Light Automation System Using Bidirectional Visitor CounterLight Automation System Using Bidirectional Visitor Counter
Light Automation System Using Bidirectional Visitor Counter
Rituraj Singh
 
Obstacle avoiding robot(Lab report)
Obstacle  avoiding  robot(Lab report)Obstacle  avoiding  robot(Lab report)
Obstacle avoiding robot(Lab report)
Захір Райхан
 

What's hot (20)

Automatic Room Light Controller Using Arduinom & PIR Sensor
Automatic Room Light Controller Using Arduinom & PIR SensorAutomatic Room Light Controller Using Arduinom & PIR Sensor
Automatic Room Light Controller Using Arduinom & PIR Sensor
 
IoT Based Home Automation System Presantation
IoT Based Home Automation System PresantationIoT Based Home Automation System Presantation
IoT Based Home Automation System Presantation
 
project report on fire alarm
project report on fire alarmproject report on fire alarm
project report on fire alarm
 
Power generation through speed breaker and footsteps
Power generation through speed breaker and footstepsPower generation through speed breaker and footsteps
Power generation through speed breaker and footsteps
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino
 
project presentation on "THMC"
project presentation on "THMC"project presentation on "THMC"
project presentation on "THMC"
 
Obstacle avoiding robot.doc
Obstacle avoiding robot.docObstacle avoiding robot.doc
Obstacle avoiding robot.doc
 
Bluetooth controlled home appliances
Bluetooth controlled home appliancesBluetooth controlled home appliances
Bluetooth controlled home appliances
 
Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)Arduino Based Home Automation (2003) (1003018)
Arduino Based Home Automation (2003) (1003018)
 
Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...
 
Gsm based home automation
Gsm based home automationGsm based home automation
Gsm based home automation
 
Fire fighting robot using arduino
Fire fighting robot using arduinoFire fighting robot using arduino
Fire fighting robot using arduino
 
Automatic room light controller with bi directional visitor counter using Ard...
Automatic room light controller with bi directional visitor counter using Ard...Automatic room light controller with bi directional visitor counter using Ard...
Automatic room light controller with bi directional visitor counter using Ard...
 
Speed control of DC motor using pulse width modulation technique
Speed control of DC motor using pulse width modulation technique Speed control of DC motor using pulse width modulation technique
Speed control of DC motor using pulse width modulation technique
 
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
 
WIDE AREA MONITORING SYSTEMS(WAMS)
WIDE AREA MONITORING SYSTEMS(WAMS)WIDE AREA MONITORING SYSTEMS(WAMS)
WIDE AREA MONITORING SYSTEMS(WAMS)
 
Bidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project ProposalBidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project Proposal
 
Artificial intelligence in power system
Artificial intelligence in power systemArtificial intelligence in power system
Artificial intelligence in power system
 
Light Automation System Using Bidirectional Visitor Counter
Light Automation System Using Bidirectional Visitor CounterLight Automation System Using Bidirectional Visitor Counter
Light Automation System Using Bidirectional Visitor Counter
 
Obstacle avoiding robot(Lab report)
Obstacle  avoiding  robot(Lab report)Obstacle  avoiding  robot(Lab report)
Obstacle avoiding robot(Lab report)
 

Similar to Auto Room Lighting System

Automatic room lighting system
Automatic room lighting systemAutomatic room lighting system
Automatic room lighting system
PoojithaAV
 
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEMAUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
Shri sukhmani institute of engineering and technology
 
Home automation
Home automationHome automation
Home automation
Chirag Panchal
 
Doorlock
DoorlockDoorlock
Doorlock
BUBT
 
Deepak
DeepakDeepak
Deepak
rajarjun
 
Auto Room Lighting and Door lock Report
Auto Room Lighting and Door lock ReportAuto Room Lighting and Door lock Report
Auto Room Lighting and Door lock Report
BUBT
 
Automatic room light controller
Automatic room light controllerAutomatic room light controller
Automatic room light controller
MD Jannatul Giyem
 
FINAL B.V.C 8051.pptx
FINAL B.V.C 8051.pptxFINAL B.V.C 8051.pptx
FINAL B.V.C 8051.pptx
Jayshree873826
 
Minor_project.ppt.pdf
Minor_project.ppt.pdfMinor_project.ppt.pdf
Minor_project.ppt.pdf
Uttamsharma576508
 
Automatic room light controller using microcontroller and visitor counter
Automatic room light controller using microcontroller and visitor counterAutomatic room light controller using microcontroller and visitor counter
Automatic room light controller using microcontroller and visitor counter
eSAT Journals
 
AUTOMATIC ROOM LIGHTING SYSTEM.pptx
AUTOMATIC ROOM LIGHTING SYSTEM.pptxAUTOMATIC ROOM LIGHTING SYSTEM.pptx
AUTOMATIC ROOM LIGHTING SYSTEM.pptx
Aayush Sharma
 
Atomatic light controller
Atomatic light controllerAtomatic light controller
Atomatic light controller
MandadiDeekshitha
 
report on intelligent energy conservation system
report on intelligent energy conservation system report on intelligent energy conservation system
report on intelligent energy conservation system vyomesh upadhyay
 
Voice control home appliance
Voice control home applianceVoice control home appliance
Voice control home appliance
Nishant Singh
 
ELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMER
ELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMERELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMER
ELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMER
Kesagani Ranga Uma Maheshwar Rao
 
Gsm based garbage disposal
Gsm based garbage disposalGsm based garbage disposal
Gsm based garbage disposal
Suhanthi Devraj
 
P 0329--intelligent energy-saving
P 0329--intelligent energy-savingP 0329--intelligent energy-saving
P 0329--intelligent energy-savingpremkarthik06
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter doc
Prem Kumar
 
PLC
PLCPLC

Similar to Auto Room Lighting System (20)

Automatic room lighting system
Automatic room lighting systemAutomatic room lighting system
Automatic room lighting system
 
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEMAUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
 
Home automation
Home automationHome automation
Home automation
 
Doorlock
DoorlockDoorlock
Doorlock
 
Deepak
DeepakDeepak
Deepak
 
Auto Room Lighting and Door lock Report
Auto Room Lighting and Door lock ReportAuto Room Lighting and Door lock Report
Auto Room Lighting and Door lock Report
 
Automatic room light controller
Automatic room light controllerAutomatic room light controller
Automatic room light controller
 
Automatic mall elevator
Automatic mall elevatorAutomatic mall elevator
Automatic mall elevator
 
FINAL B.V.C 8051.pptx
FINAL B.V.C 8051.pptxFINAL B.V.C 8051.pptx
FINAL B.V.C 8051.pptx
 
Minor_project.ppt.pdf
Minor_project.ppt.pdfMinor_project.ppt.pdf
Minor_project.ppt.pdf
 
Automatic room light controller using microcontroller and visitor counter
Automatic room light controller using microcontroller and visitor counterAutomatic room light controller using microcontroller and visitor counter
Automatic room light controller using microcontroller and visitor counter
 
AUTOMATIC ROOM LIGHTING SYSTEM.pptx
AUTOMATIC ROOM LIGHTING SYSTEM.pptxAUTOMATIC ROOM LIGHTING SYSTEM.pptx
AUTOMATIC ROOM LIGHTING SYSTEM.pptx
 
Atomatic light controller
Atomatic light controllerAtomatic light controller
Atomatic light controller
 
report on intelligent energy conservation system
report on intelligent energy conservation system report on intelligent energy conservation system
report on intelligent energy conservation system
 
Voice control home appliance
Voice control home applianceVoice control home appliance
Voice control home appliance
 
ELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMER
ELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMERELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMER
ELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMER
 
Gsm based garbage disposal
Gsm based garbage disposalGsm based garbage disposal
Gsm based garbage disposal
 
P 0329--intelligent energy-saving
P 0329--intelligent energy-savingP 0329--intelligent energy-saving
P 0329--intelligent energy-saving
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter doc
 
PLC
PLCPLC
PLC
 

More from BUBT

Lab report cover page
Lab report cover page Lab report cover page
Lab report cover page
BUBT
 
Project report title cover page
Project report title cover pageProject report title cover page
Project report title cover page
BUBT
 
Implementation Of GSM Based Fire Alarm and Protection System
Implementation Of GSM Based Fire Alarm and Protection SystemImplementation Of GSM Based Fire Alarm and Protection System
Implementation Of GSM Based Fire Alarm and Protection System
BUBT
 
Chapter 5 exercises Balagurusamy Programming ANSI in c
Chapter 5 exercises Balagurusamy Programming ANSI  in cChapter 5 exercises Balagurusamy Programming ANSI  in c
Chapter 5 exercises Balagurusamy Programming ANSI in c
BUBT
 
Chapter 6 Balagurusamy Programming ANSI in c
Chapter 6  Balagurusamy Programming ANSI  in cChapter 6  Balagurusamy Programming ANSI  in c
Chapter 6 Balagurusamy Programming ANSI in c
BUBT
 
Chapter 5 Balagurusamy Programming ANSI in c
Chapter 5 Balagurusamy Programming ANSI  in cChapter 5 Balagurusamy Programming ANSI  in c
Chapter 5 Balagurusamy Programming ANSI in c
BUBT
 
Chapter 4 : Balagurusamy Programming ANSI in C
Chapter 4 : Balagurusamy Programming ANSI in CChapter 4 : Balagurusamy Programming ANSI in C
Chapter 4 : Balagurusamy Programming ANSI in C
BUBT
 
Chapter 3 : Balagurusamy Programming ANSI in C
Chapter 3 : Balagurusamy Programming ANSI in C Chapter 3 : Balagurusamy Programming ANSI in C
Chapter 3 : Balagurusamy Programming ANSI in C
BUBT
 
Chapter 2 : Balagurusamy_ Programming ANsI in C
Chapter 2 :  Balagurusamy_ Programming ANsI in CChapter 2 :  Balagurusamy_ Programming ANsI in C
Chapter 2 : Balagurusamy_ Programming ANsI in C
BUBT
 
Chapter 1 : Balagurusamy_ Programming ANsI in C
Chapter 1  :  Balagurusamy_ Programming ANsI in C Chapter 1  :  Balagurusamy_ Programming ANsI in C
Chapter 1 : Balagurusamy_ Programming ANsI in C
BUBT
 
Student Attendance
Student AttendanceStudent Attendance
Student Attendance
BUBT
 
Reasoning for Artificial Intelligence Expert
Reasoning for Artificial Intelligence ExpertReasoning for Artificial Intelligence Expert
Reasoning for Artificial Intelligence Expert
BUBT
 
Ultra Dense Netwok
Ultra Dense NetwokUltra Dense Netwok
Ultra Dense Netwok
BUBT
 
Bangladesh University of Business and Technology
Bangladesh University of Business and Technology Bangladesh University of Business and Technology
Bangladesh University of Business and Technology
BUBT
 
Art Gallery Management System
Art Gallery Management SystemArt Gallery Management System
Art Gallery Management System
BUBT
 
Shop management system
Shop management systemShop management system
Shop management system
BUBT
 

More from BUBT (16)

Lab report cover page
Lab report cover page Lab report cover page
Lab report cover page
 
Project report title cover page
Project report title cover pageProject report title cover page
Project report title cover page
 
Implementation Of GSM Based Fire Alarm and Protection System
Implementation Of GSM Based Fire Alarm and Protection SystemImplementation Of GSM Based Fire Alarm and Protection System
Implementation Of GSM Based Fire Alarm and Protection System
 
Chapter 5 exercises Balagurusamy Programming ANSI in c
Chapter 5 exercises Balagurusamy Programming ANSI  in cChapter 5 exercises Balagurusamy Programming ANSI  in c
Chapter 5 exercises Balagurusamy Programming ANSI in c
 
Chapter 6 Balagurusamy Programming ANSI in c
Chapter 6  Balagurusamy Programming ANSI  in cChapter 6  Balagurusamy Programming ANSI  in c
Chapter 6 Balagurusamy Programming ANSI in c
 
Chapter 5 Balagurusamy Programming ANSI in c
Chapter 5 Balagurusamy Programming ANSI  in cChapter 5 Balagurusamy Programming ANSI  in c
Chapter 5 Balagurusamy Programming ANSI in c
 
Chapter 4 : Balagurusamy Programming ANSI in C
Chapter 4 : Balagurusamy Programming ANSI in CChapter 4 : Balagurusamy Programming ANSI in C
Chapter 4 : Balagurusamy Programming ANSI in C
 
Chapter 3 : Balagurusamy Programming ANSI in C
Chapter 3 : Balagurusamy Programming ANSI in C Chapter 3 : Balagurusamy Programming ANSI in C
Chapter 3 : Balagurusamy Programming ANSI in C
 
Chapter 2 : Balagurusamy_ Programming ANsI in C
Chapter 2 :  Balagurusamy_ Programming ANsI in CChapter 2 :  Balagurusamy_ Programming ANsI in C
Chapter 2 : Balagurusamy_ Programming ANsI in C
 
Chapter 1 : Balagurusamy_ Programming ANsI in C
Chapter 1  :  Balagurusamy_ Programming ANsI in C Chapter 1  :  Balagurusamy_ Programming ANsI in C
Chapter 1 : Balagurusamy_ Programming ANsI in C
 
Student Attendance
Student AttendanceStudent Attendance
Student Attendance
 
Reasoning for Artificial Intelligence Expert
Reasoning for Artificial Intelligence ExpertReasoning for Artificial Intelligence Expert
Reasoning for Artificial Intelligence Expert
 
Ultra Dense Netwok
Ultra Dense NetwokUltra Dense Netwok
Ultra Dense Netwok
 
Bangladesh University of Business and Technology
Bangladesh University of Business and Technology Bangladesh University of Business and Technology
Bangladesh University of Business and Technology
 
Art Gallery Management System
Art Gallery Management SystemArt Gallery Management System
Art Gallery Management System
 
Shop management system
Shop management systemShop management system
Shop management system
 

Recently uploaded

Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 

Recently uploaded (20)

Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 

Auto Room Lighting System

  • 1. WELCOME TO OUR PRESENTATION BANGLADESH UNIVERSITY OF SCIENCE BUSINESS AND TECHNOLOGY (BUBT)
  • 2. AUTOMATIC ROOM LIGHT CONTROLLING SYSTEM Name ID Md. Mahfuzur Rahman 14153103024 Md. Sayeed Mahmud 14153103095 Marufa Akter mukty 14153103105 Md. Sabbir Alam 14153103110 Tanjila Akter 14153103121 Ajmoon Nahar Urmi 14153103132 Group No: 03 Supervise By: Md. Maynul Islam Lecturer in EEE Department of EEE
  • 3. INTRODUCTION Automatic Room Light controlling System is a microcontroller based project that automatically turn on or off the lights in a room. Electricity, being one of the most important resources, must be utilized carefully. The project implemented here is one such project where the microcontroller based system automatically controls the room lights.
  • 4. EXISTING SYSTEMWe 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. The digital World we are living in allows us to use different technologies to automatically perform certain tasks. Such automation is very useful in certain areas like energy consumption, reducing human efforts, improving standard of living etc.
  • 5. AIM OF THE PROJECTThe aim of this project is to automatically turn on or off the lights in a room by detecting the human movement. We implemented this project using 8051 Microcontroller and two Infrared (IR) sensors. Since the job of the circuit is to turn on the light when someone enters the room and turn off the light when the last person leaves the room, the project has to internally count the number of visitors entering and leaving the room. Hence, the project acts as an Automatic Room Light System as well as Bidirectional Visitor Counter.
  • 6. COMPONENTS REQUIRED • AT89S52 Microcontroller • Development Board • 2 x Infrared Sensors • 16 x 2 LCD Display • 5V Relay Module • Lamp • Connecting Wires • Power Supply
  • 7. COMPONENT DESCRIPTION LCD (liquid crystal display) LCD (liquid crystal display) is the technology used for displays in notebook and other smaller computers. Like light- emitting diode (LED) and gas-plasma technologies, LCDs allow displays to be much thinner than cathode ray tube (CRT) technology LCD Display Module
  • 8. AT89S52 MICROCONTROLLER The AT89S52 is a low-power, high-performance CMOS 8- bit microcontroller with 8K bytes of in-system programmable Flash memory. The device is manufactured using Atmel's high- density nonvolatile memory technology and is compatible with the indus- try-standard 80C51 instruction set and pinout.
  • 9. IR SENSOR MODULE • An Infrared or IR Sensor is a simple circuit that is used to detect objects (Proximity Sensor) or measure distance (Range Finder). An IR Sensor consists of 3 components: an IR Transmitter (IR LED), an IR Receiver (like a Photo Diode) and a signal processing circuit. • We have used reflective type IR sensor modules in this project. The detailed circuit diagram of the module is shown in the following image.
  • 10. IR SENSOR MODULE CIRCUIT
  • 11. 5V RELAY MODULE A 5V Relay Module is used in this project which helps 8051 Microcontroller to operate high voltage AC loads like a light. The detailed circuit of the Relay Module is shown in the following image. It consists of a 5V Electromechanical Relay, an Optocoupler IC, transistor, two resistors and two diodes.
  • 12. 5V RELAY MODULE CIRCUIT
  • 13. PROTEUS CIRCUIT DESIGN OF OUR PROJECT
  • 14. CIRCUIT DESCRIPTION • we have used modules for Relay and IR Sensor and hence, the connections are shown with respect to those modules only. Corresponding circuit diagrams are also provided. • For the circuit design, a 16 x 2 LCD Display, two IR Sensors and a 5V Relay Module must be connected to the 8051 Microcontroller. First, connect the 8 data pins of the LCD to PORT1 pins i.e. P1.0 to P1.7. • The 3 control pins of LCD i.e. RS, RW and E are connected to P3.6, GND and P3.7 pins respectively. A 10 KΩ Potentiometer is connected to contrast adjust pin of LCD i.e. its pin 3.
  • 15. CIRCUIT DESCRIPTION • Two Reflective type IR Sensors are connected to PORT2 pins i.e. P2.0 and P2.1. Detailed circuit of the IR Sensor is mentioned in the Component Description. • The input of the 5V Relay is connected to PORT0 pin P0.0. The detailed circuit of the 5V Relay module used in the project is explained in the component description section. Alternatively, you can construct the circuit as per the circuit diagram which consists of 5V Relay, Transistor, Diode and a Resistor.
  • 17. WORKING OF THE PROJECT • In this project, an automatic room lighting system is developed using 8051 microcontroller. The working of the project is explained here. • The main component of the project is IR Sensor and we have used two of them. The placement of the sensors is important as it will determine the functioning of the project. • Practically speaking, both the sensors must be placed on the either side of the door or entrance of the room. The sensor placed on the outside of the room is named as Sensor 1 and the sensor, which is placed on the inside is named Sensor 2. • When a person tries to enter the room, Sensor 1 detects the person first and then Sensor 2. This action will indicate the 8051 Microcontroller that the person is entering the room.
  • 18. WORKING OF THE PROJECT • Hence, the microcontroller will turn on the light and also increments the visitor counter to 1. If there are more visitor, the microcontroller will keep the light turned on and increments the visitor counter accordingly. • When a person tries to leave the room, Sensor 2 detects the person first and then Sensor 1. This process will make the microcontroller to understand that a person is trying to leave the room and hence, it will decrement the count of visitors. The microcontroller will not turn off the light until the last person has left the room. • As the visitors start leaving the room, the visitor count will be decremented and when the last person leaves the room, the count be comes 0. During this point, the microcontroller understands that there is nobody in the room and turns OFF the light.
  • 19. APPLICATIONS • Automatic Room Light Controlling with Bidirectional Visitor Counter can be used to automatically turn on the light in a room when a person enters the room and turn it off when the person leaves the room. • The project can also be dubbed as a Bidirectional Visitor Counter it is an integral part of the Automatic Room Lighting circuit. • The project can be modified with LEDs and as the number of persons in the room increases, the number of LEDs turning ON also increases.
  • 20. FUTURE PLAN • Automatic Room Light and Fan or AC(Air Condition)Controlling with Bidirectional Visitor Counter can be used to automatically turn on the light in a room when a person enters the room and turn it off when the person leaves the room. • The project can also be dubbed as a Bidirectional Visitor Counter it is an integral part of the Automatic Room Lighting circuit.