SlideShare a Scribd company logo
RubyMotion
with hardware
Connecting
Hi
I’m @MarkVillacampa
WARNING
SPANIARD
Using RubyMotion
since mid 2012
Connecting RubyMotion with Hardware - Rubymotion #Inspect 2014
Connecting RubyMotion with Hardware - Rubymotion #Inspect 2014
Connecting RubyMotion with Hardware - Rubymotion #Inspect 2014
Connecting RubyMotion with Hardware - Rubymotion #Inspect 2014
Technologies
Bluetooth
WifiJack
Lightning
Long	

Range
Short	

Range
Difficult
Easy
http://web.eecs.umich.edu/~prabal/projects/hijack/
Project Hijack
Connecting RubyMotion with Hardware - Rubymotion #Inspect 2014
MFI
•Revenue share with Apple
•Strict quality controls
•Licensing fees
•Proprietary chips for authentication
External Accessory Kit
EAAccessory
EASession
EAAccessoryDelegate
Redpark
Lightning Serial Cable
www.redpark.com
Bonjour
The thousand names technology: 	

!
Zeroconf, Rendezvous, mDNSResponder...
NSNetService
NSNetServiceBrowser
www.spark.io
Based on TI3300
Spark Core
Bluetooth LE
CoreBluetooth
CBCentralManager → discovers and connects to devices
CBPeripheral → the device you connect to
CBPeripheralManager → turns your iOS device into a peripheral
CBCentral → another device that connects to your device
CoreBluetooth
CBService → features that the device has
CBCharacteristic → a value you can get or set on the device
iBeacons
Just Bluetooth LE devices
Apple Notification Center Service
(ANCS)
Read notifications from the iOS device
The Pebble smartwatch uses this to display notifications
WWDC
HM-10
Based on TI CC2541
Bluetooth LE
Bluetooth UART RS232 Converter
https://github.com/kyab/mruby-arduino
Ruby on Arduino!!11!1!!
Where to buy some toys!
!
USA:
www.adafruit.com
www.sparkfun.com
!
China (worldwide shipping):
www.seeedstudio.com
www.kickstarter.com
MotionBluetooth
DSL to work with Bluetooth LE devices
(Also Blackberry and MS-DOS Phone)
DEMO
Connecting RubyMotion with Hardware - Rubymotion #Inspect 2014

More Related Content

PPTX
X-platform iBeacon apps with Xamarin
PPTX
PPTX
KazooCon 2014 - Control Cellular Service via APIs
PDF
Physically securing the wireless installation
PPT
Developing context aware applications with iBeacons technology
PPTX
Internet of Things 101 - Part II
PPT
Anyfi.net Simple™
PDF
NewAer Proximity SDK Messaging Overview
X-platform iBeacon apps with Xamarin
KazooCon 2014 - Control Cellular Service via APIs
Physically securing the wireless installation
Developing context aware applications with iBeacons technology
Internet of Things 101 - Part II
Anyfi.net Simple™
NewAer Proximity SDK Messaging Overview

What's hot (20)

PDF
Raspberry pi project smart motion detection system using raspberry pi 3
PDF
ESPNow Again..
PDF
NewAer - Proximity Platform One Sheet
PPTX
Raspberry Pi as IoT gateway
PDF
Clear pass access management basics zach jennings
PDF
Wireless Feature Update
PDF
Sviluppo IoT - Un approccio standard da Nerd ad Impresa, prove pratiche di Me...
PDF
InterLink
PPTX
Smart surveillance monitoring system using raspberry pi and
PDF
Bmw coding software list
PPTX
Eclipse Edje Project Status
PDF
Alexa meet up bangalore - 05-JAN-2019
PPTX
三分鐘讓你輕鬆開發 iBeacon
PDF
The Fundamentals of Internet of Everything Connectivity
ZIP
Irv Shapiro's Presentation at eComm 2009
PDF
Canopy SF Home Automation Meetup Slides 10/14/2014
PPTX
Make your home smarter with Alexa
PDF
Simulating LoRaWAN devices - LoRa Alliance AMM 2019
PDF
Adac smart bug concealment
PPTX
MicroEJ software solution for IoT and embedded devices
Raspberry pi project smart motion detection system using raspberry pi 3
ESPNow Again..
NewAer - Proximity Platform One Sheet
Raspberry Pi as IoT gateway
Clear pass access management basics zach jennings
Wireless Feature Update
Sviluppo IoT - Un approccio standard da Nerd ad Impresa, prove pratiche di Me...
InterLink
Smart surveillance monitoring system using raspberry pi and
Bmw coding software list
Eclipse Edje Project Status
Alexa meet up bangalore - 05-JAN-2019
三分鐘讓你輕鬆開發 iBeacon
The Fundamentals of Internet of Everything Connectivity
Irv Shapiro's Presentation at eComm 2009
Canopy SF Home Automation Meetup Slides 10/14/2014
Make your home smarter with Alexa
Simulating LoRaWAN devices - LoRa Alliance AMM 2019
Adac smart bug concealment
MicroEJ software solution for IoT and embedded devices
Ad

