Brewery project : Software

Hello everybody!

Today, we are going to explain the informatic code of our project: A brewery.

First, you have to know that we use an Arduino and a Raspberry in our project. About the code in the Arduino, we have worked with several steps. A variable named étape, which increases itself at the end of each step, allows to jump to the next step. The brewing process requires several heating phases and several temperature regulation phases. So, when the user pushes on the button, the variable étape change from 0 to 1 therefore, the code can go to the step one. The step one is a heating phase until 68°c. when the temperature is over 68°c, the variable étape change from 1 to 2 therefore, the code can go to the step 2. The step 2 is a temperature regulation phase. Here, the code regulates a temperature of 68°c during 1 hour. The step 3 and the step 4 work on the same way but with a different temperature. During these 4 steps, the mixer operates. The step 5 is an alarm to prevent the user that he has to decant the beverage from the first tank to the second. In the second tank, there are the same steps but with different temperatures. About the raspberry code, it allows to show the number of the step, the temperature of the beverage and the countdown.

The project is nearly done. The next step is the electrical connection between each component.

Thanks for following us!

Brewery project : The libraries

 

Hello,

Here’s our third video talking about the libraries we are going to use for our Brewery Project. Libraries are important because they allow access to functions that are not present by default on the device such as Arduino or Raspberry Pi.

Let’s start with the libraries of the arduino:

#include <LiquidCrystal.h> => This library displays process steps and temperatures on an LCD screen. We do not need to install other libraries for our project, the rest is already integrated into the program. However, we could perhaps add the following few libraries, but we do not know yet if they will be useful.

PID => This library would improve our heating phase, but we have to test our installation physically in order to know if this is really useful.

TIMER => This library could be useful if we encounter problems using the millis () function. Moreover, in some libraries of this kind, a PWM function is sometimes present which could be useful to us on the control of our mixer in order to make it run at different speeds.

#include <toneAC.h> => Allows you to output sounds that are more specific and better than those built into the program.

So its finished for the Arduino, let’s now go to the libraries to use for the Raspberry Pi:

Import serial => It is to make the communication between the Raspberry Pi and the Arduino to get the data or to send data from the raspberry in python

Tkinter => From Tkinter import * (“*” to take all functions) => To create a graphical interface to view temperatures, steps etc ….

 

Thank you for following us,

See you next week for the next video !

Brewery DIY : Project presentation

 

Hello everyone, here is a description of each member in our team :

Alexandre Carlier : Hi, I am Alexandre and I am currently a student in the last year of a master’s degree in industrial engineering building and special technics specialization. Even though I am in building specialization, I really would like to be able to use and to program the Arduino device and the Raspberry device for home automation uses for instance.

Florent Guillaume : Hello, I am Florent, I come from the “Building & Special technics” option. I did not follow the usual path of engineer, I did a bridge year after my Home Automation bachelor. New technologies are my passion and I am a good handyman, therefore “Do it yourself” tutorials don’t scare me!

Jason Lefebure : Hello, my name is Jason I am currently a second-year master student in electromechanical engineer. I have been passionate about brewing for one year. I already made small brews of 5-6 liters but it’s very time-consuming for a small quantity. This project will give me an opportunity to develop my technical skills in electronics, brewing and communication.

Julien Nortier: Hello, my name is Julien. I am studying industrial engineering with a major specialization in Electromechanics and a minor in facilities technologies. I am really excited about creating this homemade brewery and also discovering how Arduino and Raspberry Pi are working to use them in my future house. I am very interested in new technologies that you can implement everywhere you want, using sensors and actuators. It’s the future!

Louis Dever : I am a student in industrial engineering in last year of a Electromechanics Master degree, more specifically in the mechanics specialization. One of my interests is about mechanics stuffs and understand how everything works. I will use these mechanical skills to find solutions to our installation and make it as functional as possible.