Hacking the Internet of
Things
with iOS, Ruby, Arduino and Bluetooth LE
Knoxville CocoaHeads
whoami
Mike Hagedorn
• @mwhagedorn
• github.com/mwhagedorn
Internet of Things
• Physical Computing
Things That Talk
@MarsCuriosity
IOT Devices
https://www.raspberrypi.org/
http://supermechanical.com/twine/
http://we-io.net
Arduino
• Physical Computer Platform on a chip
microcontroller vs microprocessor
Arduino IDE
Processing
C
Ruby Motion
LightBlue Bean
• https://punchthrough.com/bean/
• The LightBlue Bean is a low energy Bluetooth Arduino microcontroller
• iOS, OSX, Win8, Android
LightBlue Bean Features
• Accelerometer
• Temperature Sensor
• RGB LED
• I/O
• Proto Board
• Wireless Programming
LightBlue Bean Workflow
• Arduino Workflow
• Processing -> USB Serial -> Arduino
• LBB Workflow
• Processing -> “sandbox” -> Wireless Serial ->
LBB
LightBlue Bean Workflow
Bean Loader For iOS
Use Case
++
= CHAOS
Teleworking
BusyBee
“Daddy is On The Phone”
https://github.com/mwhagedorn/busybee
Architecture
Demo
Resources
• iOS Sensor Apps With Arduino
• Light Blue Bean
• iPhone & iPad Electronic Projects
• Building Wireless Sensor Networks With Arduino

Hacking the Internet of Things