SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
Davide Piccardi
Linkedin: https://it.linkedin.com/in/davide-piccardi-8b3950105
Github: https://github.com/davidepic91
Sapienza University of Rome – DIAG – Pervasive Systems
Estimote beacons and simple Android application
What are Estimote beacons ?
Estimote Beacons and Stickers
are small wireless sensors that
you can attach to any location or
object.
In practice they are small
computer: they have an ARM
processor, memory, Bluetooth
smart module, coin battery,
temperature and motion sensors.
What are Estimote beacons ? (cond't)
Thanks to the Estimote SDK, we
can interact with these devices
and build a new type of
applications that are able to
understand their proximity to
nearby locations and objects,
recognizing their type,
temperature and motion.
How do they work ?
• They broadcast tiny radio signals
through built-in antennas.
• Smart devices in range receive
those signals and compatible
installed apps can then respond.
• The exact form of that response
(notification or another action)
depends on the type of app. Of
course, in accordance with the
principles of IoT it is possible to
show data retrieved from our
personal cloud.
How many types of devices exist ?
There are three types of devices:
• Location Beacon
• Proximity Beacon
• Sticker Beacon
They are fully compatible with iOS and Android.
Of course which one to choose it depends on the type of
project you intend to implement.
Location beacon
It is the most robust Bluetooth Smart
beacon on the market.
• Built-in sensors (temperature,
motion, light, magnetometer)
• 7 years default battery life
• Water resistant and eco-friendly
reusable enclosures
• iBeacon™,Eddystone™ and Indoor
Location compatible
Proximity beacon
• ARM M0 Cortex, BLE, motion &
temperature sensors
• Omnidirectional antenna with
configurable range
• 3 years default battery life
• iBeacon™,Eddystone™ and Indoor
Location compatible
Sticker beacon
It is a cost-effective prototyping kit
for nearables.
• ARM M0 Cortex, BLE, motion &
temperature sensors
• 1 year default battery life
• Thin and waterproof enclosure
with built-in adhesive layer
• iBeacon™ and Indoor Location
(partially) compatible
FAQ: beacons and stickers
• What is the difference between Beacons and Stickers?
Beacons have a bigger battery and are designed for venues
like retail stores, museums or airports.
Stickers can turn things into "nearables" i.e. smart objects
fully detectable by your mobile device.
• What is a Beacon's range?
The typical range of Bluetooth low-energy (BLE) radio
modules is up to 70 m (230 ft.). Of course, it depends on
the location, because radio signals could be absorbed or
diffracted.
FAQ: beacons and stickers (cond't)
• Can Estimotes be placed outdoors?
The case made of soft silicone is waterproof. You can
install them outdoors but rain will reduce the beacon's
signal strength and extreme temperatures (over 60°C or
below -10°C ) can reduce battery life.
What are the practical application of beacons ?
Restaurant: passing near the
entrance you see a notification on
your phone showing the daily
specials and reviews.
Clothing store: for each nearby
product show on phone some
information like price, sizes in stock
and other colors available.
What are the practical application of stickers ?
Bicycle: automatically track your routes
and record where you left it.
Plants: taking advantage of the phone's
sensor, show in real time if there is
enough light for that specific plant
whose information is retrieved from
the cloud.
Development technologies
Beacon is only a piece of hardware broadcasting radio signal.
On top of that, there are different APIs, SDKs, and protocols
that you will be using to bring micro location to your apps.
• Estimote SDKs
There are two different versions for iOS and Android.
• Estimote Indoor SDK
It is a set of tools for building precise
location services indoors.
▪ Available only for iOS.
Development technologies (cond’t)
• iBeacon ™
It is a Bluetooth 4.0 communication protocol developed by
Apple. It is supported by iOS devices only.
▪ Available as part of the Estimote iOS SDK.
• Eddystone ™
It is the equivalent of the previous one but it is developed
by Google. It is supported by both iOS and Android devices.
▪ Available as part of the Estimote iOS and Android SDK.
Development technologies (cond’t)
• Estimote Cloud
It is a web-based platform that allows us to remotely
access settings and locations of beacons.
Moreover, it exposes a public RESTful API that enables us
(in simple a programmatic way) to:
• fetch data about our beacons
• use Estimote Analytics
• use Fleet Management API
• integrate Estimote Cloud with your own backend
Important concepts for developers
Beacon region
We can see it as a filter or a regular expression. In particular, it allows us to
determine what devices we are interested.
In fact each beacon is identified by three values:
• UUID (String) e.g. “B9407F30-F5F8-466E-AFF9-25556B57FE6D”.
• major number (unsigned short integer), i.e., an integer ranging from 1 to
65535.
• minor number (unsigned short integer) like the major number.
There are several combinations of these parameters that we can specify in the
region: UUID + major + minor, UUID + major, UUID alone, or none of it.
Important concepts for developers (cond’t)
Beacon monitoring
We can think of beacon monitoring as
“geofence”, or in other words, as a
virtual barrier (usually defined using
geographic coordinates).
Moving in and out of this area, “enter”
and “exit” events are generated and
apps can react to them (events usually
take up only 30 seconds to trigger).
Important concepts for developers (cond’t)
Beacons ranging
While monitoring creates a virtual fence to
detect when you are moving in and out,
ranging actively scans for any nearby
beacons and delivers results to us every
second then we can get a full list of
matching beacons currently in range
(complete with their UUID, major, and
minor values).
Important concepts for developers (cond’t)
Proximity estimation
The receiver can estimate the distance by
analyzing the power of the Bluetooth signal
received. It can also categorize the beacons into
four proximity zones:
• immediate (strong signal ! a few centimeters)
• near (medium signal ! up to a few meters)
• far (weak signal ! more than a few meters)
• unknown (very weak signal ! “hard to say”)
There is also another, more distinct feature of ranging:
Demonstration: simple restaurant Android app
I have made a simple Android application to show the use of
Estimote beacons.
• Name: Notification Restaurant Beacon
• Purpose: notify the daily menu of a restaurant
• Topic: beacon monitoring
• Cloud: None (for simplicity)
• Used technologies: Estimote SDK for Android
• Tested on: Nexus 5 with Android 6.0.1
• GitHub repository: https://github.com/davidepic91/
NotificationRestaurantBeacon.git
Simple restaurant Android app (cond’t)
1. Open your own QR code reader or download and
install "QR Code Reader" from Play Store. In the
second case, go to setting and disable " Use the in-
app browser“
2. Read the QR code
3. Open URL
4. Click on the button in the upper right
5. Click on "direct download" and confirm with "ok“
6. Go to phone settings and enable the installation of
apps from unknown sources
7. Open .apk file from "Download" and install it.
8. Open the application
In order to try the app, you can follow these steps:
Simple restaurant Android app (cond’t)
@Override

public void onCreate() {

super.onCreate();



//ADD A BEACON MANAGER

beaconManager = new BeaconManager(getApplicationContext());



//START MONITORING

beaconManager.setMonitoringListener(new BeaconManager.MonitoringListener() {

@Override

public void onEnteredRegion(Region region, List<Beacon> list) {

showNotification("Restaurant AL VIALETTO", "Click for the dishes of the day");

}

@Override

public void onExitedRegion(Region region) {

}

});

beaconManager.connect(new BeaconManager.ServiceReadyCallback() {

@Override

public void onServiceReady() {

beaconManager.startMonitoring(new Region("monitored region",

UUID.fromString("B9407F30-F5F8-466E-AFF9-25556B57FE6D"), 17957, 56571));

}

});

}
Code from
MyApplication.java
Simple restaurant Android app (cond’t)
Simple restaurant Android app (cond’t)
That’s all !

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to AIoT & TinyML - with Arduino
Introduction to AIoT & TinyML - with ArduinoIntroduction to AIoT & TinyML - with Arduino
Introduction to AIoT & TinyML - with ArduinoAndri Yadi
 
Windows Phone 8 NFC Quickstart
Windows Phone 8 NFC QuickstartWindows Phone 8 NFC Quickstart
Windows Phone 8 NFC QuickstartAndreas Jakl
 
Scati 20161109-en
Scati 20161109-enScati 20161109-en
Scati 20161109-enHuy Bui Van
 
Internet of Things - Technological Perspective
Internet of Things - Technological PerspectiveInternet of Things - Technological Perspective
Internet of Things - Technological PerspectiveAndri Yadi
 
information about cicret bracelet and its specifications and working and oper...
information about cicret bracelet and its specifications and working and oper...information about cicret bracelet and its specifications and working and oper...
information about cicret bracelet and its specifications and working and oper...mirabubakar1
 
Java ring
Java ringJava ring
Java ringEtty94
 
Kinect for Windows SDK - Programming Guide
Kinect for Windows SDK - Programming GuideKinect for Windows SDK - Programming Guide
Kinect for Windows SDK - Programming GuideKatsuhito Okada
 
IRJET - AI based Smart Mirror
IRJET -  	  AI based Smart MirrorIRJET -  	  AI based Smart Mirror
IRJET - AI based Smart MirrorIRJET Journal
 
Road to Republic of IoT - IoT Technologies & Machine Learning
Road to Republic of IoT - IoT Technologies & Machine LearningRoad to Republic of IoT - IoT Technologies & Machine Learning
Road to Republic of IoT - IoT Technologies & Machine LearningAndri Yadi
 
Movreak Awakens, DycodeX launching keynote
Movreak Awakens, DycodeX launching keynoteMovreak Awakens, DycodeX launching keynote
Movreak Awakens, DycodeX launching keynoteAndri Yadi
 
Near field communication
Near field communicationNear field communication
Near field communicationRahul Patil
 
Smart Home Automation using Wi-Fi
Smart Home Automation using Wi-FiSmart Home Automation using Wi-Fi
Smart Home Automation using Wi-Fiijtsrd
 
Intel® RealSense™ Technology: Code Walk-through Presented by Intel Software I...
Intel® RealSense™ Technology: Code Walk-through Presented by Intel Software I...Intel® RealSense™ Technology: Code Walk-through Presented by Intel Software I...
Intel® RealSense™ Technology: Code Walk-through Presented by Intel Software I...Intel® Software
 

Was ist angesagt? (20)

Introduction to AIoT & TinyML - with Arduino
Introduction to AIoT & TinyML - with ArduinoIntroduction to AIoT & TinyML - with Arduino
Introduction to AIoT & TinyML - with Arduino
 
Windows Phone 8 NFC Quickstart
Windows Phone 8 NFC QuickstartWindows Phone 8 NFC Quickstart
Windows Phone 8 NFC Quickstart
 
Cicret bracelet
Cicret braceletCicret bracelet
Cicret bracelet
 
Cicret Bracelet
Cicret BraceletCicret Bracelet
Cicret Bracelet
 
Scati 20161109-en
Scati 20161109-enScati 20161109-en
Scati 20161109-en
 
Internet of Things - Technological Perspective
Internet of Things - Technological PerspectiveInternet of Things - Technological Perspective
Internet of Things - Technological Perspective
 
information about cicret bracelet and its specifications and working and oper...
information about cicret bracelet and its specifications and working and oper...information about cicret bracelet and its specifications and working and oper...
information about cicret bracelet and its specifications and working and oper...
 
Java ring
Java ringJava ring
Java ring
 
Kinect for Windows SDK - Programming Guide
Kinect for Windows SDK - Programming GuideKinect for Windows SDK - Programming Guide
Kinect for Windows SDK - Programming Guide
 
Elektor 0304-2020
Elektor 0304-2020Elektor 0304-2020
Elektor 0304-2020
 
Road to RIoT 2017 Medan
Road to RIoT 2017 MedanRoad to RIoT 2017 Medan
Road to RIoT 2017 Medan
 
IRJET - AI based Smart Mirror
IRJET -  	  AI based Smart MirrorIRJET -  	  AI based Smart Mirror
IRJET - AI based Smart Mirror
 
Road to Republic of IoT - IoT Technologies & Machine Learning
Road to Republic of IoT - IoT Technologies & Machine LearningRoad to Republic of IoT - IoT Technologies & Machine Learning
Road to Republic of IoT - IoT Technologies & Machine Learning
 
digital jewlary
digital jewlarydigital jewlary
digital jewlary
 
Movreak Awakens, DycodeX launching keynote
Movreak Awakens, DycodeX launching keynoteMovreak Awakens, DycodeX launching keynote
Movreak Awakens, DycodeX launching keynote
 
Near field communication
Near field communicationNear field communication
Near field communication
 
Project Ara
Project AraProject Ara
Project Ara
 
java-ring
 java-ring java-ring
java-ring
 
Smart Home Automation using Wi-Fi
Smart Home Automation using Wi-FiSmart Home Automation using Wi-Fi
Smart Home Automation using Wi-Fi
 
Intel® RealSense™ Technology: Code Walk-through Presented by Intel Software I...
Intel® RealSense™ Technology: Code Walk-through Presented by Intel Software I...Intel® RealSense™ Technology: Code Walk-through Presented by Intel Software I...
Intel® RealSense™ Technology: Code Walk-through Presented by Intel Software I...
 

Andere mochten auch

Limitations of first law of thermodynamics
Limitations of first law of thermodynamicsLimitations of first law of thermodynamics
Limitations of first law of thermodynamicsVedant Rajput
 
Japanese tsunami (2011)
Japanese tsunami (2011)Japanese tsunami (2011)
Japanese tsunami (2011)Moonyoung Do
 
341661479 coordinador-de-innovacion-y-soporte-tecnologico
341661479 coordinador-de-innovacion-y-soporte-tecnologico341661479 coordinador-de-innovacion-y-soporte-tecnologico
341661479 coordinador-de-innovacion-y-soporte-tecnologicoguido anibal
 
Work holding devices of lathe
Work holding devices of latheWork holding devices of lathe
Work holding devices of latheVedant Rajput
 
O menino que não gostava de ler
O menino que não gostava de lerO menino que não gostava de ler
O menino que não gostava de lercruchinho
 
Genuino and codebender
Genuino and codebenderGenuino and codebender
Genuino and codebenderLuca Mazzotti
 
Projecte jornada continua ceip cervantes_2017
Projecte jornada continua  ceip cervantes_2017Projecte jornada continua  ceip cervantes_2017
Projecte jornada continua ceip cervantes_2017Patricia Lasso
 
Redis - Usability and Use Cases
Redis - Usability and Use CasesRedis - Usability and Use Cases
Redis - Usability and Use CasesFabrizio Farinacci
 
Presentation raspberry pi
Presentation   raspberry piPresentation   raspberry pi
Presentation raspberry piMarco Casini
 
ThingStudio Presentation
ThingStudio PresentationThingStudio Presentation
ThingStudio PresentationDaniele Oriana
 
Adafruit Huzzah Esp8266 WiFi Board
Adafruit Huzzah Esp8266 WiFi BoardAdafruit Huzzah Esp8266 WiFi Board
Adafruit Huzzah Esp8266 WiFi BoardBiagio Botticelli
 

Andere mochten auch (20)

Java project
Java projectJava project
Java project
 
Anatomia do membro inferior
Anatomia do membro inferiorAnatomia do membro inferior
Anatomia do membro inferior
 
Limitations of first law of thermodynamics
Limitations of first law of thermodynamicsLimitations of first law of thermodynamics
Limitations of first law of thermodynamics
 
Japanese tsunami (2011)
Japanese tsunami (2011)Japanese tsunami (2011)
Japanese tsunami (2011)
 
341661479 coordinador-de-innovacion-y-soporte-tecnologico
341661479 coordinador-de-innovacion-y-soporte-tecnologico341661479 coordinador-de-innovacion-y-soporte-tecnologico
341661479 coordinador-de-innovacion-y-soporte-tecnologico
 
Work holding devices of lathe
Work holding devices of latheWork holding devices of lathe
Work holding devices of lathe
 
O menino que não gostava de ler
O menino que não gostava de lerO menino que não gostava de ler
O menino que não gostava de ler
 
Elm 327 Obd
Elm 327 ObdElm 327 Obd
Elm 327 Obd
 
Genuino and codebender
Genuino and codebenderGenuino and codebender
Genuino and codebender
 
Temboo
TembooTemboo
Temboo
 
AltBeacon
AltBeaconAltBeacon
AltBeacon
 
AltBeacon
AltBeaconAltBeacon
AltBeacon
 
Projecte jornada continua ceip cervantes_2017
Projecte jornada continua  ceip cervantes_2017Projecte jornada continua  ceip cervantes_2017
Projecte jornada continua ceip cervantes_2017
 
Redis - Usability and Use Cases
Redis - Usability and Use CasesRedis - Usability and Use Cases
Redis - Usability and Use Cases
 
Educacion primaria (1)
Educacion primaria (1)Educacion primaria (1)
Educacion primaria (1)
 
Presentation raspberry pi
Presentation   raspberry piPresentation   raspberry pi
Presentation raspberry pi
 
ThingStudio Presentation
ThingStudio PresentationThingStudio Presentation
ThingStudio Presentation
 
Adafruit Huzzah Esp8266 WiFi Board
Adafruit Huzzah Esp8266 WiFi BoardAdafruit Huzzah Esp8266 WiFi Board
Adafruit Huzzah Esp8266 WiFi Board
 
Intel Curie Presentation
Intel Curie PresentationIntel Curie Presentation
Intel Curie Presentation
 
InfluxDb
InfluxDbInfluxDb
InfluxDb
 

Ähnlich wie Estimote beacons and simple Android application (full)

Internet of things, and rise of ibeacons
Internet of things, and rise of ibeaconsInternet of things, and rise of ibeacons
Internet of things, and rise of ibeaconsJanusz Chudzynski
 
Mobile development in age of Internet of Things and programming Apple Watch
Mobile development in age of Internet of Things and programming Apple WatchMobile development in age of Internet of Things and programming Apple Watch
Mobile development in age of Internet of Things and programming Apple WatchJanusz Chudzynski
 
Car Security System #CSALS
Car Security System #CSALSCar Security System #CSALS
Car Security System #CSALSAlex Vishwa
 
Bluetooth low energy final version
Bluetooth low energy final versionBluetooth low energy final version
Bluetooth low energy final versionFrederick Bousson
 
[CocoaHeads Tricity] Estimote Beacons - world most popular iBeacon implementa...
[CocoaHeads Tricity] Estimote Beacons - world most popular iBeacon implementa...[CocoaHeads Tricity] Estimote Beacons - world most popular iBeacon implementa...
[CocoaHeads Tricity] Estimote Beacons - world most popular iBeacon implementa...Mateusz Klimczak
 
Cómo Desarrollar Apps Que Interactúan Con El Mundo Real - iBeacons & BLE
Cómo Desarrollar Apps Que Interactúan Con El Mundo Real - iBeacons & BLECómo Desarrollar Apps Que Interactúan Con El Mundo Real - iBeacons & BLE
Cómo Desarrollar Apps Que Interactúan Con El Mundo Real - iBeacons & BLESolstice Mobile Argentina
 
RilwanKujenyaBDSDDVBAC-Thesis-HYDRAAR_larger
RilwanKujenyaBDSDDVBAC-Thesis-HYDRAAR_largerRilwanKujenyaBDSDDVBAC-Thesis-HYDRAAR_larger
RilwanKujenyaBDSDDVBAC-Thesis-HYDRAAR_largerRilwan Kujenya
 
Geo tech masterclass_beacons_oct
Geo tech masterclass_beacons_octGeo tech masterclass_beacons_oct
Geo tech masterclass_beacons_octLuke Hampson
 
Innovative products
Innovative productsInnovative products
Innovative productsJash Shah
 
Telerik AppBuilder, Estimote Beacons, and the IoT - Presentation for TelerikNEXT
Telerik AppBuilder, Estimote Beacons, and the IoT - Presentation for TelerikNEXTTelerik AppBuilder, Estimote Beacons, and the IoT - Presentation for TelerikNEXT
Telerik AppBuilder, Estimote Beacons, and the IoT - Presentation for TelerikNEXTJen Looper
 
Using Beacons in a Mobile App - IoT Nearables
Using Beacons in a Mobile App - IoT NearablesUsing Beacons in a Mobile App - IoT Nearables
Using Beacons in a Mobile App - IoT NearablesJen Looper
 
Anam rajkumar sarvesh k10779,k10626
Anam rajkumar sarvesh k10779,k10626Anam rajkumar sarvesh k10779,k10626
Anam rajkumar sarvesh k10779,k10626shailesh yadav
 

Ähnlich wie Estimote beacons and simple Android application (full) (20)

Internet of things, and rise of ibeacons
Internet of things, and rise of ibeaconsInternet of things, and rise of ibeacons
Internet of things, and rise of ibeacons
 
Mobile development in age of Internet of Things and programming Apple Watch
Mobile development in age of Internet of Things and programming Apple WatchMobile development in age of Internet of Things and programming Apple Watch
Mobile development in age of Internet of Things and programming Apple Watch
 
IoT
IoTIoT
IoT
 
An overview of Beacons
An overview of BeaconsAn overview of Beacons
An overview of Beacons
 
Car Security System #CSALS
Car Security System #CSALSCar Security System #CSALS
Car Security System #CSALS
 
Bluetooth low energy final version
Bluetooth low energy final versionBluetooth low energy final version
Bluetooth low energy final version
 
[CocoaHeads Tricity] Estimote Beacons - world most popular iBeacon implementa...
[CocoaHeads Tricity] Estimote Beacons - world most popular iBeacon implementa...[CocoaHeads Tricity] Estimote Beacons - world most popular iBeacon implementa...
[CocoaHeads Tricity] Estimote Beacons - world most popular iBeacon implementa...
 
Cómo Desarrollar Apps Que Interactúan Con El Mundo Real - iBeacons & BLE
Cómo Desarrollar Apps Que Interactúan Con El Mundo Real - iBeacons & BLECómo Desarrollar Apps Que Interactúan Con El Mundo Real - iBeacons & BLE
Cómo Desarrollar Apps Que Interactúan Con El Mundo Real - iBeacons & BLE
 
Beacons
Beacons Beacons
Beacons
 
Estimote
EstimoteEstimote
Estimote
 
RilwanKujenyaBDSDDVBAC-Thesis-HYDRAAR_larger
RilwanKujenyaBDSDDVBAC-Thesis-HYDRAAR_largerRilwanKujenyaBDSDDVBAC-Thesis-HYDRAAR_larger
RilwanKujenyaBDSDDVBAC-Thesis-HYDRAAR_larger
 
IOIO Card
IOIO CardIOIO Card
IOIO Card
 
Geo tech masterclass_beacons_oct
Geo tech masterclass_beacons_octGeo tech masterclass_beacons_oct
Geo tech masterclass_beacons_oct
 
What is IoT?
What is IoT?What is IoT?
What is IoT?
 
Innovative products
Innovative productsInnovative products
Innovative products
 
Telerik AppBuilder, Estimote Beacons, and the IoT - Presentation for TelerikNEXT
Telerik AppBuilder, Estimote Beacons, and the IoT - Presentation for TelerikNEXTTelerik AppBuilder, Estimote Beacons, and the IoT - Presentation for TelerikNEXT
Telerik AppBuilder, Estimote Beacons, and the IoT - Presentation for TelerikNEXT
 
Using Beacons in a Mobile App - IoT Nearables
Using Beacons in a Mobile App - IoT NearablesUsing Beacons in a Mobile App - IoT Nearables
Using Beacons in a Mobile App - IoT Nearables
 
Beacon FAQ
Beacon FAQBeacon FAQ
Beacon FAQ
 
Anam rajkumar sarvesh k10779,k10626
Anam rajkumar sarvesh k10779,k10626Anam rajkumar sarvesh k10779,k10626
Anam rajkumar sarvesh k10779,k10626
 
Anam rajkumar sarvesh
Anam rajkumar sarveshAnam rajkumar sarvesh
Anam rajkumar sarvesh
 

Kürzlich hochgeladen

High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 

Kürzlich hochgeladen (20)

(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 

Estimote beacons and simple Android application (full)

  • 1. Davide Piccardi Linkedin: https://it.linkedin.com/in/davide-piccardi-8b3950105 Github: https://github.com/davidepic91 Sapienza University of Rome – DIAG – Pervasive Systems Estimote beacons and simple Android application
  • 2. What are Estimote beacons ? Estimote Beacons and Stickers are small wireless sensors that you can attach to any location or object. In practice they are small computer: they have an ARM processor, memory, Bluetooth smart module, coin battery, temperature and motion sensors.
  • 3. What are Estimote beacons ? (cond't) Thanks to the Estimote SDK, we can interact with these devices and build a new type of applications that are able to understand their proximity to nearby locations and objects, recognizing their type, temperature and motion.
  • 4. How do they work ? • They broadcast tiny radio signals through built-in antennas. • Smart devices in range receive those signals and compatible installed apps can then respond. • The exact form of that response (notification or another action) depends on the type of app. Of course, in accordance with the principles of IoT it is possible to show data retrieved from our personal cloud.
  • 5. How many types of devices exist ? There are three types of devices: • Location Beacon • Proximity Beacon • Sticker Beacon They are fully compatible with iOS and Android. Of course which one to choose it depends on the type of project you intend to implement.
  • 6. Location beacon It is the most robust Bluetooth Smart beacon on the market. • Built-in sensors (temperature, motion, light, magnetometer) • 7 years default battery life • Water resistant and eco-friendly reusable enclosures • iBeacon™,Eddystone™ and Indoor Location compatible
  • 7. Proximity beacon • ARM M0 Cortex, BLE, motion & temperature sensors • Omnidirectional antenna with configurable range • 3 years default battery life • iBeacon™,Eddystone™ and Indoor Location compatible
  • 8. Sticker beacon It is a cost-effective prototyping kit for nearables. • ARM M0 Cortex, BLE, motion & temperature sensors • 1 year default battery life • Thin and waterproof enclosure with built-in adhesive layer • iBeacon™ and Indoor Location (partially) compatible
  • 9. FAQ: beacons and stickers • What is the difference between Beacons and Stickers? Beacons have a bigger battery and are designed for venues like retail stores, museums or airports. Stickers can turn things into "nearables" i.e. smart objects fully detectable by your mobile device. • What is a Beacon's range? The typical range of Bluetooth low-energy (BLE) radio modules is up to 70 m (230 ft.). Of course, it depends on the location, because radio signals could be absorbed or diffracted.
  • 10. FAQ: beacons and stickers (cond't) • Can Estimotes be placed outdoors? The case made of soft silicone is waterproof. You can install them outdoors but rain will reduce the beacon's signal strength and extreme temperatures (over 60°C or below -10°C ) can reduce battery life.
  • 11. What are the practical application of beacons ? Restaurant: passing near the entrance you see a notification on your phone showing the daily specials and reviews. Clothing store: for each nearby product show on phone some information like price, sizes in stock and other colors available.
  • 12. What are the practical application of stickers ? Bicycle: automatically track your routes and record where you left it. Plants: taking advantage of the phone's sensor, show in real time if there is enough light for that specific plant whose information is retrieved from the cloud.
  • 13. Development technologies Beacon is only a piece of hardware broadcasting radio signal. On top of that, there are different APIs, SDKs, and protocols that you will be using to bring micro location to your apps. • Estimote SDKs There are two different versions for iOS and Android. • Estimote Indoor SDK It is a set of tools for building precise location services indoors. ▪ Available only for iOS.
  • 14. Development technologies (cond’t) • iBeacon ™ It is a Bluetooth 4.0 communication protocol developed by Apple. It is supported by iOS devices only. ▪ Available as part of the Estimote iOS SDK. • Eddystone ™ It is the equivalent of the previous one but it is developed by Google. It is supported by both iOS and Android devices. ▪ Available as part of the Estimote iOS and Android SDK.
  • 15. Development technologies (cond’t) • Estimote Cloud It is a web-based platform that allows us to remotely access settings and locations of beacons. Moreover, it exposes a public RESTful API that enables us (in simple a programmatic way) to: • fetch data about our beacons • use Estimote Analytics • use Fleet Management API • integrate Estimote Cloud with your own backend
  • 16. Important concepts for developers Beacon region We can see it as a filter or a regular expression. In particular, it allows us to determine what devices we are interested. In fact each beacon is identified by three values: • UUID (String) e.g. “B9407F30-F5F8-466E-AFF9-25556B57FE6D”. • major number (unsigned short integer), i.e., an integer ranging from 1 to 65535. • minor number (unsigned short integer) like the major number. There are several combinations of these parameters that we can specify in the region: UUID + major + minor, UUID + major, UUID alone, or none of it.
  • 17. Important concepts for developers (cond’t) Beacon monitoring We can think of beacon monitoring as “geofence”, or in other words, as a virtual barrier (usually defined using geographic coordinates). Moving in and out of this area, “enter” and “exit” events are generated and apps can react to them (events usually take up only 30 seconds to trigger).
  • 18. Important concepts for developers (cond’t) Beacons ranging While monitoring creates a virtual fence to detect when you are moving in and out, ranging actively scans for any nearby beacons and delivers results to us every second then we can get a full list of matching beacons currently in range (complete with their UUID, major, and minor values).
  • 19. Important concepts for developers (cond’t) Proximity estimation The receiver can estimate the distance by analyzing the power of the Bluetooth signal received. It can also categorize the beacons into four proximity zones: • immediate (strong signal ! a few centimeters) • near (medium signal ! up to a few meters) • far (weak signal ! more than a few meters) • unknown (very weak signal ! “hard to say”) There is also another, more distinct feature of ranging:
  • 20. Demonstration: simple restaurant Android app I have made a simple Android application to show the use of Estimote beacons. • Name: Notification Restaurant Beacon • Purpose: notify the daily menu of a restaurant • Topic: beacon monitoring • Cloud: None (for simplicity) • Used technologies: Estimote SDK for Android • Tested on: Nexus 5 with Android 6.0.1 • GitHub repository: https://github.com/davidepic91/ NotificationRestaurantBeacon.git
  • 21. Simple restaurant Android app (cond’t) 1. Open your own QR code reader or download and install "QR Code Reader" from Play Store. In the second case, go to setting and disable " Use the in- app browser“ 2. Read the QR code 3. Open URL 4. Click on the button in the upper right 5. Click on "direct download" and confirm with "ok“ 6. Go to phone settings and enable the installation of apps from unknown sources 7. Open .apk file from "Download" and install it. 8. Open the application In order to try the app, you can follow these steps:
  • 22. Simple restaurant Android app (cond’t) @Override
 public void onCreate() {
 super.onCreate();
 
 //ADD A BEACON MANAGER
 beaconManager = new BeaconManager(getApplicationContext());
 
 //START MONITORING
 beaconManager.setMonitoringListener(new BeaconManager.MonitoringListener() {
 @Override
 public void onEnteredRegion(Region region, List<Beacon> list) {
 showNotification("Restaurant AL VIALETTO", "Click for the dishes of the day");
 }
 @Override
 public void onExitedRegion(Region region) {
 }
 });
 beaconManager.connect(new BeaconManager.ServiceReadyCallback() {
 @Override
 public void onServiceReady() {
 beaconManager.startMonitoring(new Region("monitored region",
 UUID.fromString("B9407F30-F5F8-466E-AFF9-25556B57FE6D"), 17957, 56571));
 }
 });
 } Code from MyApplication.java
  • 23. Simple restaurant Android app (cond’t)
  • 24. Simple restaurant Android app (cond’t)