SlideShare a Scribd company logo
Automatic room light controller with bi-
directional visitor counter using Arduino uno
Presented By ,
Mr. Prasenjit Chandrakant More
INTRODUCTION
• Project title is “ Automatic Room light ControllerWith Bi-DirectionalVisitor Counter Using Arduino Uno ” .
• Electricity is one of the most important resources in this century.We should conserve the electricity. But
Many times we come out side the room / hall and forget to turn off lights/fan, thus the electricity is wasted.
• To overcome this we are going to implement a project called “ Automatic Room light Controller with visitor
counter ” .This project has two modules, first modules is “visitor counter ” and second is “ Automatic room
light controller ”.
• Main concept behind this project is to measure and display the number of persons entering in any room like
seminar hall , conference room and when number of persons inside the room is zero m power supply inside
the room can be cut using a relay interface.
• This will help to save electricity , LCD display placed out side the room display number of person inside the
room.
BLOCK DIAGRAM
A
R
D
U
I
N
O
U
N
O
SUPPLY
RECEIVER
1
RECEIVER
2
TRANSMITTER
1
TRANSMITTER
2
RELAY
LOAD
L C D
COMPONENTS USED IN PROJECT
• I R Sensor
• Arduino Uno Board
• Relay
• Load ( lamp )
• LCD Display
• Jumper Cables
• Power Supply
CIRCUIT DIAGRAM
CIRCUIT DIAGRAM EXPLAINATION
• Sensor Section
In this section we have used two IR sensor modules . Here in this circuit we have used two comparators for two
sensors. LM358 is used as comparator . LM 358 has in built two low noise Op-amp.
• Control Section
Arduino UNO is used for controlling whole the process of this visitor counter project. The out puts comparators are
connected to digital pins of Arduino
• Display Section
Display section contains a 16*2 LCD . This section will display the counted number of people and light status when
no one will in the room.
• Relay Driver Section
Relay driver section consist a BC547 transistor and 5volt relay for controlling the load . Arduino sends commands to
this relay driver transistor and then light bulb ( load ) will turn on/off accordingly .
SYSTEM IMPLEMENTATION AND TESTING
Testing is a vital process in the development and realization of any design, be it hardware based, software
based or both. The various components and their circuitry have to be tested to ensure that all the
components on board are certified okay and in good working condition. The components that did not give
the required output specification where isolated and troubleshoot to determine the nature and cause of the
component failure through careful analysis, that is examination of the working principles of the
component(s).
• Display testing
When a program to show ‘hello, world !’ is burnt into the arduino, the display shows the sentence. The
following figure shows the display test.
• IR Sensor testing
This section we test the sensor implementation by using an obstacle.
• Testing Relay
Here we did testing of relay before put into use in system.
SYSTEM IMPLEMENTATION code
&
code explanation
#include<LiquidCrystal.h>
Liquid Crystal lcd(13,12,11,10,9,8);
int In = 4;
int Out = 5;
int relay = 2;
int count=0;
The pins for LCD are
from 8 to 13. Input
pin is at 4 output pin
is at 5 and relay is
connected at pin 2.
void setup()
{
lcd.begin(16,2);
lcd.print("Visitor’s Counter");
delay(2000);
pinMode(In, INPUT);
pinMode(Out, INPUT);
pinMode(relay, OUTPUT);
lcd.clear();
lcd.print("Person In Room:");
Serial.begin(9600);
A loop is created which is
used for initialization of the
LCD setup. At the beginning
of the program the LCD will
display a message of
“Visitor Counter”.
void loop()
{
if (digitalRead(In) == LOW){
count++;
}
else if (digitalRead(Out) == LOW){
count--;
}
else if (count > 0)
{
digitalWrite(relay, HIGH);
}
else if(count <= 0){
digitalWrite(relay, LOW);
}
lcd.setCursor(0,1);
lcd.print(count);
Serial.println(count);
delay(700);
}
In loop function we read
sensors input and increment
or decrement the counting
depending upon enter or
exit operation.
RESULT
• There are two transmitters and two receiver
placed in front of each other. Swap any object
(like mobile) or your fingers in front of those
sensors. Then microcontroller increments or
decrements the counter. Ones the count is
nonzero, the room lights turned on using relay
and turned on fan. Now swap object in reverse
direction then the system decrements the count.
And room light turned off and the count
becomes zero.
ADVANTAGES
 Main advantage of this project is that it helps in energy conservation. Because when there is nobody
inside the room then lights are automatically turned off.
 Since this project does the automatic person counting with the help of two sensors installed on door
frame it also reduces the additional work of employee to count the persons .
 Low cost because human-based data collection comes with great expense .
 Also, there is no hazardous elements used in the circuit and hence it can be used even at hazardous
atmospheres in an industrial area.
DISADVANTAGE / DRAWBACKS
It is used only when one person cuts the rays of the sensor hence, cannot be used when two or more
persons cross the door simultaneously or a crowd entering or leaving can’t be counted by this system .
The only person who can communicate with the control module is the person who is in the receptionist
or security unit.
APPLICATION
 It can be used in various rooms like seminar halls , where the capacity of the room is limited and
should not be exceeded.
 It can be used in our homes because we often forget to switch off our room lights
 It helps in energy conservation
 Voice alarm system can be used to indicate that room is full & person can’t enter inside
FUTURE DEVELOPMENT
• We can send this data to a remote location using mobile or internet
• Voice alarm system can be added to indicate that room is full and persons
can’t enter inside.
REFERENCES
• G. Smith, Introduction to Arduino, September 30, 2011
• T. S. Jayadev, Infrared sensors: detectors, electronics, and signal processing, Society of Photo-optical
Instrumentation Engineers 24th july 1999
• http://circuitdigest.com/microcontroller-projects/automatic-room-light-controller-with-bidirectional-
visitor-counter-using-arduino
• https://www.elprocus.com/know-about-working-of-automatic-room-light-controller-and-applications/
• http://www.engineersgarage.com/tutorials/555-timer-ic-introduction-basics-working- different-
operating-modes
• http://www.ti.com/product/LM358

More Related Content

What's hot

Bi directional visitor counter rewat
Bi directional visitor counter   rewatBi directional visitor counter   rewat
Bi directional visitor counter rewatvishwesh sharma
 
Automatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counterAutomatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counter
Niladri Dutta
 
Automatic Room Lights Controller Using Arduino & PIR Sensor
Automatic Room Lights Controller Using Arduino & PIR SensorAutomatic Room Lights Controller Using Arduino & PIR Sensor
Automatic Room Lights Controller Using Arduino & PIR Sensor
Ankit Chaudhary
 
Ppt on automatic street light control using ir sensors
Ppt on automatic street light control using ir sensorsPpt on automatic street light control using ir sensors
Ppt on automatic street light control using ir sensors
Vikram Emmidi
 
Bidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project ProposalBidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project Proposal
Arsalan Ahmad
 
traffic light control using 4017 ic counter & timer 555
traffic light control using 4017 ic counter & timer 555traffic light control using 4017 ic counter & timer 555
traffic light control using 4017 ic counter & timer 555
Naveen Rao
 
ppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counterppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counter
Mannavapremkumar
 
Gas and smoke detection system using arduino
Gas and smoke detection system using arduinoGas and smoke detection system using arduino
Gas and smoke detection system using arduino
Md.Kamrul Islam
 
Smart door project report shivnaresh likhar
Smart door project report shivnaresh likharSmart door project report shivnaresh likhar
Smart door project report shivnaresh likhar
Shivnaresh Likhar
 
Automatic street light using ldr
Automatic street light using ldrAutomatic street light using ldr
Automatic street light using ldr
Nikhil Sharma
 
IR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOIR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNO
Mln Phaneendra
 
automatic street light
automatic street lightautomatic street light
automatic street lightAnish Anand
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controllernimmi_abes
 
Synopsis for alcohol detection with vehicle controlling (1)
Synopsis for alcohol detection with vehicle controlling (1)Synopsis for alcohol detection with vehicle controlling (1)
Synopsis for alcohol detection with vehicle controlling (1)
Pankaj Singh
 
Report Automatic led emergency light
Report Automatic led emergency lightReport Automatic led emergency light
Report Automatic led emergency light
Vatsal N Shah
 
Automatic room light controller with visible counter
Automatic room light controller with visible counterAutomatic room light controller with visible counter
Automatic room light controller with visible counter
Mafaz Ahmed
 
a project on automatic traffic control using IC 555
a project on automatic traffic control using IC 555a project on automatic traffic control using IC 555
a project on automatic traffic control using IC 555
jack990315
 
Intelligent Street light monitoring system
Intelligent Street light monitoring systemIntelligent Street light monitoring system
Intelligent Street light monitoring system
vikas mantri
 
Automatic street light control using LDR.
Automatic street light control using LDR.Automatic street light control using LDR.
Automatic street light control using LDR.
Fazlur Rahman
 

What's hot (20)

Bi directional visitor counter rewat
Bi directional visitor counter   rewatBi directional visitor counter   rewat
Bi directional visitor counter rewat
 
Automatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counterAutomatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counter
 
Automatic Room Lights Controller Using Arduino & PIR Sensor
Automatic Room Lights Controller Using Arduino & PIR SensorAutomatic Room Lights Controller Using Arduino & PIR Sensor
Automatic Room Lights Controller Using Arduino & PIR Sensor
 
Ppt on automatic street light control using ir sensors
Ppt on automatic street light control using ir sensorsPpt on automatic street light control using ir sensors
Ppt on automatic street light control using ir sensors
 
Bidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project ProposalBidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project Proposal
 
traffic light control using 4017 ic counter & timer 555
traffic light control using 4017 ic counter & timer 555traffic light control using 4017 ic counter & timer 555
traffic light control using 4017 ic counter & timer 555
 
ppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counterppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counter
 
Gas and smoke detection system using arduino
Gas and smoke detection system using arduinoGas and smoke detection system using arduino
Gas and smoke detection system using arduino
 
Smart door project report shivnaresh likhar
Smart door project report shivnaresh likharSmart door project report shivnaresh likhar
Smart door project report shivnaresh likhar
 
Automatic street light using ldr
Automatic street light using ldrAutomatic street light using ldr
Automatic street light using ldr
 
Smoke Detection System
Smoke Detection SystemSmoke Detection System
Smoke Detection System
 
IR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOIR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNO
 
automatic street light
automatic street lightautomatic street light
automatic street light
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
 
Synopsis for alcohol detection with vehicle controlling (1)
Synopsis for alcohol detection with vehicle controlling (1)Synopsis for alcohol detection with vehicle controlling (1)
Synopsis for alcohol detection with vehicle controlling (1)
 
Report Automatic led emergency light
Report Automatic led emergency lightReport Automatic led emergency light
Report Automatic led emergency light
 
Automatic room light controller with visible counter
Automatic room light controller with visible counterAutomatic room light controller with visible counter
Automatic room light controller with visible counter
 
a project on automatic traffic control using IC 555
a project on automatic traffic control using IC 555a project on automatic traffic control using IC 555
a project on automatic traffic control using IC 555
 
Intelligent Street light monitoring system
Intelligent Street light monitoring systemIntelligent Street light monitoring system
Intelligent Street light monitoring system
 
Automatic street light control using LDR.
Automatic street light control using LDR.Automatic street light control using LDR.
Automatic street light control using LDR.
 

Similar to Automatic room light controller with bi directional visitor counter using Arduino uno

Minor_project.ppt.pdf
Minor_project.ppt.pdfMinor_project.ppt.pdf
Minor_project.ppt.pdf
Uttamsharma576508
 
Deepak
DeepakDeepak
Deepak
rajarjun
 
summer training report (2)
summer training report (2)summer training report (2)
summer training report (2)Kavya Gupta
 
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
 
Tinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptxTinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptx
JayashreeSelvam5
 
Automatic_room_light_controller_ PPT.pptx
Automatic_room_light_controller_ PPT.pptxAutomatic_room_light_controller_ PPT.pptx
Automatic_room_light_controller_ PPT.pptx
SwarajDhumal
 
Energy Conservation Bidirectional visitor counter
Energy Conservation Bidirectional visitor counterEnergy Conservation Bidirectional visitor counter
Energy Conservation Bidirectional visitor counter
IRJET Journal
 
Auto Room Lighting System
Auto Room Lighting SystemAuto Room Lighting System
Auto Room Lighting System
BUBT
 
Doorlock
DoorlockDoorlock
Doorlock
BUBT
 
weather monitoiring system.pptx
weather monitoiring system.pptxweather monitoiring system.pptx
weather monitoiring system.pptx
PranayBathini1
 
Automatic room lighting system
Automatic room lighting systemAutomatic room lighting system
Automatic room lighting system
PoojithaAV
 
Report on Embedded Based Home security system
Report on Embedded Based Home security systemReport on Embedded Based Home security system
Report on Embedded Based Home security system
NIT srinagar
 
Design and Implementation of smart office management system
Design and Implementation of smart office management systemDesign and Implementation of smart office management system
Design and Implementation of smart office management system
Dhaka University of engineering & technology
 
EESS.pptx
EESS.pptxEESS.pptx
EESS.pptx
IshaanSinghal7
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking system
Arjun Singh
 
Arduino Based Collision Prevention Warning System
Arduino Based Collision Prevention Warning SystemArduino Based Collision Prevention Warning System
Arduino Based Collision Prevention Warning System
Madhav Reddy Chintapalli
 
Pr391
Pr391Pr391
Pr391
RijuMandal
 
Report (Electromagnetic Password Door Lock System)
Report (Electromagnetic Password Door Lock System)Report (Electromagnetic Password Door Lock System)
Report (Electromagnetic Password Door Lock System)Siang Wei Lee
 
IRJET- Static Analysis of the Roll Cage of All-Terrain Vehicle
IRJET- Static Analysis of the Roll Cage of All-Terrain VehicleIRJET- Static Analysis of the Roll Cage of All-Terrain Vehicle
IRJET- Static Analysis of the Roll Cage of All-Terrain Vehicle
IRJET Journal
 
AUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEM
AUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEMAUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEM
AUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEM
BiprajitSarkar
 

Similar to Automatic room light controller with bi directional visitor counter using Arduino uno (20)

Minor_project.ppt.pdf
Minor_project.ppt.pdfMinor_project.ppt.pdf
Minor_project.ppt.pdf
 
Deepak
DeepakDeepak
Deepak
 
summer training report (2)
summer training report (2)summer training report (2)
summer training report (2)
 
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
 
Tinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptxTinkercad Workshop PPT, Dept. of ECE.pptx
Tinkercad Workshop PPT, Dept. of ECE.pptx
 
Automatic_room_light_controller_ PPT.pptx
Automatic_room_light_controller_ PPT.pptxAutomatic_room_light_controller_ PPT.pptx
Automatic_room_light_controller_ PPT.pptx
 
Energy Conservation Bidirectional visitor counter
Energy Conservation Bidirectional visitor counterEnergy Conservation Bidirectional visitor counter
Energy Conservation Bidirectional visitor counter
 
Auto Room Lighting System
Auto Room Lighting SystemAuto Room Lighting System
Auto Room Lighting System
 
Doorlock
DoorlockDoorlock
Doorlock
 
weather monitoiring system.pptx
weather monitoiring system.pptxweather monitoiring system.pptx
weather monitoiring system.pptx
 
Automatic room lighting system
Automatic room lighting systemAutomatic room lighting system
Automatic room lighting system
 
Report on Embedded Based Home security system
Report on Embedded Based Home security systemReport on Embedded Based Home security system
Report on Embedded Based Home security system
 
Design and Implementation of smart office management system
Design and Implementation of smart office management systemDesign and Implementation of smart office management system
Design and Implementation of smart office management system
 
EESS.pptx
EESS.pptxEESS.pptx
EESS.pptx
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking system
 
Arduino Based Collision Prevention Warning System
Arduino Based Collision Prevention Warning SystemArduino Based Collision Prevention Warning System
Arduino Based Collision Prevention Warning System
 
Pr391
Pr391Pr391
Pr391
 
Report (Electromagnetic Password Door Lock System)
Report (Electromagnetic Password Door Lock System)Report (Electromagnetic Password Door Lock System)
Report (Electromagnetic Password Door Lock System)
 
IRJET- Static Analysis of the Roll Cage of All-Terrain Vehicle
IRJET- Static Analysis of the Roll Cage of All-Terrain VehicleIRJET- Static Analysis of the Roll Cage of All-Terrain Vehicle
IRJET- Static Analysis of the Roll Cage of All-Terrain Vehicle
 
AUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEM
AUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEMAUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEM
AUTOMATIC RAILWAY GATE AND SIGNALLING SYSTEM
 

Recently uploaded

Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 

Recently uploaded (20)

Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 

Automatic room light controller with bi directional visitor counter using Arduino uno

  • 1. Automatic room light controller with bi- directional visitor counter using Arduino uno Presented By , Mr. Prasenjit Chandrakant More
  • 2. INTRODUCTION • Project title is “ Automatic Room light ControllerWith Bi-DirectionalVisitor Counter Using Arduino Uno ” . • Electricity is one of the most important resources in this century.We should conserve the electricity. But Many times we come out side the room / hall and forget to turn off lights/fan, thus the electricity is wasted. • To overcome this we are going to implement a project called “ Automatic Room light Controller with visitor counter ” .This project has two modules, first modules is “visitor counter ” and second is “ Automatic room light controller ”. • Main concept behind this project is to measure and display the number of persons entering in any room like seminar hall , conference room and when number of persons inside the room is zero m power supply inside the room can be cut using a relay interface. • This will help to save electricity , LCD display placed out side the room display number of person inside the room.
  • 4. COMPONENTS USED IN PROJECT • I R Sensor • Arduino Uno Board • Relay • Load ( lamp ) • LCD Display • Jumper Cables • Power Supply
  • 6. CIRCUIT DIAGRAM EXPLAINATION • Sensor Section In this section we have used two IR sensor modules . Here in this circuit we have used two comparators for two sensors. LM358 is used as comparator . LM 358 has in built two low noise Op-amp. • Control Section Arduino UNO is used for controlling whole the process of this visitor counter project. The out puts comparators are connected to digital pins of Arduino • Display Section Display section contains a 16*2 LCD . This section will display the counted number of people and light status when no one will in the room. • Relay Driver Section Relay driver section consist a BC547 transistor and 5volt relay for controlling the load . Arduino sends commands to this relay driver transistor and then light bulb ( load ) will turn on/off accordingly .
  • 7. SYSTEM IMPLEMENTATION AND TESTING Testing is a vital process in the development and realization of any design, be it hardware based, software based or both. The various components and their circuitry have to be tested to ensure that all the components on board are certified okay and in good working condition. The components that did not give the required output specification where isolated and troubleshoot to determine the nature and cause of the component failure through careful analysis, that is examination of the working principles of the component(s). • Display testing When a program to show ‘hello, world !’ is burnt into the arduino, the display shows the sentence. The following figure shows the display test.
  • 8. • IR Sensor testing This section we test the sensor implementation by using an obstacle. • Testing Relay Here we did testing of relay before put into use in system.
  • 9. SYSTEM IMPLEMENTATION code & code explanation #include<LiquidCrystal.h> Liquid Crystal lcd(13,12,11,10,9,8); int In = 4; int Out = 5; int relay = 2; int count=0; The pins for LCD are from 8 to 13. Input pin is at 4 output pin is at 5 and relay is connected at pin 2.
  • 10. void setup() { lcd.begin(16,2); lcd.print("Visitor’s Counter"); delay(2000); pinMode(In, INPUT); pinMode(Out, INPUT); pinMode(relay, OUTPUT); lcd.clear(); lcd.print("Person In Room:"); Serial.begin(9600); A loop is created which is used for initialization of the LCD setup. At the beginning of the program the LCD will display a message of “Visitor Counter”.
  • 11. void loop() { if (digitalRead(In) == LOW){ count++; } else if (digitalRead(Out) == LOW){ count--; } else if (count > 0) { digitalWrite(relay, HIGH); } else if(count <= 0){ digitalWrite(relay, LOW); } lcd.setCursor(0,1); lcd.print(count); Serial.println(count); delay(700); } In loop function we read sensors input and increment or decrement the counting depending upon enter or exit operation.
  • 12. RESULT • There are two transmitters and two receiver placed in front of each other. Swap any object (like mobile) or your fingers in front of those sensors. Then microcontroller increments or decrements the counter. Ones the count is nonzero, the room lights turned on using relay and turned on fan. Now swap object in reverse direction then the system decrements the count. And room light turned off and the count becomes zero.
  • 13. ADVANTAGES  Main advantage of this project is that it helps in energy conservation. Because when there is nobody inside the room then lights are automatically turned off.  Since this project does the automatic person counting with the help of two sensors installed on door frame it also reduces the additional work of employee to count the persons .  Low cost because human-based data collection comes with great expense .  Also, there is no hazardous elements used in the circuit and hence it can be used even at hazardous atmospheres in an industrial area.
  • 14. DISADVANTAGE / DRAWBACKS It is used only when one person cuts the rays of the sensor hence, cannot be used when two or more persons cross the door simultaneously or a crowd entering or leaving can’t be counted by this system . The only person who can communicate with the control module is the person who is in the receptionist or security unit.
  • 15. APPLICATION  It can be used in various rooms like seminar halls , where the capacity of the room is limited and should not be exceeded.  It can be used in our homes because we often forget to switch off our room lights  It helps in energy conservation  Voice alarm system can be used to indicate that room is full & person can’t enter inside
  • 16. FUTURE DEVELOPMENT • We can send this data to a remote location using mobile or internet • Voice alarm system can be added to indicate that room is full and persons can’t enter inside.
  • 17. REFERENCES • G. Smith, Introduction to Arduino, September 30, 2011 • T. S. Jayadev, Infrared sensors: detectors, electronics, and signal processing, Society of Photo-optical Instrumentation Engineers 24th july 1999 • http://circuitdigest.com/microcontroller-projects/automatic-room-light-controller-with-bidirectional- visitor-counter-using-arduino • https://www.elprocus.com/know-about-working-of-automatic-room-light-controller-and-applications/ • http://www.engineersgarage.com/tutorials/555-timer-ic-introduction-basics-working- different- operating-modes • http://www.ti.com/product/LM358