Raspberry Pi System For Detecting Machine Status

Similar documents
Christian Brothers University 650 East Parkway South Memphis, TN

IoT Based Traffic Signalling System

IoT Smart Calendar. Advisor: Dr. Malinowski. Jason Morris, Cole Lindeman

Parking Lot Practical IOT COURSE

Controlling electrical home appliances, using Bluetooth Smart Technology (October 2015) Pedro José Vieira da Silva

CENG4480 Embedded System Development and Applications The Chinese University of Hong Kong Laboratory 6: IMU (Inertial Measurement Unit)

IoT Smart Calendar. Advisor: Dr. Malinowski. Jason Morris, Cole Lindeman

A Low Cost Internet of Things Network for Contamination Detection in Drinking Water Systems Using Raspberry Pi

SMART PHONE BASED ENERGY MANAGEMENT SYSTEM USING RASPBERRY PI3

Grove - Solid State Relay

Implementation of ATM security using IOT

IoE Workshop. Marc Khayat, CCIE #41288, Leonard Janer Technical Managers. June 16

A Slice of Raspberry Pi

Micro:bit - an Educational & Creative Tool for Kids

Motion Activated Surveillance System

Sriram Valluri 1, Akepati Gouri Sagar 2, Siva Shanmugam. G 3 1,2,3 School of Computer Science and Engineering, VIT University, Vellore, India

BCS Raspberry Pi Launch Events Getting started with Raspberry Pi

Software Requirements Specification. Smart Doorbell. for. Version 1.0 approved. Prepared by Shriya Shah & Umang Ajmera LDRP-ITR


M.G.I.C.O.E.T, Shegaon, India

Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur

Smart Home Automation and Live Streaming By Using Raspberry PI

PERFORMANCE ANALYSIS OF DATA MINING TECHNIQUES FOR REAL TIME APPLICATIONS

GARAGE DOOR OPENER BASED ON IMAGE PROCESSING. By \ Mohammed Bashmmakh

ISSN Vol.04,Issue.01, January-2016, Pages:

It s STEAM, Punk!! The chronicle of dragging a 1935 steam boiler kicking and screaming into the Twenty-First Century

Modular Rapid Monitoring System

DATA LOGGING SYSTEM FOR VEHICLE

Manage Devices - Clocks, Gateways & Networks

IEEE PROJECTS ON EMBEDDED SYSTEMS

acknowledgments...xiii foreword...xiv

Home Automation using IoT

Real-Time Parking Information Solution. Team 9. Them Le - EE Danny Russell - CpE Carlos Pereda -

Ten (or so) Small Computers

Development of Secured Home Automation using Social Networking Sites

Main objectives or functions can be modelled like different blocks or components that can be observed in Figure 1. Figure 1: HOPE System Architecture

Copyright. Getting Started with Arduino Wiring for Windows 10 IoT Core Agus Kurniawan 1st Edition, Copyright 2016 Agus Kurniawan

UNIT 4 INTEGRATED CIRCUIT DESIGN METHODOLOGY E5163

MOBI PARKING NAVIGATOR SYSTEM (SENSOR MONITORING) SHAROS AZUANUDDIN BIN MAT SIDEK

REAL TIME MONITORING OF ANALOG AND DIGITAL SENSORS

SLabs-32 User's Guide

AlphaBot2 robot building kit for Raspberry Pi 3 Model B

SOLVING ANDROID IPTV VIDEO STREAMING ISSUES

Steven Edouard SDET, US - DX Audience West Microsoft Bruno Terkaly Principal Software Engineer - Microsoft

Laboratory of Sensors Engineering Sciences 9 CFU

DATASHEET. gen4 Programming Adaptor For all gen4 sizes (Picaso and Diablo16) gen4-pa. Document Date: 29 th January 2016 Document Revision: 1.

S.M.A.R.T. Lock. Presentation Points 10/16/2016. Introduction. System Design and Overview. Hardware Design. Software Design. Testing and Integration

CHORE-TRONICS 3 Whole House Controller

Remote Monitoring of Solar Inverter (An application of IOT)

