EMBEDDED SYSTEMS PROGRAMMING Accessing Hardware

Similar documents
EMBEDDED SYSTEMS AND MOBILE SYSTEMS

SMART Technologies. Introducing bluetooth low energy and ibeacon

Smartphone Evolution and Revolution

Fusing Sensors into Mobile Operating Systems & Innovative Use Cases

When is Bluetooth not Bluetooth?

Nautiz Handheld Mobile Phone Comparison

Interaction with the Physical World

Bluetooth mobile solutions APPLICATION NOTE / FAQ. Page 1 on 24

STMicroelectronics is pleased to present the. Attend a FREE One-Day Technical Seminar Near YOU!

Smartwatch. Research Study with IP Analysis & Mapping. w w w. l e g a l a d v a n t a g e. n e t

ACR1255U-J1 Secure Bluetooth NFC Reader

Near Field Comunications

Airplane mode Android app application Back key bandwidth

XDK HARDWARE OVERVIEW

Brief Intro on Mobile Platforms and Dev. Tools

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

HB-C1 CHARACTERISTICS: Android inches IPS display. 2D barcode Scanner. 4500mAh battery. RFID Reader. Cortex-A53 eight core

Use of ISP1880 Accelero-Magnetometer, Temperature and Barometer Sensor

SE 3S03 - Tutorial 1. Zahra Ali. Week of Feb 1, 2016

The new maximum security smartphone No Camera - No GPS - No Recorder

Help Guide. Getting Started. Making connections. The following explains how to use this speaker. Select a topic from the navigation pane.

MOBILE COMPUTING 2/13/18. Mobile Sensing. Sensors & Sensing. CSE 40814/60814 Spring 2018

PD_BlackBerry_Folder_210x210mm_GB_4c_RZ_v4.indd :36

Wireless Sensor Networks BLUETOOTH LOW ENERGY. Flavia Martelli

Sydney PC User Group Smartphones SIG Mtg 3 Intro (cont.) John Shiel. Mobile Phones with fast connection, easy text entry

Honor 3C (H30-U10) Mobile Phone V100R001. Product Description. Issue 01. Date HUAWEI TECHNOLOGIES CO., LTD.

MMARTIAN QUICK CONNECT GUIDE. Complete User Manual is available at martianwatches.com/manual

Winmate S430T2-NKM Series PDA. With Windows Mobile 6.5. User Guide

H-27 Android Enterprise Terminal

Lights out! It s Pico time.

State of the Art Sensing: 132 AD

Smartwatches (April 12, 2017) Samsung Gear Live, 2014 Samsung S 3G, 2014 Samsung S3 LTE, November 2016

COMP327 Mobile Computing Session: Lecture Set 6 - The Internet of Things

How To Setup Bluetooth Iphone 4s Ringtones On Windows >>>CLICK HERE<<<

TOP DAWG PRODUCT CATALOG CAMS BODY CAMS DASH CAMS BACKUP PRODUCTS BLUETOOTH

Handheld Mobile Computer SIRIO 4000 User Manual

No.1 OMA/MCPTT based Smart Walkie Talkie Solution! Bittium Tough Mobile (SD-42 & Hybrid X)

Technology in Action Complete, 13e (Evans et al.) Chapter 8 Digital Devices and Media: Managing a Digital Lifestyle

HB-ID9 CHARACTERISTICS: Certifications

R E V O L U T I O N U S E R G U I D E

BlackBerry KEYone Specifications

Mobile Tablets. Promate lumitab Tablet PC

MAD Gaze x HKCS. Best Smart Glass App Competition Developer Guidelines VERSION 1.0.0

Towards the Consumerization of Smart Sensors

Smart Dust : Dispersed, Un-tethered Geospatial Monitoring. Dr. Raja R. Kadiyala Chief Technology Officer CH2M HILL - Oakland, CA

Camera Drones Lecture 2 Control and Sensors

HEXIWEAR COMPLETE IOT DEVELOPMENT SOLUTION

FOR ALL YOUR GADGET REQUIREMENTS

