Creating a Recipe • Pick a style or key characteristics • Pick ingredients to match • Plan Fermentation • Plan Carbonation • Use BeerSmith! 10 http://goo.gl/Kdlji Thursday, March 7, 13
Batch Notes / Brew Log • Treat your recipes like applications • Treat your equipment like servers • Log Everything about a Batch • Feed Batch Notes back to Recipe 11 Thursday, March 7, 13
BrewLab • Picks up where BeerSmith leaves off • Imports BeerSmith Recipes • Associates Batches with Recipes • Stores Times, Temperatures, and Notes • API to Integrate with Brewing Equipment 12 Thursday, March 7, 13
Boiling Process • Reduction of sweet wort for concentration • Periodic addition of hops for bitterness • Periodic addition of flavorings • 60-120 minutes at hard boil • AUTOMATE! 16 Thursday, March 7, 13
Temper • https://github.com/cadwallion/temper • PID-based Anger Temperature Management 18 require
'temper' temper
=
Temper::PID.new(interval:
1000,
minimum:
0,
maximum:
1000,
direction:
:direct) temper.tune(9.0,
25.0,
6.0)
#
Set
Kp,
Ki,
and
Kd temper.setpoint
=
100.0
#
Set
target
temperature
(Degrees
Fahrenheit) while
input
=
read_sensor()
#
Replace
read_sensor
with
your
external
system
output
=
temper.control(input)
#
output
is
a
value
between
minimum
and
maximum.
This
can
be
used
for
thresholds
or
#
PWM-‐based
control end Thursday, March 7, 13
Brewby Integration • Uses PWM to handle Boil Process • Loads Recipe from BrewLab (or .bsmx on Pi) • Sends sensor data to BrewLab 19 Thursday, March 7, 13
Hardware • 5500W Water Heater Element • DS18B20 Temperature Sensor • 40A Solid State Relay • Raspberry Pi • 240V/30A Mains Power • Handles up to 20 Gallon Batches 20 Thursday, March 7, 13
Problems with Raspberry Pi • Linux kernel isn’t ‘real-time’ • Limited number of GPIO • Single PWM Timer GPIO • Single 1-Wire GPIO 24 Thursday, March 7, 13
YeastyMon • Raspberry Pi + Arduino Uno • Up to 6 Temperature Sensors • Passive Monitoring Mode or Active Control • Interfaces with BrewLab to send fermentation data 26 Thursday, March 7, 13
Future • Add Support for Solenoid Valves • Switch Brewby to I2C • Large-scale Brewby Panels (100A+) • Open BrewLab to Public • Release BrewLab API Gem 27 Thursday, March 7, 13