Coffi
My name is Werbrouck Flor and just like everybody in the ICT-Sector I am addicted to coffee. So when I got the challenge from my school Howest to make a project at the end of my first year, I wanted to make a device that would make coffee for me when I would wake up. That's when I decided to make Coffi.
Downloads
Supplies
Electronics:
- Raspberry pi 4 + GPIO breakout
- SD card
- I2C LCD screen
- Light Dependent Resistor
- Ultrasonic Sensor
- LED strip
- One-wire temperature sensor
- 5V relais
- Level shifter
- Industrial power supply
Materials:
- Cardboard box
- Wires
- Glue
Setting Up the Raspberry Pi
Download the raspberry pi image from their website, Once you've written the image onto the SD-card, you will need to put the raspberry pi on wifi. Boot up the pi and install the Requirements.
Use "sudo raspi-config" to open the PCF, SPI and One-wire in the Interface Options.
Now we can make a connection to the database over wifi and insert our database.
Building the Circuit
Connect all the electronics to the Raspberry Pi, we can use the 220V from the cable of out coffee machine to get 5V for the raspberry Pi.
Downloads
SQL
With MySQL workbench you can set up an ssh connection with your database, run Coffi.sql in MySQL workbench
The Code
You can find the code here.
I use visual studio code to edit the program because it has an "SSH" plugin.
When you run the program and then go to IP-Address it says on the LCD screen in your browser you should be able to plan a coffee & etc...
The Case
I've put everything of the electronics in a cardboard box so it looks a lot cleaner.