SlideShare a Scribd company logo
1 of 1
Download to read offline
Indoor Positioning System using BLE Beacons
Authors: Ajin Tom, Aniket Rege, Abhishek Shanthkumar
Contributors: Prateek Wadhwani, Manisha Jhawar, Ashritha Kandiraju, Snehal Jauhri
National Institute of Techology Karnataka, Surathkal
Objectives
The major objective of the project was to create
an indoor positioning system (IPS) to locate peo-
ple inside a building infrastructure using sensory
information collected by mobile devices, specifi-
cally by measuring distances to nearby Bluetooth
anchor nodes using Bluetooth Low Energy (BLE)
technology, and dynamically displaying the loca-
tion in a GUI. This can be extended to applica-
tions in:
• Indoor Positioning/Navigation
• Mobile Tracking
• Location Sharing
• Proximity Notifications
• Contextualized Information
• Real-Time Messaging
Motivation
BLE vs. GPS for IPS
GPS technology is generally used for tracking ob-
jects through satellites in lower Earth orbit. It is ac-
curate to a distance of 5-10 meters.In an indoor envi-
ronment, this level of accuracy is not usable. Hence
we use BLE nodes and a trilateration algorithm to
obtain an accuracy suitable for these dimensions.
Figure 1: Flow Chart for working of the IPS
Design and Methodology
The various modules that make up this project are
as follows:
• An Android App to display a list of available
BLE nodes in the area, along with their signal
strengths at a particular point in the form of
RSSI values (Received Signal Strength
Indication). These values are dynamically pushed
to the server via the HTTP POST method.
• A Server built in Flask, hosted on a
Raspberry-Pi to dynamically receive and
process data sent from the app, and send it for
further processing.
• A Trilateration Algorithm to calculate
location of a host phone in the building
environment based on its RSSI values.
• A Graphcal User Interface (GUI) built
with the Python Curses library to display
location of the host phone in realtime using x and
y coordinates from the above algorithm.
Hardware Setup
The HM-10 modules are to be set up in the corners
of a room, and extended through the indoor envi-
ronment. They are to be configured to behave as
broadcast beacons (iBeacon standard) using a
serial adapter to connect to a PC, and the Arduino
serial monitor for configuration using the AT com-
mand set. The modules operate on a supply voltage
of 3.3 volts, and draw an average of 180 mA of cur-
rent. Once powered, each broadcasts its own UUID
up to a range of 10 meters.
After this initial setup, a local server must also be
set up to process the data received from each host.
The server can be hosted locally on a PC, or online
through a dedicated portal. Once the server setup is
complete, the application is ready for phone hosts.
The host phones must have Bluetooth enabled, and
the ISTE BLE app installed. On walking through
the environment, the location of the phone is dy-
namically displayed and updated on the
GUI, after processing to calculate position on the
server side.
Important Result
The RSSI values from a particular phone host is encoded as a string in the format Host,value1,value2,value3;
and processed as a JSON object. JSON, or JavaScript Object Notation, is a human readable text
format used for easy parsing and secure data transfer for asynchronous browser/server communication. It
is essential to our implementation.
Components
The main components of the IPS are as shown in
figure 1. They are listed as:
1 Host Phone (Client)
2 Flask Server
3 Trilateration Algorithm
4 Curses GUI
iBeacon Standard
A Beacon is identified by three parameters: its
UUID, as well as Major and Minor values. Ma-
jor values are intended to identify and distinguish a
group âĂŞ for example all beacons in on a certain
floor will have a single major value. Minor values
are intended to identify and distinguish an individ-
ual âĂŞ that is, for a particular node. All these
parameters are displayed in a list format in the app.
Trilateration Algorithm
The RSSI values received from the beacons are used
by the Trilateration algorithmfor distance esti-
mation between the beacons and mobile device. By
using this method one considers three or more bea-
cons allocated in the building. The signal strengths
of these beacons decrease exponentially depending
on the distance between transmitter and receiver.
Thus this dependency can be considered as func-
tion of distance. The distance estimated by signal
strength is presented as a circle with a radius
around the beacon. The intersection of the three
beacons’ radii provides a point or an area of receiver.
For highly accurate location estimation, larger num-
ber of nodes (6-8) are required.
References and Resources
• http://www.blueluminance.com/HM-10-as-
iBeacon.pdf, Beacon
Configuration
• http://flask.pocoo.org/docs/0.10/, Flask
Documentation
• https://docs.python.org/2/howto/curses.html,
Curses GUI Documentation
Conclusion and Results
We made the following observations in the course
of this project:
• The application proved efficient and accurate
as an Indoor Positioning System
• Flask is an excellent and versatile framework
for establishing client-server connection
• Data sent as JSON objects is easy to parse and
secure in transmission
• GUI can be extended to an aesthetically
improved and dimensionally correct version
using Ionic and AngularJS