Overview. Background. Intelligence at the Edge. Learning at the Edge: Challenges and Brainstorming. Amazon Alexa Smart Home!

ARM mbed Reference Designs

User manual Model: VIU-800 Brand:

ThinkPad X1 Tablet Platform Specifications

APAD SERIES TABLET PRODUCT SPECIFICATION V1.8

Tab A8. Specification

Spring Lecture 9 Lecturer: Omid Jafarinezhad

Che2-L11 & Che2-L12 & Che2-L23 Smartphone V100R001. Product Description. Issue 01. Date HUAWEI TECHNOLOGIES CO., LTD.

New AUTOID Pad SERIES TABLET

ThinkPad X1 Tablet (2 nd Gen) Platform Specifications

Indoor navigation using smartphones. Chris Hide IESSG, University of Nottingham, UK

Help Guide. Getting started. Use this manual if you encounter any problems, or have any questions. What you can do with the BLUETOOTH function

Views. Specifications

Qpad X5 User Guide Hi-Target Surveying Instrument Co., Ltd. All Rights Reserved

Wireless Device. Stroke Plate. User Manual

Features C U. 1 x Micro HDMI 1 x Micro USB 2.0 (host and charging) 1 x Micro SIM

Model HW-AT188N. Model HW-AT288N. Smart Res SpA, Via dei Marmorari, Spilamberto (MO) -Italy

Open your package. Your phone at a glance EN-1. Micro USB port. Headset. jack Rear camera. Earpiece. Front camera. Volume. button. Power.

ThinkPad Yoga 370 Platform Specifications

Micronet SmartHub. Platform Datasheet. The Next Generation Rugged On-Board Computing Platform. Preliminary February, 2019.

NEW AUTOID Pad SERIES TABLET PRODUCT SPECIFICATION V1.2

Optical wireless gaming headset instruction manual. Item name : 2.4G optical wireless gaming headset Model : HW-933M A For PS3 console

Ubiquitous IoT Perspectives The Power of Connected Sensors and Actuators

Use of ISP1507-AL Evaluation Boards

WELCOME : OVERVIEW Mobile Applications Testing. Copyright

A Proposed e-payment Service for Visually Disabled

ipads for Productivity 7

ThinkPad X1 Tablet Platform Specifications

Quick Start Guide. Bluetooth Low Energy expansion board based on SPBTLE-RF module for STM32 Nucleo (X-NUCLEO-IDB05A1) Version 1.

Help Guide. Getting started

HP TouchPad Overview. 7. Touchscreen

Insignia Voice Speaker with Google Assistant Built In NS-CSPGASP-B / NS-CSPGASP-BC / NS-CSPGASP-G / NS-CSPGASP2 / NS-CSPGASP2-C

Using SensorTag as a Low-Cost Sensor Array for AutoCAD

H-Band. User Manual. The H-Band is basically a watch strap with integrated buckle. This buckle also provides docking for the Bluetooth audio fob.

Quick Start Guide. STM32 ODE Function Pack for connecting 6LoWPAN IoT Nodes to smartphone through a BLE interface (FP-NET-6LPBLE1)

The New Diamond Smartphone embodies all trends expected in 2019 below 300

Amazfit Verge User Manual

Inspiron Series. Views. Modes. Specifications

Alienware 13. Views. Specifications. NOTE: The images in this document may differ from your computer depending on the configuration you ordered.

ThinkPad X1 Yoga (2 nd Gen) Platform Specifications

ACR1255 NFC Bluetooth Smart Card Reader

Case study of Wireless Technologies in Industrial Applications

Features C U. 1 x AIM dock 16-pin pogo connector: 1 x USB 3.0, 9V power 1 x Power Buttons

Features: Your New HP6830s Laptop

Features C U. 1 x AIM dock 16-pin pogo connector: 1 x USB 3.0, 9V power 1 x Power Buttons

NFC Technology Overview Jonathan Main MasterCard Worldwide Chairman, Technical Committee

NEAR FIELD COMMUNICATION - THE FUTURE TECHNOLOGY FOR AN INTERACTIVE WORLD

