SlideShare ist ein Scribd-Unternehmen logo
1 von 12
DIGITAL EMBEDDED 
SYSTEM I 
PRESENTATION BY 
ONGKAR PRASAD 
(PT1284406)
OBJECTIVE 
The objective of this project is to design an Energy 
Saving Visitor Counter by using the microcontroller 
68hc11/8051 and to integrate hardware and software in 
order to simulate the circuit in such a way that 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 may also 
be displayed on the seven segment displays/LEDs
BLOCK DIAGRAM
BLOCK DIAGRAM DESCRIPTION 
MICROCONTROLLER(AT89C51) 
A microcontroller is device, which contains all the device necessary to form 
working system, in a single chip. Therefore, inside the microcontroller we find a 
central processing unit (CPU), program memory, data memory, I/O ports, serial 
communication interface. 
IR Transmitter: We have implemented the Person counter module using 2 
transmitters and 2 receivers. We have used Infra-Red transmitters. Reason 
behind choosing IR LED is, infrared beams are not visible to human eyes and 
they are not easily triggered by other sources in the environment. Transmitters 
used are IR LEDs. 
IR Receiver: We have used IR sensor as an Infrared receiver. It is an active low 
device, which means it gives low output when it receives the Infrared rays. So 
when the IR rays are interrupted by any person then microcontroller will receive 
a high pulse from the IR receiver.
 LED (light emitting diode) 
Light emitting diodes are diodes (electronic components that let electricity pass in only one 
direction) that emit visible light when electricity is applied, much like a light bulb. When many 
LEDs are side-by-side, they can create pictures, such as the scrolling red LED signs found 
everywhere 
 The seven segment Display 
An LED or Light Emitting Diode, is a solid state optical PN-junction diode which emits light energy 
in the form of “photons” when it is forward biased by a voltage allowing current to flow across its 
junction, and in Electronics we call this process electroluminescence. The actual colour of the visible 
light emitted by an LED, ranging from blue to red to orange, is decided by the spectral wavelength of 
the emitted light which itself is dependent upon the mixture of the various impurities added to the 
semiconductor materials used to produce it. 
 Power cell 
A nine-volt battery, sometimes referred to by its original designation as a PP3 battery is used 
here, the battery has both the positive and negative terminals on one end. The negative terminal 
is fashioned into a snap fitting which mechanically and electrically connects to a mating 
terminal on the power connector. The power connector has a similar snap fitting on its positive 
terminal which mates to the battery. This makes battery polarization obvious since mechanical 
connection is only possible in one configuration. The clips on the 9-volt battery can be used to 
connect several 9-volt batteries in series
CODE 
 #include<reg51.h> 
 sbit led1=P1^2; 
 sbit sw1=P1^0; 
 sbit sw2=P1^1; 
 sfr seg=0xA0; 
 int 
a[10]={0xbf,0x86,0xdb,0xcf,0xe6,0xed, 
0xfd,0x87,0xff,0xef}; 
 void delay(unsigned int t) 
 { 
 int i,j; 
 for(i=0;i<t;i++) 
 for(j=0;j<1000;j++); 
 } 
 void main() 
 { 
 int c=0; 
 seg=a[0]; 
 while(1) 
 { 
 if(sw1==0) 
 { 
 while(sw2==1); 
 if(sw2==0) 
 { 
 c++; 
 seg=a[c]; 
 delay(40); 
 } 
 } 
 else if(sw2==0) 
 { 
 while(sw1==1); 
 if(sw1==0) 
 { 
 c--; 
 seg=a[c]; 
 delay(40); 
 } 
 } 
 else if(c>=1&&c<2) 
 { 
 led1=0; 
 } 
 else if(c==0) 
 { 
 led1=1; 
 } 
 } 
 }
