$30 off During Our Annual Pro Sale. View Details »

Brewfactory - IoT Vienna

Brewfactory - IoT Vienna

Brewfactory: full-stack homebrew with IoT and Node.js

Meetup: http://www.meetup.com/IoT-Vienna/
Event: http://www.meetup.com/IoT-Vienna/events/204682502/
Recorded video: https://www.youtube.com/watch?v=5WJu-a_eEYI

"An IT engineer and a med student walks in to a bar. They get disappointed by the corn infested MegaBrews, so comes the motivation to put up a fight.
Brewfactory's story about their IoT brewing machine: Node.js, SparkCore, MongoDB, AngularJS, React"

Peter Marton

January 16, 2015
Tweet

More Decks by Peter Marton

Other Decks in Technology

Transcript

  1. Brewfactory full-stack homebrew
    Péter Márton
    @slashdotpeter

    View Slide

  2. What is Brewfactory?
    - automated brewing machine
    - hobby project
    - open-source project

    View Slide

  3. How to brew beer?
    (BIAB way)

    View Slide

  4. add water and malt

    View Slide

  5. hold temperature levels

    View Slide

  6. boil it and hops

    View Slide

  7. cool it fermentation

    View Slide

  8. bottle it enjoy!

    View Slide

  9. brewing sucks?
    … automate it!

    View Slide

  10. Brew like a boss

    View Slide

  11. What’s on the technology side?

    View Slide

  12. JavaScript everywhere
    2007 2015
    HW Microcontroller IoT devices from $10
    Control HW C, C++ Node.js:
    Johnny-Five, Tessel
    Web server .net, Java, PHP Node.js
    Database SQL MongoDB: JS API
    WebUI JavaScript: jQuery JavaScript: SPA
    (React, Angular etc.)

    View Slide

  13. Node.js in IoT
    - vibrant community
    - extreme modularity
    - high performance

    View Slide

  14. NPM
    - more than 115k packages
    - 18M downloads per day

    View Slide

  15. Johnny-Five
    - “jQuery of the IoT”
    - servo.to( 90 ); button.on(‘down’, fn);
    - Arduino compatible boards
    - Node.js

    View Slide

  16. Our system

    View Slide

  17. Hardware parts
    - digital temp. sensor
    - DS18B20 (1-Wire)
    - heating elements
    - PWM (pulse-width modulation)
    - Relay (solid state)
    - controller
    - PID

    View Slide

  18. IoT device: RaspberryPi
    - credit-card sized
    - linux
    - usb ports
    - ethernet
    - NO built-in Wi-Fi
    - any languages

    View Slide

  19. IoT device: SparkCore
    - pint-sized
    - arduino compatible
    - built-in Wi-Fi
    - C++
    - Spark’s cloud

    View Slide

  20. Architecture

    View Slide

  21. Architecture

    View Slide

  22. BrewCore
    - Node.js --harmony
    - Koa
    - WebSockets
    - Spark’s cloud
    - https://github.com/BrewCore

    View Slide

  23. BrewUI
    - React app with Flux
    - CommonJS (Node style)
    - Webpack (~Browserify)
    - npm module
    - https://github.com/BrewUI

    View Slide

  24. BrewMobile
    - Swift
    - WebSockets
    - push notif. is coming
    by @vasarhelyia

    View Slide

  25. Join us!
    github.com/brewfactory

    View Slide

  26. Demo
    (http://brewcore-demo.herokuapp.com)

    View Slide

  27. Q&A
    The end
    http://brewfactory.org

    View Slide