Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit
-
Upload
joe-speed -
Category
Automotive
-
view
1.738 -
download
12
Embed Size (px)
description
Transcript of Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

CONNECTING CARS WITH IOT MQTT
For more:
Joe Speed [email protected] @mobilebit on twitter mobilebit.wordpress.com linkedin.com/in/joespeed
mqtt.org m2m.demos.ibm.com live demos and HTML5 samples eclipse.org/paho MQTT source code ibm.com/messagesight fastest, secure communications for the car ibm.co/1e8D7R7 “MessageSight for Developers” free download bit.ly/1cvsauO YouTube demos & tutorials youtu.be/C3ebGjJ0KjM?t=1m22s car remote demo youtu.be/u69I-GLYd6I talk re car is mobile, social, big data, cloud

CONNECTED CAR IS A BIG DATA PROBLEM
• car sensors produce 2GB every 90 min • 60M cars manufactured each year • If driven 4 hours a day ..
103 exabytes

HTTP IS NOT HOW YOU DO THAT
• No QoS, no reliable messaging • Heavy, hundreds of bytes of overhead • Not designed for wireless, high latency • No pub/sub 1:many, many:many, etc • No, always connected, instant response • in summary, for connected car HTTP is ..
slow, heavy, unreliable

MQTT FOR MOBILE MESSAGING Faster M2M and User Experience
" pub/sub with QoS - engineered for wireless " socket, TLS 1.2, mutual authentication, etc. " MQTT vs HTTPS on Android & 3G
– 93x faster throughput,13k msg/sec on my iPad – 1/8th network overhead – faster, cheaper – 1/170th battery to receive, 1/11th to send
" Open standard, open source, very fast & reliable " eclipse.org/paho C, Java, JavaScript " mqtt.org for dozens of languages, platforms

WHO’S IN THE MIX WITH MQTT?
" usual suspects: IBM, SAP, Intel, Cisco, Software AG, TIBCO, VMWare, Red Hat, Pivotal, NIST, Eclipse, Apache, Emerson, Axway, et al. (even Oracle - google “JavaOne MQTT”)
" cool kids: M2Mi, 2lemetry, ThingWorx, Libelium,
Sierra Wireless, Telit, QNX, Wind River, Shaspa, Eurotech, Elecsys, Xively, et al.
" car guys: 1/2 dozen automakers, trucks, several tier-1 suppliers, telematics providers, etc.

Facebook Messenger FACEBOOK
(1,052,572)
" 945M mobile users, popular, highly rated, very fast " Speed of UX is big competitive advantage
source: http://support.verizonwireless.com/information/app_ranking/apps/facebook-messenger.html Source: https://play.google.com/store/apps/details?id=com.facebook.orca Source: https:/facebook.com
Verizon Wireless Overall
FACEBOOK MESSENGER

FACEBOOK MESSENGER
“.. performance improvements designed to make your messaging experience even better. To do this without killing battery life, we used a protocol called MQTT … designed to use bandwidth and batteries sparingly… phone-to-phone in hundreds of milliseconds, rather than multiple seconds.”
- Lucy Zhang, Facebook Engineer facebook.com/lucyz

TRY IT FOR YOURSELF
MQTT Google Hangouts
MQTT vs Facebook Messenger

THE CAR IS A MOBILE “THING” needing less driver distraction, better safety
“Latency is a driver distraction issue” – Roger Lanctot @rogermud Strategy Analytics
" terrible response times the norm " Most are 15-90 seconds, Tesla is 5-6 sec " lack “always connected” instant response " slow, unreliable, high mobile data costs bit.ly/latencydriverdistraction

TYPICAL CAR ARCHITECTURE “NGTP”*
*Where is the car owner’s Smartphone?

CONNECTED CAR REINVENTED
Insurer
Content
" 20x faster UX
" 5x faster dev
" 10x cheaper IBM MessageSight
My Car My Mobile My Home

IBM MESSAGESIGHT SPEEDS THE IOT
+ Mobile + Secure + Easy
+ Open – MQTT, WebSocket, JMS + Speed – 80µs, millions/second + Scale – millions of things
Faster IoT & Mobile user experience MQTT, HTML5 WebSocket, JMS, MQ

PREDICTIVE MAINTENANCE Improving owner experience
• real-time using sensor data, time-series • proactive service, i.e. brake issue • driving better customer service

BIG DATA DRIVES AUTONOMOUS car2cloud2car improves driver safety & experience
assisted, autonomous driving w real-time big data autonomous isn’t just about “my car” " µs decisioning " millions/second " geospatial " correlation " filtering " time-series " trending

WHO IS DOING WHAT IN CARS .. that I can talk about publicly
Connected Car & M2M Provider " mobile2cloud2car w “key fob response time” " demo: youtu.be/V1ooTX4aTE8 " Press: NYT, WSJ, Fortune, etc.
2nd largest OE supplier " CEO announce Sept 10 Frankfurt Motor Show " IBM Car Cloud for “autonomous driving” " Press: NYT, Bloomberg, CNET, Reuters, etc. " Look for me in Conti’s CES `14 booth
" also QNX’s, IBM’s, CES GENIVI Show

Node-RED
h4p://m2m.demos.ibm.com

CONNECTING CARS WITH MQTT & IBM MESSAGESIGHT
For more:
Joe Speed [email protected] @mobilebit on twitter mobilebit.wordpress.com linkedin.com/in/joespeed
mqtt.org m2m.demos.ibm.com live demos and HTML5 samples eclipse.org/paho MQTT source code ibm.com/messagesight fastest, secure communications for the car ibm.co/1e8D7R7 “MessageSight for Developers” free download bit.ly/1cvsauO YouTube demos & tutorials youtu.be/C3ebGjJ0KjM?t=1m22s car remote demo youtu.be/u69I-GLYd6I talk re car is mobile, social, big data, cloud

“MQTT FOR SENSOR NETWORKS” MQTT-SN speeds your WSNs
• MQTT for WSNs • datagram instead of socket
– even smaller footprint – very low power – very low bandwidth – QoS reliable messaging in unreliable conditions
• ZigBee, 6LoWPAN, DSRC/WAVE, UDP, serial ..
• bit.ly/mqttsn specification

ECLIPSE MOSQUITTO W MQTT-SN
• Nov 19 – Eclipse Mosquitto project live “RSMB” source now in github
• 75KB for embedded systems • MQTT + MQTT-SN server & bridge • Bridges WSNs to Cloud • Used in “things” ranging from US & UK military’s
sensor fabric to home automation • Runs on Tizen, Automotive Grade Linux • bit.ly/mqtt-sn for source, also google “RSMB”

20
Why Publish/Subscribe for Sensor Networks?
Sensor
radio links
Sensor
Actuator
radio links
Wireless SA Networks
Gateway
Internet, GSM,
… broker
App
App
Gateway
§ Both sensors and applicaEons are freed from networking issues – Only one connecEon (with broker) to maintain
– Simple APIs: • publish(topic,data) • publish_arrived(topic,data)
Sensors and applicaEons may be added/removed at any Eme
Bridging of heterogenous wireless networks
Inherently mulEcast Real-‐Eme delivery of data e.g. alarm events

TRY IT FOR YOURSELF
Google Hangouts Most 1 star complaints are about slowness and presence services (who’s online) not working correctly MQTT