péter márton brewfactory full-stack homebrew · hardware parts - digital temp. sensor - ds18b20...

Post on 25-Sep-2020

7 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Brewfactory full-stack homebrewPéter Márton

@slashdotpeter

What is Brewfactory?

- automated brewing machine

- hobby project

- open-source project

How to brew beer?(BIAB way)

add water and malt

hold temperature levels

boil it and hops

cool it fermentation

bottle it enjoy!

brewing sucks?

… automate it!

Brew like a boss

What’s on the technology side?

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

Node.js in IoT

- vibrant community

- extreme modularity

- high performance

NPM

- more than 115k packages

- 18M downloads per day

Johnny-Five

- “jQuery of the IoT” - servo.to( 90 ); button.on(‘down’, fn);

- Arduino compatible boards

- Node.js

Our system

Hardware parts

- digital temp. sensor- DS18B20 (1-Wire)

- heating elements- PWM (pulse-width modulation)

- Relay (solid state)

- controller- PID

IoT device: RaspberryPi

- credit-card sized- linux- usb ports- ethernet- NO built-in Wi-Fi- any languages

IoT device: SparkCore

- pint-sized- arduino compatible- built-in Wi-Fi- C++- Spark’s cloud

Architecture

Architecture

BrewCore

- Node.js --harmony

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

BrewUI

- React app with Flux- CommonJS (Node style)

- Webpack (~Browserify)

- npm module- https://github.com/BrewUI

BrewMobile

- Swift- WebSockets- push notif. is coming

by @vasarhelyia

Join us!

github.com/brewfactory

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

Q&A

The endhttp://brewfactory.org

top related