Web and Hardware Development for a Network of Smoke and Radiation Detectors

Similar documents
Low-Cost Air Pollution and Radiation Monitoring Network for Disaster Prevention

Large Scale Early Warning System for Deadly Environmental Elements

International Journal of Scientific & Engineering Research Volume 9, Issue 2, February-2018 ISSN

Risk Management Using Raspberry Pi and Sensors

Group A Carlos Castro, Courtnie Coleman, Lucas Plager, Patrick Schexnayder

VEHICLE SAFETY WITH DIALLING SYSTEM AND AUTOMATED LOCATION TRACKER

Make A Raspberry Pi Controlled Robot Building A Rover With Python Linux Motors And Sensors

DESIGN OF AIR-CONDITIONING SYSTEM FOR SARS WARDS. By Yuguo Li and SARS Busters * Background

RAMSES: THE LHC RADIATION MONITORING SYSTEM FOR THE ENVIRONMENT AND SAFETY

MODULAR HOME MONITORING SYSTEM. Gary Leutheuser Electrical Engineer Robert Short Electrical Engineer Robert Simon Computer Engineer

Welcome to a world where technology flows through the heart of your business environment. Welcome to CDC

Ambient Temperature/ Relative Humidity & Dew Point Temperature Sensors to USB Output. Model LFS108B

AUTOMATION. Operator s Manual RST Series Web Enabled Input Module. Rev. A2, 1/12

Environmental Protection November 1993 Agency Solid Waste and Emergency Response (5305) Disposal Tips for Home Health Care

Operation Manual Fighter ProVision Software. Version: 0.0 Revision: 1

SMUGGLING PREVENTION SYSTEM FOR TREES IN FOREST USING IOT

Smart Surveillance System using Background Subtraction Technique in IoT Application

Smart Wireless Sensor

DEVELOPMENT OF THE TANGO ALARM SYSTEM

Intelligent monitoring system for automobiles

Comprehensive Design Review (CDR) Neptune. Team 16 February 29, Advisor: Professor Holcomb

Construction of Wireless Fire Alarm System Based on ZigBee Technology

Network based smoke alarm - using Arduino and iphone

International Journal of Computer Engineering and Applications, Volume XII, Special Issue, March 18, ISSN

Alternative refrigerants or HFCs: an obvious choice? Safety first when choosing a refrigerant!

Radioactivity dosimeter RD01. User's Manual

Design of Multi-Sensors Cooperation Control System for Intelligent Building

Grove - Laser PM2.5 Sensor (HM3301)

Smart Wireless Sensor

IOT ENABLED FOREST FIRE DETECTION AND ONLINE MONITORING SYSTEM

RADON LAZERWEB SERVICES

IndigoVision. GAI-Tronics Integration Module. Administrator's Guide

Lesson 11 Internet Connected Environment (Weather, Air Pollution and Forest Fire) Monitoring

MultiSite Manager. Setup Guide

How would a major nuclear incident be handled in Hong Kong? Security Bureau Hong Kong Special Administrative Region Government

Tyco Security Products Acquires Innometriks Deal strengthens TSP s Solutions in the Government Market

Pi Cam Based Smoke/Fire Alerting System

Ontech GSM 9040/50. Reference Manual English -1 -

Use this guide to assist you when completing the Evacuation scheme application form.

RACK MONITORING SYSTEM RAMOS Ultra

Final Project Review (FPR) Neptune. Team 16 April 12, Advisor: Professor Holcomb

Certificate of Completion

Prototype of Gas Leak Detector System Using Microcontroller and SMS Gateway

A Research in the Tele-Working of the Intelligent Device for Anti-Disaster Security

Re: ENSC440 Functional Specification for a License Plate Recognition Auto-gate System

Public Services. NewVoice. San Francisco Paris Geneva Zurich Linz Mainz Shanghai Brisbane Hong Kong São Paulo Dubai

Design of the Fiber-optic Fence Warning System with Distributed Video Real-Time Display Function Qiang-yi YI and Zheng-hong YU *

FIRE PLAN. In order to assure the safety of patients, visitors and staff, a standard response to fire or the potential of fire is required.

JOVY SYSTEMS RE User Manual Rev. 1.00

Multi-sensor System For Indoor Environment Monitoring Zheng-yu Wanga, and Xiao-ru Zhangb

Health Care. NewVoice. San Francisco Paris Geneva Zurich Linz Mainz Shanghai Brisbane Hong Kong São Paulo Dubai

