solution development in iot
Post on 15-Apr-2017
239 Views
Preview:
TRANSCRIPT
Slide 1
Guide : By : SUMANTH SAKKARA SWAMY J S Dept. of ECE., PESIT(1PI14LVS17)
Controlling IOT Devicesbased on Bluetooth Low Energy devices
Dept of ECE, PESIT
CONTENTSObjectivesIntroduction Key Features MethodologyApplications Future WorkReferences
Dept of ECE, PESIT2
OBJECTIVES
Establishing a connection between a real time component(like senors) and nRF51822 Board.
Writing Embedded C code for communication from board to nrf Master Control application in an Android mobile. Here the communication uses BLE service.
The application interacts with the Web Server depending on the control signals sent by the board .
From Server again we connect to same Android device or any other device which has internet which over all comes under Internet of Things(IoT) implementation.
Dept of ECE, PESIT3
INTRODUCTION Bluetooth Low Energy (BLE), also known as Bluetooth Smart started as part of the Bluetooth 4.0 Core Specification
Originally designed by Nokia as Wibree
Lowest possible power consumption, specifically optimized for low cost, low bandwidth, low power, and low complexity
nRF51822is a powerful, highly flexible multiprotocol SoC ideally suited for Bluetooth low energy.Dept of ECE, PESIT4
nRF51822can interact without CPU intervention through the Programmable Peripheral Interconnect (PPI) system.
nRF Master Control Panel Android app is a powerful generic tool that allows to scan and explore Bluetooth Smart devices and communicate with them.
nRF Master Control Panel supports a number of Bluetooth SIG adopted profiles, as well as the Device Firmware Update profile (DFU) from Nordic Semiconductor.
Dept of ECE, PESIT5
Block DiagramFig 1: Block diagram of the projectDept of ECE, PESIT6
KEY FEATURES
nRF51822 Nordic Board:Single chip, highly flexible, 2.4 GHz multi-protocol device32-bit ARM Cortex M0 CPU core256kB/128kB flash + 32kB/16kB RAM3 data rates (2Mbps/1Mbps/250kbps)+4dBm output powerConfigurable I/O mapping for analog and digital I/O
Dept of ECE, PESIT7
nRF Master Control Panel application :Scans for Bluetooth Smart devicesParses advertisement dataShows RSSI graphConnects to any connectable deviceAllows read/write of characteristicsAllows enable/disable of notifications and indicationsSupports Device Firmware Update profile which allows user to upload a new application over-the-air (DFU OTA) from a HEX file
Dept of ECE, PESIT8
Bluetooth Smart functionality requires:
Supported on Android version 4.3 or laterTested on Nexus 4, Nexus 7, Samsung S4 with Android 4.3 and Nexus 4, Nexus 5 and Nexus 7 with Android 4.4DFU mode is compatible with nRF51822 devices that have S110 v5.2.1 and the boot loader from nRF51 SDK v4.4.1
Dept of ECE, PESIT9
MethodologyCodes are written in Embedded cSoft Device S110 is installed to build the MakefileHex files are generated with help of Makefile using GCC CompilerCtags are assigned to all the commands to link the filesHCI Tool is used to communicate between chip and PC if Bluetooth dongle is used else an USB cable can be usedDept of ECE, PESIT10
Fig 2: RedBeardLab nRF51822 Pinout
Dept of ECE, PESIT11
11
Fig 3.A: Profiles included in a deviceFig 3.B: Connections and DisconnectionsDept of ECE, PESIT12
Fig 3.C: Raw Data received by appFig 3.D: Heart Rate Measurement serviceDept of ECE, PESIT13
APPLICATIONS
Mobile phone accessoriesBeaconsWireless charging monitoringPC peripheralsConsumer Electronics (CE) remote controlsSmart HomeSports, fitness and healthcare sensorsSmart RF tagsIntelligent domestic appliancesIndustrial and commercial sensors
Dept of ECE, PESIT14
FUTURE WORKDeveloping Codes for particular applications like Heart rate or BP measurement and other Medical applications.Testing the code on other boards other than nRF51822 and also other microcontrollers. Creating another app to communicate with all the near by devices through BLE.Establishing controlling command in mobile appEstablishing a new framework server for interaction between PC/Mobile and Internet
Dept of ECE, PESIT15
REFERENCES[1] Kim, Hyun-Soo, Lee, Jungyub, Jang, Ju Wook, BLEmesh: A Wireless Mesh Network Protocol for Bluetooth Low Energy Devices, IEEE Conference Publications, 2015
[2] Ting Zhang, Jiang Lu, Fei Hu, Oi Hao, Bluetooth low energy for wearable sensor-based healthcare systems, IEEE Conference Publications, 2014
[3] Getting Started with Bluetooth Low Energy by Kevin Townsend, Carles Cufi, Akiba & Robert Davidson, First Edition,Oreilly Publications
[4] www.nordicsemi.com [5] www.devzone.nordicsemi.com [6] www.redbeard.comDept of ECE, PESIT16
16
top related