geekcamp talk
DESCRIPTION
Talk given at the 2013 GeekcampSG about how you can hack some hardware to improve your home brewed beer.TRANSCRIPT
![Page 1: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/1.jpg)
Hack your own beerMarkus Baden and Nick Lewty
Centre for Quantum Technologies
![Page 2: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/2.jpg)
![Page 3: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/3.jpg)
Make
![Page 4: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/4.jpg)
Hack your beer?
• Beer is not Tiger
• Homebrewing - Making
• Hardware hacks
• Software hacks
![Page 5: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/5.jpg)
Beer is not Tiger
![Page 6: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/6.jpg)
![Page 7: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/7.jpg)
You could
Drink imported craft beers
Go to local micro breweries
...
![Page 8: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/8.jpg)
You could
Drink imported craft beers
Go to local micro breweries
...
Or just make it yourself
Full control over flavour
Keeps you hacking on weekends
![Page 9: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/9.jpg)
Beer basics
• Water
• Barley
• Hops
• Yeast
Beer
![Page 10: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/10.jpg)
THE EQUIPMENT
Beer is made from 4 basic ingredients:barley, water, hops and yeast.
Most items can be purchased at your local homebrew store
THE INGREDIENTS
THE BASIC PROCESS
Fermenter, usually a food-grade plastic bucket with a tight-!tting lid (more experienced brewers may use a glass carboy)
Air lock and stopper to allow carbon dioxide to escape during fermentation while keeping air out
Thermometer Racking cane & tubing for transferring beer from one vessel to another Bottles, about 50 12-oz. bottles for each 5-gallon batch, new or reused Bottle !ller to transfer beer into bottles
Bottle capper, a device that clamps bottle caps on bottles Sanitizing agent & bottle-cleaning brush Kitchen supplies—a stove, large pot, cooking spoon, strainer, measuring cup, can opener, and a cup or bowl
HOW TOMAKE BEER
FERMENTER
1.
1.
2.
2.
3.
3.
4.
4.
5.
5.
6.
6.
7.
7.
8.
8.
9.
9.
Beer is created when brewers yeast converts malt sugar intoalcohol and carbon dioxide
BREWERS YEAST MALT SUGAR
CO2
C2H5OH
ALCOHOL
CARBON DIOXIDE
S A N I T I Z I N G1.
M A S H I N G2.
The most important step. Nothing can spoil a batch of beer faster than stray bacteria.
Steep grains in hot (but not boiling) water to make wort, a sweet liquid that's basically unfermented beer.
Bring wort to a rolling boil and add hops—the "ower of the hop plant that gives the beer "avor—according to the recipe.
Chill wort and transfer to fermenter. Pitch yeast. Store beer away from sunlight and wait one to several weeks, depending on the recipe.
B O I L I N G3.
F E R M E N TAT I O N4.
You now have beer! But it's "at beer. In order to carbonate it, you must prime it with additional fermentable sugars and bottle it. Then wait at least two weeks.
B OT T L I N G 5.
D R I N K U P !6.
SOURCES: American Homebrewers Association, SoYouWanna.com,Popular Mechanics, Barley Bandits
![Page 11: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/11.jpg)
Recap
• Mashing
• Convert starch into sugar
• Keep grains at target temperature (warm)
• Boil to add hops
• Cool down from 100 to 7 degrees
• Fermenting
• Convert sugar into alcohol
• Keep pre beer at target temperature (cold)
• Put in kegs and drink
![Page 12: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/12.jpg)
Recap
• Mashing
• Convert starch into sugar
• Keep grains at target temperature (warm)
• Boil to add hops
• Cool down from 100 to 7 degrees
• Fermenting
• Convert sugar into alcohol
• Keep pre beer at target temperature (cold)
• Put in kegs and drink
Hacked?
✓
✓
✓
![Page 13: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/13.jpg)
Some projects
• The Recirculating Mash Tun
• The Fermentation Chest Freezer
• The Kegerator
• The Flapibrew Software
![Page 14: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/14.jpg)
The Recirculating Mash Tun
![Page 15: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/15.jpg)
Getting the mash right
![Page 16: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/16.jpg)
Getting the mash right
• Enzymes work at specific temperature
• Keep all grains at that temperature
• Cycle through temperatures for different groups of enzymes
• Maximize starch to sugar conversion
![Page 17: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/17.jpg)
Getting the mash right
![Page 18: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/18.jpg)
Getting the mash right
• Water heater, Kopitiam style
• Add pump to recirculate water
• Add control of heater / pump
![Page 19: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/19.jpg)
Getting the mash right
![Page 20: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/20.jpg)
Mash electronics
• Thermistor to sense temperature
• Relay to switch
• Power to heater (mains!)
• Power to pump
• Arduino in charge
![Page 21: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/21.jpg)
Thermistor
![Page 22: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/22.jpg)
Thermistor
• Analog in - resistive divider
• Could use serial chip
![Page 23: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/23.jpg)
Relays
![Page 24: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/24.jpg)
Relays
• Off the shelf for switching mains
• Could use many Arduino relay boards
![Page 25: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/25.jpg)
Temperature stabilization
• Read in analog voltage
• Look up temperature
• Adjust duty cycle
![Page 26: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/26.jpg)
Duty cycle
Cold
Warm
Hot
![Page 27: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/27.jpg)
Who’s in charge?
![Page 28: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/28.jpg)
Enter Arduino
![Page 29: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/29.jpg)
Arduino
• PID library for closed loop control
• Simple serial communication
• Status up date
• Pump on / off
• ...
• Python control GUI
![Page 30: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/30.jpg)
Python GUI
![Page 31: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/31.jpg)
Not cool enough?
![Page 32: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/32.jpg)
Enter Rasberry Pi
![Page 33: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/33.jpg)
Web control
• Rasberry Pi talks to Arduino
• Serves web application
• RasPiBrew by Stephen Smith
• (FlapiBrew in the making...)
![Page 34: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/34.jpg)
RasPiBrew
![Page 35: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/35.jpg)
Still not cool enough?
Be my guest!
![Page 36: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/36.jpg)
Getting the mash right
• Arduino controlled heater
• Rasberry Pi based web application
![Page 37: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/37.jpg)
The Fermentation Chest Freezer
![Page 38: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/38.jpg)
Good fermentation
![Page 39: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/39.jpg)
Good fermentation
• Ales ferment at ~21°
• Lagers ferment at ~7°
• Singapore is ~35°
![Page 40: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/40.jpg)
Good fermentation
![Page 41: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/41.jpg)
Temperature control
• Similar to mash tun
• Cooling instead of heating
• Switch mains to fridges / freezers
• Don’t kill compressors
![Page 42: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/42.jpg)
Don’t kill compressors
• More complex logic
• Cool for only so long
• Wait before restarting
• Threshold control instead of PID
![Page 43: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/43.jpg)
User interface
• Hacked laser driver
• A few buttons
• Hitachi HD44780 LCD screen
• Speaks singlish...
![Page 44: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/44.jpg)
Not cool enough?
• Rasberry Pi anybody?
• Tablet control maybe?
![Page 45: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/45.jpg)
Good fermentation
• Arduino controlled fridge or freezer
![Page 46: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/46.jpg)
The Kegerator
![Page 47: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/47.jpg)
Problem
Lots of beer you don’t want to bottle
![Page 48: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/48.jpg)
Problem
Lots of beer you don’t want to bottle
Solution
Get second hand kegs
![Page 49: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/49.jpg)
Problem
Now you got kegs
![Page 50: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/50.jpg)
Problem
Now you got kegs
Solution
Build a kegerator
![Page 51: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/51.jpg)
![Page 52: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/52.jpg)
![Page 53: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/53.jpg)
The Kegerator
• Fridge (maybe Arduino controlled)
• Taps (from the internet)
• Tubing (from Kelantan lane)
• CO2 bottle
![Page 54: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/54.jpg)
The Kegerator
• Ideal for hosting events
• And... technology is portable
![Page 55: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/55.jpg)
Flapibrew
A project in need of a beer drinking rabbit mascot
![Page 56: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/56.jpg)
Rasberry Pi
• Control mash with Rasberry Pi
• Somebody must have done it...
• RasPiBrew by Stephen Smith
• Dude... add a button
![Page 57: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/57.jpg)
Rasberry Pi
jQuery what?
![Page 58: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/58.jpg)
Rasberry Pi
Button done, but...
![Page 59: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/59.jpg)
Flapibrew
• Flask app served by tornado
• Tornado handles websocket
• Lightweight client jQuery
• Die die must port to smart phone!
![Page 60: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/60.jpg)
A few notes
• Home brewing is a vibrant community
• You can hack as much as you want!
![Page 61: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/61.jpg)
A few notes
• Home brewing is a vibrant community
• You can hack as much as you want!
![Page 62: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/62.jpg)
homebrew.sg
![Page 63: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/63.jpg)
SUTD Brewing Club
![Page 64: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/64.jpg)
meetup.com/Singapore-Homebrew/
![Page 65: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/65.jpg)
Enjoy the beer but
• A few thanks
• Nick Lewty
• (Prof. ...) Christian Kurtsiefer
• Centre for Quantum Technologies
![Page 67: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/67.jpg)
![Page 68: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/68.jpg)
![Page 69: Geekcamp talk](https://reader033.vdocuments.us/reader033/viewer/2022051412/54c1396c4a795923118b464b/html5/thumbnails/69.jpg)
Drink good beer with good friends!beercanlah.com
github.com/beercanlah