Construction of An Automatic Power Switch using Infrared Motion Sensor

ROBOT: HOME AUTOMATION SYSTEM USING RASPBERRY PI AND SENSORS

EXcon zone control. Control for up to 4 individual zones _ fm. EXHAUSTO A/S Odensevej 76 DK-5550 Langeskov

ZX1e ZX2e ZX5e. Document No Issue 01 user manual

Your partner for intelligent street light systems

Research on the Monitor and Control System of Granary Temperature and Humidity Based on ARM

Homework 5: Theory of Operation and Hardware Design Narrative

Radiation Detection And Measurements By G F Knoll Solution Manual Book

Guillermo Alberto Pérez Guillen Automation Home

Fact File 46 Guidance to recyclers on treatment of domestic ionisation chamber smoke detectors (ICSD)

CompleteView Alarm Client User Manual. CompleteView Version 4.6.1

A Wireless, General Purpose Tamper Detection System with Mobile User Notifications

The Design of Temperature Control System for Vegetable Greenhouse

LPG Gas Leakage and Early Warning Safety System for Households

HEALTH AND SAFETY MANUAL

Home center 2.7 Windows client Installation guide

IntelliDoX Operator Manual

Development of Post-Accident Monitoring System for Severe Accidents

Design and Development of Gas Leakage Monitoring System

Certificate of Completion

GSM Based Computer Lab Security System Using PIR Sensors

Synergis Master Controller 2.2 Integration Guide for Assa Abloy Aperio- Enabled Locks

University. NewVoice. San Francisco Paris Geneva Zurich Linz Mainz Shanghai Brisbane Hong Kong São Paulo Dubai

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

A Novel Approach to Garbage Management Using Internet of Things for Smart Cities

ATSTORM v2. The sensor with FCES technology is connected to the interface with a communication cable.

Operating Instructions Model: PRT-TS WiFi RF. 01/13 Version 1 Ref: PRT-TSWIFI RF

Design of Humidity Monitoring System Based on Virtual Instrument

Structural Fires: Selected Guidance from NYS Department of Health

Applications of Smart Home system for disabled people for using wireless network

Radon Detection Specialists, Inc.

Our project would not have been a success without the help of others and the collective ideas from the

A Design of IADSS with the Earthquake Detecting Function

Fire Detection Using Image Processing

SCR100 User Manual. Version:1.1 Date:Dec 2009

Radon Detection Specialists, Inc. Love the Lungs You re With

The European Commission s science and knowledge service. Building on core components of Technical Reachback

Certificate of Completion

Product catalogue. White label products for the entire IoT industry. Smart home Energy management Home security Assisted living

Radon Detection Specialists, Inc.

ISO What are the Benefits of working with a company that has received an ISO 9001:2015 Certification

Skyresponse ThingWorx Extension. Version 1.0. User Guide

RACK MONITORING SYSTEM - RAMOS Ultra

Secure Your Way of Life. Now Compa ble With. Climax Home Portal Platform. Enable a Connected Future

AN IOT BASED FOREST FIRE DETECTION AND PREVENTION SYSTEM USING RASPBERRY PI 3

IOT BASED SMART GARBAGE COLLECTOR FOR SMART CITIES

Automatic Fire Alarm Service Provider Computer Interface Specification for Extended Alarm Protocol (XAP) Devices

Hospital Codes, Safety, Exposure Control, Emergency Plans Handout

EnergyMaster. ENEC Monitoring System. An on-site supervision and remote monitoring solution

Transcription:

The Hong Kong University of Science and Technology COMP 4971C Project Report Project Title: Web and Hardware Development for a Network of Smoke and Radiation Detectors AGATHA, Felicia Supervised by Prof. David Rossiter

