+-bmitte. b/ " '%RO0,&%"O' This Project 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 ersons! visitors in the room ver" accuratel"# $hen somebo%" enters into the room then the counter is incremente% b" one an% the light in the room will be switche% &' an% when an" one leaves the room then the counter is %ecremente% b" one# The light will be onl" switche% &(( until all the ersons in the room go out# The total number of ersons insi%e the room is also %isla"e% on the seven segment %isla"s# The microcontroller %oes the above job# )t receives the signals from the sensors* an% this signal is oerate% un%er the control of software which is store% in R&M# Microcontroller AT+,-./ continuousl" monitor the )nfrare% Receivers* $hen an" object ass through the )R Receiver0s then the )R Ra"s falling on the receivers are obstructe% this obstruction is sense% b" the Microcontroller# 1"' &O2O'('% 1# +2.1 Microcontroller /# Rela" 3# )r sensor air 4# & am .# Power -ul" 3!O&4 0"1#R1 8051 "&RO&O'% RO!!(R
!&0 2O)(R +,22!6
O212
R(!16
"R +('+OR 21"R 1 3R"(7 "'%RO0,&%"O' %O 8051 "&RO&O'%RO!!(R $hen we have to learn about a new comuter we have to familiari5e about the machine caabilit" we are using* an% we can %o it b" stu%"ing the internal har%ware %esign 6%evices architecture7* an% also to know about the si5e* number an% the si5e of the registers# A microcontroller is a single chi that contains the rocessor 6the CP87* non9volatile memor" for the rogram 6R&M or flash7* volatile memor" for inut an% outut 6RAM7* a clock an% an )!& control unit# Also calle% a :comuter on a chi*: billions of microcontroller units 6MC8s7 are embe%%e% each "ear in a m"ria% of ro%ucts from to"s to aliances to automobiles# (or e;amle* a single vehicle can use <2 or more microcontrollers#