MusicMan Karaoke Microphone BT-X31

SMARTCOMPANION USER GUIDE PRODUCT SPECIFICATIONS GETTING STARTED STATUS AND DESCRIPTIONS ACTIVATION INSTRUCTIONS

NFC Forum News Conference. June 5, 2006

Quick Start Guide. Bluetooth Low Energy expansion board based on BlueNRG for STM32 Nucleo (X-NUCLEO-IDB04A1) Version 1.

Features C U. 1 x AIM dock 16-pin pogo connector: 1 x USB 3.0, 9V power 1 x Power Buttons

Transcription:

EMBEDDED SYSTEMS PROGRAMMING 2016-17 Accessing Hardware

HARDWARE LIST Accelerometer Vector magnetometer (compass) Gyroscope GPS and/or other location facilities (Front/rear) camera Microphone Speaker Battery

ACCELEROMETER Measures proper acceleration in m/s 2 along one or more axes Acceleration due to the force of gravity is detected In smartphones and similar devices Solid-state, 3-axis MEMS accelerometer Reads per seconds: some hundreds Measurement range: from 0 to ~10 g s Can be used to detect the orientation of the device. However, a simpler tilt sensor can be used for this purpose

VECTOR MAGNETOMETER Measures the strength of the magnetic field (in T) along one or more axes Can be used to determine orientation with respect to the magnetic or (if position is known) geographic North In smartphones and similar devices Solid-state, Hall-effect 3-axis magnetometer Reads per second: ~10 Measurement range: from 0 to ~2000 μt Picture from INGV.it

GYROSCOPE (1/2) Measures angular velocity (in rad/s) along one, two or three axes Can be used to determine orientation without the need of a compass In smartphones and similar devices Vibrating-structure, 3-axis MEMS gyroscope Reads per second: ~100 Measurement range: from 0 to ~35 rad/s

Pictures from ifixit.com GYROSCOPE (2/2)

GPS Triangulates position by accurately timing the signals of GPS satellites precisely located into space A minimum of three satellites are necessary; receivers use four or more to increase accuracy Non-military devices (including smartphones) have access to degraded-precision signals Accuracy: ~10m Number of reads per second: 1 2

OTHER POSITIONING SYSTEMS Based on the Cellular network Requires a database of cell tower IDs Based on Wi-Fi Requires a database of Wi-Fi networks Less accurate (but less power-hungry) than GPS

CAVEAT Sensors in embedded devices have poor resolution, sometimes 8 bits or less, limited linearity Not suitable for serious business Power consumption is high for the standards of battery-powered devices

CAMERA Takes pictures and videos In smartphones and similar devices CMOS sensors Fixed-focus, EdOF and autofocus Multiple cameras Resolution for images: from 0.3 Mpix to 41 Mpix Resolution for video: from 240p to 1080p

Picture from ifixit.com MICROPHONE Captures sounds In smartphones and similar devices Optimized to enhance voice (< 8 KHz) and suppress non-voice noise Voice processors and multiple microphones may be present to better suppress noise Stereo recording is often unavailable even when multiple mikes are available

SPEAKER Reproduces sounds In smartphones and similar devices Optimized to be as loud as possible regardless of the minute dimensions Sometimes performance is enhanced by a tiny sound box Sometimes the same speakers is used for both audio reproduction and telephony functions Stereo speakers are seldom available Note: an audio jack for headsets is always present

BATTERY (1/2) Rechargeable Many chemistries. Lithium-ion and Lithium-ion polymer batteries are the most common for their power density and because thay can be easily made in any shape and size Typical voltage: 3.7 V (nominal) Picture from Digimax.rs Typical capacity (smartphone): 1000 3000 ma h Occupy a sheer fraction of the volume inside the device

BATTERY (2/2) Deteriorates (loses capacity) if it runs too hot, it runs too cold, it is overcharged, it is not charged often enough... Self-discharges when not used Picture from Switched.com Voltage varies nonlinearly during charge and discharge. The curve depends on the battery chemistry, temperature, age...