Similar to Connecting RubyMotion with Hardware - Rubymotion #Inspect 2014 (20)

PDF
[HES2013] Hacking apple accessories to pown iDevices – Wake up Neo! Your phon...
PPTX
Exploring the Internet of Things Using Ruby
PPTX
BLE Localiser (Full) for iOS Dev Scout
PPT
War field spying robot
PDF
IRJET- Wireless Car using WIFI – IoT – Bluetooth
PDF
DIY Electronics with Ruby
PDF
Gentlemen, Start Your Engines 20120514
PPTX
The Hardware to Web Commerce Revolution
PDF
Bluetooth Technology In Wireless Communications
PDF
Bluetooth Low Energy In Android Java Your Guide To Programming The Internet O...
PDF
Hacking the Internet of Things
PDF
iOS Bluetooth Low Energy (BLE) Remote Robot Interface
PDF
PDF
Edge Of The Web
PPTX
BLE Talk
PDF
Desert Code Camp 2014.2 Intro to Bluetooth Low Energy
PPT
Atmega based garage door openning
PDF
Connecting Hardware to Flex (360MAX)
PPT
Raspberry-Pi
DOCX
Speed and direction control of dc motor using android mobile application chan...
[HES2013] Hacking apple accessories to pown iDevices – Wake up Neo! Your phon...
Exploring the Internet of Things Using Ruby
BLE Localiser (Full) for iOS Dev Scout
War field spying robot
IRJET- Wireless Car using WIFI – IoT – Bluetooth
DIY Electronics with Ruby
Gentlemen, Start Your Engines 20120514
The Hardware to Web Commerce Revolution
Bluetooth Technology In Wireless Communications
Bluetooth Low Energy In Android Java Your Guide To Programming The Internet O...
Hacking the Internet of Things
iOS Bluetooth Low Energy (BLE) Remote Robot Interface
Edge Of The Web
BLE Talk
Desert Code Camp 2014.2 Intro to Bluetooth Low Energy
Atmega based garage door openning
Connecting Hardware to Flex (360MAX)
Raspberry-Pi
Speed and direction control of dc motor using android mobile application chan...
Ad

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
August Patch Tuesday
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Encapsulation theory and applications.pdf
PDF
Hybrid model detection and classification of lung cancer
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Getting Started with Data Integration: FME Form 101
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
1. Introduction to Computer Programming.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
Chapter 5: Probability Theory and Statistics
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Zenith AI: Advanced Artificial Intelligence
Group 1 Presentation -Planning and Decision Making .pptx
DP Operators-handbook-extract for the Mautical Institute
A novel scalable deep ensemble learning framework for big data classification...
WOOl fibre morphology and structure.pdf for textiles
August Patch Tuesday
TLE Review Electricity (Electricity).pptx
Encapsulation theory and applications.pdf
Hybrid model detection and classification of lung cancer
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Heart disease approach using modified random forest and particle swarm optimi...
Getting Started with Data Integration: FME Form 101
Accuracy of neural networks in brain wave diagnosis of schizophrenia
1. Introduction to Computer Programming.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Hindi spoken digit analysis for native and non-native speakers
Enhancing emotion recognition model for a student engagement use case through...
Chapter 5: Probability Theory and Statistics
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf

Connecting RubyMotion with Hardware - Rubymotion #Inspect 2014