morgan.stimpson@hotmail.com)
piBrew - developed by Morgan Stimpson (Using a Raspberry Pi to study the fermentation rate of wort or other fermentable liquids.
How To Run It:
-
Start up your Raspberry Pi
-
Have Tmux/SQLite3/Python3/matplotlib/? installed on your Raspberry Pi
-
From a either the Pi or another computer start an ssh TMUX client
-
CD to where the program sits
-
Start the program
-
Deattach from the TMUX session with ctrl-b d
-
Answer the initial start up state with "<your answer in qoutes>"
-
Reattach the tmux session w/ "tmux a"
-
Ctrl-c the program data should be stored
Data Processing
- Line Graph -- to show data over time
- // Starting to think about other methods to develop
Goal: // - indicates it has been completed
- -Produce 1 model-
- -Equip a fermentation tank with sensors-
- -Let wort ferment into beer.-
- -Constantly pull data and store in a SQLite3 database-
- -Train on the model to create a generic model.-
- -Use the data to predict for the next batch or future batches-
- Adjust bounds of lighting alg.
- Figure out how to not need to make a new db but only a table
- Figure out how to get the last rowID if the pi crashes and needs to restart
- Use the last rowId to continue the fermentation db
- Create a server to host data
- Graph data on the server
Technologies Used:
Python - Programming Language to conduct everything within SQLite3 - Database MathPlotLib - Data viewing Rasbian - OS of the Raspbery Pi TMUX - Run a terminal, start the program, allow for the client to leave the pi and let it run.
Equipment List:
- Raspberry Pi 4B: 1a. CanaKit Raspberry Pi 4 Starter Kit 32 GB EVO+ Case w/ fan 8gb Ram Link;
- Breadboard: Full size recommended Link;
- Wiring: Male to male wriring Female to Female wiring Male to Female wiring Resistors
- Lights: 1 Red Light; Hot Indicator 1 Green Light; Ideal indicator 1 Blue Light; Cold indicator
- Sensors:
- Temperature Sensor
- Model: DS188B20 Temperature Sensor
- Purpose: To follow the the temperature change of the fermenting wort. The temperatur change affects all following sensors and the data that they will pull from their readings.
- O2 Sensor
- Model:
- Purpose:
- Once most of the O2 is gone the yeast stops reproducing and begins the bulk of the fermentation
- PH Sensor
- Model:
- Purpose:
- The acidity of the liquid will kill of the yeast and prevent further fermentation
- Others // I can not remember at the moment
Resources:
- Raspberry Pi Headless set up; https://www.youtube.com/watch?v=dhY8m_Eg5iU&t=107s
- Temperature Reading; https://medium.com/initial-state/how-to-build-a-raspberry-pi-temperature-monitor-8c2f70acaea9
- PH Reading; https://myhydropi.com/connecting-a-ph-sensor-to-a-raspberry-pi