Design And Construction Of Sound Detector With Alarm System

5 Chapters
|
34 Pages
|
6,016 Words

A sound detector with an alarm system is a sophisticated auditory monitoring device designed to identify specific acoustic patterns and trigger a warning mechanism in response to predefined criteria. This innovative technology combines cutting-edge audio sensors with intelligent algorithms, allowing it to discern distinctive sound signatures associated with potential threats or predefined events. The system operates by continuously analyzing ambient sounds, and upon detecting the specified acoustic patterns, it activates a robust alarm mechanism. The device serves as a vigilant guardian in environments where auditory cues play a crucial role in safety and security. Its application extends across various settings, from home security to industrial facilities, providing an advanced and adaptive approach to auditory surveillance and threat detection.

ABSTRACT

This project is design and construction of a sound detector with alarm system was done primarily to detector sound. It can be use in industrial and domestics. It employ four discreet stages with power supply which power the system.
The 1st block is pick up amplifier containing the microphone and the input which serve as a transformer which the function is to pick up the smallest sound that comes close to the amplifier
The second block is comparator with hysterias. The function as analogue to digital convector and also it help to accumulate amparm sound like sound of the gun short or any other heavy sound
Block three. This is transistor switching this stage consist three bipolar function transistor (BJI) with a decay circuit found using capacitor time constant (T – RC) with a 12v Re let, it output work function is to switch the alarm circuit.
Block four. This is the Alarm circuit, it’s function is the alarm tone. It is an stable mutivibertor that produce 1kH2 tone frequencies which sound as alarm signal with loud speaker which serves as an output transformer.

TABLE OF CONTENT

Title Page
Approval Page
Dedication
Acknowledgement
Abstract
Table Of Contents

 

Chapter One
1.0 Introduction

1.1 General Description Of Project
1.2 Design Objectives
1.3 Significance Of The Project
1.4 The Report Layout

Chapter Tow
2.0 Literature Review

2.1 Historical Background Of The Project
2.2 Theories And Models Relevant To The Design
2.3 List And Description Of The System Component
2.4 Distinction Between The Existing Method Of Design And The New Approach.

Chapter Three
3.0 System Design

3.1 Description Of The System Building Blocks
3.2 System Design Specification
3.3 Block Diagram Of The System
3.4 Description Of The Overall Operation Of The System
3.5 Component List
3.6 Complete Circuit Diagram Of Sound Detector With Alarm System.

Chapter Four
4.0 Implementation Testing And Results

Chapter Five
5.0 Cost Analysis Conclusion And Recommendation

Reference

CHAPTER ONE

INTRODUCTION
1.1 THE GENERAL DESCRIPTION OF PROJECT

Due to advance electron logy in the electronic which gave rise to automation of electronic system in domestic and industrial use. This development is what gave me the courage to choose a project topic on sound detector with alarm system. This system employ four discreet stages with power supply namely, the pick up microphone, Amplifier, Schmih trigger, thysistor switch circuit with rally circuit and 1kHz turn generator which from the alarm circuit at the input of the system a transducer which a capacitor microphone whose the function is to piece the sound and it out put to feed in to class. A amplifier microphone preamplifier of two transistor stage cable of amplifier the sound to a standard were it be accepted by the schmih trigger or built using comparator with hysterics. This comparator with hysterics is acting as amuroge to digital convector (AID) whose one put switching between high or low conditionally. An interface containing a transistor switching circuit with rally at it out put such that once a sound is pick up out the input the rally is energized capable of switching an alarm circuit on.

1.2 OBJECTIVE DESIGN
The main objective design of the project is to design and construct an electronically operated system capable of picking sound of a visitor at the door processing the alarm put natural sound wave to an out put electrical sound signal to alarm signal to alert the people inside the house that some body is at the door outside, also it help increasing the standard exposure in the practical aspect of engineering training.

1.3 SIGNIFICANCE OF THE STUDY
The project designed work on sound detector with alarm quite, applicable in almost every where like industries and for domestic use for instance it could serve as audio activated door bell for office installation also used to monitor an intruder in our domestic places.

