Develop Apps for Embedded Android Networking

Slides:



Advertisements
Similar presentations
INDIVIDUAL PROJECT BY R.KARTHIKMANOJ
Advertisements

Computer Organization, Bus Structure
MHK200 Module 1: Introduction to Windows CE. MHK200 Overivew Windows CE Design Goals Windows CE Architecture Supported Technologies, Libraries, and Tools.
Supervisory Control & Data Acquisition DAQ Networking.
Inputs: Digital and 4 configurable for Digital or 10 bit Analog Outputs:4 - 8 amp Relays or 700ma Transistors (1 PWM) 4 Line by 18 Character fully.
Embedded Sumo 1T4 – 1T5 UTRA.
Performed by: Yair Sommer Rea Yeheskel Instructor: Idan Katz In Cooperation with:Motorola הטכניון - מכון טכנולוגי לישראל הפקולטה להנדסת חשמל Technion -
Unix Systems Administration 1Y. K. Chang Reasons for UNIX’s success 4 Written in high level language –easy to read, understand, change, and move to other.
Wireless Control with ZigBee Final Presentation Students Yossi Lempert Natan Keren Instructor Konstantin Sinyuk.
Performed by: Yair Sommer Rea Yeheskel Instructor: Idan Katz In Cooperation with:Motorola הטכניון - מכון טכנולוגי לישראל הפקולטה להנדסת חשמל Technion -
SKKU Embedded Software Lab Remote Sensor Byunghei Jun Dongsu Kim Dongig Sin.
® The Bluetooth Architecture APIs, L2CAP, Link Management, Baseband, and the Radio.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Lab 04 :Serial Data Control Systems : Slide 2 Slide 3 Slide 4 NOR Gate: NAND Gate: NOR / NAND Alternate Symbols: Slide 5 XOR and XNOR Gate: Serial Data.
COGAIN 2009 Petr Novák, Olga Štepánková Home and environment control.
An Overview of Qt - asankar1. Agenda About Qt –A brief intro of Qt Qt development tools –Tools used for building Qt application Qt Architecture –The underlying.
Bluetooth Profile. Bluetooth profile A Bluetooth profile is a wireless interface specification for Bluetooth-based communication between devices. A Bluetooth.
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
Hacking the Bluetooth Pairing Authentication Process Graduate Operating System Mini Project Siyuan Jiang and Haipeng Cai.
Device Management. Serial Port Serial Device Serial Device Memory CPU Printer Terminal Modem Mouse etc.
RFID for Health Care Tracking and Monitoring
Bluetooth Profile. Bluetooth profile A Bluetooth profile is a wireless interface specification for Bluetooth-based communication between devices. A Bluetooth.
Embedded Bluetooth Stack Dean Camera Project Supervisor: John Devlin.
Bluetooth Kirthika Parmeswaran Telcordia Technologies OOPSLA’2000.
 Project overview  Project-specific success criteria  Block diagram  Component selection rationale  Packaging design  Schematic and theory of operation.
Leslie Luyt Supervisor: Dr. Karen Bradshaw 2 November 2009.
FINAL MPX DELIVERABLE Due when you schedule your interview and presentation.
Introduction to Interprocess communication SE-2811 Dr. Mark L. Hornick 1.
Bluetooth Controlled Robot USART communication. This project aims in wireless control of the robot from a bluetooth app in a mobile device through USART.
Remote Robo CSE 321 Sirak Gizaw Rahumathullah Rumaiz.
WIRELESS DISPLAY OVER BLUETOOTH USING PI AND ANDROID PHONE Group Members: Shweta Ware, David Etim Network Embedded Systems.
Example title for notes and handouts
Speaker Control SYSTEM
The NuVo Wireless Audio System
ENG College of Engineering Engineering Education Innovation Center 1 Array Accessing and Strings in MATLAB Topics Covered: 1.Array addressing. 2.
Storage Device Design Pattern JEFF MEISSNER; KEN HARDY Windows Program Management.
Power Bot Group 2 Luke Cremerius Jerald Slatko Marcel Michael Tarik Ait El Fkih Sponsored By: Aeronix Inc.
CSCI1600: Embedded and Real Time Software Lecture 4: Introduction to the Arduino Steven Reiss, Fall 2015.
Reconfigurable Communication Interface Between FASTER and RTSim Dec0907.
Chapter 13: I/O Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 2, 2005 I/O through system calls Protection.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Designing a Middleware Server for Abstract Database Connection.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 12: I/O Systems I/O hardwared Application I/O Interface Kernel I/O.
C# SERIAL COMMUNICATION TEMPERATURE CONTROL WITH ARDUINO KAAN EREN
438 labs. Labs Lab 1: Refreshing C and Linux Programming 2 Lab 1: Refreshing C and Linux Programming 2 – First: Getting familiar with development.
Java Programming: Advanced Topics 1 Input/Output and Serialization.
Embedded systems and sensors 1 Part 2 Interaction technology Lennart Herlaar.
Lecture 9: Introduction to Arduino Topics: Arduino Fundamentals, Bean Date: Mar 22, 2016.
Development of a Bluetooth based web camera module.
Sockets A popular API for client-server interaction.
Setting up a Printer. ♦ Overview Linux servers can be used in many different roles on a LAN. File and print servers are the most common roles played by.
A computer consists of five functionally independent main parts.
Common Transport Rafael Schloming. Objectives Scaling Engineering Time ● N experts in protocol & language -> 1 protocol expert & N language experts ●
Voice Controlled Robot by Cell Phone with Android App
Arduino Part 1 Topics: Microcontrollers
Module 12: I/O Systems I/O hardware Application I/O Interface
Design Your Own Android App
Arduino Part 1 Topics: Microcontrollers Programming Basics
Design Your Own Android App
Roller Coaster Design Project
Design Products with Bluetooth Low Energy
I/O Systems I/O Hardware Application I/O Interface
Operating System Concepts
Peripheral Devices
CSCI1600: Embedded and Real Time Software
Bluetooth on Your Phone Courtesy of the
CSCI1600: Embedded and Real Time Software
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Lab #1: Getting Started.
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

