SlideShare a Scribd company logo
Presented to :
Saikat Basak
Senior Lecturer
Department of EEE
Daffodil International University
Presented by
 Md. Jannatul Nayim Giyem
Id: 163-33-3647
 Md. Arifur Rahman
Id: 172-33-4126
 Arafat Sarkar
Id: 172-33-4126
 S M Hasibul Bashar
Id: 172-33-4084
 Most. Sumaya Nasrin
Id: 172-33-3987
 Nokib Parvez
Id: 172-33-3991
Course Title : Signals and Systems
Course Code : EEE227
Section: A (L2 T1)
Summer’2018
Department of EEE
Daffodil International University1
PRESENTATION
welcome to Our
AUTOMATIC ROOM LIGHT CONTROLLER
WITH
BIDIRECTIONAL VISITOR COUNTER
topic :
Definition
✘ 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.
3
 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.
 Automatic Room Light Controller with 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.
BLOCKDIAGRAM AND ITS DESCRIPTION
1. Power Supply
2. 2. Entry and Exit sensor circuit
3. 3. AT 89S52 micro-controller
4. 4. Relay driver circuit
5
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.
SCHEMATIC DIAGRAM & CIRCUIT DESCRIPTION
CIRCUIT DESCRIPTION
There are two main parts of the circuits.
1. Transmission Circuit (Infrared LEDs)
2. Receiver Circuit (Sensors)
Transmission circuit
6
Receiver Circuit:
7
LIST OF COMPONENTS
1. Microcontroller – AT89S52
2. IC – 7805
3. Sensor – TSOP 1738 (Infrared Sensor)
4. Transformer – 12-0-12, 500 mA
5. Preset – 4.7K
6. Disc capacitor – 104,33pF
7. Reset button switch
8. Rectifier diode – IN4148
9. Transistor – BC 547, 2N2222
10.7-Segment Display
8
Description of Components
1. Microcontroller AT89S52
9
FEATURES
1. 8 KB Reprogrammable flash.
2. 32 Programmable I/O lines.
3. 16 bit Timer/Counter—3.
4. 8 Interrupt sources.
5. Power range: 4V – 5.5V
6. Endurance : 1000 Writes / Erase cycles
7. Fully static operation: 0 Hz to 33 MHz
8. Three level program memory lock
9. Power off flag
10.Full duplex UART serial channel
11.Low power idle and power down modes
12.Interrupt recovery from power down
modes
13.256 KB internal RAM
14. Dual data pointer
Features
1. Photo detector and preamplifier in one
package
2. Internal filter for PCM frequency
3. Improved shielding against electrical field
disturbance
4. TTL and CMOS compatibility
5. Output active low
6. Low power consumption
7. High immunity against ambient light
8. Continuous data transmission possible (up to
2400 bps)
2.TSOP1738 (INFRARED SENSOR)
3. 555 (TIMER IC)
Features
1. Direct replacement for SE555/NE555
2. Timing from microseconds through hours
3. Operates in both as table and monostable modes
4. Adjustable duty cycle
5. Output can source or sink 200 mA Output and
supply TTL compatible
6. Temperature stability better than 0.005% per °C
7. Normally on and normally off output
8. Available in 8-pin MSOP package
10
4. LTS 542 (7-Segment Display)
Features
1. Common Anode
2. 0.52 Inch Digit Height
3. Continuous Uniform Segments
4. Low power Requirement
5. Excellent Characters Appearance
5 .LM7805 (Voltage Regulator)
Features
1. Output Current up to 1A
2. Output Voltages of 5, 6, 8, 9, 10, 12, 15, 18, 24V
3. Thermal Overload Protection
4. Short Circuit Protection
11
6 RELAY CIRCUIT
A single pole dabble throw (SPDT)
relay is connected to port RB1 of the
microcontroller through a driver
transistor.
FLOW CHART
12
 If the sensor 1 is interrupted first then the
microcontroller will look for the sensor 2, and if it
is interrupted then the microcontroller will
Increment the count and switch on the relay, if it
is first time interrupted.
 If the sensor 2 is interrupted first then the