Abstract In a country where air pollution is a major health concern, it is important for the public to know about specific locations where the pollution is too high and too dangerous. Besides air pollution, Hong Kong is also located only 50 km from Daya Nuclear Power Plant in Shenzhen, and has a risk of getting contaminated by dangerous radioactive substances if there is a disaster such as a nuclear meltdown. Having information about smoke and radiation level would help the public because by knowing this information they can take appropriate action, such as evacuating as early as possible or cancel their visit to the particular area. The main goal of this project is to provide the appropriate information in a user-friendly manner. This project has successfully implemented the system that can take signals from sensors, process the reading into a numerical data with appropriate unit, transfer the data to the Internet and display the data on a webpage. This system serves the purpose of providing the appropriate information about smoke and radiation level to the public so that they can take appropriate actions if danger arises. Introduction Background Air pollution has always been a major problem in many parts of the world, including Hong Kong. Every year, thousands of people die due to huge amounts of air pollution in Hong Kong 1. Hedley Environmental Index has shown that even from midnight to 12 p.m. on 2 May 2016, 229 patients have to be confined to bed because of health impairment due to severe level of air pollution in Hong Kong 2. Not only has Hong Kong, the rest of the world also suffered from the danger of air pollution. Recently, Indonesia experienced a massive disaster due to a haze caused 1 Y. Lai. (2015, May 7). Hong Kong air pollution causes 3,000 deaths, costs billions annually. South China Post [Online]. Available: http://www.scmp.com/news/hong-kong/article/1128685/hong-kong-air-pollution-causes-3000-deaths-costs-billions-annually 2 School of Public Health, The University of Hong Kong. (2016, May 2). Hedley Environmental Index [Online]. Available: http://hedleyindex.sph.hku.hk/html/en/ Page 2 of 11

by forest fires. Ten people have died from haze-related diseases and more than 500,000 cases of acute respiratory tract infections have been reported since July 1, 2015 3. In addition to air pollution, radiation also plays a major role in causing an increase in death tolls. Up to 2014, the official number of fatalities caused by the Fukushima nuclear disaster in 2011 has reached 1,232 4. In Hong Kong, a possible cause of radiation is from Daya Bay Nuclear Power Station located in Shenzhen, 50 km away from the center of Hong Kong area. It poses a huge risk to the Hong Kong residents if there was a leak from the station. Overview Based on these problems, a network of smoke and radiation detectors were built in order to give early warning to the public when the level of smoke or radiation in a certain area gets dangerous. Each set of detectors includes both smoke and radiation sensors, and having multiple sets of these detectors spread around the country would enable us to obtain relevant information about the level of smoke and radiation in the area. To show the data to the public, each set of detectors sends the data collected to a server in the Internet on a real-time basis. When the level of either smoke or radiation gets dangerous, the detector would give an alarm sound to warn the people nearby. The data is send to the server, and a program in a webpage reads the data and shows the data on the page. The data is shown in the form of a map, and several markers are displayed on the map, indicating the location of the detector and the level of smoke and radiation at the corresponding area. 3 K. Lamb. (2015, Oct. 26). Indonesia's fires labelled a 'crime against humanity' as 500,000 suffer. The Guardian [Online]. Available: http://www.theguardian.com/world/2015/oct/26/indonesias-fires-crime-against-humanity-hundreds-of-thousands-suffer 4 D. Gutierrez. (2015, Apr. 7). Fukushima Disaster Caused at Least 1,232 Fatalities in 2014 as Radiation Death Rate Accelerates. Global Research [Online]. Available: http://www.globalresearch.ca/fukushima-disaster-caused-at-least-1232-fatalities-in-2014-as-radiationdeath-rate-accelerates/5441390 Page 3 of 11

Materials Each set of detectors consist of: Figure 1: One Set of Smoke and Radiation Detector 1. Raspberry Pi computer: The data from the sensors which are transferred through GPIO pins of the Raspberry Pi, and a program in the computer would process the data and send it to server. 2. WiFi dongle for Raspberry Pi: Enables the Pi to connect to the Internet. 3. MQ-2 Smoke Sensor: Reads the level of smoke in the vicinity and outputs the data in the form of analog data. 4. Geiger-Muller Tube: Reads the level of radiation in the vicinity. 5. Radiation Sensor Board: Interacts with the Geiger-Muller tube and converts the reading from tube into a voltage (analog data). Page 4 of 11

6. MCP 3002 Analog to Digital Converter: An integrated circuit (IC) that converts analog data to digital data. Since both the smoke and radiation sensors give analog data, this IC is needed since Raspberry Pi only reads digital data. 7. Breadboard: All electronic components, including the MCP 3002 analog to digital converter are connected on the breadboard. 8. DuPont Wires: Used to make the connections between components on the breadboard. 9. Speaker: Makes an alarm sound when the level of either smoke or radiation gets dangerous. Overview of Data Flow The data flow consists of three main parts: recording sensor inputs, reading and processing sensor inputs, and analysing and displaying the data on website. In the first part, the smoke/gas, and radiation levels are detected by a MQ-2 sensor and a Geiger-Muller tube sensor, respectively. The data collected is then stored using a Raspberry Pi 2 Model B. Furthermore, the data is extracted from current.json by using a Python program and the program will determine whether the area is safe. The current data recorded is stored in record.json file, which consists of the record of previous data. In the last part, the data is extracted from current.json and displayed on a map in the website. Page 5 of 11

