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
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
All India Seminar on
Internet Of Things (IoT) Trends that affects Life
22-23 January 2016At
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 ShahProfessor, Ganpat University
05/03/2023 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
05/03/2023 3
IoT- Architecture
Figure:1 Architecture [1]
05/03/2023 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.
Bluetooth Low Energy(BLE) Protocol StackBluetooth Low Energy device is Hardware and Software.
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.
05/03/2023 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
Payment Application, Share Details in short Distance
Product Identification, Tracking Segments
Data Exchange in Medium distance, with medium scale of data
Fitness Tracking, Health Monitoring
Interface with Internet, IoT Server communication
Automotive product support, Sensor Interface, Home Automation
Automotive product support, Sensor Interface, Smart City Automation
Interface with Internet, IoT Server communication
Interface with Internet, IoT Server communication
Figure 3 : Comparison of Different Communication Technologies [3]
Comparative measures of BLE with other Communication Technologies
05/03/2023 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.
[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.
• 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