microcontroller will look for the sensor 1, and if it
is interrupted then the microcontroller will
decrement the count.
 When the last person leaves the room then
counter goes to 0 and that
time the relay will turn off, and light will be turned
off
PROJECT PROGRAM
Write down proper code by code blocks
And give commands.
13
FUTURE EXPANSION
1. By using this circuit and proper power supply we can
implement various applications Such as fans, tube lights, etc.
2. 2. By modifying this circuit and using two relays we can achieve
a task of opening and closing the door.
14
ADVANTAGES & DISADVANTAGES &
APPLICATION,
Advantages
1. Low cost
2. Easy to use
3. Implement in single door
Disadvantages
1. It is used only when one single person cuts the rays of the sensor hence it
cannot be used when two
person cross simultaneously.
Application
1. For counting purposes
2. For automatic room light control
15
REFERENCE BOOKS & WEBSITE
Reference Books
1. Programming in ANSIC: E BALAGURUSAMY
2. The 8051microcontroller and embedded systems: MUHAMMAD ALI MAZIDI
3. JANICE GILLISPIE MAZIDI
4. The 8051 microcontroller: KENNETH J. AYALA
Website
1. www.datasheets4u.com
2. www.8051.com
16
17
Thanks
For concern

More Related Content

PPTX
Xbee Wireless Throttle Position Sensor And Control
PPTX
Movement Sensed Automatic Door Opening System
PPTX
Gsm based fire alert system
PDF
A Review on Zigbee, Gsm and Wsn Based Home Security by Using Embedded Control...
PDF
Design and Construction of GSM Based Fire Alarm System using PIC Microcontroller
PPTX
GSM BASED FIRE ALARM SYSTEM
PDF
Automatic Room Lights Controller Using Arduino & PIR Sensor
PPTX
Contactless tachometer
Xbee Wireless Throttle Position Sensor And Control
Movement Sensed Automatic Door Opening System
Gsm based fire alert system
A Review on Zigbee, Gsm and Wsn Based Home Security by Using Embedded Control...
Design and Construction of GSM Based Fire Alarm System using PIC Microcontroller
GSM BASED FIRE ALARM SYSTEM
Automatic Room Lights Controller Using Arduino & PIR Sensor
Contactless tachometer

What's hot (20)

PPTX
INTELLIGENT HELMET FOR COAL MINERS
PDF
Project report on bidirectional visitor counter & home automation
PPTX
Presentation group 1
PDF
Automatic Door Opener using PIR Sensor
PPTX
Automatic Room Light Controller Using Arduinom & PIR Sensor
PPTX
Automatic door using arduino
PDF
Security System Based on Ultrasonic Sensor Technology
PPTX
Mechanism of PIR sensor
PPTX
Shiv smart door ppt
DOCX
Smart door project report shivnaresh likhar
PDF
Minor Project Report: Automatic Door Control System
PPTX
Human Detection Robot
PPTX
Temperature Sensor
PPTX
Automatic room temperature control
PPT
Automatic room light controller with bidirectional visitor counter
PDF
TAModuleSPEC_A3
PPTX
Temperature based speed control of fan using microcontroller
PPTX
INTELLIGENT ROOM LIGHTING ON PERSON PRESENCE
PPTX
fire detection system
PPTX
Passive infrared based human detection alive robot
INTELLIGENT HELMET FOR COAL MINERS
Project report on bidirectional visitor counter & home automation
Presentation group 1
Automatic Door Opener using PIR Sensor
Automatic Room Light Controller Using Arduinom & PIR Sensor
Automatic door using arduino
Security System Based on Ultrasonic Sensor Technology
Mechanism of PIR sensor
Shiv smart door ppt
Smart door project report shivnaresh likhar
Minor Project Report: Automatic Door Control System
Human Detection Robot
Temperature Sensor
Automatic room temperature control
Automatic room light controller with bidirectional visitor counter
TAModuleSPEC_A3
Temperature based speed control of fan using microcontroller
INTELLIGENT ROOM LIGHTING ON PERSON PRESENCE
fire detection system
Passive infrared based human detection alive robot
Ad

Similar to Automatic room light controller (20)