Smoke and Radiation MQ-2 Smoke Sensor Geiger-Muller tube Radiation Sensor Digital Data Raspberry Pi 2 Model B Computer Digital Data ihome server Figure 2: Data Flow Page 6 of 11

Hardware Development Figure 3 Breadboard (middle), Radiation Sensor (top right), Radiation Sensor Circuitry (left) and Smoke Sensor (middle left) The circuit on the breadboard is connected in a way that the analog signal from each sensor can be converted into digital signal, because the Raspberry Pi can only receive digital signal. Firstly, the signal is passed to a voltage divider, because the maximum voltage output from both sensors are 5V, while the MCP 3002 analog to digital converter can only accept up to 3.3V. After that, the signal that has been divided down is passed to MCP 3002. The outputs of the MCP 3002 are then transferred into the Raspberry Pi through the GPIO pins. In the Raspberry Pi, Python program A was written for the purpose of reading the inputs from these pins. Based on the inputs of these pins, the Python program would generate a number ranging from 0 1023. This number can then be converted to an appropriate unit such as micro Sieverts for radiation or ppm (parts per million) for smoke. Page 7 of 11

Figure 4 Raspberry Pi 2 Model B, GPIO Pins Receiving Input from MCP 3002 (shown at top) After getting the numerical data, the program will then store the data in the form of a.json file. The data stored includes the name of the place, latitude and longitude of the device s position, the time in which the data is recorded, smoke level and status (whether the level is dangerous or not), radiation level and status. After doing all these, program A will sleep for 15 seconds, and after 15 seconds it will do the whole process of processing data and writing to.json file again. So the.json file is updated every 15 seconds. Figure 5 An Example of a.json File This file will then be read by Python program B. This program deals mainly with the transfer of data from local storage to the ihome server in the Internet. There is a WiFi dongle plugged Page 8 of 11

into one of the USB ports in the Raspberry Pi, this allows the Raspberry Pi to have an Internet connection. Using the file transfer protocol (FTP) library for Python, the program connects to an ihome server and sends this file to the server. Program B also sleeps for 15 seconds after sending the.json file to the server, so the file in the server is also updated every 15 seconds. Web Development Figure 6 Markers shown on the map indicates a set of detectors The front-end part of the website uses HTML, CSS and PHP; while the back-end is handled using JavaScript. Google Maps API was used inside the JavaScript program to display the map on the webpage. On Figure 6, it can be seen that there are 4 markers on the map, indicating the proposed location of the detectors. When the marker is grey, it means both the radiation and smoke level in the area is safe. The way the data is handled is that in the JavaScript program, there is a 2-dimentional array storing the details of each location, such as location name, latitude and longitude, radiation and smoke level, etc. The program the extracts the.json file in the server and updates the array Page 9 of 11

based on the data retrieved. Since the map uses the data in the array to display the markers and info window, a function that updates the map will be called after the program finishes updating the array. Figure 7 Info Window Showing Smoke and Radiation Level at Sai Kung However, when either the radiation or smoke level in the area is unsafe, the marker will be flashing red and orange. The device will also produce an alarm sound that will give a warning. Figure 8 Hong Kong map showing two safe locations and two dangerous locations in Wan Chai and Sai Kung (indicated by orange/red flashing markers) Page 10 of 11

The data on the map is updated every 3 seconds. The sleep time is made to be shorter than the sleep in the Python programs to minimize the delay in updating data on the webpage. Conclusion This project has successfully implemented a system that can take signals from sensors, process the reading into a numerical data with appropriate unit, transfer the data to the Internet and display the data on a webpage in a user-friendly manner. This system serves the purpose of providing the appropriate information about smoke and radiation level to the public so that they can take appropriate actions if danger arises. Possible Future Development Some possible future development of this project is that to interact more with the Google Maps API so that the system does not only give information about a particular place, but users can also get directions to their desired destination. In case of danger, the system can find a safer, alternative route for the user to take, if the original route requires the user to go through an area with dangerous level of smoke or radiation. Page 11 of 11