Smart Home Security Based on Voice Recognition

Smart Security and surveillance system with voice recognition based on two microcontrollers Atmega16 and Arduino Uno have been fabricated as per the system architecture mention below. The main components that are used during development of this research project are GSM module SIM900A, Atmega16, Arduino Uno, Bluetooth module HC-05, MQ2 LPG gas Sensor, PIR motion sensor.

Ø  ATMEGA16 MICROCONTROLLER

As we discuss embedded system we can develop this circuitry mechanism through various electronic devices like a microcontroller in which the user can programme in accordance with their requirements and performance of the system accordingly. AVR Microcontroller Atmega16 is also used in the field of an embedded system to develop highly innovative projects. Atmega 16 is a high performance, low power Atmel AVR 8 bit microcontroller with advance RISC Architecture, 512 bytes EEPROM, and 40 pins IC with 32 programmable input-output lines.
Figure: Pin configuration of ATMEGA16

Ø  ARDUINO UNO ATMEGA328

The ATmega328 is a single-chip microcontroller created by Atmel in the megaAVR family. The Arduino Uno is a microcontroller board based on the Atmega328. It has 14 digital input/output pins(of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller and simply connect it to a computer with a USB cable or power it with an AC-to-DC adapter of a battery to get started. Some of the specifications are as below:
Operating voltage                                 5V
Input voltage (recommended)            7-12V
DC current per I/O pin                       40mA
DC current for 3.3V pin                     50mA
Flash memory                                    32KB (Atmega328) of which 0.5 KB used by bootloader
SRAM                                                2 KB (Atmega328)
EEPROM                                           1 KB (Atmega328)
Clock speed                                       16 MHz
Figure: Arduino Uno

Ø  GSM module:

GSM SIM 900A coming with the interface between TTL logic to RS-232 through chip MAX-232. The RS-232 interface on GSM/GPRS Modem gives the features to connect PC as well as Microcontroller. This modem is working on the frequencies 900/1800 MHz and the baud rate is configurable from 9600-115200 through AT command. The GSM/GPRS Modem is having internal TCP/IP stack to enable us to connect with internet via GPRS. It is suitable for SMS, Voice as well as DATA transfer application in M2M interface. The onboard Regulated power supply allows us to connect wide range unregulated power supply. Using this modem, we can make audio calls, SMS, Read SMS, attend the incoming calls and internet etc. through simple AT commands.



Figure: GSM module SIM900A

AT COMMANDS OF SIM900A
To check the modem:
AT
OK
To change SMS sending Mode:
AT+CMGF=1
To send new SMS:
AT+CMGS=”MOBILE NO.”
<MESSAGE
{CTRL+Z}
To make a voice call:
ATD8567890365;
To redial last no:
ATDL
To receive an incoming call:
ATA
To hang up or disconnect a call:
ATH

Ø  BLUETOOTH MODULE HC-05
An HC-05 module is an easy to use Bluetooth SPP (serial port protocol) module, designed for transparent wireless serial connection setup. Bluetooth module is used in this project to interface between an android application and Arduino circuit. The serial communication setup in this module sends and receive the data in bits per second. Practically this module works within a range of 50 meters.
Figure: Bluetooth Module HC-05


Ø  PIR MOTION SENSOR
PIR motion sensors allow us to sense motion, in our project it is used to detect the theft motion. This sensor is small, inexpensive, low-power, easy to use so it is commonly found in appliances and gadgets used in homes or businesses. These sensors are often called as “Passive infrared”, “Pyroelectric”, or “IR motion” sensors. PIR is basically made of a Pyroelectric sensor (which we can see above as the round metal can with a rectangular crystal in the center), which can detect levels of infrared radiation.
Figure: PIR motion sensor HC-SR501

Ø  MQ-2 GAS SENSOR
The MQ-2 gas sensor is used in gas leakage detecting equipment, they are also suitable for detecting of LPG, i-butane, propane, methane, alcohol, hydrogen, smoke. Some of the features of this sensors are wide detecting scope, fast response and high sensitivity, stable and long life and a simple drive circuit.

Figure: MQ-2 gas sensor

                                                                SPEECH RECOGNITION




INTELLIGENT SECURITY SYSTEM WITH ATMEGA16




Comments