Slide 1

Slide 1 text

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

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

How to brew beer? (BIAB way)

Slide 4

Slide 4 text

add water and malt

Slide 5

Slide 5 text

hold temperature levels

Slide 6

Slide 6 text

boil it and hops

Slide 7

Slide 7 text

cool it fermentation

Slide 8

Slide 8 text

bottle it enjoy!

Slide 9

Slide 9 text

brewing sucks? … automate it!

Slide 10

Slide 10 text

Brew like a boss

Slide 11

Slide 11 text

What’s on the technology side?

Slide 12

Slide 12 text

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.)

Slide 13

Slide 13 text

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

Slide 14

Slide 14 text

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

Slide 15

Slide 15 text

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

Slide 16

Slide 16 text

Our system

Slide 17

Slide 17 text

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

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

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

Slide 20

Slide 20 text

Architecture

Slide 21

Slide 21 text

Architecture

Slide 22

Slide 22 text

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

Slide 23

Slide 23 text

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

Slide 24

Slide 24 text

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

Slide 25

Slide 25 text

Join us! github.com/brewfactory

Slide 26

Slide 26 text

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

Slide 27

Slide 27 text

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