Simple Method for Non Contact Thickness Gauge using Ultrasonic Sensor and Android Smartphone

Similar documents
Autonomous, Surveillance Fire Extinguisher Robotic Vehicle with Obstacle Detection and Bypass using Arduino Microcontroller

BILLING AND CONTROLLING OF INDIVIDUAL LOADS OF A COMPOSITE SYSTEM USING SIMPLE ANDROID APPLICATION

Lesson 5 Arduino Prototype Development Platforms. Chapter-8 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

IMPLEMENTATION OF A GUI REMOTE SYSTEM FOR HOME AUTOMATION Awuhe T. Samuel 1, Tingir T. James 2, Kpochi P. Kpochi 3

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT

Arduino Smart Robot Car Kit User Guide

Voice Recognition Automation through an Android Application

TA0297 WEMOS D1 R2 WIFI ARDUINO DEVELOPMENT BOARD ESP8266

1. Introduction Packing list Parts Introduction Uno R3 Board for Arduino Specifications... 6

ARDUINO PRIMO. Code: A000135

AUTOMATED GARBAGE COLLECTION USING GPS AND GSM. Shobana G 1, Sureshkumar R 2

BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY (BUET) DHAKA TECHNICAL SPECIFICATION FOR SUPPLY AND INSTALLATION OF LABORATORY EQUIPMENTS (PKG1).

Multi-Featured Shopping Trolley with Billing System

Arduino Based Speech Controlled Robot for Human Interactions

IDUINO for maker s life. User Manual. For IDUINO Mega2560 Board(ST1026)

Embedded Surveillance System using Multiple Ultrasonic Sensors

Smart Restaurant Menu Ordering System

OBSTACLE AVOIDANCE ROBOT

IOTs Based Stepper Motor Control using ARDUINO

Arduino Smart Bluetooth Robot Car Kit User Guide

Automatic water level control using LabVIEW

Smart Helmet Based On IoT Technology

SMART DUSTBIN ABSTRACT

ARDUINO LEONARDO ETH Code: A000022

VIRTUAL LAB KIT GUDASALAMANI

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

GE-INTERNATIONAL JOURNAL OF ENGINEERING RESEARCH VOLUME -3, ISSUE -5 (May 2015) IF ISSN: ( )

Bluetooth Based Home Appliance Control System with Feedback Voice Response Using Android Application

Intel Galileo gen 2 Board

IDUINO for maker s life. User Manual. For IDUINO development Board.

War Field Spy Robot Using Night Vision Technology

Bluetooth Based Home Automation Using Arduino and Android Application

DESIGN AND IMPLEMENTATION OF A WIRELESS MESSAGE DISPLAY SYSTEM. Mala U.M. Bakura, Aliyu Y. Hassan, Musa Abdulkadir and Ibrahim M.

Floor Cleaning Robot (Autonomus/Manual)

Wireless Communication Using Zigbee Module and Aurdino

mbot v1.1 - Blue (Bluetooth Version)

Automatic Railway Gate Control System Using RFID.

Labview Based Remote Controlled Automatic & Manual Bell For Boarding and Day Schools

IOT BASED MOBILE CHARGING WITH SOLAR ENERGY BY COIN INSERTION

COL862 - Low Power Computing

ARDUINO MINI 05 Code: A000087

The Diabetic Breathalyzer. Group 13 Jon Brown Christine Sleppy Noah Spenser Edert Geffrard

Home Automation using IoT

A practical component-oriented approach to IoT design and implementation

CLOUD BASED WHEATHER MONETORING SYSTEM WITH HUMIDITY LIGHT TEMPERATURE AND ATMOSPHERIC PRESSURE SENSORS

1.0. Presents. techathon 3.0

Quick Guide WARNING: CHOKING HAZARD - Small parts. Not for children under 3 years old. mbot is an educational robot kit for beginners to get hands-on

ARDUINO MICRO WITHOUT HEADERS Code: A000093

