IOTBASEDLASERINTRUSION ALARMSECURITYSYSTEM
Submitted in partial fulfillment of the requirements of the degree of
Bachelor of Engineering
STUDENT NAME WITH ARMIET PIN
Under the Guidance of Prof.
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
Affiliated to UNIVERSITYOFMUMBAI
Department of
AcademicYear–2024-2025
CERTIFICATE
This mini project 1A Report entitled “Control Switch by Ms. Janhavi Patil, Ms. Neha Adhikari Ms.
Shruti Manchala, Mr. Harshal Patil, Mr. Harshad Borse are approved for the first year degree of
Bachelor of Engineering in Computer Science and Engineering AIML for academic year 2024 – 2025.
Supervisor
Prof. Bhanudas Kharmale
Head of the Department Principal
Date: Place:
DECLARATION
We declare that this written submission represents our ideas in our own words and where others' ideas or words
have been included, we have adequately cited and referenced the original sources. we also declare that we have
adhered to all principles of academic honesty and integrity and have not misrepresented or fabricated or
falsified any idea/data/fact/source in our submission. we understand that any violation of the above will be
cause for disciplinary action by the Institute and can also evoke penal action from the sources which have thus
not been properly cited or from whom proper permission has not been taken when needed
Ms.Janhavi Patil Ms.Neha Adhikari Ms.Shruti Manchala Mr.Harshal Patil Mr. Harshad Borse
ARMIET/AIML24/
BH09
ARMIET/ ARMIET/AIML24/AN026 ARMIET/AIML24/ ARMIET/AIML24/PH047
AIML24/PJ014 MS052
Date:
ACKNOWLEDGEMENT
In our project we are extremely thankful to our project guide Prof. Bhanudas Kharmal for his valuable support
and time. We would like to take this opportunity to acknowledgement the innumerable guidance and support
extended to us by our co guide in preparation of the synopsis. We also want to thank our honorable principle for
his support. Our foremost thanks go to my well-wishers and colleagues. We are graceful to all staff members,
non-teaching staff and all our friends us the helping hand.
INDEX
CH. TOPICNAME PAGENO.
NO.
LIST OF FIGURES I
LIST OF TABLES II
LIST OF SYMBOLS III
ABSTRACT IV
1 INTRODUCTION 1
1.1Motivation 2
1.2Objective 2
1.3ExistingSystem 2
1.4ProjectScope 3
2 LITERATURESURVEY 5
3 RESEARCH GAP 12
4 RESEACH OBJECTIVE 14
5 PROPOSED SYSTEM 16
5.1SystemArchitecture 16
6 SYSTEM REQUIREMENT 17
6.1Software Requirement 17
6.2Hardware Requirement 17
7 PROJECT IMPLEMENTATION 21
7.1Result/Output 22
CONCLUSION 26
REFERENCES 28
LIST OF FIGURES
Sr.No. Fig.No. FigureName PageNo.
1 5.1 System Architecture 16
I
LISTOFTABLES
NO NAME OF TABLE PAGE NO.
2.1 LiteratureReviewTable 5
ABSTRACT
This project report outlines the design, implementation, and evaluation of a clap switch, a simple yet innovative
electronic device that translates sound into a switching mechanism. The clap switch is a hands-free solution
with applications in home automation, security systems, and energy conservation. The primary objective of this
project is to create a functional and reliable clap switch using principles of digital logic design. The report
begins with an introduction to the concept of clap switches, discussing their relevance and potential
applications. A brief literature review provides insights into existing clap switch designs and serves as a
foundation for our project. The project's methodology is detailed, covering the selection of components and the
construction of the circuit. The report also highlights the challenges encountered during the implementation
phase and the strategies employed to overcome them. Results from rigorous testing demonstrate the
effectiveness of the clap switch in various environments. The discussion section critically analyzes the project's
outcomes, comparing them with existing designs and offering insights into the strengths and limitations of the
implemented clap switch. In conclusion, this project contributes to the field of digital logic design by presenting
a functional clap switch prototype. The report suggests potential applications and areas for improvement,
paving the way
For future research in this domain.
CHAPTER 1 INTRODUCTION
The Clap Switch project introduces a hands-free control mechanism for electronic devices by utilizing sound
recognition technology. This innovative system allows users to activate or deactivate devices through the
simple act of clapping, providing a convenient and user-friendly interface.
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
OBJECTIVE:
The primary objective of the Clap Switch Project is to design and implement a reliable and user-friendly
electronic switch system. This involves utilizing sound recognition technology to detect specific acoustic
patterns, specifically clapping sounds, as a means of controlling various electronic devices. The project aims to
provide an alternative and accessible method for individuals, including those with physical limitations, to
interact with their surroundings. The focus is on achieving a seamless integration of technology into daily life,
fostering convenience and accessibility. Specifically, the project aims to: • Develop a responsive sound sensor
capable of detecting distinct clapping patterns. • Implement a mechanism to control electronic devices, such as
lights or fans, based on the detected clapping patterns. • Optimize the system for efficiency, responsiveness, and
minimal false positives..
3
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
PROJECT SCOPE:
This Integrating a Clapping Switch Control into your Laser Security Alarm System powered by Arduino
Uno can enhance user interaction by enabling hands-free operation. This integration allows users to activate or
deactivate the security system, silence alarms, and switch between different security modes using specific clap
patterns. To implement this, a sound sensor can be connected to the Arduino Uno to detect claps. Upon
recognizing a predefined clap pattern, the system can toggle between armed and disarmed states, silence alarms,
or switch modes accordingly. Additionally, incorporating visual (LED) or audible (buzzer) feedback can
confirm the system's response to a clap, ensuring immediate user awareness. By adding this feature, the security
system becomes more user-friendly and intuitive, allowing for seamless operation without physical contact.
4
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
CHAPTER 2 LITERATURESURVEY
LITERATURESURVEY
A clap switch is a device that can turn on or off an electrical circuit by the sound of a clap. It is a simple and
convenient way to control appliances without using physical switches. Clap switches have various applications
in home automation, security systems, entertainment devices, and assistive technology for people with
disabilities. The basic principle of a clap switch is to use a microphone to capture the sound of a clap and
convert it into an electrical signal. The signal is then amplified and processed by a circuit that can detect the
clap pattern and trigger a relay to switch the load on or off. The circuit may also include a timer, a counter, a
memory, or a display to provide additional features and functionality. There are many different designs and
implementations of clap switches, ranging from simple circuits using discrete components to complex systems
using microcontrollers and digital signal processing. Some of the factors that affect the performance and
reliability of a clap switch are: • The sensitivity and frequency response of the microphone • The noise level and
background sounds in the environment • The amplification and filtering of the signal • The threshold and
algorithm for clap detection • The power consumption and durability of the circuit • The user interface and
feedback of the device The following sections review some of the existing literature on clap switch design and
development, and highlight the main challenges and opportunities for improvement.
10
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
CHAPTER 3 RESEARCHGAP
10
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
RESEARCH GAP
In a Clapping Switch Control project report, the research gap refers to the missing aspects or
unexplored areas that your study aims to address. Here are some possible research gap points you can
highlight:
1. Sensitivity and Accuracy Limitations
Existing designs may struggle with distinguishing between different sound frequencies (e.g., background
noise vs. claps).
Research is lacking on advanced filtering techniques to improve detection accuracy.
2. Adaptability to Different Environments
Most designs work well in controlled conditions but fail in noisy environments.
There is a lack of studies on adaptive sound thresholding techniques.
3. Power Efficiency and Circuit Optimization
Many clapping switch circuits use more power than necessary.
Research on low-power consumption designs and energy-efficient components is limited.
4. Smart Integration and IoT Connectivity
Few projects explore integrating clapping switches with smart home automation or IoT devices.
Research is needed on integrating clapping switches with voice assistants (e.g., Alexa, Google
Assistant).
5. Multi-Clap Pattern Recognition
Most designs rely on single or double claps; limited research exists on multi-clap sequences for diverse
functions.
Exploring machine learning algorithms for better pattern recognition is an open area.
6. Durability and Longevity Issues
Some circuits degrade over time due to environmental factors.
Research is lacking on using durable components for long-term reliability.
7. Cost vs. Performance Trade-Off
Many advanced systems are too expensive for mass adoption.
More research is needed on cost-effective solutions without sacrificing performance.
11
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
CHAPTER 4 RESEARCHOBJECTIVES
RESEARCH OBJECTIVES
To Enhance Sound Detection Accuracy
o Develop techniques to differentiate claps from background noise using advanced
filtering methods.
To Improve Adaptability to Different Environments
o Design an adaptive thresholding mechanism to ensure reliable operation in noisy
and quiet settings.
To Optimize Power Efficiency
o Develop a low-power circuit to extend battery life and reduce energy consumption.
To Integrate with Smart Home and IoT Systems
o Explore connectivity options for integrating the clapping switch with home
automation systems and voice assistants.
To Implement Multi-Clap Pattern Recognition
o Investigate machine learning or algorithm-based approaches for recognizing various
clap sequences for multiple functions.
To Enhance Durability and Longevity
o Select durable electronic components to improve the system’s reliability and long-
term performance.
To Balance Cost and Performance
Develop a cost-effective design that maintains high efficiency and reliability for widespread
use.
12
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
CHAPTER 5 PROPOSEDSYSTEM
13
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
PROPOSED SYSTEM
In this chapter, we outline the proposed method for our Clap Switch Project, emphasizing a microcontroller-free
approach. The primary goal is to design a responsive clap-activated switch system without relying on a
traditional microcontroller, offering simplicity and efficiency. 4.1 Sensor Integration The core of our design
centers around the integration of sound sensors, strategically positioned to capture distinctive clap patterns.
These sensors serve as the primary input to the system, detecting sound waves and initiating the switching
process. 4.2 Signal Processing Upon detecting a clap, our system engages in signal processing to filter and
analyze the incoming audio signal. This process involves distinguishing between claps and other ambient
sounds, ensuring accurate recognition, and minimizing false triggers. Advanced signal processing techniques
are employed for efficient and reliable clap detection. 4.3 Comparator and Threshold Logic In the absence of a
microcontroller, we implement a comparator-based threshold logic to determine the occurrence of a clap. The
signal from the sensors is compared against a predefined threshold, and if it exceeds this threshold, the system
interprets it as a valid clap, triggering the switch. 4.4 Relay Control Once a clap is identified, the relay control
mechanism is activated. The relay acts as a switch, connecting or disconnecting electrical appliances based on
the detected clap. This simple yet effective relay-based control ensures a direct and efficient response to the
user's input. 4.5 Power Management Our proposed method incorporates a power management system to
optimize energy consumption. The system operates in a low-power state when not actively detecting
CHAPTER 4 PROPOSED METHOD P a g e | 8 claps, promoting energy efficiency and extending the overall
lifespan of the Clap Switch Project. 4.6 Testing and Validation The proposed method undergoes thorough
testing to evaluate its performance under different conditions. Clap detection accuracy, response time, and
reliability are assessed to validate the effectiveness of our microcontroller-free approach. Testing results guide
any necessary refinements to enhance the robustness of the Clap Switch Project. In conclusion, the proposed
method without a microcontroller relies on sensor integration, signal processing, comparator-based threshold
logic, relay control, power management, and a user-friendly interface to create a responsive and reliable
clapactivated switch system. The subsequent chapter will delve into the practical implementation, providing
insights into the real-world application of our microcontroller-free approach. P a g e | 9 In this chapter, we
describe the steps and procedures that we followed to design and implement our clap switch circuit. We also
explain the materials and tools that we used and the testing and troubleshooting methods that we applied. 5.1
Materials and Tools The materials and tools that we used for our project are listed below: • Breadboard: A
breadboard is a device that allows us to connect electronic components without soldering. It has many holes that
are internally connected by metal strips. We used a breadboard to build our clap switch circuit and test its
functionality. • Microphone: A microphone is a device that converts sound waves into electrical signals. We
used a condenser microphone as a sound sensor to capture the clap sound and generate a small voltage.
14
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
5.1SYSTEM ARCHITECTURE
15
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
CHAPTER 6 SYSTEM REQUIRMENT
16
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
SoftwareRequirements:
Sr.no Name Type
1. Arduinouno Esp8266
2. Telegrambot Botfather
HardwareComponentsRequirements:
Sr.no Name Quantity
1. BC541 5
2. 10K Resistor 4
3. !k Resistor 1
4. 1M Resistor 3
5. Red LED 1
6. 1 Micro farad capacitor 1
7. 104 PF ceramic capacitor 3
8. 5 volt relay 1
9. 100 R resistor 1
10. 1N4007 1
11. 1N4148 Zener diode 1
12. On Off control Switch 1
13. Wire 1.5 meter 1
14. Battery 3.7 volt 2
15. Battery holder 18650 1
16. Simple Holder 1
17. Bulb 1
18. Mic 1
20
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
CHAPTER 7 SYSTEM IMPLEMENTATION
The circuit diagram of our clap switch circuit using IC 4017 is shown in Figure 5.1. The circuit can be divided
into four main parts: the microphone amplifier, the IC 4017 clap detector, the transistor relay driver, and the
load (bulb). The microphone amplifier consists of a condenser microphone, a 10kΩ resistor, a 0.01μF capacitor,
and a transistor. The microphone converts the clap sound into a small voltage, which is amplified by the
transistor. The resistor and the capacitor form a high-pass filter that blocks the DC component and passes the
AC component of the signal The IC 4017 clap detector consists of a 10μF capacitor, a 1MΩ resistor, and the IC
4017 itself. The capacitor and the resistor form a time constant that determines the duration of the output pulse.
The IC 4017 is a decade counter that changes its output state for each positive edge of the input signal. The
output of the IC 4017 is connected to a LED and a 1kΩ resistor, which indicates the output state. The transistor
relay driver consists of a SL100 transistor, a 1kΩ resistor, a 1N4007 diode, and a 5V relay. The transistor acts
as a switch that turns on or off the relay according to the output of the IC 4017. The resistor limits the base
current of the transistor. The diode protects the transistor from the reverse current generated by the relay coil
when it is turned off. The relay switches the load (bulb) on or off according to the relay coil. The load (bulb)
consists of a bulb and a 220V AC power source. The bulb is connected to the normally open (NO) contact of
the relay, and the power source is connected to the common (COM) contact of the relay. When the relay is
turned on, the bulb is connected to the power source and lights up. When the relay is turned off, the bulb is
disconnected from the power source and turns off. We implemented our circuit on a breadboard, following the
circuit diagram and the pin configuration of the components. We used jumper wires to connect the components
and the power supply. We used a multimeter to measure the voltage and current levels at different points of the
circuit. We tested the functionality of our circuit by clapping and observing the LED and the bulb. We also
checked the waveform of the signal at the output of the microphone amplifier using an oscilloscope
21
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
22
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
CHAPTER 8 CONCLUSION
23
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY
IOTBASEDLASERINTRUSIONALARMSECURITYSYSTEM
CONCLUSION
In conclusion, the results of our clap switch project demonstrated the successful implementation of a sound-
activated switch without the use of a microcontroller. The system showcased reliability in responding to claps,
offering a viable alternative for those seeking a simple yet effective solution. The challenges encountered
provide valuable insights for potential improvements, and the project lays the groundwork for future endeavors
in home automation and smart devices
REFERENCES
Olarewaju.I.K,Ayodele,O.E,Michael.F.O,Alaba.E.S,Abiodun.R.O,2017.“Designand Construction of
anAutomatic Home Security System Based on GSM Technologyand Embedded
MicrocontrollerUnit”,AmericanJournalofElectricalandComputerEngineering,Vol.1,No.1,
pp.25-32,Doi:10.11648/j.ajece.20170101.14
Zungeru. A. M, Kolo. J. G, Olumide. I, September 2012. “ASimple and Reliable Touch Sensitive
Security System”,International Journal ofNetwork Security&ItsApplications,ISSN 0975-2307,
Volume: 4; Issue: 5; pp. 149-165, DOI:10.5121/ijnsa.2012.4512
British Security Industry Association (BISA),“Journal onsecurity system section strategy for intruder
alarm system”,Page 1-3, April 2005. Accessed
athttps://www.thenbs.com/PublicationIndex/documents?Pub=BSIAREFERENCES
24
ALAMURIRATNAMALAINSTITUTEOFENGINEERINGANDTECHNOLOGY