1.4 THE REPORT LAYOUT
For clarity and simplicity, the report is divided into five chapters. The chapter one deals on the introduction, which centers on general description of project, design objectives, significance of the project and the report layout. The next chapter which is chapter two is on the literature review which talks on the historical background of sound detector with alarm system theories and models relevant to the design, list and description of the system component and lastly distinction between the existing method of design and the new approach. Chapter three is on system design and which is all about the description of the system building blocks, system design specification, block diagram of the system, description of the overall operation of the system. Component list and complete circuit diagram of a sound detector with alarm system. Chapter four is on implementation, testing and results. Then chapter five is one cost analysis conclusion and recommendation.
As maximum measure of comprehensibility was ensured throughout the report. This is indicated by the pattern of presentation and consistent system of rotation. This I believe will ensure maximum reader satisfaction.

SHARE PROJECT MATERIALS ON:

MORE DESCRIPTION:

Sound Detector With Alarm System:

Creating a sound detector with an alarm system can be a useful project for various applications, such as security, monitoring, or even as a simple noise alert system. Below, I’ll outline a basic concept for building a sound detector with an alarm system using a Raspberry Pi, a microphone, and Python programming. You can customize and expand upon this concept based on your specific requirements.

Hardware Components:

  1. Raspberry Pi (any model with audio input/output capabilities)
  2. USB Microphone or an analog microphone with an ADC (Analog-to-Digital Converter)
  3. Speaker or buzzer for the alarm
  4. Jumper wires (if necessary)
  5. Power supply for the Raspberry Pi

Software and Libraries:

  1. Raspbian OS (or any Raspberry Pi compatible operating system)
  2. Python (pre-installed on most Raspberry Pi OS versions)
  3. PyAudio library (for audio input)
  4. GPIO library (for controlling the alarm)

Steps:

  1. Set up the Raspberry Pi:
    • Install Raspbian OS on your Raspberry Pi if it’s not already installed.
    • Connect the microphone to the Raspberry Pi. If you’re using a USB microphone, simply plug it into one of the USB ports. If you’re using an analog microphone, you may need to use an ADC.
    • Connect the speaker or buzzer to the Raspberry Pi’s GPIO pins. You’ll need to use an appropriate GPIO pin and resistor for the alarm.
  2. Install Required Libraries:
    • Open a terminal on your Raspberry Pi and install the PyAudio library using pip:
  • pip install pyaudio
  • Write Python Code:
    • Create a Python script to detect sound and trigger the alarm. Here’s a basic example:
    python
  • import pyaudio
    import RPi.GPIO as GPIO
    import time
    # Set up GPIO
    GPIO.setmode(GPIO.BCM)
    GPIO.setup(17, GPIO.OUT) # Use BCM GPIO 17 for the alarm

    # Initialize PyAudio
    audio = pyaudio.PyAudio()

    # Parameters for audio input
    CHUNK = 1024
    FORMAT = pyaudio.paInt16
    CHANNELS = 1
    RATE = 44100

    stream = audio.open(format=FORMAT, channels=CHANNELS,
    rate=RATE, input=True,
    frames_per_buffer=CHUNK)

    # Main loop
    while True:
    data = stream.read(CHUNK)
    audio_data = bytearray(data)
    if max(audio_data) > 10000: # Adjust this threshold as needed
    GPIO.output(17, GPIO.HIGH) # Turn on the alarm
    time.sleep(1) # Alarm duration (1 second)
    GPIO.output(17, GPIO.LOW) # Turn off the alarm

    # Cleanup
    stream.stop_stream()
    stream.close()
    audio.terminate()
    GPIO.cleanup()

  • Run the Script:
    • Save the script to a file (e.g., sound_detector.py).
    • Run the script using the following command:
  1. python sound_detector.py
  2. Adjust Threshold and Customize:
    • Modify the threshold value (max(audio_data) > 10000) to suit your specific sound detection needs.
    • Customize the alarm behavior and duration based on your requirements.
  3. Add More Features (Optional):
    • You can enhance your sound detector by adding features such as logging sound events, sending notifications, or integrating it with other systems.

Remember to consider power management if you plan to use this system for extended periods to avoid excessive power consumption or overheating issues. Additionally, consider security aspects if the system is used for monitoring sensitive areas or data