On the basis of degree of freedom of the arm and the type of joints used, a robotic arm can have any of the following designs:

ARDUINO LEONARDO WITH HEADERS Code: A000057

Innovative M-Tech projects list IEEE papers

International Journal of Artificial Intelligence and Applications (IJAIA), Vol.9, No.3, May Bashir Ahmad

Outline. A Computerbased. Instrument for Measuring Distance for a Soccer Free- Kick 10/16/2016. Andy Vongphachanh Matthew Weeks

Module 003: Introduction to the Arduino/RedBoard

Bluetooth Based Smart Automation System Using Android

Intel Do-It-Yourself Challenge Intel Galileo and Edison Paul Guermonprez

GUIDE TO SP STARTER SHIELD (V3.0)

AlphaBot2 robot building kit for Arduino

SMART DUSTBIN CONTAINER USING IOT NOTIFICATION

IoT Based Traffic Signalling System

WIFI ENABLED SMART ROBOT

Arduino Dock 2. The Hardware

Remote Area Monitoring Robot

Design and Implementation of WLAN Based ZigBee for Personal Identification

ARDUINO MEGA 2560 REV3 Code: A000067

Talon Communications. Wireless and Video Product Development It s what we do!

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

Development of Prototype Model for Wireless Based Controlled Pick and Place Robotic Vehicle

nettalk DUO WiFi Configuration (using an Android smartphone)

Adaptive Motion Control of FIREBIRD V Robot

IJTRD Jan - Feb 2018 Available 1

keyestudio Keyestudio MEGA 2560 R3 Board

Room Environment is Controlled in mobile for Industrial Application by Arduino

Bluno Mega 2560 (SKU:DFR0323)

International Journal of Scientific & Engineering Research, Volume 8, Issue 4, April ISSN

REMOTE AUTOMATION SYSTEM CONTROL USING ARDUINO BOARD

ARDUINO BOARD LINE UP

Communication Stability Experiment of IOT Car Based on WIFI and Bluetooth

Personal Computer-less (PC-less) Microcontroller Training Kit

ARDUINO MEGA ADK REV3 Code: A000069

The intelligent weather station system based on Arduino

Goal: We want to build an autonomous vehicle (robot)

Arduino ADK Rev.3 Board A000069

ARDUINO UNO REV3 Code: A000066

FEATURES DESCRIPTION FEATURES

Design & Implementation of Smart Energy Meter for the Smart Grid

Smart Home Intruder Detection System

ET16 Continuous Vital Signs Monitoring using Smartphones

Overview. Introduction. Key Features

arduino mega D4F69C4DABCA73DE7282FD2C4B5B8 Arduino Mega / 6

4 CHANNEL RELAY BOARD- BLUETOOTH

Handson Technology. HC-SR04 Ultrasonic Sensor Module. 1

Smart HUB - HUB to expand one Master Controller s RS-485 port to 8 RS-485 ports - Use 12VDC power

DEVELOPMENT OF INDUSTRIAL INTRUSION DETECTION AND MONITORING USING INTERNET OF THINGS P. Gokul Sai Sreeram 1, Chandra Mohan Reddy Sivappagari 2

Development of low cost railway monitoring equipment

Sanguino TSB. Introduction: Features:

Bluetooth based Low Power Data Acquisition System for BAN

INDUCTION MOTOR CONDITION MONITORING AND CONTROLLING BASED ON IOT

ESPino - Specifications

Vladimir Tsarkov Electrical Engineering

Transcription:

