Design
Design
Presentation by:
Introduction
The GSM based laser light security system will typically use laser beams to create a
perimeter or barrier, and when these beams are interrupted or tampered with, it will
trigger an alarm and a security response. These systems are to be used in high-security
applications, such as protecting sensitive areas or assets.
This write-up will cover how the product is realized from the technical specifications,
what parts are needed, how these parts are synthesized to work as a system, and hence
derive a design circuit diagram that will be used for implementation.
From the technical specification, there are three key components that will be used in the
design as listed below.
Other components that will be used in support of the main components for optimal
operation are:
Next is how the key components work, and how they will be connected to produce the
desired functionality.
Brief Overview of the functionalities of the key components.
The Infrared laser module will be of use in the project to detect any form of intrusion.
The module has both the emitter and receiver of the beams such that if the beams are
tampered with, it sends signals to the microcontroller which raises an alarm.
The Arduino Uno is a versatile open-source microcontroller board equipped with a 16 MHz
ATmega328P microcontroller. Versatile in the sense that it can be used for a wide range
of projects and applications. It features a total of 27 pins as broken down below:
The board can be easily programmed and powered through a USB connection, and it
supports a wide range of power sources, from 7 to 20 volts. Its simplicity, USB interface,
and compatibility with the Arduino IDE make it a popular choice for Do It Yourself (DIY)
electronics projects, offering an accessible platform for both beginners and experienced
users in fields such as robotics, home automation, and education.
The buzzer or alarm will provide an audible alert when an intrusion is detected. A loud and
distinctive buzzer sound can be activated when the sensor is triggered, immediately
alerting occupants or security personnel to the potential intrusion. A distinctive and
continuous buzzer sound can signal an emergency, prompting immediate attention.
Indicator LEDs can be used to visually signal the activation of the alarm system. Silent
alarms or discreet modes can be indicated by specific LED patterns, allowing users to
activate alarms without immediately triggering audible alerts. LEDs can be programmed to
flash rapidly or change colors to indicate an emergency, prompting a rapid response from
occupants or authorities.
Circuit Connection/Wiring and Programming Code
The Arduino uno microcontroller is the brain and the central processing unit of the
project. The sensor (Infrared laser module) monitors its environment while communicating
with the central processing unit, such that if any interruption occurs, the Arduino uno then
sends signals to the buzzer and LEDs for alerts. Otherwise, the system remains in an
armed state.
The VCC pin of the Infrared laser module will be connected to a Power source (+ve).
The Ground pin of the Infrared laser module will be connected to Ground source (-ve).
The Output Pin of the Infrared laser module will be connected to pin D2 of the Arduino
uno. Pin D2 will be responsible for receiving signals from the infrared sensor and
interpreting them to produce an output.
The positive pin of the buzzer will be connected to Pin D4 of the Arduino Uno while the
negative pin will be connected to a ground terminal. Pin D4 is responsible for sending an
output signal to the buzzer in case of interruption of the Infrared laser module. That
means that incase of intrusion, Pin D4 turns to logic state 1 (HIGH) and remains 0 (LOW),
otherwise.
The positive pin of the LED will be connected to a resistor to reduce the amount of
current flow and shall be connected to pin D3 of the Arduino uno. The ground pin of the
LED shall be connected to a ground terminal. In case of intrusion, pin D3 turns to logic
state 1 (HIGH), and remains 0 (LOW), otherwise.
To begin with, the VSS and RW pins of the LCD will be connected to a ground terminal.
The RW bit tells the LCD whether we wish to read from or write from the RAM, which is
not our case. The VSS is a source power supply which is connected to zero/ground when we
have a single power supply.
The Register Select (RS) pin of the LCD is connected to pin D8 of the Arduino uno. The RS
(Data/Instruction select) bit tells the LCD whether we are going to send an instruction or
a piece of data.
The Enable (E) pin of the LCD is connected to pin D9 of the Arduino uno. The E (enable)
bit tells the LCD when it should read the data lines.
The VDD pin of the LCD is connected to a positive power supply terminal.
Pins D4, D5, D6, and D7 of the LCD are connected to pins D10, D11, D12, and D13 of the
Arduino uno respectively. These pins will be used to address the characters to be
displayed. For example, “NO INTRUSION”, “WARNING, SOMEBODY THERE!”.
A potentiometer will be used to control the contrast of the LCD. The potentiometer has
three pins; Two outside pins (Power pin and the Ground pin) which will be connected to
power and ground terminals respectively, and one inside pin which will be connected to the
VEE pin of the LCD to control its contrast.
#include <LiquidCrystal.h>
// Initialize the LiquidCrystal library with the numbers of the interface pins
LiquidCrystal lcd(8, 9, 10, 11, 12, 13);
int sensorOut = LOW; // Variable to store sensor output state (initialize as LOW)
void setup () {
lcd.begin (16, 2); // Set up the LCD's number of columns and rows.
else
{ // Intrusion detected.
Serial.println ("Somebody there!");
lcd.clear ();
lcd.print ("Warning!");
lcd.setCursor (0, 1);
lcd.print ("Somebody there!");
Conclusion
In conclusion, the intrusion detection part in the system is a crucial design stage as it is
the primary building stone for the project. Having the discussed descriptions in mind, we
will have covered the design phase of the project, have our verification/simulation at hand,
and ready to implement the prototype for our final product. A clear pictorial design of the
circuit is attached to this write up.