Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MQTT is your best friend

MQTT is your best friend

Slides from a motivational speech I made as a introduction the at Devel 2016 Prague conference on 19. 3. 2016 in VŠE university areal in Prague. The topic is "MQTT, Arduino and Internet of Things", more info at http://devel.cz/konference#jukin

Tomas Jukin

March 19, 2016
Tweet

More Decks by Tomas Jukin

Other Decks in Technology

Transcript

  1. Tomáš Jukin
    @Inza
    MQTT is your
    Best Friend

    View full-size slide

  2. How Internet of Things
    resembles queues for bread
    rolls?

    View full-size slide

  3. How you do it when
    shopping?

    View full-size slide

  4. Alone in the morning…

    View full-size slide

  5. There is only one queue…

    View full-size slide

  6. But later is crowded
    everywhere!

    View full-size slide

  7. Queues start to form!

    View full-size slide

  8. How you do it with
    TCP/IP?

    View full-size slide

  9. Fair easy right?

    View full-size slide

  10. Just use a lib!

    View full-size slide

  11. But you have 8bit bus,
    16Mhz and 32KB RAM

    View full-size slide

  12. Now do your magic…

    View full-size slide

  13. Welcome to the world of IoT!

    View full-size slide

  14. Tomáš Jukin
    @Inza
    www.juicymo.cz
    @JuicymoCZ

    View full-size slide

  15. What is IoT?
    tldr; ?

    View full-size slide

  16. What is IoT?
    yes, it’s a BUZZword,
    but..?

    View full-size slide

  17. Internet of Things

    View full-size slide

  18. Internet of Things

    View full-size slide

  19. Internet of Things

    View full-size slide

  20. I am mighty
    iPhone, I compute
    everything!

    View full-size slide

  21. I am mighty
    iPhone, I compute
    everything!
    Mooo?!

    View full-size slide

  22. Welcome in Hell!

    View full-size slide

  23. Muhaaaa!
    There is not
    enough queue! Close
    one cash desk
    immediately!

    View full-size slide

  24. I cannot rule here
    any longer… :-(
    Match the
    speed guys!
    One by one…

    View full-size slide

  25. MQTT
    ISO/IEC PRF 20922

    View full-size slide

  26. MQTT
    M
    essage
    Q
    ueue
    Telem
    etry
    Transport

    View full-size slide

  27. MQTT Broker
    MQTT Client MQTT Client

    View full-size slide

  28. MQTT Broker
    MQTT Client MQTT Client
    CONNECT

    View full-size slide

  29. MQTT Broker
    MQTT Client MQTT Client
    CONNECT
    CONNACK

    View full-size slide

  30. MQTT Broker
    MQTT Client MQTT Client
    CONNECT
    CONNACK CONNECT

    View full-size slide

  31. MQTT Broker
    MQTT Client MQTT Client
    CONNECT
    CONNACK CONNECT
    CONNACK

    View full-size slide

  32. MQTT Broker
    MQTT Client MQTT Client
    Subscriber
    Publisher

    View full-size slide

  33. MQTT Broker
    MQTT Client MQTT Client
    SUBSCRIBE
    Subscriber
    Publisher

    View full-size slide

  34. MQTT Broker
    MQTT Client MQTT Client
    PUBLISH SUBSCRIBE
    Subscriber
    Publisher

    View full-size slide

  35. MQTT Broker
    MQTT Client MQTT Client
    PUBLISH SUBSCRIBE
    SEND
    Subscriber
    Publisher

    View full-size slide

  36. http://mqtt.org/faq
    See more at
    https://github.com/knolleary/pubsubclient
    +

    View full-size slide

  37. RabbitMQ
    HiveMQ
    ActiveMQ
    EVRYTHNG
    AWS IoT

    View full-size slide

  38. dashing.io
    www.lelylan.com
    github.com/fabaff/mqtt-panel

    View full-size slide

  39. Tomáš Jukin
    @Inza
    www.juicymo.cz
    @JuicymoCZ

    View full-size slide

  40. Photo Credits
    All photos used are CC from Flickr

    View full-size slide