ADVANCED TRAINING INSTITUTE, HYDERABAD

Realization of Wireless Sensor Network Data in IOT Environment for Industrial Using Zigbee Technology

CSC 170 Introduction to Computers and Their Applications. Computers

Build your own Smart Home

Robot Control Through 3D web application

Alkan University College Student Information Management System

Computer Studies programs and courses have Changed!!!

Android based Interactive Home Automation System through Internet of Things

Profi4 Main Board Manual


Application Of Internet Of Things

WHG713. Secure WLAN Controller

RECONFIGURABLE SMART SENSOR INTERFACE for INDUSTRIES USING ARMBASED ON IOT

Acknowledgments...xvi Introduction... xvii Primer Project 1: Blinking an LED Project 2: Pushbutton LED Flashlight...

INTERNET PROGRAMMING INTRODUCTION

A Raspberry Pi Based System for ECG Monitoring and Visualization

Overview of the Raspberry Pi Models 3B & 2B

The world of BAOS. Easy connectivity for KNX with Bus Access and Object Server. Overview and applications

Automobile Design and Implementation of CAN bus Protocol- A Review S. N. Chikhale Abstract- Controller area network (CAN) most researched

Sayed Aziz Sayed Hussin Universiti Kuala Lumpur (UniKL), Malaysian Institute Information Technology (MIIT)

Raspberry Pi Based Intelligent Projector

Home Lighting and Appliance Control System using Internet of Things

Lecture 13 IoT and Augmented Reality

ARDUINO BOARD LINE UP

Aerial Surveillance Drone: Power Management

IT at Sussex

Micro-controllers. Applications in Experimental Aircraft. RAA Meeting Nov 14, Terry Fisher

COMP4971F - Independent Work Final Report

An open-source, multi-parameter, full fledged human body vital sign monitoring HAT for Raspberry Pi as well as standalone use.

A RFID System for Recognizing Activity Using Radio Patterns Shwetha R 1, Sushmitha P 2, Swathi MS 3, Poonam Kumari 4

1 Quickstart Guide 1

LEADING THE WAY. A GUIDE TO DIGITAL WAYFINDING AT HOME ON SITE ON THE MOVE.

Introduction to Embedded Systems

Michigan State University Engineering Lecture Smart Communities October 24 th, 2018 Kerstin Shestin Wilson Performance Infrastructure Account

3D Scanner PDR. Team 8 Oct. 23, Vangjel Frasheri Siyan Lin Chenkai Zhou. Advisor: Professor Tessier

Types of Computers. Computer Technology (S1 Obj 1-1)

White Paper Integrating Wireless Communications and Controls Into Lighting Fixtures

Heather Kloet, Monica Limback, Kaitlyn Weinstein

A network is two or more computers, or other electronic devices, connected together so that they can exchange data.

About SunFounder Preface SunFounder is a technology company focused on Raspberry Pi and Arduino open source community development. Committed to the pr

AirBespoke Inventory Tracking System

Garage Door Opener based on Image Processing

SMK SEKSYEN 5,WANGSAMAJU KUALA LUMPUR FORM

Smart Lighting System Final Report Authors Alex Berian, Dustin McCart Client Aleksander Malinowski

User s Manual Smart Interactive Conferencing Whiteboard

Technology Incubation Center. High Tech Cleanroom Laboratory & Production Facility.

Electronics Single Board Computers

1. Setup a root folder for the website 2. Create a wireframe 3. Add content 4. Create hyperlinks between pages and to external websites

A Guide for using MyStudyAbroad system

Web Mechanisms. Draft: 2/23/13 6:54 PM 2013 Christopher Vickery

Broadband over Power Line

Transcription:

COMP4971 Project Report Project Title: Raspberry Pi System For Detecting Machine Status LIU, Xinzhu (EEGBM) Supervised by Prof. David Rossiter (CSE)

