building iot devices with arm mbed - rise manchester
TRANSCRIPT
Building IoT devices
RISE Manchester 4 May 2016
with ARM mbed
@janjongboom
Developer EvangelistInternet of Things
Brought some help
Jonny Austin Liyou Zhou
ARM Development Solutions Group: High Performance Ecosystem
ARM Performance Libraries
Open SourceHPC
Userspace PerformanceTools
Research Compilers
Commercially-supported BLAS, LAPACK and FFT
routines optimized forARM-compatible
microarchitectures.
Identification ofissues in ARM builds
of open-source packages and the
upstreaming of fixes.
New commercial tools to deliver actionable
performance improvement advice to software developers.
New compiler technology to support
and evaluate next-generation ARM Architecture.
The mission:Enable the ARM Software Ecosystem for HPC and the Enterprise.
25 engineers in Manchester, UK (New location, founded July 2014).
Developers
Limited world viewWorld is bigger than your pocket!
Interact with the physical world
From the internet of humans to the internet of devices
Three problemsHow to build smart devices?
How to connect these devices?
How to manage these devices?
Programming devices
UnstreamlinedSingle-platform tools
No code sharing Lack of libraries, documentation
(since 2009)
mbed
Online IDE
Code sharing
Single way of building for all targets
91 boards supported
~200 staff working on it
170,000+ developers
Open source embedded platform
Operating system for microcontrollers
Rock-solid HAL and libraries (e.g. Bluetooth)
Developing for mbedC / C++ (not as scary as it sounds)
Large set of libraries
Solid Bluetooth stack
Connectivity
Internet of HumansHigh bandwidth
Low latency
Internet of ThingsBandwidth seldom matters
Latency might matter
Range & Battery do matter
Cellular
WiFi
Zigbee
Bluetooth Low Energy
Thread / 6LoWPAN
LoRa
unique position
Device management
Similar problems
• Security? No green lock for IoT.
• Manage devices over multiple protocols.
• Firmware updates?
We have all the pieces
• Security: mbed TLS and uVisor.
• Protocols: set of vetted and field-tested libraries.
• Updates? No one knows more about Cortex-M series than we.
mbed Device Connector
• Single way of addressing devices, regardless of protocol
• End to end encrypted with client side certs
• Management functions
Available today
• Free up to 100 connected devices.
• http://connector.mbed.com
Connector demo's
Time to get hacking
• Bluetooth Low Energy & WiFi
• Developing devices
• Plenty of prototype peripherals
Program
• Let's build a connected device
• BLE on the device, app on your phone
• Toggle LEDs, keep track of buttons
• After that: exercises or free hacking!
bit.ly/rise-instructions