MORE SENSORS Proximity sensor Typically, a photoelectric, infrared sensor Usually, it does not return a measure and simply tells whether something is near the device or not Barometer Piezoresistive MEMS sensor Also used for a quicker fix of the altitude Thermometer Typically, a band-gap sensor Hygrometer Capacitive sensor Fingerprint scanner Electro-optical or capacitive sensor

MORE HARDWARE NFC Bluetooth (Smart)

NFC (1/2) Proximity wireless communication Evolution of RFID technologies of the 1980s 3 modes: NFC initiator, NFC target, NFC peer to peer Targets can be passive and powered by the initiator using electromagnetic induction

NFC (2/2) All devices can contain data, even targets (order 1K bytes) Protocol stack: lower levels are ISO standards, higher levels including data encoding are vendor specific and not interoperable Security is not part of the standards

NFC PROTOCOL STACK "NFC Protocol Stack" by Erik Hubers - Own work Licensed under CC BY-SA 4.0 via Wikimedia Commons

NFC: ANDROID NFC supported since Android 2.3 (2010), packages android.nfc and android.nfc.tech (2.3.3) Android 4.4 (2013): added NFC reader mode and hostbased card emulation (android.nfc.cardemulation package) APIs based on the NDEF standard Google Wallet payment service

CARD EMULATION With a Secure Element (<4.4) Host-Based Card Emulation (4.4+) Pictures: developer.android.com

NFC, ANDROID: SUMMARY As of Android 5.0, three simultaneous modes of operations are supported: Reader/writer mode, P2P mode, Card emulation mode Note: NFC controller is off when screen is locked

NFC: IOS Support introduced with ios 8.1 and iphone 6 No APIs for the developer Apple Pay payment service, PassKit framework

BOOTSTRAPPING NFC can be used to bootstrap more capable wireless connections Android Beam (>4.1): uses NFC to bootstrap a Bluetooth connection for file transfer Samsung S-Beam: uses NFC to bootstrap a Wi-Fi Direct connection for file transfer Nokia, Samsung, BlackBerry, Sony: use NFC technology to pair Bluetooth headsets, media players, and speakers with one tap

BLUETOOTH SMART (1/3) Also known as Bluetooth Low Energy, or BLE Introduced with Bluetooth Specification 4.0 Physical layer is completely different from Classic Bluetooth, and not compatible/interoperable

BLUETOOTH SMART (2/3) 2 device roles: Bluetooth central and Bluetooth peripheral Picture: Adafruit

Picture: thenewcircle.com BLUETOOTH SMART (3/3) All current BLE application profiles are based on the Generic Attribute Profile (GATT) The central device is the GATT client, and each peripheral is a server, providing a certain number of characteristics organized into services A peripheral can provide multiple services

BLUETOOTH SMART: ANDROID BT Classic supported since Android 2.0 (2009), BT Smart supported since Android 4.3 (2013) Unified android.bluetooth package Android 4.3: central only Android 5.0: central and peripheral; new android.bluetooth.le package

BT SMART VS. NFC (1/3) BT SMART NFC Frequency 2.4 GHz 13.56 MHz Range 50 m 0.1 m Data rate 1 Mbit/s From 0.1 Mbit/s to 0.4 Mbit/s Security 128-bit AES None

BT SMART VS. NFC (2/3) BT SMART NFC Power consumption Network topology Start-up time 0.01 to 0.5 W WPAN Piconet (up to 8 devices) High (discovery, pairing) 0 W for target, 0.5 W for initiator Point to point (2 devices) Low Set-up time < 0.006 s < 0.1 s

BT SMART VS. NFC (3/3) BT SMART NFC Cost of device order $5 order $0.1 Defined by Bluetooth SIG ISO/IEC and various SIGs Applications Watches, sports and fitness, healthcare, Tickets, access control, payments,

LAST MODIFIED: MARCH 31, 2017 COPYRIGHT HOLDER: CARLO FANTOZZI (FANTOZZI@DEI.UNIPD.IT) LICENSE: CREATIVE COMMONS ATTRIBUTION SHARE-ALIKE 3.0