Table of Contents 1. Abstract... 1 2. Introduction... 1 2.1 Background... 1 2.2 Objectives... 1 3. Methodology and related information... 2 3.1 Project data flow overview... 2 3.2 Hardware and software employed... 2 3.3 Determine engine status... 3 3.4 Sensor selection process... 3 3.5 Vibration sensor... 3 3.6 Data transformation... 5 3.6.1 Raspberry Pi... 5 3.6.2 Python... 6 3.6.3 Internet related program... 6 3.6.4 PHP... 6 4. Demonstration... 7 4.1 Data flow... 7 4.2 Video demonstration link:... 7 5. Conclusion... 8 6. References... 8

1. Abstract Many students have been complaining there is no available laundry machine at peak time and it is difficult to check the availability of machines unless go to the laundry room. Thus this project is aiming to provide hall residents a convenient way of checking laundry status and improve the efficiency of washing machines. The project is mainly reply on a Microcontroller called raspberry pi, together with vibration sensors to collect data and upload it onto real-time display website so that residents can check the website though their laptops or mobile phones, plan early and save time. This project explains the technical implementation in detail, the logic behind and demonstrate the final project outcome. 2. Introduction 2.1 Background Quite a number of HKUST hall residents have complained that there are not enough washing machines on campus. During the busy hours, they may carry heavy laundry baskets up and down stairs while find all the machines occupied. It may even take them several journeys to finally find an empty one. The root cause is the inefficient allocation and use of the washing machines rather than the quantity. So this project, inspired by the concept of IOT Internet of Things, is hoping to create a free information disclosing and accessing platform to increase the efficiency of public facilities. 2.2 Objectives Because this is a common need in UST and washing machines are relatively convenient to reach thus this project is to develop checking system based on washing machines, then adjust and apply it to more fields in the future. Here are the objectives of our project. Improve the efficiency of usage of washing facilities Help students find available machines and manage their washing schedule Improve the Hall living satisfaction level Develop a pilot project for potential future business 1

3. Methodology and related information 3.1 Project data flow overview PHP PHP Python program A Python program B program C program D HTML Internet Figure 1 Data flow from washing machine to website 3.2 Hardware and software employed As a prototype for the real time display, our project provides the real time availability status of the laundry machines in residential halls through online platform. Two main parts, electronics and website building, are considered in this project. The basic mechanism of the electronics part is the signal transition and forwarding. Vibration sensors, whose inputs are stick to the laundry machines, are used to collect the electronic signals when the machines are under working. Subsequently, the signals are forwarded from the outputs of the sensors to the single-board computer, Raspberry Pi. A database is programmed in Raspberry Pi with Python language to collect and record the electronic signals and translate them in the form of text file, which is more suitable for website programming. After that, the data in Raspberry Pi are transmitted to the ihome server through on-campus Wi-Fi where the website is built. Html, CSS and JavaScript are used to design, skeleton and frame the body of the website. PHP animates the website and acts as the medium between the database and the display site to transit the change from the signal to the website. For residents, they just need to check the website to get the availability status for the particular machine and then decide whether to go to wash their clothing or not. Similar sensor system may be applied to other public areas like parking lots and communal bathrooms etc. List of items used in this project: a. Raspberry Pi B+ b. Vibration sensor: MPU6050 c. Display Screen (TFT color monitor 17.4cm*11.4cm*3.3cm) d. Breadboard 2

e. DuPont Wire f. Multimeter (UT33D) 3.3 Determine engine status After consulting the university residential department and the security department, our initial and easiest idea to get the engine data which is the data inside the card payment machine has been declined due to students privacy concern. Another direct way to getting data which is to change the washing machine internal electric path so that it could send the data upon usage also failed to be accepted considering unnecessary risk of breaking down the machine. Thus external sensors are used for the reason of safety and accuracy. 3.4 Sensor selection process Sensors are the core part of this project, serving as the data importer. The selection of sensors is vital considering the accuracy and stability. A few options have been considered before the final conclusion, such as camera (too much burden for school network), electric sensors (too expensive), heat sensors(inaccurate). In the end, vibration sensors are selected to meet all the criteria. 3.5 Vibration sensor Figure 2 Vibration sensor: MPU 6050 3