TELKOMNIKA Indonesian Journal of Electrical Engineering Vol. 15, No. 1, July 2015, pp. 191 ~ 196 DOI: 10.11591/telkomnika.v15i1.7187 191 Simple Method for Non Contact Thickness Gauge using Ultrasonic Sensor and Android Smartphone Anif Jamaluddin*, Fita Listiana, Dwi Teguh Rahardjo, Lita Rahmasari, Dewanto Harjunowibowo Physics Education Program, Sebelas Maret University, Indonesia Jl. Ir. Sutami 36 A, Surakarta, Indonesia *Corresponding author, e-mail: elhanif@uns.ac.id Abstract The aim of this research is to develop simple method for non contact thickness gauge using ultrasonic sensor and android smartphone. This system is constructed using ultrasonic sensor HY-SRF05, microcontroller ATMEGA328, bluetooth module and android smartphone. Ultrasonic sensor transmits ultrasonic pulses in the form of waves and recieves back the pulses after the waves are reflected by an object. The time duration of ultrasonic between transmition and reception is calculated as distance between sensor and sample. The method of for thickness measurement adhere sample on holder infront of ultrasonic sensor. The Thickness measurement of sample is calculated base on distance beetwen sensor to holder (fixed barrier) and sample to sensor. The zero position of measurement is distance of sensor to holder. The data of thickness is sent via bluetooth and received by the Android application. Android Application uses to display measurement is designed base on MIT App Inventor for Android (AIA) platform. The measurement results show a fairly high degree of accuracy is 99.978%. Keywords: ATMega328, ultrasonic sensor HY-SRF05, bluetooth module, Android, App Inventor Copyright 2015 Institute of Advanced Engineering and Science. All rights reserved. 1. Introduction The aim of this research is to develop non contact thickness gauge using simple method. It can applicated on on mobile data acquisition using android smartphones. The research is development from common analog into digital thickness gauge (calliper, micrometer). In an analog thickness gauge (calliper, micrometer), the measurement results should consider reading errors (parallax) which can be one of the causes of the inaccuracies in the measurement results. The difficulty in using analog thickness measurement can be solved by developing a digital measurement. But, the digital thickness instrument still has a weakness, when it used to measure elastis objects that the shape are easy to change when pressed. The non contact thickness gauge method is proposed to solve the problem. On the research proposes design using ultrasonic sensor. The ultrasonic sensor is one of the most accurate sensor for non contact distance measurement [1]. The novelty of our research is modifying distance measurement to thickness gauge. In addition, the result of gauge can be displayed on mobile phone. The Ultrasonic sensor transmits ultrasonic pulses in the form of waves and recieves back the pulses after the waves reflected by object. Microcontroller ATmega328 with arduino platform is chosen because it is easy to use so that the emphasis on efficiency and cost effectiveness [2]. The Wireless communication for transmission data from microcontroller uses bluetooth communication. It is chosen because it is simpler than GSM communication and require less power than Wi-Fi. Bluetooth has wireless technology with a short-range operating at 2.4 GHz, and relatively cheaper [2, 3]. The first step for design of non contact thickness gauge method is setting zero position as distance between ultrasonic sensor and holder. When the object was adhered on holder infront of ultrasonic sensor, microcontroller calculated distance between sensor and sample. The thickness of object is distance between sensor-holder (zero position) minus distance between sensor-sample. The android smartphone devices presented as a real time data acquisition for blood presure monitoring [4], electrocardiogram in medicine [5] and RFID reader [6]. The thickness Received November 2, 2014; Revised January 26 2015; Accepted February 15, 2015

192 ISSN: 2302-4046 gauge results are displayed on Android Smartphone using android application. Android Application is developed using MIT App Inventor for Android (AIA) platform. It relatively easy for someone with no programming skills and have made no special software [7]. The purpose of this research is to design of non contact thickness of elastic object. It is applied for mobile measurement using android smartphone for displaying data acquisition. 2. Research Method The Design of non contact thickness gauge consists of some hardware (such as ultrasonic sensor HY-SRF05, microcontroller ATmega328, bluetooth module, android smartphone) and software (such as Arduino IDE and App Inventor). Figure 1 shows the experiment schematic of wireless thickness gauge device based on Android and a microcontroller. Figure 1. Schematic circuit of wireless thickness gauge Working Principle. The first step, we have to calculate zero position as distance measurement between ultrasonic sensor and holder (fixed barrier). On the zero position, actual distance (sensor-holder) is converted as zero (0) on measurement. Figure 2.a shows the experiment for zero position setting. Fixed barrier Sensor-holder Zero Position a b Figuire 2 Calculation zero position; a. Schematic of zero position setting, b. Ultrasonic distance principle TELKOMNIKA Vol. 15, No. 1, July 2015 : 191 196

