IOT

Home Intrusion Detection, Air pollution Monitoring IOT examples

1. Home Intrusion Detection

The Internet of Things (IoT) is an ever-growing network of smart objects. It refers to the physical objects capable of exchanging information with other physical objects. Nowadays safety and security have always become a basic necessity for metropolitan society.

This proposes a security system for an IoT environment that prevents intrusion in Homes, Bank, Airports, Offices, Universities, or any location with a security system. The primary objective of our project is to reduce human work by designing and implementing a security system, a system that offers controllability through a handheld mobile phone and PC utilizing IoT.

To detect malicious activity or policy violations we use an Intrusion Detection System (IDS), which detects any intrusion or violation and typically reports to the administrator. This system includes an Anomaly-based technique for intrusion detection and signature analysis using a haar algorithm to differentiate between the legitimate person and intruder thus raising accuracy in authorizing the legitimate person and providing access to private/personal zones, therefore the risk of sending false alerts/alarm is reduced.

Automation is a primary key factor of security. We use Raspberry pi3and relay to control any electric appliances that can be implemented in the home, office, bank, etc. The administrator can monitor the place through an application with live feedback and control an automated environment.

Infrastructure

It observes a deviation from the normal behavior of the system or the users. The system later compares with the current activity. When a deviation is observed, an alarm/GSM-based message is generated. It detects the false alarm/message rate of the system, not because the entire scope of the behavior of an information system may be covered during the Initial phase. The system includes a PIR module that constantly monitors the home or workspace. When the PIR module detects an intruder, it sends a signal to the microcontroller, and the controller is connected to a module and also to an alarm system.

The System transmits an alert signal to the user’s mobile phone. The system also employs a thumbprint reader which controls the opening and closing of a safety locker door. Thus, the system uses a Wi-Fi module and controller to control the security system from the user’s mobile phone. Utilizing any device, when a potential internet connection detects the system, it will be augmented with the parameter monitoring security subsystem. This will be supplemented to get information about home monitoring, and fingerprint protection which can give false alarms to nearby residents and the owner of the house in case of theft.

Working

We will be using different IDS (intrusion detection system) techniques. Anomaly detection: this technique detects abnormal behavior in the system using a PIR sensor. The normal usage pattern is base and alerts are generated when usage deviates from the normal behavior and then a camera is activated. When a camera is activated, the detected person will be examined, and the encryption/decryption process to the user exceeding authorization by face recognition technique (image processing). Signature analysis is a technique used for comparing the examined data with the specifically predefined defined data (also known as signatures) and provides authorization, thus enabling accuracy in the intrusion detection system and lowering the false alarm/message rate. An infrared sensor is used to see the difference between PIR and other obstacles.

System Specification

To prevent intruders from entering the home and provide access to only legitimate persons. We implement different IDS techniques i.e. Anomaly-based and Signature analysis using different sensors and wireless cameras for the detection of intruders. If any intruder is detected, then the detected intruder image is examined with the previously stored database and a notification is sent to the owner. If the person is legitimate then access is provided to home. Enables the owner to monitor his/her home with live feedback through an application and provides home automation through an application.

2. Air Pollution Monitoring

The level of pollution has increased with time due to a lot of factors like the increase in population, increased vehicle use, industrialization, and urbanization which results in harmful effects on human well-being by directly affecting the health of the population exposed to it.

We are going to study how to make an IoT Based Air Pollution Monitoring System in which we will monitor the Air Quality over a web server using the internet and will trigger an alarm when the air quality goes down beyond a certain level, which means when there are a sufficient amount of harmful gases are present in the air like CO2, smoke, alcohol, benzene, and NH3.

It will show the air quality in PPM on the LCD and as well as on the webpage so that we can monitor it very easily. We have used the MQ135 sensor which is the best choice for monitoring Air Quality as it can detect most harmful gases and can measure their amount accurately.

In this IoT project, you can monitor the pollution level from anywhere using your computer or mobile. We can install this system anywhere and can also trigger some devices when pollution goes beyond some level we can switch on the Exhaust fan or send an alert SMS/mail to the user.

Basic Study

  • Air pollution is the biggest problem of every nation, whether it is developed or developing. Health problems have been growing at a faster rate, especially in urban areas of developing countries.
  • Industrialization and the growing number of vehicles lead to the release of a lot of gaseous pollutants. Harmful effects of pollution include mild allergic reactions such as irritation of the throat, eyes, and nose as well as some serious problems like bronchitis, heart diseases, pneumonia, lung and aggravated asthma.
  • Various kinds of anthropogenic emissions named primary pollutants are pumped into the atmosphere that undergo chemical reactions and further lead to the formation of new pollutants normally called secondary pollutants.
  • Almost every citizen spends 90% of their time in indoor air. Outdoor air quality of the cities of developed countries improved considerably in recent decades while indoor air quality degraded during this same period because of many factors like reduced ventilation, energy conservation, and the introduction of new sources and new materials that cause indoor pollution.
  • The design of buildings for lower power consumption results in a decrease in ventilation which further decreases the quality of air inside the building. This increases the need for Indoor Air Quality (IAQ) monitoring.
  • This air pollution monitoring is based on the diagram as shown in Fig. 1.21 the data of air recognised by MQ135 gas sensor. The MQ135 can sense NH3, NOx, alcohol, Benzene, smoke, and CO2. it is a dynamic gas sensor for our Air Monitoring system.
  • When we connect it to Arduino, it will sense all gases and it will give the Pollution level in PPM (Parts Per Million). MQ135 gas sensor will give the output in the form of voltage levels and we have to convert it into PPM. So for converting the output in PPM, we have used a library for the MQ135 gas sensor.
  • The sensor was giving us a value of 90 when there was no gas near it and the air quality safe level is 350 PPM and it should not exceed 1000 PPM. When it exceeds the limit of 1000 PPM, then it will cause headaches, sleepiness, and stagnant, stuffy air and if it exceeds 2000 PPM then it will cause increased heart rate and many different diseases. When the value is less than 1000 PPM, then the LCD and webpage will display “Fresh Air”. When the value increases from 1000 PPM, then the buzzer will start beeping and the LCD and webpage will display “Poor Air, Open Windows”. When it increases to 2000, the buzzer will keep beeping and the LCD and webpage will display “Danger! Move to fresh Air”.