CIRCUIT DIAGRAM 
In this bidirectional circuit two infrared (IR) sensor components are used 
for up and down counting, respectively. Whenever an interruption is 
observed by the IR sensor then the IR sensor increment the value of 
counter and whenever the second sensor detects any obstacle, the 
counter is decremented. 
The number of interruption count depend upon the sensor’s input and 
displayed on a set of seven segment displays by using the concept of 
multiplexing (for concept of multiplexing refer seven segment 
multiplexing). The data pins of each 7-segment display are connected 
to port P2 of the microcontroller AT89C51.The seven pin of P2 are 
connected to control pins of to enable a particular seven segment. 
The IR sensor input is defined as up and down selector mode for the 
counter in the code. Every time the first sensor is blocked, the first sensor 
gives a high voltage signals and the count the value gets incremented. 
The value of second sensor gets decremented when connected to 
second a sensor, gives high input. At every setup, the value of the 
counter is sent and displayed it on the 
Sensor, gives high input. At every setup, the value of the counter is sent 
and displayed it on the seven segments 
Figure number – (2) circuit diagram 
CIRCUIT DIAGRAM DESCRIPTION
HARDWARE AND SOFTWARE PLATFORM 
 Hardware platform 
The microcontroller is backbone of this project. The microcontroller get 
connected by all the components which allow it to operate standalone, and it 
has been designed in particular for monitoring and control tasks. In 
consequence, in addition to the processor it includes memory, various 
interface controllers, one or more timers, an interrupt controller, and last but 
definitely not least general purpose I/O pins which allow it to directly interface 
to its environment. Microcontrollers also include bit operations which allow you 
to change one bit within a byte without touching the other bits. This is a 
microcontroller which can process both digital and analog signals. A major 
application area for microcontrollers are embedded systems in the 
bidirectional visitor counter. In embedded systems, the control unit is 
integrated into the system.
 Software platform 
Proteus software 
Proteus is a best simulation software for various designs with microcontroller. It is 
mainly popular because of availability of almost all microcontrollers in it. So it is 
a handy tool to test programs and embedded designs for electronics hobbyist. 
You can simulate your programming of microcontroller in Proteus Simulation 
Software. After simulating your circuit in Proteus Software you can directly 
make PCB design with it so it could be an all in one package for students and 
hobbyists. So I think now you have a little bit idea about what is proteus 
software. 
Keil software 
Keil compiler is a software used where the machine language code is 
written and compiled. After compilation, the machine source code is 
converted in hex code which his to be dumped into microcontroller for 
the processing. Keil compiler also support c language code
RESULTS 
INCREMENT 
Figure number – (3) figure of 
increment 
DECREMENT 
Figure number – (4) figure of 
decrement 
DEBUG 
Figure number – (5) figure of 
debug in keil
CONCLUSION AND FUTURE SCOPE 
CONCLUSION 
Finally, I have done my assignment bidirectional energy saving visitor 
counter and learnt many things from this project. This gives lots of 
knowledge of software as hardware. Name of software used in this 
project i.e proteus and keil and now able to handle proteus and keil 
software. I got information about pin configuration of microcontroller 
8051, crystal oscillator, seven segment, IR sensor and many more 
FUTURE SCOPE 
 In bidirectional visitor counter the voice alarm may be added to 
indelicate room is full and person can’t enter in the room.
Bidirect visitor counter

Weitere ähnliche Inhalte

Was ist angesagt?

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 counterMannavapremkumar
 
Bi directional visitor counter rewat
Bi directional visitor counter   rewatBi directional visitor counter   rewat
Bi directional visitor counter rewatvishwesh sharma
 
Smart LED Notice Board
Smart LED Notice BoardSmart LED Notice Board
Smart LED Notice Boardswarnimmaurya
 
Automatic room-light-controller-visitor-counter
Automatic room-light-controller-visitor-counterAutomatic room-light-controller-visitor-counter
Automatic room-light-controller-visitor-counterMohit Awasthi
 
AUTOMATIC BELL FOR COLLEGE
AUTOMATIC BELL FOR COLLEGEAUTOMATIC BELL FOR COLLEGE
AUTOMATIC BELL FOR COLLEGEbharath405
 
Bidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project ProposalBidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project ProposalArsalan Ahmad
 
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
 
Line following robot
Line following robotLine following robot
Line following robotsunil sah
 
Automatic railway gate control using microcontroller
Automatic railway gate control using microcontrollerAutomatic railway gate control using microcontroller
Automatic railway gate control using microcontrollerpukeshwar harmukh
 