TELKOMNIKA ISSN: 2302-4046 193 The Ultrasonic sensor detects object by sending ultrasonic sound and then "listen" echoes. Figure 2. B shows ultrasonic distance principle. The velocity of ultrasonic on the air is 344.42 m/s or 0.3444 m/µs. The time duration ( t) between transmission and recieving of ultrasonic is calculated as distance (s) between sensor and sample with following equation 1. t s 2 0.03444 t s 2 t s (1) 2*29 Hardware Implementation. Ultrasonic sensor type HY-SRF05 work on DC voltage 5 V, has a sensor angle less than 15 degrees, and it can measured accurately at a distance of 2 cm to 450 cm [1]. The sensors transmit ultrasonic sound waves with a frequency between 25 khz and 50 khz [8]. Microcontroller arduino uno is a 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; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started [2]. On this paper, we used bluetooth module HC-06. It can connect 3.3 to 5VDC power supply and connect TX and RX for controling. This research used arduino integreted development environtment program (IDE) which embededed on ATMEGA 328 (Arduino). App Inventor for android is used for android application development, that displays data acquisition of thickness on android smartphone. Embeded Program. The Arduino integrated development environment (IDE) is a crossplatform application written in Java, is derived from the IDE for the Processing programming language and the Wiring projects. Arduino programs are written in C or C++ language [2]. Figure 3 a. shows the flowchart of embededded program. Start Start Initialize Port Bluetooth initialize Distance sensing Thickness calculation = Distance (Zero Position)- ( t/2*29) Recieve Data Send Data to android Display Data Finish Finish a. b Figure 3. Arduino programming; a. Flowchart embeded program, b. Flowchart to display thickness gauge on android smartphone Title of manuscript is short and clear, implies research results (First Author)

