15
Internet of Things KOJI WAKAYAMA 2013 Wednesday, October 30, 13

Internet of Things 2013

Embed Size (px)

Citation preview

Internet of ThingsKOJI WAKAYAMA 2013

Wednesday, October 30, 13

OverviewEmbedded computing

Arduino Yun (Demo)MQTT

Mosquitto MQTT Broker (Demo)Arduino MQTT Library (Demo)

Pololu 3pi RobotSpooky (Live coding)

3D Printing (3D Print Shop)

Wednesday, October 30, 13

Embedded computing

Wednesday, October 30, 13

Arduino Yun(Demo)

Wednesday, October 30, 13

MQTTMessage Queue Telemetry Transport

Lightweight broker-basedpublish/subscribe messaging protocol

Invented in 1999by Dr Andy Stanford-Clark (IBM) and Arlen Nipper (Arcom)

Standard MQTT port: 1883 3 Qualities of Service for message delivery

Last will and testament featureMQTT-S for sensor networks

more on http://mqtt.org

Wednesday, October 30, 13

Pub / Sub

SubscriberPublisher

Topic

MessageA

Subscriber

Subscriber

MessageA

MessageA

MessageA

Wednesday, October 30, 13

SecurityName and Password

SSL(TCP/IP port 8883 is registered, for using MQTT over SSL)

Encrypted Data

Wednesday, October 30, 13

MQTT Topics & WildcardsTopics are hierarchical like filesystem path

/sensor/1/temperature/sensor/2/temperature

/sensor/2/pressure

Subscribers can use wildcards in topics/sensor/+/temperature

/sensor/2/+/sensor/#

Wednesday, October 30, 13

Mosquitto MQTT Brokermosquitto.org

(Demo)

Wednesday, October 30, 13

Arduino MQTT Library(Demo)

https://github.com/mcollina/mqtt_on_the_yun/

Wednesday, October 30, 13

Pololu 3pi Robot

Wednesday, October 30, 13

m1 forwardhex: 0xC1

binary 11000001decimal 193

m2 forward  hex 0xC5

binary 11000101decimal 197

m1 backward hex 0xC2 

binary 11000010decimal 194

m2 backward hex 0xC6

binary 11000110decimal 198

3pi motor controlreceives 2 bytescmd (128-255)speed (0-127)

Serial Slave Modehttp://www.pololu.com/docs/0J21/10.a

Wednesday, October 30, 13

Spooky1_express2_socketio

3_mqtt4_arduino

5_pumpkin

Wednesday, October 30, 13

3D Printing3D Print Shop

Wednesday, October 30, 13

Tack!

Wednesday, October 30, 13