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 !