SlideShare ist ein Scribd-Unternehmen logo
1 von 33
All India Seminar
on
Internet Of Things (IoT)
Trends that affects Life
22-23 January 2016
At
Bhaikaka Bhawan, IE(I), GSC, INDIA
Day 2 – Session: 1
(10:00 AM to 10:45 AM)
Interfacing BLE with an Android based Device
by
Prof. Hemal Shah
Professor, Ganpat University
Outline
• Introduction to Bluetooth Low Energy (BLE)
– What is LE Device?
– Why BLE?
– Role of BLE in IoT
• Hardware Samples - Beacons
– Estimotes
• Accessing BLE Devices
• Interfacing with Android based device – Read from and Write
in to Device Module
– Demo
– Output
1/27/2016 2
IoT- Architecture
1/27/2016 3
Figure:1 Architecture [1]
1. Perception layer/Physical Layer : Information origin and the core. All
Information perceived and collected in this layer.
Ex : BLE ,wireless sensors network (WSN),RFID, ZIGBEE, Bluetooth etc.
2. Network layer : Access network and core network, provides
transparent data transmission capability.
Ex: IPV4 and IPV6 Networks
3. Service layer : Application layer, includes data management sub-layer
and application service sub-layer.
Ex: Smart Health, Smart Transport, Smart Home, Smart Crowd sensing
IoT- Architecture (Continue…)
1/27/2016 4
Bluetooth Low Energy(BLE) Protocol Stack
Bluetooth Low Energy device is Hardware and Software.
1/27/2016 5
Figure:2 BLE Protocol Stack [2]
Assigned numbers are used in GAP for
inquiry response, manufacturer-
specific data, advertising data, low
energy UUIDs and appearance
characteristics, and class of device.
ATT is a much lower level mechanism
that basically defines how to transfer a
unit of data (an attribute).
GATT is built on top of ATT and defines
how higher level services are
composed and the framework for
operating on those services.
Bluetooth Low Energy(BLE) (Cont..)
Role of Perception layer:
• Manage Device Role (Master/Slave)
• Enabling Advertisement Channels
• Discoverability and convertibility modes
• Advertisement of Interval and Data
• Connection Interval, timeout, Slave Latency
• Output Power
1/27/2016 6
Why BLE? [3]
Bluetooth LE NFC
1/27/2016 7
Technolog
y
NFC RFID BT BLE Wi-Fi Zigbee WPAN WiMa
x
2G-3G
Power Low Low Low Low High Low Low High High
Speed
(Kbps)
400 400 700 1000 10000
0
250 250 10000
0
5000
Distance
covered in
Meters
0.01 3 0 30 50-70 15 300 800 50000 Cellular
Network
depends
Cost to
Build IoT
Less Less Less Less Averag
e
Less Less High High
IoT Target
Applicatio
n
Payme
nt
Applic
ation,
Share
Details
in
short
Distan
ce
Product
Identificat
ion,
Tracking
Segments
Data
Exchan
ge in
Mediu
m
distanc
e, with
mediu
m scale
of data
Fitness
Tracking,
Health
Monitori
ng
Interfa
ce
with
Intern
et, IoT
Server
comm
unicati
on
Automoti
ve
product
support,
Sensor
Interface,
Home
Automati
on
Automoti
ve
product
support,
Sensor
Interface,
Smart
City
Automati
on
Interfa
ce with
Intern
et, IoT
Server
comm
unicati
on
Interface
with
Internet,
IoT Server
communica
tion
Figure 3 : Comparison of Different Communication Technologies [3]1/27/2016 8
Comparative measures of BLE with other Communication Technologies
Bluetooth SMART READY support was Apple with their iPhone 4s. Since then, all
of their devices iPads, iPhones, MacBooks and Apple TV too support BLE.
Samsung Galaxy series, Sony Xperia series and Google Nexus also started providing
BLE functionality with the release of Android 4.3 API that came with BLE
support.
BLE wearable Devices are:
• Heart rate monitors
• Smart watches
• Fitness trackers
These devices send their tracking details to smartphone app of the wearer or
other necessary party such as a personal physician.
Link1 Link2
1/27/2016 9
BLE Applications
What are Beacon?
• Beacons are Hardware Devices that can Emit
and Receive BLE Signals [3].
• Beacons are BLE devices that can be placed
throughout any ‘target’ area that emit a
signal that can be detected by other BLE
enabled devices.
• Depending on the beacon device and how
frequently it sends out a signal, the battery
life can last for a year or longer.
• Certain mobile devices themselves can also
act as a beacon that can both emit and
receive signals.
1/27/2016 10
BLE Samples & Proximity
Estimotes Beacon
Micro Chip RN 4020
1/27/2016 11
Estimotes Beacon
• Estimote Beacon is a small computer [3].
• 32-bit ARM® Cortex M0 CPU with accelerometer, temperature sensor.
• 2.4 GHz radio using Bluetooth 4.0 Smart.
• Beacons can last more than 3 years on default settings on a single CR2477 battery.
1/27/2016 12
How we should access BLE?
Purpose of accessing BLE Device:-
• Setup & Configuration of the UUID, Major, Minor values
•Discovery of Nearby Smart Device
•Connection Management & State Management of Smart Device
•Retrieve, understand and use characteristics
•(Read/Write/Notify/Advertise) through Generic Attributes and Services
(GATT Services)
•Naming and Addressing Devices
•Measurement of RSSI values of Nearby devices for Energy Modeling and
Calculation for Energy Estimation
1/27/2016 13
Accessing Estimote Beacons
There are three ways to access:
1. Estimote App (Ex: NRF Master by Nordic)
2. Estimote Cloud (https://cloud.estimote.com/)
3. Estimote SDK (http://developer.estimote.com/)
1/27/2016 14
• Then on the Android Phone run any
BLE app from
• BLE Checker
• BLE Scanner
• BLE gatt
• Nrf Master
• These all applications have the GATT
Characteristics that is mainly
supported by the BLE
• Generic Attribute Profile (GATT) is built
on top of the Attribute Protocol
(ATT)[2].
• GATT defines two roles: Server and
Client.
Accessing Estimote BLE using Android APK
1/27/2016 15
1/27/2016 16
Checking BLE Support with Android Phone using
BLE Checker
1/27/2016 17
Discovery of Nearby Smart BLE Devices using
BLE Scanner
1/27/2016 18
NRF Master Control Panel – GATT Server Configuration
1/27/2016 19
Sample GATT Server Configuration
1/27/2016 20
Generic Attributes (GATT) & Services – Clients (Node)
1/27/2016 21
Generic Attributes (GATT) & Services – Server(System)
1/27/2016 22
Generic Attributes (GATT) & Services – Server(System)
Renaming Estimotes name using Android
1/27/2016 23
1/27/2016 24
Renaming Estimotes using Android
1/27/2016 25
Renaming Estimotes name using Android
1/27/2016 26
Android Code of APK
1/27/2016 27
1/27/2016 28
1/27/2016 29
Estimotes Setting through Estimote Cloud
1/27/2016 30
Estimotes Setting through Estimote Cloud (Cont..)
References
[1] Xiaolin Jia, Quanyuan Feng , Taihua Fan, Quanshui Lei, “RFID technology and its applications in
Internet of Things (IoT)”, Consumer Electronics, Communications and Networks (CECNet), 2012 2nd
International Conference, IEEE, April-2012.
[2] https://www.bluetooth.org/tpg/RefNotes
[3] ”BLE/Beacons/ibeacon, Internet of Things”, Tim McKendrick ,Director of Project Management |
Vectorform
[4] An introduction to beacon, Locolo,Beekn, www.BEEKn.net
[5] https://www.linkedin.com/pulse/what-bluetooth-low-energy-means-internet-things-premaratne
[6] Microchip RN4020 (Bluetooth Low Energy Module)- Guide, 2014 Microchip Technology Inc. ,
Advance Information ,DS50002279A.
[7] Saminath.V, Jung Su ,”Understanding of Internet of Things (IoT) and Experimental Approach using
WICED Sense in Android Platform “, International Journal of Scientific and Research Publications,
Volume 5, Issue 7, July 2015, ISSN 2250-3153.
1/27/2016 31
Acknowledgment
• Prof. Rahul Shrimali, Ph.D Scholar, Ganpat University
• Prof. Umang Shukla, Asst Professor, SAL Engineering College
• Ms. Jinal Patel, M. Tech. Scholar, Saffrony Institute of Technology
1/27/2016 32
Thank You
Reach Us:
Hemal.shah@ganpatuniversity.ac.in
1/27/2016 33

Weitere ähnliche Inhalte

Was ist angesagt?

Smart Mirror Summer Report
Smart Mirror Summer ReportSmart Mirror Summer Report
Smart Mirror Summer Report
Jabari Barton
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
Diwaker Pant
 

Was ist angesagt? (20)

Creator IoT Framework
Creator IoT FrameworkCreator IoT Framework
Creator IoT Framework
 
Building Blocks for IoT Devices
Building Blocks for IoT DevicesBuilding Blocks for IoT Devices
Building Blocks for IoT Devices
 
Smart Mirror Summer Report
Smart Mirror Summer ReportSmart Mirror Summer Report
Smart Mirror Summer Report
 
IOT in SMART Cities
IOT in SMART CitiesIOT in SMART Cities
IOT in SMART Cities
 
Chapter 9 morphological image processing
Chapter 9 morphological image processingChapter 9 morphological image processing
Chapter 9 morphological image processing
 
Predictive coding
Predictive codingPredictive coding
Predictive coding
 
H.263 Video Codec
H.263 Video CodecH.263 Video Codec
H.263 Video Codec
 
Fields of digital image processing slides
Fields of digital image processing slidesFields of digital image processing slides
Fields of digital image processing slides
 
An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)An Overview of High Efficiency Video Codec HEVC (H.265)
An Overview of High Efficiency Video Codec HEVC (H.265)
 
Challenges in indian currency denomination recognition & authentication
Challenges in indian currency denomination recognition & authenticationChallenges in indian currency denomination recognition & authentication
Challenges in indian currency denomination recognition & authentication
 
Image compression models
Image compression modelsImage compression models
Image compression models
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
 
Ray tracing
 Ray tracing Ray tracing
Ray tracing
 
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
Image degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem AshrafImage degradation and noise by Md.Naseem Ashraf
Image degradation and noise by Md.Naseem Ashraf
 
Lossless predictive coding in Digital Image Processing
Lossless predictive coding in Digital Image ProcessingLossless predictive coding in Digital Image Processing
Lossless predictive coding in Digital Image Processing
 
IoT applications for connected vehicle and ITS
IoT applications for connected vehicle and ITSIoT applications for connected vehicle and ITS
IoT applications for connected vehicle and ITS
 
Efficient video perception through AI
Efficient video perception through AIEfficient video perception through AI
Efficient video perception through AI
 
Internet of things
Internet of thingsInternet of things
Internet of things
 

Andere mochten auch

Android & the Web of Things: Bluetooth Low Energy, Bluetooth 4.0, iBeacons, B...
Android & the Web of Things: Bluetooth Low Energy, Bluetooth 4.0, iBeacons, B...Android & the Web of Things: Bluetooth Low Energy, Bluetooth 4.0, iBeacons, B...
Android & the Web of Things: Bluetooth Low Energy, Bluetooth 4.0, iBeacons, B...
EVRYTHNG
 
Bluetooth bluetooth-low-energy-ant-nfc-wifi-compare
Bluetooth bluetooth-low-energy-ant-nfc-wifi-compareBluetooth bluetooth-low-energy-ant-nfc-wifi-compare
Bluetooth bluetooth-low-energy-ant-nfc-wifi-compare
Droidcon Berlin
 

Andere mochten auch (11)

in in der 響應式編程
in in der 響應式編程in in der 響應式編程
in in der 響應式編程
 
アプリの不具合を少なくするために
アプリの不具合を少なくするためにアプリの不具合を少なくするために
アプリの不具合を少なくするために
 
Ble android
Ble androidBle android
Ble android
 
Android & the Web of Things: Bluetooth Low Energy, Bluetooth 4.0, iBeacons, B...
Android & the Web of Things: Bluetooth Low Energy, Bluetooth 4.0, iBeacons, B...Android & the Web of Things: Bluetooth Low Energy, Bluetooth 4.0, iBeacons, B...
Android & the Web of Things: Bluetooth Low Energy, Bluetooth 4.0, iBeacons, B...
 
Advantages and limitations of PhoneGap for sensor processing
Advantages and limitations of PhoneGap for sensor processingAdvantages and limitations of PhoneGap for sensor processing
Advantages and limitations of PhoneGap for sensor processing
 
Connect your Android to the real world with Bluetooth Low Energy
Connect your Android to the real world with Bluetooth Low EnergyConnect your Android to the real world with Bluetooth Low Energy
Connect your Android to the real world with Bluetooth Low Energy
 
The Internet of Things: BLE / Beacons / iBeacons
The Internet of Things: BLE / Beacons / iBeaconsThe Internet of Things: BLE / Beacons / iBeacons
The Internet of Things: BLE / Beacons / iBeacons
 
BTLE (Bluetooth Low Energy) and CoreBluetooth
BTLE (Bluetooth Low Energy) and CoreBluetooth BTLE (Bluetooth Low Energy) and CoreBluetooth
BTLE (Bluetooth Low Energy) and CoreBluetooth
 
Android Bluetooth Introduction
Android Bluetooth IntroductionAndroid Bluetooth Introduction
Android Bluetooth Introduction
 
Introduction to Bluetooth Low Energy
Introduction to Bluetooth Low EnergyIntroduction to Bluetooth Low Energy
Introduction to Bluetooth Low Energy
 
Bluetooth bluetooth-low-energy-ant-nfc-wifi-compare
Bluetooth bluetooth-low-energy-ant-nfc-wifi-compareBluetooth bluetooth-low-energy-ant-nfc-wifi-compare
Bluetooth bluetooth-low-energy-ant-nfc-wifi-compare
 

Ähnlich wie Interfacing BLE with android based device

Performance Evaluation Of A Wimax Testbed
Performance Evaluation Of A Wimax TestbedPerformance Evaluation Of A Wimax Testbed
Performance Evaluation Of A Wimax Testbed
Alison Reed
 
Key Open Standards for inter-operable IoT systems
Key Open Standards for inter-operable IoT systemsKey Open Standards for inter-operable IoT systems
Key Open Standards for inter-operable IoT systems
Pratul Sharma
 
Mobile Provisioning Enterprise Network PON-Revisi-Final - English
Mobile Provisioning Enterprise Network PON-Revisi-Final - EnglishMobile Provisioning Enterprise Network PON-Revisi-Final - English
Mobile Provisioning Enterprise Network PON-Revisi-Final - English
Muharam Cahyadi
 
Secure Data Aggregation Of Wireless Sensor Networks
Secure Data Aggregation Of Wireless Sensor NetworksSecure Data Aggregation Of Wireless Sensor Networks
Secure Data Aggregation Of Wireless Sensor Networks
Amy Moore
 

Ähnlich wie Interfacing BLE with android based device (20)

blutooth based sensor network
blutooth based sensor networkblutooth based sensor network
blutooth based sensor network
 
blutooth based smart sensor network
blutooth based smart sensor networkblutooth based smart sensor network
blutooth based smart sensor network
 
Real time approach of piezo actuated beam for wireless
Real time approach of piezo actuated beam for wirelessReal time approach of piezo actuated beam for wireless
Real time approach of piezo actuated beam for wireless
 
Real time approach of piezo actuated beam for wireless seismic measurement us...
Real time approach of piezo actuated beam for wireless seismic measurement us...Real time approach of piezo actuated beam for wireless seismic measurement us...
Real time approach of piezo actuated beam for wireless seismic measurement us...
 
Performance Evaluation Of A Wimax Testbed
Performance Evaluation Of A Wimax TestbedPerformance Evaluation Of A Wimax Testbed
Performance Evaluation Of A Wimax Testbed
 
Key Open Standards for inter-operable IoT systems
Key Open Standards for inter-operable IoT systemsKey Open Standards for inter-operable IoT systems
Key Open Standards for inter-operable IoT systems
 
Bluetooth low energy- Kashyap Velpuru
Bluetooth low energy- Kashyap VelpuruBluetooth low energy- Kashyap Velpuru
Bluetooth low energy- Kashyap Velpuru
 
Mobile Provisioning Enterprise Network PON-Revisi-Final - English
Mobile Provisioning Enterprise Network PON-Revisi-Final - EnglishMobile Provisioning Enterprise Network PON-Revisi-Final - English
Mobile Provisioning Enterprise Network PON-Revisi-Final - English
 
IRJET- Bluetooth based Traffic Tracking System
IRJET- Bluetooth based Traffic Tracking SystemIRJET- Bluetooth based Traffic Tracking System
IRJET- Bluetooth based Traffic Tracking System
 
Smart Cities, IoT, SDN, 5G Networks, Cloud Computing… Managing Complexity wit...
Smart Cities, IoT, SDN, 5G Networks, Cloud Computing… Managing Complexity wit...Smart Cities, IoT, SDN, 5G Networks, Cloud Computing… Managing Complexity wit...
Smart Cities, IoT, SDN, 5G Networks, Cloud Computing… Managing Complexity wit...
 
Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.
Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.
Environmental Monitoring using Wireless Sensor Networks (WSN) based on IOT.
 
Bluetooth Based Smart Sensor Network By SAIKIRAN PANJALA
Bluetooth Based Smart Sensor Network By SAIKIRAN PANJALABluetooth Based Smart Sensor Network By SAIKIRAN PANJALA
Bluetooth Based Smart Sensor Network By SAIKIRAN PANJALA
 
IRJET - Identification and Classification of IoT Devices in Various Appli...
IRJET -  	  Identification and Classification of IoT Devices in Various Appli...IRJET -  	  Identification and Classification of IoT Devices in Various Appli...
IRJET - Identification and Classification of IoT Devices in Various Appli...
 
Secure Data Aggregation Of Wireless Sensor Networks
Secure Data Aggregation Of Wireless Sensor NetworksSecure Data Aggregation Of Wireless Sensor Networks
Secure Data Aggregation Of Wireless Sensor Networks
 
LORA BASED DATA ACQUISITION SYSTEM
LORA BASED DATA ACQUISITION SYSTEMLORA BASED DATA ACQUISITION SYSTEM
LORA BASED DATA ACQUISITION SYSTEM
 
Energy Meters using Internet of Things Platform
Energy Meters using Internet of Things PlatformEnergy Meters using Internet of Things Platform
Energy Meters using Internet of Things Platform
 
IOT-Monograph .docx
IOT-Monograph .docxIOT-Monograph .docx
IOT-Monograph .docx
 
Location based advertisement system with voice announcement system
Location based advertisement system with voice announcement systemLocation based advertisement system with voice announcement system
Location based advertisement system with voice announcement system
 
Web of things
Web of thingsWeb of things
Web of things
 
connecting smart object in IoT.pptx
connecting smart object in IoT.pptxconnecting smart object in IoT.pptx
connecting smart object in IoT.pptx
 

Mehr von IEI GSC

Mehr von IEI GSC (20)

DIAGNOSTIC ANALYSIS OF DISTRESSED HYDRAULIC STRUCTURES: CASE STUDIES OF GUJAR...
DIAGNOSTIC ANALYSIS OF DISTRESSED HYDRAULIC STRUCTURES: CASE STUDIES OF GUJAR...DIAGNOSTIC ANALYSIS OF DISTRESSED HYDRAULIC STRUCTURES: CASE STUDIES OF GUJAR...
DIAGNOSTIC ANALYSIS OF DISTRESSED HYDRAULIC STRUCTURES: CASE STUDIES OF GUJAR...
 
Flexure Behaviour of Ferrocement Strengthened RC beams
Flexure Behaviour of Ferrocement Strengthened RC beamsFlexure Behaviour of Ferrocement Strengthened RC beams
Flexure Behaviour of Ferrocement Strengthened RC beams
 
MIXTURE DESIGN OF FLY ASH & SLAG BASED ALKALI ACTIVATED CONCRETE FOR PRECAST ...
MIXTURE DESIGN OF FLY ASH & SLAG BASED ALKALI ACTIVATED CONCRETE FOR PRECAST ...MIXTURE DESIGN OF FLY ASH & SLAG BASED ALKALI ACTIVATED CONCRETE FOR PRECAST ...
MIXTURE DESIGN OF FLY ASH & SLAG BASED ALKALI ACTIVATED CONCRETE FOR PRECAST ...
 
COMPARATIVE STUDY OF OUTRIGGER STRUCTURE WITH DIFFERENT CONFIGURATIONS
COMPARATIVE STUDY OF OUTRIGGER STRUCTURE WITH DIFFERENT CONFIGURATIONSCOMPARATIVE STUDY OF OUTRIGGER STRUCTURE WITH DIFFERENT CONFIGURATIONS
COMPARATIVE STUDY OF OUTRIGGER STRUCTURE WITH DIFFERENT CONFIGURATIONS
 
Laboratory Investigation on the Mechanical Behavior of Concrete Containing St...
Laboratory Investigation on the Mechanical Behavior of Concrete Containing St...Laboratory Investigation on the Mechanical Behavior of Concrete Containing St...
Laboratory Investigation on the Mechanical Behavior of Concrete Containing St...
 
ENHANCEMENT OF SEISMIC PERFORMANCE OF STRUCTURES USING HyFRC
ENHANCEMENT OF SEISMIC PERFORMANCE OF STRUCTURES USING HyFRCENHANCEMENT OF SEISMIC PERFORMANCE OF STRUCTURES USING HyFRC
ENHANCEMENT OF SEISMIC PERFORMANCE OF STRUCTURES USING HyFRC
 
Prefabricated construction systems in India- Precast Status and needed Impetus
Prefabricated construction systems in India- Precast Status and needed ImpetusPrefabricated construction systems in India- Precast Status and needed Impetus
Prefabricated construction systems in India- Precast Status and needed Impetus
 
Evaluation of durability properties of recycled aggregate concrete incorporat...
Evaluation of durability properties of recycled aggregate concrete incorporat...Evaluation of durability properties of recycled aggregate concrete incorporat...
Evaluation of durability properties of recycled aggregate concrete incorporat...
 
Precast infastructure
Precast infastructurePrecast infastructure
Precast infastructure
 
Advances in Hydraulic Structures, Rubber Dam-A way forward
Advances in Hydraulic Structures, Rubber Dam-A way forwardAdvances in Hydraulic Structures, Rubber Dam-A way forward
Advances in Hydraulic Structures, Rubber Dam-A way forward
 
Effect of Waste Foundry Sand on Durability Properties of Concrete
Effect of Waste Foundry Sand on Durability Properties of ConcreteEffect of Waste Foundry Sand on Durability Properties of Concrete
Effect of Waste Foundry Sand on Durability Properties of Concrete
 
Flexure Behaviour of Ferrocement Strengthened RC beams
Flexure Behaviour of Ferrocement Strengthened RC beamsFlexure Behaviour of Ferrocement Strengthened RC beams
Flexure Behaviour of Ferrocement Strengthened RC beams
 
Future of civil engineering
Future of civil engineering Future of civil engineering
Future of civil engineering
 
Dr. Jaikrishna Memorial Lecture on Evolution of Bridges
Dr. Jaikrishna Memorial Lecture on Evolution of BridgesDr. Jaikrishna Memorial Lecture on Evolution of Bridges
Dr. Jaikrishna Memorial Lecture on Evolution of Bridges
 
Structural Safety in India
Structural Safety in India Structural Safety in India
Structural Safety in India
 
GEO TEXTILES FOR DEVELOPMENT OF NORTH EASTERN REGION
GEO TEXTILES FOR DEVELOPMENT OF NORTH EASTERN REGIONGEO TEXTILES FOR DEVELOPMENT OF NORTH EASTERN REGION
GEO TEXTILES FOR DEVELOPMENT OF NORTH EASTERN REGION
 
Use of GeoTextiles in Civil Engineering : Work on NH 150, Manipur
Use of GeoTextiles in Civil Engineering : Work on NH 150, ManipurUse of GeoTextiles in Civil Engineering : Work on NH 150, Manipur
Use of GeoTextiles in Civil Engineering : Work on NH 150, Manipur
 
Textiles & GeoTextile Composites
Textiles & GeoTextile CompositesTextiles & GeoTextile Composites
Textiles & GeoTextile Composites
 
Presentation application-of-geosynthetics-in-canal
Presentation application-of-geosynthetics-in-canalPresentation application-of-geosynthetics-in-canal
Presentation application-of-geosynthetics-in-canal
 
Presentation: Comparative Evaluation Of Epoxy Treated Reinforcement And Ename...
Presentation: Comparative Evaluation Of Epoxy Treated Reinforcement And Ename...Presentation: Comparative Evaluation Of Epoxy Treated Reinforcement And Ename...
Presentation: Comparative Evaluation Of Epoxy Treated Reinforcement And Ename...
 

Kürzlich hochgeladen

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Kürzlich hochgeladen (20)

Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

Interfacing BLE with android based device

  • 1. All India Seminar on Internet Of Things (IoT) Trends that affects Life 22-23 January 2016 At Bhaikaka Bhawan, IE(I), GSC, INDIA Day 2 – Session: 1 (10:00 AM to 10:45 AM) Interfacing BLE with an Android based Device by Prof. Hemal Shah Professor, Ganpat University
  • 2. Outline • Introduction to Bluetooth Low Energy (BLE) – What is LE Device? – Why BLE? – Role of BLE in IoT • Hardware Samples - Beacons – Estimotes • Accessing BLE Devices • Interfacing with Android based device – Read from and Write in to Device Module – Demo – Output 1/27/2016 2
  • 4. 1. Perception layer/Physical Layer : Information origin and the core. All Information perceived and collected in this layer. Ex : BLE ,wireless sensors network (WSN),RFID, ZIGBEE, Bluetooth etc. 2. Network layer : Access network and core network, provides transparent data transmission capability. Ex: IPV4 and IPV6 Networks 3. Service layer : Application layer, includes data management sub-layer and application service sub-layer. Ex: Smart Health, Smart Transport, Smart Home, Smart Crowd sensing IoT- Architecture (Continue…) 1/27/2016 4
  • 5. Bluetooth Low Energy(BLE) Protocol Stack Bluetooth Low Energy device is Hardware and Software. 1/27/2016 5 Figure:2 BLE Protocol Stack [2] Assigned numbers are used in GAP for inquiry response, manufacturer- specific data, advertising data, low energy UUIDs and appearance characteristics, and class of device. ATT is a much lower level mechanism that basically defines how to transfer a unit of data (an attribute). GATT is built on top of ATT and defines how higher level services are composed and the framework for operating on those services.
  • 6. Bluetooth Low Energy(BLE) (Cont..) Role of Perception layer: • Manage Device Role (Master/Slave) • Enabling Advertisement Channels • Discoverability and convertibility modes • Advertisement of Interval and Data • Connection Interval, timeout, Slave Latency • Output Power 1/27/2016 6
  • 7. Why BLE? [3] Bluetooth LE NFC 1/27/2016 7
  • 8. Technolog y NFC RFID BT BLE Wi-Fi Zigbee WPAN WiMa x 2G-3G Power Low Low Low Low High Low Low High High Speed (Kbps) 400 400 700 1000 10000 0 250 250 10000 0 5000 Distance covered in Meters 0.01 3 0 30 50-70 15 300 800 50000 Cellular Network depends Cost to Build IoT Less Less Less Less Averag e Less Less High High IoT Target Applicatio n Payme nt Applic ation, Share Details in short Distan ce Product Identificat ion, Tracking Segments Data Exchan ge in Mediu m distanc e, with mediu m scale of data Fitness Tracking, Health Monitori ng Interfa ce with Intern et, IoT Server comm unicati on Automoti ve product support, Sensor Interface, Home Automati on Automoti ve product support, Sensor Interface, Smart City Automati on Interfa ce with Intern et, IoT Server comm unicati on Interface with Internet, IoT Server communica tion Figure 3 : Comparison of Different Communication Technologies [3]1/27/2016 8 Comparative measures of BLE with other Communication Technologies
  • 9. Bluetooth SMART READY support was Apple with their iPhone 4s. Since then, all of their devices iPads, iPhones, MacBooks and Apple TV too support BLE. Samsung Galaxy series, Sony Xperia series and Google Nexus also started providing BLE functionality with the release of Android 4.3 API that came with BLE support. BLE wearable Devices are: • Heart rate monitors • Smart watches • Fitness trackers These devices send their tracking details to smartphone app of the wearer or other necessary party such as a personal physician. Link1 Link2 1/27/2016 9 BLE Applications
  • 10. What are Beacon? • Beacons are Hardware Devices that can Emit and Receive BLE Signals [3]. • Beacons are BLE devices that can be placed throughout any ‘target’ area that emit a signal that can be detected by other BLE enabled devices. • Depending on the beacon device and how frequently it sends out a signal, the battery life can last for a year or longer. • Certain mobile devices themselves can also act as a beacon that can both emit and receive signals. 1/27/2016 10
  • 11. BLE Samples & Proximity Estimotes Beacon Micro Chip RN 4020 1/27/2016 11
  • 12. Estimotes Beacon • Estimote Beacon is a small computer [3]. • 32-bit ARM® Cortex M0 CPU with accelerometer, temperature sensor. • 2.4 GHz radio using Bluetooth 4.0 Smart. • Beacons can last more than 3 years on default settings on a single CR2477 battery. 1/27/2016 12
  • 13. How we should access BLE? Purpose of accessing BLE Device:- • Setup & Configuration of the UUID, Major, Minor values •Discovery of Nearby Smart Device •Connection Management & State Management of Smart Device •Retrieve, understand and use characteristics •(Read/Write/Notify/Advertise) through Generic Attributes and Services (GATT Services) •Naming and Addressing Devices •Measurement of RSSI values of Nearby devices for Energy Modeling and Calculation for Energy Estimation 1/27/2016 13
  • 14. Accessing Estimote Beacons There are three ways to access: 1. Estimote App (Ex: NRF Master by Nordic) 2. Estimote Cloud (https://cloud.estimote.com/) 3. Estimote SDK (http://developer.estimote.com/) 1/27/2016 14
  • 15. • Then on the Android Phone run any BLE app from • BLE Checker • BLE Scanner • BLE gatt • Nrf Master • These all applications have the GATT Characteristics that is mainly supported by the BLE • Generic Attribute Profile (GATT) is built on top of the Attribute Protocol (ATT)[2]. • GATT defines two roles: Server and Client. Accessing Estimote BLE using Android APK 1/27/2016 15
  • 16. 1/27/2016 16 Checking BLE Support with Android Phone using BLE Checker
  • 17. 1/27/2016 17 Discovery of Nearby Smart BLE Devices using BLE Scanner
  • 18. 1/27/2016 18 NRF Master Control Panel – GATT Server Configuration
  • 19. 1/27/2016 19 Sample GATT Server Configuration
  • 20. 1/27/2016 20 Generic Attributes (GATT) & Services – Clients (Node)
  • 21. 1/27/2016 21 Generic Attributes (GATT) & Services – Server(System)
  • 22. 1/27/2016 22 Generic Attributes (GATT) & Services – Server(System)
  • 23. Renaming Estimotes name using Android 1/27/2016 23
  • 25. 1/27/2016 25 Renaming Estimotes name using Android
  • 27. Android Code of APK 1/27/2016 27
  • 29. 1/27/2016 29 Estimotes Setting through Estimote Cloud
  • 30. 1/27/2016 30 Estimotes Setting through Estimote Cloud (Cont..)
  • 31. References [1] Xiaolin Jia, Quanyuan Feng , Taihua Fan, Quanshui Lei, “RFID technology and its applications in Internet of Things (IoT)”, Consumer Electronics, Communications and Networks (CECNet), 2012 2nd International Conference, IEEE, April-2012. [2] https://www.bluetooth.org/tpg/RefNotes [3] ”BLE/Beacons/ibeacon, Internet of Things”, Tim McKendrick ,Director of Project Management | Vectorform [4] An introduction to beacon, Locolo,Beekn, www.BEEKn.net [5] https://www.linkedin.com/pulse/what-bluetooth-low-energy-means-internet-things-premaratne [6] Microchip RN4020 (Bluetooth Low Energy Module)- Guide, 2014 Microchip Technology Inc. , Advance Information ,DS50002279A. [7] Saminath.V, Jung Su ,”Understanding of Internet of Things (IoT) and Experimental Approach using WICED Sense in Android Platform “, International Journal of Scientific and Research Publications, Volume 5, Issue 7, July 2015, ISSN 2250-3153. 1/27/2016 31
  • 32. Acknowledgment • Prof. Rahul Shrimali, Ph.D Scholar, Ganpat University • Prof. Umang Shukla, Asst Professor, SAL Engineering College • Ms. Jinal Patel, M. Tech. Scholar, Saffrony Institute of Technology 1/27/2016 32