Smart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likharSmart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likharShivnaresh Likhar
 
obstacle avoiding robot
obstacle avoiding robotobstacle avoiding robot
obstacle avoiding robotssuser5ba2241
 
REMOTE OPERATED SPY ROBO PPT
REMOTE OPERATED SPY ROBO PPTREMOTE OPERATED SPY ROBO PPT
REMOTE OPERATED SPY ROBO PPTkiran bansod
 
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATION
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATIONBLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATION
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATIONVarun Divekar
 
The line follower robot
The line follower robotThe line follower robot
The line follower robotPoonam Narang
 
Electronic Eye Controlled Security System
Electronic Eye Controlled Security SystemElectronic Eye Controlled Security System
Electronic Eye Controlled Security SystemEmran Ahmed
 
Automatic railway gate control system
Automatic railway gate control systemAutomatic railway gate control system
Automatic railway gate control systemdeepraj2085
 

Was ist angesagt? (20)

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
 
Bi directional visitor counter rewat
Bi directional visitor counter   rewatBi directional visitor counter   rewat
Bi directional visitor counter rewat
 
Smart LED Notice Board
Smart LED Notice BoardSmart LED Notice Board
Smart LED Notice Board
 
A bi directional visitors counter
A bi directional visitors counterA bi directional visitors counter
A bi directional visitors counter
 
Visitor counter
Visitor counterVisitor counter
Visitor counter
 
PIC Microcontroller | ADC Interfacing
PIC Microcontroller | ADC InterfacingPIC Microcontroller | ADC Interfacing
PIC Microcontroller | ADC Interfacing
 
Automatic room-light-controller-visitor-counter
Automatic room-light-controller-visitor-counterAutomatic room-light-controller-visitor-counter
Automatic room-light-controller-visitor-counter
 
AUTOMATIC BELL FOR COLLEGE
AUTOMATIC BELL FOR COLLEGEAUTOMATIC BELL FOR COLLEGE
AUTOMATIC BELL FOR COLLEGE
 
Bidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project ProposalBidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project Proposal
 
Visitor counter
Visitor counterVisitor counter
Visitor counter
 
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...
 
Line following robot
Line following robotLine following robot
Line following robot
 
Automatic railway gate control using microcontroller
Automatic railway gate control using microcontrollerAutomatic railway gate control using microcontroller
Automatic railway gate control using microcontroller
 
Smart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likharSmart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likhar
 
obstacle avoiding robot
obstacle avoiding robotobstacle avoiding robot
obstacle avoiding robot
 
REMOTE OPERATED SPY ROBO PPT
REMOTE OPERATED SPY ROBO PPTREMOTE OPERATED SPY ROBO PPT
REMOTE OPERATED SPY ROBO PPT
 
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATION
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATIONBLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATION
BLUETOOTH CONTROL ROBOT WITH ANDROID APPLICATION
 
The line follower robot
The line follower robotThe line follower robot
The line follower robot
 
Electronic Eye Controlled Security System
Electronic Eye Controlled Security SystemElectronic Eye Controlled Security System
Electronic Eye Controlled Security System
 
Automatic railway gate control system
Automatic railway gate control systemAutomatic railway gate control system
Automatic railway gate control system
 

Ähnlich wie Bidirect visitor counter

summer training report (2)
summer training report (2)summer training report (2)
summer training report (2)Kavya Gupta
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ajit kumar singh
 
microcontroller and embedded system
microcontroller and embedded systemmicrocontroller and embedded system
microcontroller and embedded systempradeep rana
 
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 systemNIT srinagar
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2srknec
 
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...IOSR Journals
 
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...IOSR Journals
 
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...IOSR Journals
 
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...IOSR Journals
 
Digital Alarm Clock 446 project report
Digital Alarm Clock 446 project reportDigital Alarm Clock 446 project report
Digital Alarm Clock 446 project reportAkash Mhankale
 
Minor Project Report on - short range personal 'RADAR'.
Minor Project Report on - short range personal 'RADAR'.Minor Project Report on - short range personal 'RADAR'.
Minor Project Report on - short range personal 'RADAR'.Sarvesh Kushwaha
 