More Related Content

What's hot

Indoor Positioning Systems
Indoor Positioning SystemsIndoor Positioning Systems
Indoor Positioning SystemsProjectENhANCE
 
Indoor localization using wifi fingerprinting
Indoor localization using wifi fingerprintingIndoor localization using wifi fingerprinting
Indoor localization using wifi fingerprintingChaitali Bose Roy
 
Precision (Indoor) Real Time Location Systems
Precision (Indoor) Real Time Location SystemsPrecision (Indoor) Real Time Location Systems
Precision (Indoor) Real Time Location SystemsPeter Batty
 
Enhancing indoor localization using IoT techniques
Enhancing indoor localization using IoT techniquesEnhancing indoor localization using IoT techniques
Enhancing indoor localization using IoT techniquesMohamed Nabil, MSc.
 
Lecture 6 geolocation
Lecture 6 geolocationLecture 6 geolocation
Lecture 6 geolocationmoduledesign
 
WLAN and Bluetooth Indoor Positioning System
WLAN and Bluetooth Indoor Positioning SystemWLAN and Bluetooth Indoor Positioning System
WLAN and Bluetooth Indoor Positioning SystemProjectENhANCE
 
Indoor Mapping & Tracking
Indoor Mapping & TrackingIndoor Mapping & Tracking
Indoor Mapping & TrackingVimala Siravi
 
Indoor Positioning Systems (IPS) for Mobile Apps
Indoor Positioning Systems (IPS) for Mobile AppsIndoor Positioning Systems (IPS) for Mobile Apps
Indoor Positioning Systems (IPS) for Mobile Appsszabolcs budahazy
 
Zigbee Wireless Sensor Network - RTLS and Automation
Zigbee Wireless Sensor Network - RTLS and AutomationZigbee Wireless Sensor Network - RTLS and Automation
Zigbee Wireless Sensor Network - RTLS and AutomationJose María Carazo Cepedano
 
IRJET- Personal Assistant for Visually Impaired People in Malls
IRJET-  	  Personal Assistant for Visually Impaired People in MallsIRJET-  	  Personal Assistant for Visually Impaired People in Malls
IRJET- Personal Assistant for Visually Impaired People in MallsIRJET Journal
 
RFID based indoor tracking system
RFID based indoor tracking systemRFID based indoor tracking system
RFID based indoor tracking systemSherwin Rodrigues
 
The proposed System for Indoor Location Tracking
The proposed System for Indoor Location TrackingThe proposed System for Indoor Location Tracking
The proposed System for Indoor Location TrackingEditor IJCATR
 
Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...
Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...
Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...Eswar Publications
 
Range Free Localization using Expected Hop Progress in Wireless Sensor Network
Range Free Localization using Expected Hop Progress in Wireless Sensor NetworkRange Free Localization using Expected Hop Progress in Wireless Sensor Network
Range Free Localization using Expected Hop Progress in Wireless Sensor NetworkAM Publications
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)ijceronline
 
PARTICLE FILTER APPROACH TO UTILIZATION OF WIRELESS SIGNAL STRENGTH FOR MOBIL...
PARTICLE FILTER APPROACH TO UTILIZATION OF WIRELESS SIGNAL STRENGTH FOR MOBIL...PARTICLE FILTER APPROACH TO UTILIZATION OF WIRELESS SIGNAL STRENGTH FOR MOBIL...
PARTICLE FILTER APPROACH TO UTILIZATION OF WIRELESS SIGNAL STRENGTH FOR MOBIL...ijwmn
 

What's hot (20)

Indoor Positioning Systems
Indoor Positioning SystemsIndoor Positioning Systems
Indoor Positioning Systems
 
Indoor localization using wifi fingerprinting
Indoor localization using wifi fingerprintingIndoor localization using wifi fingerprinting
Indoor localization using wifi fingerprinting
 
Geolocalisation
GeolocalisationGeolocalisation
Geolocalisation
 
Precision (Indoor) Real Time Location Systems
Precision (Indoor) Real Time Location SystemsPrecision (Indoor) Real Time Location Systems
Precision (Indoor) Real Time Location Systems
 
Enhancing indoor localization using IoT techniques
Enhancing indoor localization using IoT techniquesEnhancing indoor localization using IoT techniques
Enhancing indoor localization using IoT techniques
 