Develop Apps for Embedded Android Networking Class 1: A Basic4Android Wireless Digital I/O App 01/13/2014 Fred Eady

A Basic4Android Wireless Digital I/O App AGENDA Basic4Android Serial Library Code a Simple Bluetooth Engine Setup and Code the Remote Device Basic4Android RandomAccessFile Library Code a Data Communications Activity Combine the Simple Bluetooth Engine with a Communications Activity to Produce a Remote Control App

A Basic4Android Wireless Digital I/O App Basic4Android Serial Library Allows Communication with Bluetooth Devices Functionality Based on RFCOMM Usage Based on the Serial Object Properties Allows Administration of the Bluetooth Adapter Using the BluetoothAdmin Object

A Basic4Android Wireless Digital I/O App Code a Simple Bluetooth Engine Step 1: Declare the Global Variables

A Basic4Android Wireless Digital I/O App Code a Simple Bluetooth Engine Step 2: Code the bluAdmin / bluSPP Object Initialization Step 3: Write Code to Load Layout the File simpleEngine

A Basic4Android Wireless Digital I/O App

A Basic4Android Wireless Digital I/O App Code a Simple Bluetooth Engine Step 4: Write the Button Event Code The btnScan_Click subroutine shell was created by employing the services of the Abstract Designer’s Generate Members function.

A Basic4Android Wireless Digital I/O App Code a Simple Bluetooth Engine Step 5: Write the Bluetooth Administration Code

A Basic4Android Wireless Digital I/O App Code a Simple Bluetooth Engine Step 6: Write the Device Discovery Code

A Basic4Android Wireless Digital I/O App Code a Simple Bluetooth Engine Step 7: Write the Device Selection/Connection Code

A Basic4Android Wireless Digital I/O App Code a Simple Bluetooth Engine Step 8: Test Our Simple Bluetooth App Attempt to connect to EDTPBLU. 1234 and CONNECTED

A Basic4Android Wireless Digital I/O App Setup and Code the Remote Device

A Basic4Android Wireless Digital I/O App Setup and Code the Remote Device

A Basic4Android Wireless Digital I/O App Setup and Code the Remote Device PIC32MX Atomic Port I/O Operations TRISxSET - TRISxCLR PORTxSET – PORTxCLR - PORTxINV LATxSET – LATxCLR – LATxINV TRISACLR = 0x0001 RA0 = OUTPUT TRISASET = 0x0001 RA0 = INPUT LATASET = 0x0001 RA0 = 1 LATAINV = 0x0001 RA0 = 0

A Basic4Android Wireless Digital I/O App Setup and Code the Remote Device Step 1: Define the WF32 LEDs 5 and 6. Step 2: Code the LED Command Handler. TRISFCLR = 0x0001; //WF32 RF0 = OUTPUT - LED5 TRISGCLR = 0x0040; //WF32 RG6 = OUTPUT - LED6 if(CharInQueue()) //print received character { biteIn = recvchar(); switch(biteIn) case 0x35: LATFINV = 0x0001; //LED5 break; case 0x36: LATGINV = 0x0040; //LED6 } This code is added to the main function of the EDTP Embedded Bluetooth Driver.

A Basic4Android Wireless Digital I/O App Basic4Android RandomAccessFile Library Bluetooth Usage Based on the AsyncStreams Object Properties Allows Reading and Writing to I/O Streams Without Blocking the Main Thread Facilitates Easy Movement of Any Amount of Data Easily Transports Files, Arrays and Objects

A Basic4Android Wireless Digital I/O App Code a Data Communications Activity Step 1: Declare the Global Variables

A Basic4Android Wireless Digital I/O App Code a Data Communications Activity Step 2: Code the Layout Sequence and “Pipe” Initialization.

A Basic4Android Wireless Digital I/O App Code a Data Communications Activity Step 3: Code the Button Event Handlers

A Basic4Android Wireless Digital I/O App A Bluetooth Remote Control App

A Basic4Android Wireless Digital I/O App Day 1 Topic Review We Used BluetoothAdmin and Serial Objects to Spawn a Bare Bones Bluetooth Engine. We Used a Digilent WF32 to Create an Embedded Bluetooth-Capable Device. We Attached an AsyncStreams-Based Basic4Android Module to Our Simple Bluetooth Engine and Built a Useful Android App.