Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Draft - BLE sensor for Android

1,012 views

Published on

https://droidconin.talkfunnel.com/2015/4-how-to-create-your-own-ble-sensor-for-android

For the complete session (17/18 DEC 2015), visit the above link and Vote +1.

Published in: Technology
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... ,DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Draft - BLE sensor for Android

  1. 1. Create your own BLE sensor for ANDROID ( a “work-in-progress” slide-deck… ) For the complete session VOTE +1 @ DroidCon2015
  2. 2. A 5 minute guide to BLE (Bluetooth Low Energy) ● Will NOT talk about ANT / ANT+ ○ though conceptually similar, ANT ≠ BLE. ● “Low-Energy” = 3 years on a single charge. ○ How does BLE achieve this? ○ BLE ≠ BT. Differences from “classic” BT. ● What’s new? ○ GATT profiles. ○ BLE-advertising. ○ iBeacon. ○ Services, Characteristics and Descriptors. ○ What's so special about xxxxxxxx-0000-1000-8000-00805F9B34FB ? ○ ...
  3. 3. Reverse engineering a BLE peripheral ● Sniffing the “ether” ○ ... ● Software Monitor ○ Watch out of BLE advertisements ○ Remember predefined GATT? ○ Query descriptors ● https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx ● https://www.bluetooth.org/en-us/specification/assigned-numbers/company-identifiers ○ https://github.com/search?utf8=%E2%9C%93&q=0x013A+% 22Tencent+Holdings+Limited%22&type=Code&ref=searchresults ● ...
  4. 4. Xiaomi Mi-band teardown ● DA14580 + ADXL362 + TPS62736 = Rs.999 Rs.500 ● Other components? ● … ● Pedometer (steps) ● Activity monitor ● Quality of Sleep ● Unlock phone
  5. 5. nRF24L01+ - A reprogrammable BLE beacon for Rs.150 ● WiFi / BT / BLE / ZigBee = 2.4Ghz ISM ( Industrial, Scientific and Medical ) band. ● nRF24L01+ is a ○ highly integrated ○ ultra low power (ULP) ○ 2Mbps RF transceiver IC for the 2.4GHz ISM band. ● Sounds like BLE no? ○ Yes, it is! :) ○ Not entirely though :( ○ Limited BLE advertising capability.
  6. 6. Demo - Customised BLE peripheral for an Android On the peripheral device end... ● Sensor + BLE-radio + antenna + MC/MP + power = BLE Peripheral ○ a small battery-powered breadboard prototype ...and the Android app ● Android APIs ○ Documentation ○ Reference to BLE videos / books / blogs ● Sample libraries / apps ○ Interesting BLE app examples from play store ○ Source-code!
  7. 7. Thank you... Q & A
  8. 8. ● Serial interface ● AT commands ● Plug-n-play persistent settings ● ESP12 ○ Range = 20meters (without external antenna) Bonus : ESP8266 - A WiFi client/access-point for Rs.300
  9. 9. Bonus : Rinnie-bot ● RFID for now ○ programmable passive RFID tags for Rs. 20 each ( << BLE beacons) ○ each RFID-tag can be a pre-defined command ■ goto a location and do stuff ■ goto a location, get stuff and come back (back-trace) ■ Can program other activities like interactive playmate ● LCD display for expressions. ● Buzzer for sound. ● An Arduino-UNO for brains. ● SDcard for data storage. ● BLE looks promising ○ Can progressively seek / search upto 100feet. ○ What else?...
  10. 10. Create your own BLE sensor for ANDROID ( a lot more details/slides to come... ) For the complete session VOTE +1 @ DroidCon2015

×