Lecture 6 geolocation
Lecture 6 geolocationLecture 6 geolocation
Lecture 6 geolocation
 
WLAN and Bluetooth Indoor Positioning System
WLAN and Bluetooth Indoor Positioning SystemWLAN and Bluetooth Indoor Positioning System
WLAN and Bluetooth Indoor Positioning System
 
Indoor Mapping & Tracking
Indoor Mapping & TrackingIndoor Mapping & Tracking
Indoor Mapping & Tracking
 
Indoor Positioning Systems (IPS) for Mobile Apps
Indoor Positioning Systems (IPS) for Mobile AppsIndoor Positioning Systems (IPS) for Mobile Apps
Indoor Positioning Systems (IPS) for Mobile Apps
 
Indoor Tracking System
Indoor Tracking SystemIndoor Tracking System
Indoor Tracking System
 
Zigbee Wireless Sensor Network - RTLS and Automation
Zigbee Wireless Sensor Network - RTLS and AutomationZigbee Wireless Sensor Network - RTLS and Automation
Zigbee Wireless Sensor Network - RTLS and Automation
 
IRJET- Personal Assistant for Visually Impaired People in Malls
IRJET-  	  Personal Assistant for Visually Impaired People in MallsIRJET-  	  Personal Assistant for Visually Impaired People in Malls
IRJET- Personal Assistant for Visually Impaired People in Malls
 
RFID based indoor tracking system
RFID based indoor tracking systemRFID based indoor tracking system
RFID based indoor tracking system
 
The proposed System for Indoor Location Tracking
The proposed System for Indoor Location TrackingThe proposed System for Indoor Location Tracking
The proposed System for Indoor Location Tracking
 
Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...
Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...
Nuzzer algorithm based Human Tracking and Security System for Device-Free Pas...
 
Localization in wsn
Localization in wsnLocalization in wsn
Localization in wsn
 
Range Free Localization using Expected Hop Progress in Wireless Sensor Network
Range Free Localization using Expected Hop Progress in Wireless Sensor NetworkRange Free Localization using Expected Hop Progress in Wireless Sensor Network
Range Free Localization using Expected Hop Progress in Wireless Sensor Network
 
Potential technogies
Potential technogiesPotential technogies
Potential technogies
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
PARTICLE FILTER APPROACH TO UTILIZATION OF WIRELESS SIGNAL STRENGTH FOR MOBIL...
PARTICLE FILTER APPROACH TO UTILIZATION OF WIRELESS SIGNAL STRENGTH FOR MOBIL...PARTICLE FILTER APPROACH TO UTILIZATION OF WIRELESS SIGNAL STRENGTH FOR MOBIL...
PARTICLE FILTER APPROACH TO UTILIZATION OF WIRELESS SIGNAL STRENGTH FOR MOBIL...
 

Similar to indoor-positioning-system

IRJET- Survey Paper on Human Following Robot
IRJET- Survey Paper on Human Following RobotIRJET- Survey Paper on Human Following Robot
IRJET- Survey Paper on Human Following RobotIRJET Journal
 
Bio-inspired algorithm for decisioning wireless access point installation
Bio-inspired algorithm for decisioning wireless access point installation Bio-inspired algorithm for decisioning wireless access point installation
Bio-inspired algorithm for decisioning wireless access point installation IJECEIAES
 
Hybridised_Positioning_Algorithms_in_Location_Based_Services
Hybridised_Positioning_Algorithms_in_Location_Based_ServicesHybridised_Positioning_Algorithms_in_Location_Based_Services
Hybridised_Positioning_Algorithms_in_Location_Based_ServicesNavid Solhjoo
 
EFFECTIVE AND SECURE DATA COMMUNICATION IN WSNs CONSIDERING TRANSFER MODULE O...
EFFECTIVE AND SECURE DATA COMMUNICATION IN WSNs CONSIDERING TRANSFER MODULE O...EFFECTIVE AND SECURE DATA COMMUNICATION IN WSNs CONSIDERING TRANSFER MODULE O...
EFFECTIVE AND SECURE DATA COMMUNICATION IN WSNs CONSIDERING TRANSFER MODULE O...IJEEE
 
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 systemSubhash Suman
 
6 article azojete vol 8 53 66
6 article azojete vol 8 53 666 article azojete vol 8 53 66
6 article azojete vol 8 53 66Oyeniyi Samuel
 
Data Center Network Design Using Metrics And Their Results...
Data Center Network Design Using Metrics And Their Results...Data Center Network Design Using Metrics And Their Results...
Data Center Network Design Using Metrics And Their Results...Sharon Roberts
 