MPU6050 (Figure 2) is a three dimensional vibration sensor, giving out the gyro data (x, y, z) and the acceleration data (x, y, z). If to use the vibration data, the most applicable place worth researching is the in water pipe and the thinnest side wall of the machine and these are the places intended for the sensors to be stick on. Also in order to get the most relevant data, complete Six set of data are gathered throughout a path of five minutes stable machine state, a complete cycle of laundry and another five minutes stable machine state. Afterwards, when visualize the data across time dimension. It has been find that gyro y dimension is most sensitive to the end fast spinning phase (Figure 3) while the acceleration sum of x, y and z dimension is most sensitive to the in water phase (Figure 4). Thus these two set of data are the selected data to be analyze later on to determine the status of the machine. Figure 3 Gyro y dimension Figure 4 Acceleration sum of x, y and z dimension Vibration sensors are selected based on three concerns. (Figure 2) Firstly, vibration sensors are relatively cheap. Because the status of each washing machine needs to be collected independently, it is very important to control the cost of sensors, which will be of large quantity, so that the total price will be acceptable and attractive to be widely used. Secondly, vibration sensors are mechanically easy to understand hence, user friendly. Users can adjust it and repair vibration sensors on their own and little technical knowledge will be needed. Last but not least, vibration sensors can perfectly avoid one significant concern of users: privacy. Because no video or photos are collected, other users cannot view the clothes nor know the users through this website and the information of each user will be perfectly protected. 4

3.6 Data transformation 3.6.1 Raspberry Pi Raspberry Pi is selected (Figure 5) because it s both functional satisfying and efficient considering it has its own operating system available for download (e.g.: Raspian) compared to Arduino. For example, python program could directly be used rather than C language, original embedded Wi-Fi application rather than Wi-Fi module to be installed, embedded GPIO port rather than to configure port construction on oneself. Raspberry Pi contains a reasonable CPU and both Ethernet and USB ports. Raspberry Pi is also relatively cheap, around 250 HKD, so it will be cost-efficient, with each hall laundry room share a same computer. Figure 5 Raspberry Pi Sensors use the SDA module on Raspberry pi to communicate to the CPU and AD0 are used to switch between different sensor s data income. 5

3.6.2 Python Vibration sensor Raspberry Pi GPIO port: Analog data digital data Python Program A: Analyze the gathered data, compare with the predetermined threshold And generate a TXT file of Yes and No TXT file Python Program B: Extract the data of the txt file And upload it to the Internet Data Internet Figure 6 Python programs 3.6.3 Internet related program Different languages are used for different parts in this project. For example, Python program for data collection and uploading, running on Raspberry Pi and html, CSS, JavaScript are to build the website. Besides these, PHP is to construct the database on the website. 3.6.4 PHP As Python Program B upload the data from the TXT file that Python A has generated. One PHP file called Program C (Figure 7) receive the numerical data and generate a TXT file on the Internet, saved in a server. Another PHP file, program D (Figure 7) read the TXT file that s on the Internet and display it on the browser. 6

4. Demonstration 4.1 Data flow Laundry machine Signal Vibration sensor Raspberry Pi GPIO port Python Program A TXT file Python Program B: Digital data Ihome sever PHP program C TXT file PHP Program D Sentence HTML/CSS & JavaScript Browser Figure 7 Data flow from washing machines to online display 4.2 Video demonstration link: https://drive.google.com/open?id=0bxfcncjsg22hd25bsenpnkpqoxc 7

5. Conclusion Many residents have been complaining the insufficiency of campus laundry machines. And this project is founded to solve this problem. Vibration sensors, Raspberry Pi and multiple programing languages are used and succeed to detect the washing status of machines accurately and upload it online for on-time display. This whole system is cheap in cost and is easy for administrators operation and fixing. No reassembling of machines will be needed and this system offers the perfect protection of users privacy. 6. References [1] Raspberry Pi: http://en.wikipedia.org/wiki/raspberry_pi Date accessed: Jun.1 st, 2016 [2] Laundry view: http://www.laundryview.com/lvs.php Date accessed: May. 20 th, 2016 8