minor file
minor file
REPORT ON
(19)
4. YASHWANT
RATHORE (68)
Declaration
SIGNED BY
Mradul Gupta
(0301EC211028)
Aanjaney Uprit
(0301EC211001)
Harshit Soni
(0301EC211019)
Yashwant Rathore
(0301EC211068)
Acknowledgement
Finally, we would like to thank all individuals and entities who, directly
or indirectly, supported us throughout this journey. Your
encouragement, assistance, and encouragement have been deeply
appreciated and made a meaningful difference in this project's
realization
INDEX
4. Circuit Diagram 23
5. Working Principle 24-26
6. Future Enhancement 27
7. Application 28
8. Advantages & Disadvantages 29
9. Software program 30-35
10. Conclusion 36
11. References 37
1 INTRODUCTION
Moreover, privacy and data security are at the forefront of our design
philosophy. We adhere to stringent protocols to safeguard visitor information,
ensuring compliance with relevant regulations and fostering trust among
users and visitors alike.
3.1.1 MICROCONTROLLER
In brief, a microcontroller is a compact integrated circuit that contains a processor
core, memory, and input/output peripherals on a single chip. It is designed for
embedded applications and is used to control various devices and systems by
executing programmed instructions. Microcontrollers are commonly employed in
electronic devices such as appliances, automotive systems, industrial machinery,
and consumer electronics, offering versatility, efficiency, and cost-effectiveness
for a wide range of applications.
Overview of ATmega328P-U:
3. **Parallel Interface**: The 16x2 LCD module interfaces with external devices,
such as microcontrollers, via a parallel interface. It typically requires a minimum of
6 to 8 data lines for communication, along with control signals for commanding
the display.
What they are: Jumper wires are insulated wires with a connector pin at
each end. The pins allow for easy insertion into breadboards or other
prototyping tools without soldering.
What they do: Jumper wires bridge the gap between components in a
circuit, allowing current to flow and making the circuit function.
Benefits:
o Easy to use: No soldering required, making them perfect for
beginners and quick circuit modifications.
o Reusable: They can be easily disconnected and reconnected in
different configurations.
o Variety: Available in various lengths and colors, making it easy to
keep track of connections in complex circuits.
Jumper wires are a fundamental tool for anyone working with electronics. Their
simplicity and versatility make them a valuable asset for building, testing, and
troubleshooting circuits.
3.1.4. LED
LEDs (Light Emitting Diodes) are tiny workhorses in electronics projects. They
convert electricity into bright, colored light, perfect for indicators, signals, and
even lighting effects. Their low power consumption makes them battery-friendly.
A simple project might use an LED, resistor, and battery to create a glowing circuit.
More complex projects can combine multiple LEDs for colorful displays or connect
them to microcontrollers for interactive lighting effects. Their small size and
versatility make LEDs a staple for electronics enthusiasts.
3.1.5. Diode
Diodes, tiny one-way streets for electricity, are workhorses in electronics projects.
They allow current to flow in one direction, blocking it in the other. This makes
them perfect for:
These little heroes manage current flow, keeping your projects safe and
functional!
3.1.6. Capacitors
A capacitor acts like a tiny battery, storing electrical energy in its plates. The bigger
the plates (capacitance), the more energy it holds. It blocks DC current but lets AC
pass through, making it useful for filtering and smoothing power supplies.
Imagine a tiny tuning fork that vibrates with unwavering precision, dictating the
rhythm of an entire orchestra. That's the essence of a crystal oscillator in the
world of electronics.
This unassuming component utilizes the piezoelectric effect. A thin quartz crystal
within the oscillator vibrates at a specific, incredibly stable frequency when a
voltage is applied. This vibration, in turn, generates an electrical signal with the
same frequency.
So, the next time you use your phone or watch a clear digital signal, remember
the tiny crystal oscillator behind the scenes, keeping the electronic world in
perfect time.
3.1.9. IR Sensor
Imagine a sensor that can see heat, not light. That's the magic of an infrared (IR)
sensor. It detects infrared radiation, a type of energy invisible to the human eye
but emitted by all objects with some heat. This makes them incredibly versatile
for various applications.
IR sensors are compact, low-cost, and work well in various lighting conditions.
They're widely used in:
3.2.1 Microswitch
A microswitch is a miniature switch activated by a tiny physical press. Think of it
as a tiny on/off button disguised in a switch body.
Size: Much smaller than your typical wall switch, perfect for fitting into
compact devices.
Trigger: Activated by pressing a lever, pushing a button, or detecting slight
movements.
Applications: They're everywhere! From your computer mouse (detecting
clicks) to your car's brake pedal (activating brake lights), microswitches
quietly control functions in countless machines and appliances.
Durability: They can withstand millions of clicks, making them reliable for
long-term use.
Microswitches are the silent workhorses in the background, ensuring our devices
respond precisely to our actions.
3.2.2 Transformers
In a power supply, the transformer acts as a voltage magician. Here's how it works
in 150 words:
In essence, the transformer is the key component that tailors the "electrical dress
code" of incoming power to perfectly fit the needs of your electronic device s.
In short, voltage regulators are the silent guardians of stable electrical flow,
ensuring our electronic devices function smoothly and reliably.
4 Circuit diagram
5 Working principles
o **Sensing Technology**:
Utilizes various sensing technologies such as infrared
sensors, thermal sensors, laser sensors, or camera-based
systems.
Infrared sensors detect changes in infrared radiation caused
by the movement of people, while thermal sensors detect
body heat.
Camera-based systems use image processing algorithms to
analyze video footage and detect human presence.
3. **Data Collection**:
5. **Counting Mechanism**:
These are just a few glimpses into the exciting future of visitor counting systems.
7 Application
Visitor counting systems extend beyond simple headcounts, offering valuable
insights into visitor flow and behavior.
Retail:
Public Venues:
Disadvantages:-
1. Our project only detects one single person at a time, when crossing the
door. It cannot detect multiple people at a single time.
int s1=14,s2=15;
int totalcount=0,IN=0;
int OUT=0;
int LED=13;
void setup()
Serial.begin(115200);
lcd.begin(16, 2);
pinMode(s1,INPUT);
pinMode(s2,INPUT);
digitalWrite(s1,0);
digitalWrite(s2,0);
pinMode(LED,OUTPUT);
for(int i=0;i<10;i++)
digitalWrite(LED,1);
delay(100);
digitalWrite(LED,0);
delay(100);
lcd.print("*WEL-COME*");
delay(2000);
lcd.clear();
lcd.print("Visitor Counter.");
delay(2000);
void loop()
// Serial.print("in=");
// Serial.print(IN);
// Serial.print(" OUT=");
// Serial.print(OUT);
// Serial.print(" total");
// Serial.println(totalcount);
if(digitalRead(s1)==0) ////IN..
{
// Serial.println("in S1");
while(digitalRead(s1)==0)
// Serial.println("s1l");
while(millis()<=i || digitalRead(s2)==0)
if(digitalRead(s2)==0)
while(digitalRead(s2)==0)
{}
IN++;
delay(1000);
break;
if(digitalRead(s2)==0) ////OUT.......
{
if( totalcount>0)
// Serial.println("in S2");
while(digitalRead(s2)==0)
// Serial.println("s2l");
while(millis()<=i || digitalRead(s1)==0)
if(digitalRead(s1)==0)
while(digitalRead(s1)==0)
{}
OUT++;
delay(1000);
break;
}
}
else
while(digitalRead(s2)==0)
while(digitalRead(s1)==0)
totalcount=IN-OUT;
Serial.print(OUT);
Serial.print(",");
Serial.print(IN);
Serial.print(",");
lcdprint();
}
void lcdprint()
lcd.setCursor(0,0);
lcd.print(totalcount);
lcd.print(" ");
lcd.setCursor(0,1);
lcd.print("IN:=");
lcd.print(IN);
lcd.print(" OUT:=");
lcd.print(OUT);
lcd.print(" ");
}
9 Conclusion
In conclusion, visitor counting systems have transformed from simple headcount
tools into powerful business intelligence instruments. By leveraging sensor
technology and microcontrollers, these systems provide accurate data on visitor
flow and behavior. This data translates into actionable insights that can benefit a
wide range of organizations:
The applications extend beyond these core examples, making visitor counting
systems a valuable tool for businesses and organizations of all sizes. By
understanding visitor patterns, these systems empower data-driven decisions that
lead to increased efficiency, improved customer satisfaction, and ultimately,
greater success.
10 References
https://youtu.be/ZVHhfHfO0AI?si=8eddg85bWDvY2A0g
Design and Construction of a Bidirectional Digital Visitor
Counter: https://core.ac.uk/download/pdf/234645128.pdf
Bidirectional Visitor Counter with security system and Automated Room Light
Controller: https://ijisrt.com/wp-content/uploads/2017/06/Bidirectional-Visitor-Counter-with-
security-system-and-Automated-Room-Light-Controller-1-1.pdf (