Design and implementation of a centralized approach for multi-node localizatio
Design and implementation of a centralized approach for multi-node localizatioDesign and implementation of a centralized approach for multi-node localizatio
Design and implementation of a centralized approach for multi-node localizatioIJECEIAES
 
Optimized mapping and navigation of remote area through an autonomous robot
Optimized mapping and navigation of remote area through an autonomous robotOptimized mapping and navigation of remote area through an autonomous robot
Optimized mapping and navigation of remote area through an autonomous roboteSAT Publishing House
 
Development and Field Evaluation of a Multichannel LoRa Sensor for IoT Monito...
Development and Field Evaluation of a Multichannel LoRa Sensor for IoT Monito...Development and Field Evaluation of a Multichannel LoRa Sensor for IoT Monito...
Development and Field Evaluation of a Multichannel LoRa Sensor for IoT Monito...Redmond R. Shamshiri
 
Bus Data Acquisition and Remote Monitoring System Using Gsm & Can
Bus Data Acquisition and Remote Monitoring System Using Gsm & CanBus Data Acquisition and Remote Monitoring System Using Gsm & Can
Bus Data Acquisition and Remote Monitoring System Using Gsm & CanIOSR Journals
 
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...eSAT Journals
 

Similar to indoor-positioning-system (20)

IRJET- Survey Paper on Human Following Robot
IRJET- Survey Paper on Human Following RobotIRJET- Survey Paper on Human Following Robot
IRJET- Survey Paper on Human Following Robot
 
Coordinate Location Fingerprint Based On WiFi Service
Coordinate Location Fingerprint Based On  WiFi ServiceCoordinate Location Fingerprint Based On  WiFi Service
Coordinate Location Fingerprint Based On WiFi Service
 
E010412433
E010412433E010412433
E010412433
 
F224450
F224450F224450
F224450
 
Bio-inspired algorithm for decisioning wireless access point installation
Bio-inspired algorithm for decisioning wireless access point installation Bio-inspired algorithm for decisioning wireless access point installation
Bio-inspired algorithm for decisioning wireless access point installation
 
Hybridised_Positioning_Algorithms_in_Location_Based_Services
Hybridised_Positioning_Algorithms_in_Location_Based_ServicesHybridised_Positioning_Algorithms_in_Location_Based_Services
Hybridised_Positioning_Algorithms_in_Location_Based_Services
 
EFFECTIVE AND SECURE DATA COMMUNICATION IN WSNs CONSIDERING TRANSFER MODULE O...
EFFECTIVE AND SECURE DATA COMMUNICATION IN WSNs CONSIDERING TRANSFER MODULE O...EFFECTIVE AND SECURE DATA COMMUNICATION IN WSNs CONSIDERING TRANSFER MODULE O...
EFFECTIVE AND SECURE DATA COMMUNICATION IN WSNs CONSIDERING TRANSFER MODULE O...
 
3 ijcse-01222-5
3 ijcse-01222-53 ijcse-01222-5
3 ijcse-01222-5
 
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
 
6 article azojete vol 8 53 66
6 article azojete vol 8 53 666 article azojete vol 8 53 66
6 article azojete vol 8 53 66
 
D017522833
D017522833D017522833
D017522833
 
Data Center Network Design Using Metrics And Their Results...
Data Center Network Design Using Metrics And Their Results...Data Center Network Design Using Metrics And Their Results...
Data Center Network Design Using Metrics And Their Results...
 
Design and implementation of a centralized approach for multi-node localizatio
Design and implementation of a centralized approach for multi-node localizatioDesign and implementation of a centralized approach for multi-node localizatio
Design and implementation of a centralized approach for multi-node localizatio
 
Optimized mapping and navigation of remote area through an autonomous robot
Optimized mapping and navigation of remote area through an autonomous robotOptimized mapping and navigation of remote area through an autonomous robot
Optimized mapping and navigation of remote area through an autonomous robot
 
Development and Field Evaluation of a Multichannel LoRa Sensor for IoT Monito...
Development and Field Evaluation of a Multichannel LoRa Sensor for IoT Monito...Development and Field Evaluation of a Multichannel LoRa Sensor for IoT Monito...
Development and Field Evaluation of a Multichannel LoRa Sensor for IoT Monito...
 
311 314
311 314311 314
311 314
 
311 314
311 314311 314
311 314
 
06527389
0652738906527389
06527389
 
Bus Data Acquisition and Remote Monitoring System Using Gsm & Can
Bus Data Acquisition and Remote Monitoring System Using Gsm & CanBus Data Acquisition and Remote Monitoring System Using Gsm & Can
Bus Data Acquisition and Remote Monitoring System Using Gsm & Can
 
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...
 