194 ISSN: 2302-4046 Android Application. App Inventor for Android (AIA is Developed by MIT Media Lab for education purposes. App Inventor is a Scratch-based visual programming language. Furthermore, App Inventor is a web interface development environment. The programming is made in a visual rather than a conventional way. The program can be uploaded to a smart phone directly [6]. Figure 3.b shows a flowchart of displaying thickness gauge on android smartphone. The design of android application with App inventor consisted of two parts (component diagram and block diagram). The component diagram was used for design layout to display on android smartphone. A block diagram was used for design programming of android. AIA has library for communication with accelerometer sensor, GPS, WiFi and Bluetooth [6]. On this system, the library of bluetooth is used for data communication. Figure 4 a. and 4.b show App Inventor component and block diagram. a b Figure 4. The library of bluetooth; a. App inventor layout display b. app Inventor block diagram 3. Result and Discussion 3.1 Thickness Calculation The first step for calculation of thickness is zero position set up. Zero position is defined as position between ultrasonic sensor and holder (Fixed barrier). In this research, the distance between sensor and holder is 19.80 cm but on the display instrument shows 0.00 cm. Figure 5.a TELKOMNIKA Vol. 15, No. 1, July 2015 : 191 196

TELKOMNIKA ISSN: 2302-4046 195 shows the experimental set up for calculation thickness of sample. The thickness calculation of sample is following equation (2) Thickness = s (zero position) s (sensor to object) t Thickness = s (zero position) - 2*29 (2) Sample (Object) Figure 5. Experiment of Wireless Thickness Gauge When there are object (sample) in front of sensor, Ultrasonic sensor transmits the waves to object which is reflected by the object to the detector. Microcontroller calculated thickness of object as following equation (2). The thickness data is transmitted by bluetooth communication into android smartphone. The system is designed for non contact measurement and wireless communication. 3.2 Experimental Result The non-contact thickness gauge was developed using ultrasonic sensor. An android smartphone displayed data acquisition of thickness object by bluetooth communication. Fig 6shows screen shoot of android application for thickness gauge. The bluetooth select button is designed to make a connection between bluetooth and microcontroller. Over bluetooth connected, the thickness data displayed on android smartphone with real time. The wireless thickness gauge has been tested to measure thickness sample. The result shows a slightly different with actual measurement using standard micrometer. Figure 7 shows the comparison of measurement between this method and actual measurement. Based on Figure 7, the fitting linear regression tool was used for analysis an accuracy of measurement. The accuracy of measurement is 99.978%. This method used non-contact between object and sensor. It was compatible to measure thickness on elastic or plastic object. This method was simple and applicable to use as mobile data acquisition using android smartphone. Other researcher used ultrasonic sensor for inspecting wall thickness measurement [9] and pipe wall [10]. It used contact method (contact between sample with sensor) for thickness detection. The novelty of our research is non-contact thickness measurement and mobile data acquisition. Title of manuscript is short and clear, implies research results (First Author)

196 ISSN: 2302-4046 The Data Comparison of Thickness by Actual Measurement Vs Android-Wireless Thickness Measuring System Figure 6. Screen shoot android application for thickness gauge Measurement of Thickness by Android-Wireless Thickness Measuring System (cm) 14 12 10 8 6 4 2 2 4 6 8 10 12 14 Actual Measurement of Thickness (cm) Figure 7 The comparasion of hhickness measurement by android vs micrometer 4. Conclusion A non contact and wireless thickness gauge system has been successfully created with the ATmega328 microcontroller, HY-SRF05 ultrasonic sensor, a Bluetooth module, and Displaying on android smartphone. It is a wireless and non-contact measurement. The results of thickness gauge with a wireless measuring based on Android and microcontroller have an accuracy rate of 0.99978 or 99.978%. Acknowledgement This work was partially supported by Sebelas Maret University s PNBP 2015 Grant. References [1] Meier R. General-Purpose Wireless Distance Sensor. Master Thesis. Zurich : ETH Zurich. 2014 [2] Jamaluddin A, Perdana F.A, Supriyanto A, Purwanto A, Inayati, Nizam M. Development of Wireless Battery Monitoring for electric vehicle. Electrical Engineering and Computer Science (ICEECS), 2014 International Conference on Electric Vehicle. Bali. 2014 : 147-151 [3] Peng Y, et al. Cognitive FH Channel Selection for Bluetooth Network. TELKOMNIKA Indonesian Journal of Electrical Engineering. 2013; 11(3): 1626-1631 [4] Shivaraman I, Pooja S. A Non-Invasive Blood Pressure Measurement using Android Smartphone. IOSR-JDMS, 2014; 13 (1): 28-31 [5] Jithin K, Niranjan D, Biju B. A Real time Data Acquisition and Monitoring Device for Medical Applications based on Android Platform. International Journal of Advanced Computer Research. 2013; 3(3):47-51 [6] Lian L. Research on How to Design an Android-based RFID Reader. TELKOMNIKA Indonesian Journal of Electrical Engineering. 2014; 12 (9): 6431-6436 [7] Kim H K, Model J. Mobile Application Design Tool for Smartphones: A Tutorial. International Journal of Soft Computing Engineering (IJSCE). 2012; 2: 237-243 [8] Kianpisheh A. Smart Parking System (SPS) Architecture Using Ultrasonic Detector. International Journal of Software Engineering and Its Applications. 2012; 6 (3): 51-58 [9] Browmick S. Ultrasonic Inspection for Wall Thickness Measurement at Thermal Power Stations. International Journal of Engineering Research and Technology. 2011; 4(1) : 89-107 [10] Nakamoto H, Kojima F, Kato S. Reliability Assessment for Thickness Inspection of Pipe Wall using Probability of Detection. E-Journal of Advanced Maintenance. 2014; 5 : 228-237 TELKOMNIKA Vol. 15, No. 1, July 2015 : 191 196