measuring gravity with btle
DESCRIPTION
In my second LBTHD talk I show how to build a bluetooth accelerometer and App to graph the dataTRANSCRIPT
![Page 1: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/1.jpg)
London Bluetooth Hardware Developers
Sponsored by
Venue
#LBTHD
.IDEAL
![Page 2: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/2.jpg)
🍕🍻💬 🍕🍻💬 🍕🍻💬
“Measuring gravity with BTLE, BTLE News”Nick Brook @nrbrook
#LBTHD
“Creating the Internet of My Things with Bluetooth Smart” Martin Woolley @bluetooth_mdw
.IDEAL
![Page 3: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/3.jpg)
#LBTHD .IDEAL
“Creating the Internet of My Things with Bluetooth Smart” Martin Woolley @bluetooth_mdw
![Page 4: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/4.jpg)
#LBTHD .IDEAL
Measuring gravity with BTLE
![Page 5: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/5.jpg)
#LBTHD .IDEAL
Demo!
![Page 6: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/6.jpg)
#LBTHD .IDEAL
• https://github.com/nrbrook/AccelerometerDemo
• Requirements:
• DKBLE (£135 ex VAT)
• Mac with Xcode
• iOS developer membership (£60)
• iPad or iPhone
![Page 7: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/7.jpg)
#LBTHD .IDEAL
BTLE News
• Bluetooth 4.1
• iOS 8
• WatchKit
![Page 8: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/8.jpg)
#LBTHD .IDEAL
Bluetooth 4.1• Extension of Bluetooth 4.0
• New features + errata
• No hardware changes
• No mandatory features
• All Bluetooth 4.0 devices can support 4.1 via software update
![Page 9: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/9.jpg)
#LBTHD .IDEAL
Bluetooth 4.1
• Coexistence with LTE
• Dual mode — Central and Peripheral
• L2CAP Dedicated Channels, paving the way for IPv6
• L2CAP Connection oriented channels, enabling bulk data transfer
![Page 10: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/10.jpg)
#LBTHD .IDEAL
Bluetooth 4.1• Quick Reference Guide
https://www.bluetooth.org/en-us/Documents/Bluetooth%204.1%20Quick%20Reference%20Guide.pdf
• Bluetooth technical descriptionhttps://www.bluetooth.org/en-us/Documents/Bluetooth%204.1%20Technical%20Description.pdf
• FAQhttps://www.bluetooth.org/en-us/Documents/Bluetooth%204.1%20FAQ.pdf
![Page 11: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/11.jpg)
#LBTHD .IDEAL
iOS 8• Suggested Apps
• Geofence when not installed
• iBeacon when installed
![Page 12: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/12.jpg)
#LBTHD .IDEAL
HomeKit• Apple’s framework for “communicating with and
controlling connected accessories in the user’s home”
• Communication over Bluetooth or WiFi
• Requires additional device implementation to MFi Spec
• Alternatively can use ‘hub’ as a proxy
![Page 13: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/13.jpg)
#LBTHD .IDEAL
WatchKit
• Apple’s watch App framework
• Runs most of the code on the iPhone, presumably communicating via Bluetooth
![Page 14: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/14.jpg)
#LBTHD .IDEAL
WatchKit
![Page 15: Measuring gravity with BTLE](https://reader034.vdocuments.mx/reader034/viewer/2022042700/559b472e1a28abc52e8b4600/html5/thumbnails/15.jpg)
#LBTHD .IDEAL
Thanks for coming!
Martin Woolley @bluetooth_mdw Nick Brook @nrbrook 🍻Blueberry Bar, across the road