indoor-positioning-system

  • 1. Indoor Positioning System using BLE Beacons Authors: Ajin Tom, Aniket Rege, Abhishek Shanthkumar Contributors: Prateek Wadhwani, Manisha Jhawar, Ashritha Kandiraju, Snehal Jauhri National Institute of Techology Karnataka, Surathkal Objectives The major objective of the project was to create an indoor positioning system (IPS) to locate peo- ple inside a building infrastructure using sensory information collected by mobile devices, specifi- cally by measuring distances to nearby Bluetooth anchor nodes using Bluetooth Low Energy (BLE) technology, and dynamically displaying the loca- tion in a GUI. This can be extended to applica- tions in: • Indoor Positioning/Navigation • Mobile Tracking • Location Sharing • Proximity Notifications • Contextualized Information • Real-Time Messaging Motivation BLE vs. GPS for IPS GPS technology is generally used for tracking ob- jects through satellites in lower Earth orbit. It is ac- curate to a distance of 5-10 meters.In an indoor envi- ronment, this level of accuracy is not usable. Hence we use BLE nodes and a trilateration algorithm to obtain an accuracy suitable for these dimensions. Figure 1: Flow Chart for working of the IPS Design and Methodology The various modules that make up this project are as follows: • An Android App to display a list of available BLE nodes in the area, along with their signal strengths at a particular point in the form of RSSI values (Received Signal Strength Indication). These values are dynamically pushed to the server via the HTTP POST method. • A Server built in Flask, hosted on a Raspberry-Pi to dynamically receive and process data sent from the app, and send it for further processing. • A Trilateration Algorithm to calculate location of a host phone in the building environment based on its RSSI values. • A Graphcal User Interface (GUI) built with the Python Curses library to display location of the host phone in realtime using x and y coordinates from the above algorithm. Hardware Setup The HM-10 modules are to be set up in the corners of a room, and extended through the indoor envi- ronment. They are to be configured to behave as broadcast beacons (iBeacon standard) using a serial adapter to connect to a PC, and the Arduino serial monitor for configuration using the AT com- mand set. The modules operate on a supply voltage of 3.3 volts, and draw an average of 180 mA of cur- rent. Once powered, each broadcasts its own UUID up to a range of 10 meters. After this initial setup, a local server must also be set up to process the data received from each host. The server can be hosted locally on a PC, or online through a dedicated portal. Once the server setup is complete, the application is ready for phone hosts. The host phones must have Bluetooth enabled, and the ISTE BLE app installed. On walking through the environment, the location of the phone is dy- namically displayed and updated on the GUI, after processing to calculate position on the server side. Important Result The RSSI values from a particular phone host is encoded as a string in the format Host,value1,value2,value3; and processed as a JSON object. JSON, or JavaScript Object Notation, is a human readable text format used for easy parsing and secure data transfer for asynchronous browser/server communication. It is essential to our implementation. Components The main components of the IPS are as shown in figure 1. They are listed as: 1 Host Phone (Client) 2 Flask Server 3 Trilateration Algorithm 4 Curses GUI iBeacon Standard A Beacon is identified by three parameters: its UUID, as well as Major and Minor values. Ma- jor values are intended to identify and distinguish a group âĂŞ for example all beacons in on a certain floor will have a single major value. Minor values are intended to identify and distinguish an individ- ual âĂŞ that is, for a particular node. All these parameters are displayed in a list format in the app. Trilateration Algorithm The RSSI values received from the beacons are used by the Trilateration algorithmfor distance esti- mation between the beacons and mobile device. By using this method one considers three or more bea- cons allocated in the building. The signal strengths of these beacons decrease exponentially depending on the distance between transmitter and receiver. Thus this dependency can be considered as func- tion of distance. The distance estimated by signal strength is presented as a circle with a radius around the beacon. The intersection of the three beacons’ radii provides a point or an area of receiver. For highly accurate location estimation, larger num- ber of nodes (6-8) are required. References and Resources • http://www.blueluminance.com/HM-10-as- iBeacon.pdf, Beacon Configuration • http://flask.pocoo.org/docs/0.10/, Flask Documentation • https://docs.python.org/2/howto/curses.html, Curses GUI Documentation Conclusion and Results We made the following observations in the course of this project: • The application proved efficient and accurate as an Indoor Positioning System • Flask is an excellent and versatile framework for establishing client-server connection • Data sent as JSON objects is easy to parse and secure in transmission • GUI can be extended to an aesthetically improved and dimensionally correct version using Ionic and AngularJS