Analog to Digital Conversion Using Microcontroller Education Boards
Analog to Digital Conversion Using Microcontroller Education BoardsAnalog to Digital Conversion Using Microcontroller Education Boards
Analog to Digital Conversion Using Microcontroller Education BoardsKyle VanDruten
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxMeghdeepSingh
 
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C ProtocolInterfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C ProtocolIJERA Editor
 
IMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETERIMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETERVijay Elavunkal
 
Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller IJECEIAES
 

Ähnlich wie Bidirect visitor counter (20)

summer training report (2)
summer training report (2)summer training report (2)
summer training report (2)
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
 
microcontroller and embedded system
microcontroller and embedded systemmicrocontroller and embedded system
microcontroller and embedded 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
 
Minor_project.ppt.pdf
Minor_project.ppt.pdfMinor_project.ppt.pdf
Minor_project.ppt.pdf
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2
 
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
 
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
 
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
 
E010132736
E010132736E010132736
E010132736
 
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...Implementation of an Improved Microcontroller Based Moving Message Display Sy...
Implementation of an Improved Microcontroller Based Moving Message Display Sy...
 
Digital Alarm Clock 446 project report
Digital Alarm Clock 446 project reportDigital Alarm Clock 446 project report
Digital Alarm Clock 446 project report
 
Minor Project Report on - short range personal 'RADAR'.
Minor Project Report on - short range personal 'RADAR'.Minor Project Report on - short range personal 'RADAR'.
Minor Project Report on - short range personal 'RADAR'.
 
Analog to Digital Conversion Using Microcontroller Education Boards
Analog to Digital Conversion Using Microcontroller Education BoardsAnalog to Digital Conversion Using Microcontroller Education Boards
Analog to Digital Conversion Using Microcontroller Education Boards
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C ProtocolInterfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
 
IMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETERIMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETER
 
Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller Contactless digital tachometer using microcontroller
Contactless digital tachometer using microcontroller
 

Kürzlich hochgeladen

Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Kürzlich hochgeladen (20)

Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

