Home brewery automation the smart way
Given a DS18B20 temperature sensor,
a solid state relays and a wifi connector,
automate the mash process.
At least, that’s the plan.
This repo contains the code of my brewberry-π home brew software,
built with Elixir and Nerves.
Brewberry π can:
Why Elixir/Nerves? Well…
An older version of the Brewberry-π written in Python is available at
https://github.com/amolenaar/brewberry-pi-python.
cd apps/web
mix deps.get
MIX_ENV=dev iex -S mix
will lauch the app and open a console, so you can tinker aroundTo build an image for the Raspberry Pi (model B):
cd apps/fw_rpi
MIX_ENV=prod mix deps.get
apps/fw_rpi/config/wifi-example.exs.example
to apps/fw_rpi/config/wifi.exs
and fix the ssid and psk propertiesMIX_ENV=prod mix firmware
MIX_ENV=prod mix firmware.burn
MIX_ENV=prod mix firmware.push 10.192.168.122 --firmware ../../_build/rpi/prod/nerves/images/fw_rpi.fw
To control a brewing kettle some additional hardware is required:
A schema is made with Fritzing and is available in the file Brouwerij.fzz
.
Label | Part Type | Properties |
---|---|---|
- | - | PCB prototype board |
J1 | Screw terminal | 3 pins, connector to DS18B20 |
J2 | Power plug | connector to SSR |
Pi1 | Adafruit Pi Cobbler | manufacturer Adafruit Industries |
Q1 | NPN-Transistor | type NPN (EBC); package TO92 [THT] |
R1 | 4.7kΩ Resistor | pullup resistor |
R2 | 1kΩ Resistor |