PPTX
Atomatic light controller
PDF
Automatic room light controller using microcontroller and visitor counter
PDF
FINAL REPORT_B.tech
DOC
P 0329--intelligent energy-saving
PDF
Deepak
PPTX
ANTI THEFT PPT
PPTX
Auto Room Lighting System
PDF
Home Automation & Security
DOC
report on intelligent energy conservation system
PDF
JamesEndl
PPTX
Secure Feeder Operation in Radial Distribution System presentation final.pptx
DOC
ULTRASONIC SENSOR DISTANCE CALCULATE
DOCX
INTELIGENT RAILWAY SYSTEM
PDF
Minor_project.ppt.pdf
PDF
Ultrasonic level meter
PPTX
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
PPTX
Street light controlling using Microcontroller
PPTX
Zigbee based intelligent helemet for coal miners ppt
PPTX
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
DOCX
Project
Atomatic light controller
Automatic room light controller using microcontroller and visitor counter
FINAL REPORT_B.tech
P 0329--intelligent energy-saving
Deepak
ANTI THEFT PPT
Auto Room Lighting System
Home Automation & Security
report on intelligent energy conservation system
JamesEndl
Secure Feeder Operation in Radial Distribution System presentation final.pptx
ULTRASONIC SENSOR DISTANCE CALCULATE
INTELIGENT RAILWAY SYSTEM
Minor_project.ppt.pdf
Ultrasonic level meter
AUTOMATIC SMART ENERGY MANAGEMENT SYSTEM
Street light controlling using Microcontroller
Zigbee based intelligent helemet for coal miners ppt
STREET LIGHT THAT GLOWS ON DETECTING VEHICLE MOVEMENT
Project
Ad

More from MD Jannatul Giyem (9)

PPTX
Solar Mini grid, Nano grid, Micro grid
PPTX
Eee 215 presentation
PPTX
Md. jannatul nayim -erp
PPTX
Choosing an accounting software
PPTX
Bangladesh studies presentation slide
PPT
PPT
Michale farady
PPT
PPTX
Solar Mini grid, Nano grid, Micro grid
Eee 215 presentation
Md. jannatul nayim -erp
Choosing an accounting software
Bangladesh studies presentation slide
Michale farady

Recently uploaded (20)

PPTX
web development for engineering and engineering
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Internet of Things (IOT) - A guide to understanding
DOCX
573137875-Attendance-Management-System-original
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
additive manufacturing of ss316l using mig welding
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Construction Project Organization Group 2.pptx
PPTX
Geodesy 1.pptx...............................................
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
web development for engineering and engineering
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Internet of Things (IOT) - A guide to understanding
573137875-Attendance-Management-System-original
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Sustainable Sites - Green Building Construction
Foundation to blockchain - A guide to Blockchain Tech
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
additive manufacturing of ss316l using mig welding
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Arduino robotics embedded978-1-4302-3184-4.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
bas. eng. economics group 4 presentation 1.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Construction Project Organization Group 2.pptx
Geodesy 1.pptx...............................................
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf

