Android Application Development and Bluetooth Technology



Similar documents
Questions from The New SensorTag - IoT Made Easy Webinar

01. Introduction of Android

Lab 1 Course Guideline and Review

Components. Key features

Android, Bluetooth and MIAC

Example Connection between USB Host and Android

RTOS based Home Automation System using Android

INTEGRATION GUIDE. Bluetooth Connection Instructions for CR2300/CR2600/CR3600 VERSION 03 RELEASE DATE: MARCH 2016

OVERVIEW HARDWARE. Mode buttons. USB Micro socket. Kensington Security Slot. 8x8 playable grid. Mode buttons

Cypress Semiconductor: Arduino Friendly PSoC Shield

Reminders. Lab opens from today. Many students want to use the extra I/O pins on

COPYRIGHT RESERVED TEAM MYSTERIOUS MANIACS HOME AUTOMATION via BLUETOOTH (Using ANDROID PLATFORM)

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

ANDROID LEVERED DATA MONITORING ROBOT

Mobile application testing is a process by which application software developed for hand held mobile devices is tested for its functionality,

CS 528 Mobile and Ubiquitous Computing Lecture 2: Android Introduction and Setup. Emmanuel Agu

Milestone Integration Platform Software Development Kit 2 (MIP SDK 2)

Project Number: P13037 NTID NOTIFICATION ALERT SYSTEM PHASE IV. Jared Lytle Electrical Engineering

CMR Journal of Engineering and Technology Vol.1 Issue.1 January 2016

Publishing to TIZEN Using the Automated Conversion/Repackaging of Existing Android Apps. Hyeokgon Ryu, Infraware Technology, Ltd.

Application Note: AN00141 xcore-xa - Application Development

Switch board datasheet EB

Application Note IMU Visualization Software

Microcontrollers and Sensors. Scott Gilliland - zeroping@gmail

Building a Basic Communication Network using XBee DigiMesh. Keywords: XBee, Networking, Zigbee, Digimesh, Mesh, Python, Smart Home

International Journal of Engineering and Techniques - Volume 1 Issue 3, May - June 2015

Embedded Software Development: Spottbillige Hardware + OSS = Zum Spielen zu Schade!

Dolphin Ocean Server and Dolphin Mobile Client Installation Guide for Android and ios. May 2012

Tablets in Data Acquisition

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

MSP-EXP430G2 LaunchPad Workshop

Programming with the Arduino: open-source hardware in an introductory programming laboratory. Paul Cruickshank

SN132 SNAPstick QUICK START GUIDE. v1.0

PN532 NFC RFID Module User Guide

Board also Supports MicroBridge

Quick Start Guide. U.S. Cellular Customer Service:

Green House Monitoring and Controlling Using Android Mobile Application

Managing BlackBerry Enterprise Service 10 version 10.2

Mobile Print/Scan Guide for Brother iprint&scan

Android Controlled Based Interface

Integration Overview. Web Services and Single Sign On

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

Multi-Touch Control Wheel Software Development Kit User s Guide

PROFESSIONAL DIGITAL TWO-WAY RADIO MOTOTRBO ANYWHERE. for ios USER GUIDE

BLE113 DEVELOPMENT KIT

RACKS CLASSIC STANDARD DIGITAL. DATA SHEET page 1/3. Description

Wireless Security Camera with the Arduino Yun

Home Monitoring and Control service provided by Verizon Online LLC

DigitalPersona Pro Enterprise

SEC 4100 SYSTEM MONITOR Programmable Serial Interface Card Series 2

Ultra-strong authentication to protect network access and assets

VitalJacket SDK v Technical Specifications

How to use Bluetooth SMART to turn a smartphone into your device s new control panel

PAIRING THE LI4278 TO A TABLET INSTRUCTION GUIDE

MediaTek LinkIt Smart 7688 FAQ

Night Owl 8 channel DVR system with HDMI output, 960H recording and a Free Night Owl Pro App with Owl Scan (No Hard Drive Included)

Mobile Printing for Business Made Easy

Course Project Documentation

Skynax. Mobility Management System. System Manual

FLYPORT Wi-Fi G

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

WEARIT DEVELOPER DOCUMENTATION 0.2 preliminary release July 20 th, 2013

Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months

FD40 User Guide. Version 16.0 June 2015

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

City of Dublin Education & Training Board. Programme Module for. Mobile Technologies. leading to. Level 6 FETAC. Mobile Technologies 6N0734

ANDROID OPERATING SYSTEM

Live Maps. for System Center Operations Manager 2007 R2 v Installation Guide

Multi-Touch Ring Encoder Software Development Kit User s Guide

ITG Software Engineering

Automated Real Time In-Store Retail Marketing Using Beacon

New Technology Introduction: Android Studio with PushBot

An Introduction to MPLAB Integrated Development Environment

Figure 1.Block diagram of inventory management system using Proximity sensors.

ECE 480 Point of Sale Grocery Cart. Team 6. Ben Lauzon Matt Rasmussen Husain Aleid Taoping Zhu Shuangfei Liu

Embedded Linux RADAR device

Mobile Print/Scan Guide for Brother iprint&scan