Bidirect visitor counter

  • 1. DIGITAL EMBEDDED SYSTEM I PRESENTATION BY ONGKAR PRASAD (PT1284406)
  • 2. OBJECTIVE The objective of this project is to design an Energy Saving Visitor Counter by using the microcontroller 68hc11/8051 and to integrate hardware and software in order to simulate the circuit in such a way that 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 may also be displayed on the seven segment displays/LEDs
  • 4. BLOCK DIAGRAM DESCRIPTION MICROCONTROLLER(AT89C51) A microcontroller is device, which contains all the device necessary to form working system, in a single chip. Therefore, inside the microcontroller we find a central processing unit (CPU), program memory, data memory, I/O ports, serial communication interface. IR Transmitter: We have implemented the Person counter module using 2 transmitters and 2 receivers. We have used Infra-Red transmitters. Reason behind choosing IR LED is, infrared beams are not visible to human eyes and they are not easily triggered by other sources in the environment. Transmitters used are IR LEDs. IR Receiver: We have used IR sensor as an Infrared receiver. It is an active low device, which means it gives low output when it receives the Infrared rays. So when the IR rays are interrupted by any person then microcontroller will receive a high pulse from the IR receiver.
  • 5.  LED (light emitting diode) Light emitting diodes are diodes (electronic components that let electricity pass in only one direction) that emit visible light when electricity is applied, much like a light bulb. When many LEDs are side-by-side, they can create pictures, such as the scrolling red LED signs found everywhere  The seven segment Display An LED or Light Emitting Diode, is a solid state optical PN-junction diode which emits light energy in the form of “photons” when it is forward biased by a voltage allowing current to flow across its junction, and in Electronics we call this process electroluminescence. The actual colour of the visible light emitted by an LED, ranging from blue to red to orange, is decided by the spectral wavelength of the emitted light which itself is dependent upon the mixture of the various impurities added to the semiconductor materials used to produce it.  Power cell A nine-volt battery, sometimes referred to by its original designation as a PP3 battery is used here, the battery has both the positive and negative terminals on one end. The negative terminal is fashioned into a snap fitting which mechanically and electrically connects to a mating terminal on the power connector. The power connector has a similar snap fitting on its positive terminal which mates to the battery. This makes battery polarization obvious since mechanical connection is only possible in one configuration. The clips on the 9-volt battery can be used to connect several 9-volt batteries in series
  • 6. CODE  #include<reg51.h>  sbit led1=P1^2;  sbit sw1=P1^0;  sbit sw2=P1^1;  sfr seg=0xA0;  int a[10]={0xbf,0x86,0xdb,0xcf,0xe6,0xed, 0xfd,0x87,0xff,0xef};  void delay(unsigned int t)  {  int i,j;  for(i=0;i<t;i++)  for(j=0;j<1000;j++);  }  void main()  {  int c=0;  seg=a[0];  while(1)  {  if(sw1==0)  {  while(sw2==1);  if(sw2==0)  {  c++;  seg=a[c];  delay(40);  }  }  else if(sw2==0)  {  while(sw1==1);  if(sw1==0)  {  c--;  seg=a[c];  delay(40);  }  }  else if(c>=1&&c<2)  {  led1=0;  }  else if(c==0)  {  led1=1;  }  }  }
  • 7. CIRCUIT DIAGRAM In this bidirectional circuit two infrared (IR) sensor components are used for up and down counting, respectively. Whenever an interruption is observed by the IR sensor then the IR sensor increment the value of counter and whenever the second sensor detects any obstacle, the counter is decremented. The number of interruption count depend upon the sensor’s input and displayed on a set of seven segment displays by using the concept of multiplexing (for concept of multiplexing refer seven segment multiplexing). The data pins of each 7-segment display are connected to port P2 of the microcontroller AT89C51.The seven pin of P2 are connected to control pins of to enable a particular seven segment. The IR sensor input is defined as up and down selector mode for the counter in the code. Every time the first sensor is blocked, the first sensor gives a high voltage signals and the count the value gets incremented. The value of second sensor gets decremented when connected to second a sensor, gives high input. At every setup, the value of the counter is sent and displayed it on the Sensor, gives high input. At every setup, the value of the counter is sent and displayed it on the seven segments Figure number – (2) circuit diagram CIRCUIT DIAGRAM DESCRIPTION
  • 8. HARDWARE AND SOFTWARE PLATFORM  Hardware platform The microcontroller is backbone of this project. The microcontroller get connected by all the components which allow it to operate standalone, and it has been designed in particular for monitoring and control tasks. In consequence, in addition to the processor it includes memory, various interface controllers, one or more timers, an interrupt controller, and last but definitely not least general purpose I/O pins which allow it to directly interface to its environment. Microcontrollers also include bit operations which allow you to change one bit within a byte without touching the other bits. This is a microcontroller which can process both digital and analog signals. A major application area for microcontrollers are embedded systems in the bidirectional visitor counter. In embedded systems, the control unit is integrated into the system.
  • 9.  Software platform Proteus software Proteus is a best simulation software for various designs with microcontroller. It is mainly popular because of availability of almost all microcontrollers in it. So it is a handy tool to test programs and embedded designs for electronics hobbyist. You can simulate your programming of microcontroller in Proteus Simulation Software. After simulating your circuit in Proteus Software you can directly make PCB design with it so it could be an all in one package for students and hobbyists. So I think now you have a little bit idea about what is proteus software. Keil software Keil compiler is a software used where the machine language code is written and compiled. After compilation, the machine source code is converted in hex code which his to be dumped into microcontroller for the processing. Keil compiler also support c language code
  • 10. RESULTS INCREMENT Figure number – (3) figure of increment DECREMENT Figure number – (4) figure of decrement DEBUG Figure number – (5) figure of debug in keil
  • 11. CONCLUSION AND FUTURE SCOPE CONCLUSION Finally, I have done my assignment bidirectional energy saving visitor counter and learnt many things from this project. This gives lots of knowledge of software as hardware. Name of software used in this project i.e proteus and keil and now able to handle proteus and keil software. I got information about pin configuration of microcontroller 8051, crystal oscillator, seven segment, IR sensor and many more FUTURE SCOPE  In bidirectional visitor counter the voice alarm may be added to indelicate room is full and person can’t enter in the room.