Automatic room light controller

  • 1. Presented to : Saikat Basak Senior Lecturer Department of EEE Daffodil International University Presented by  Md. Jannatul Nayim Giyem Id: 163-33-3647  Md. Arifur Rahman Id: 172-33-4126  Arafat Sarkar Id: 172-33-4126  S M Hasibul Bashar Id: 172-33-4084  Most. Sumaya Nasrin Id: 172-33-3987  Nokib Parvez Id: 172-33-3991 Course Title : Signals and Systems Course Code : EEE227 Section: A (L2 T1) Summer’2018 Department of EEE Daffodil International University1 PRESENTATION welcome to Our
  • 2. AUTOMATIC ROOM LIGHT CONTROLLER WITH BIDIRECTIONAL VISITOR COUNTER topic :
  • 3. Definition ✘ 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. 3
  • 4.  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.  Automatic Room Light Controller with 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.
  • 5. BLOCKDIAGRAM AND ITS DESCRIPTION 1. Power Supply 2. 2. Entry and Exit sensor circuit 3. 3. AT 89S52 micro-controller 4. 4. Relay driver circuit 5 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.
  • 6. SCHEMATIC DIAGRAM & CIRCUIT DESCRIPTION CIRCUIT DESCRIPTION There are two main parts of the circuits. 1. Transmission Circuit (Infrared LEDs) 2. Receiver Circuit (Sensors) Transmission circuit 6
  • 8. LIST OF COMPONENTS 1. Microcontroller – AT89S52 2. IC – 7805 3. Sensor – TSOP 1738 (Infrared Sensor) 4. Transformer – 12-0-12, 500 mA 5. Preset – 4.7K 6. Disc capacitor – 104,33pF 7. Reset button switch 8. Rectifier diode – IN4148 9. Transistor – BC 547, 2N2222 10.7-Segment Display 8
  • 9. Description of Components 1. Microcontroller AT89S52 9 FEATURES 1. 8 KB Reprogrammable flash. 2. 32 Programmable I/O lines. 3. 16 bit Timer/Counter—3. 4. 8 Interrupt sources. 5. Power range: 4V – 5.5V 6. Endurance : 1000 Writes / Erase cycles 7. Fully static operation: 0 Hz to 33 MHz 8. Three level program memory lock 9. Power off flag 10.Full duplex UART serial channel 11.Low power idle and power down modes 12.Interrupt recovery from power down modes 13.256 KB internal RAM 14. Dual data pointer Features 1. Photo detector and preamplifier in one package 2. Internal filter for PCM frequency 3. Improved shielding against electrical field disturbance 4. TTL and CMOS compatibility 5. Output active low 6. Low power consumption 7. High immunity against ambient light 8. Continuous data transmission possible (up to 2400 bps) 2.TSOP1738 (INFRARED SENSOR)
  • 10. 3. 555 (TIMER IC) Features 1. Direct replacement for SE555/NE555 2. Timing from microseconds through hours 3. Operates in both as table and monostable modes 4. Adjustable duty cycle 5. Output can source or sink 200 mA Output and supply TTL compatible 6. Temperature stability better than 0.005% per °C 7. Normally on and normally off output 8. Available in 8-pin MSOP package 10 4. LTS 542 (7-Segment Display) Features 1. Common Anode 2. 0.52 Inch Digit Height 3. Continuous Uniform Segments 4. Low power Requirement 5. Excellent Characters Appearance
  • 11. 5 .LM7805 (Voltage Regulator) Features 1. Output Current up to 1A 2. Output Voltages of 5, 6, 8, 9, 10, 12, 15, 18, 24V 3. Thermal Overload Protection 4. Short Circuit Protection 11 6 RELAY CIRCUIT A single pole dabble throw (SPDT) relay is connected to port RB1 of the microcontroller through a driver transistor.
  • 12. FLOW CHART 12  If the sensor 1 is interrupted first then the microcontroller will look for the sensor 2, and if it is interrupted then the microcontroller will Increment the count and switch on the relay, if it is first time interrupted.  If the sensor 2 is interrupted first then the microcontroller will look for the sensor 1, and if it is interrupted then the microcontroller will decrement the count.  When the last person leaves the room then counter goes to 0 and that time the relay will turn off, and light will be turned off
  • 13. PROJECT PROGRAM Write down proper code by code blocks And give commands. 13
  • 14. FUTURE EXPANSION 1. By using this circuit and proper power supply we can implement various applications Such as fans, tube lights, etc. 2. 2. By modifying this circuit and using two relays we can achieve a task of opening and closing the door. 14
  • 15. ADVANTAGES & DISADVANTAGES & APPLICATION, Advantages 1. Low cost 2. Easy to use 3. Implement in single door Disadvantages 1. It is used only when one single person cuts the rays of the sensor hence it cannot be used when two person cross simultaneously. Application 1. For counting purposes 2. For automatic room light control 15
  • 16. REFERENCE BOOKS & WEBSITE Reference Books 1. Programming in ANSIC: E BALAGURUSAMY 2. The 8051microcontroller and embedded systems: MUHAMMAD ALI MAZIDI 3. JANICE GILLISPIE MAZIDI 4. The 8051 microcontroller: KENNETH J. AYALA Website 1. www.datasheets4u.com 2. www.8051.com 16