Air Pollution Monitoring Equipment

The different components of the equipment along with their intended purpose are discussed below

(a) Arduino Uno R3 Microcontroller :

It is the most flexible hardware platform used based on ATmega328P which can be programmed according to the function where it is to be used. It has 6 analog inputs, 14 digital input/output pins (6 pins of these can be used as PWM outputs), a USB connection, a 16 MHZ quartz crystal, SPI, serial interface, a reset button, a power jack, and an ICSP header.

The Arduino microcontroller is not only for technical audiences but is intended for designers and artists as well because of its focus on usability based on its design which helps to achieve the intended goal. It is the primary component of the framework. It is an open-source microcontroller device with an easily accessible software/ hardware platform and is compatible with many sensors available. Everything needed for its working is present on the board; we only require a USB cable to directly connect it to the computer or give power using a battery source or AC to DC adapter to get started. Also, it is not expensive and can be assessed with free authoring software i.e. IDE (Integrated Development Environment). With the availability of a large number of source codes over the internet, the programming of Arduino becomes easy.

The online growing community backing Arduino consists of programmers like us who share their examples with others to make it a more reliable platform. It is mainly used in RF and IR circuits.

These decoders are mainly used for remote control applications like burglar alarms, car door alarms, security systems, etc. The chosen pair of encoder and decoder for communication should have the same number of addresses and data bits.

(b) MQ135 Gas Sensor:

The Sensitive material used in the MQ135 gas sensor is SnO2. The conductivity of this material is lower in clean air. The sensor conductivity increases with the increasing concentration of target pollution gas. °MQ135 can monitor different kinds of toxic gases such as sulfide, ammonia gas, benzene series steam, and CO2. The detection range is 10-10,000 ppm with a voltage rate of about 5.0V + 0.1V AC or DC. The important features are a long life span, low cost, simple driver circuit, and good sensitivity to toxic gases. MQ135 gas sensor is widely used in industrial gas alarms, portable gas detectors, and domestic gas alarms.

MQ135 is used in this framework for monitoring CO2 in air. The amount of CO2 present in the atmosphere is 400.7 ppm according to which the sensor is calibrated.

(c) ESP8266 Wifi Module:

The ESP8266 WiFi Module is a self-contained SOC with an integrated IP protocol stack that can give any microcontroller access to your WiFi network. °Wifi module is capable of either hosting an application or offloading all Wi-Fi networking functions from another application processor. °Every ESP8266 module comes pre-programmed with an AT command set firmware, meaning, we can simply connect to the Arduino device. The ESP8266 module is an extremely cost-effective board.

This module is powerful for on-board processing and storage capability that allows it to be integrated with the sensors and other application-specific devices through its GPIOs with minimal development up-front and minimal loading during runtime. It has a high degree of on-chip integration that allows for minimal external circuitry, including the front-end module and is designed to occupy minimal PCB area.

The wifi module supports APSD for VoIP applications and Bluetooth co-existence interfaces, it contains a self-calibrated RF allowing it to work under all operating conditions, and needs no external RF parts. There is an almost limitless fountain of information available for the wifi module, all of which has been provided by amazing community support.

(d) LCD :

LCD (Liquid Crystal Display) is an electronic display module. A 16 x 2 LCD is a very basic module and is very commonly used in different types of devices and circuits. These modules are preferred over seven-segment and other multi-segment LEDs.

A 16 * 2 LCD means it displays 16 characters per line and there are 2 lines. By this LCD each character is displayed in 5? 7-pixel matrix. This LCD contains two registers, which are Command and Data. The command register stores the command instructions which is given to the LCD. A command is an instruction that is given to LCD to do a predefined task like initializing it, clearing its screen, setting the cursor position, controlling the display, etc.

The data register stores the data to be displayed on the LCD. The data is in the form of ASCII value of the character to be displayed on the LCD.

The system to monitor the air of the environment using Arduino microcontroller, IoT Technology is proposed to improve the quality of air. The use of IoT technology enhances the process of monitoring various aspects of the environment such as the air quality monitoring issue proposed. Here the using of the MQ135 gas sensor gives the sense of different types of dangerous gas and Arduino is the heart of this project which controls the entire process. The Wi-Fi module connects the whole process to the internet and LCD is used for the visual Output.

Leave a Reply

Your email address will not be published. Required fields are marked *