Multi-DNC. by Spectrum CNC Technologies

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

An Experimental Study on Pixy CMUcam5 Vision Sensor

Wi-Fi Direct Guide. Version 0 ENG

Florida Department of Education TECHNOLOGY GUIDELINES

1. What are the System Requirements for using the MaaS360 for Exchange ActiveSync solution?

mcashier User Guide To accept payments To cancel a payment

Bringing Mobile Payments to Market for an International Retailer

Microcontroller Programming Beginning with Arduino. Charlie Mooney

VitalJacket SDK v Technical Specifications

Setup your heart rate zones and register for product updates QUICK START GUIDE

Answers to these questions will determine which mobile device types and operating systems can be allowed to access enterprise data.

Otium Gear S Smart Watch User Guide Please read the manual before use. * For further information, please visit

BlackBerry Enterprise Service 10. Secure Work Space for ios and Android Version: Security Note

Programming An Intelligent Watch

Supported Client Devices: - SIP/H.323 hardware and software end-points

Inspections Demo and User Guide

UPDATED WeDo 2.0 SOFTWARE FAQ:

PDF MAPS FOR SMARTPHONES AND TABLETS

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

Data Logging and Realtime Visualization

Enterprise Analytics. (Also known as Pyramid Analytics or BI Office) Mobile Device Support

SMART Board Interactive Whiteboard Setup with USB Cable

Transcription:

Android Application Development and Bluetooth Technology James Cracchiolo 3/28/14

Table of Contents Introduction page 3 Objective page 3 What is Bluetooth? page 3 What is Android? page 4 Materials Needed page 4 Results page 6 Recommendations page 6 References page 6 2

Introduction As computer hardware continues to grow, devices such as mobile phones have also gained a vastly improved infrastructure as smart phones are becoming more and more commonplace. Users of such equipment are always trying to find new applications that will benefit them throughout their day to day activities. Many applications are being written send or receive data over communication networks. One such way is to transmit data wirelessly using a Bluetooth configured system where a microcontroller is controlling the input/output of the Bluetooth sensor of the device. The software implementation can be used for Android or ios devices, but for the use of this application note only the applications that are intended to run using the Android interface will be discussed. Objective Instruct an individual how to configure a Bluetooth sensor for connecting to an Android device and writing an Android application that will interface with the Bluetooth sensor. What is Bluetooth? Figure 1. Bluetooth trademark Bluetooth technology allows the ability to connect devices wirelessly to each other. Bluetooth is very useful in connecting devices that are in close proximity to each other and is widely incorporated into many mobile devices today. If a device contains Bluetooth compatibility, it is denoted by the trademark above. Since Bluetooth is easily accessible by the users that own such devices, software applications can be created to control the data that is being transmitted. The range for Bluetooth is meant for shorter distances and is used in setting up a personal area network (PAN) which associates with objects that are within his proximity. 3

What is Android? Figure 2. Android trademark Android is an operating system that runs on mobile devices such as cellular phones and tablets. The operating system features the above trademarked logo thus denoting that it is a device that is running Android. Android is based on the Linux kernel and as such is also open source so it is able to be manipulated. Since the software to write Android applications is also open source, it is free to setup. This is opposite to proprietary software such as Apple s ios or Microsoft s Windows Phone 8 operating system. Materials Needed In order to begin configuring the Bluetooth sensor, the sensor will need to be connected to a microcontroller that will control what data is being sent and received through the sensor. The microcontroller that will be used in this application note is Texas Instruments MSP430 and is shown below. Figure 3. Texas Instruments MSP430 Launchpad 4

The MSP430 microcontroller contains programmable input/output pins as well as analog-todigital converters. Programming of the MSP430 is done through Texas Instruments Code Composer Studio. Code Composer Studio uses C code to program the registers, pins, clocks, etc. The pin layout for the MSP430 is the follow figure: Figure 4. MSP430 Pin Layout The specific registers and pins that are used in the code can be found in the TI datasheet specific to the MSP430. Some sample code to configure a pin for output is the following: Figure 5. Code Composer Studio Example Code This code is configuring P1.6 of the microcontroller which is connected to the green LED on the launch pad. The include at the top is necessary to access the libraries used by the MSP430. This code turns the green LED on and shows how to write a delay loop which will be necessary when 5

refreshing data. This code is meant as an example as to how to setup the input/output pins of the MSP430 as the Bluetooth sensor will need to be configured in a similar way. For the Android application development, everything can be downloaded by going to Androids website and downloading the developer s Android SDK package. After installing the Android package, it is also necessary to have an Android device to test the application. Results The Android application should be able to achieve connectivity to the Bluetooth sensor and be able to communicate with the device that is associated with it. The user can send data to the Bluetooth device using an Android phone or tablet. The Android device can also act as a receiver and be used to monitor the values that are controlled by the microcontroller. For example, with the sample code for the microcontroller that turns an LED on and off, an Android application can be written to control that functionality. Recommendations A different type of microcontroller can also be used. One such microcontroller is the Arduino Uno which uses a different coding environment than the MSP430 therefore offering users with another option to rely upon. References The code sample is from the ECE480 lab notes 6