17. Machine design

The required in this assignment is to design a machine that includes build the mechanical parts and operate it manually, actuate, and automate the machine.

Coffee has become for many adults a staple of their day, when waking up from sleep or when studying or working, dozens of cafes have opened that sell various types of coffee that are not without a machine dedicated to making coffee. And because people see that having a coffee machine in the home or work area is much more economic than buying it from a coffee shop, they choose to buy it. For these reasons we decided to manufacture a coffee machine for Fablab.

In a group, Me with Asma Alsayed, Ghassan Yousif and Sara Islam are going to make a Coffee Machine.

To see the process of making the coffee machine, click here.

Group Work

This coffee machine is easy to use, just add the ingredients in the designated place, and press the buttons to select the desired amount of ingredients, with high and economical features available that can be made in the lab. You see the process of making coffee step-by-step to be presented to you with love.

This is a picture of the machine design, and these are separate videos from making the coffee machine. This design shows that we have carefully designed every part of the machine, from ingredient containers, cup holder and base, flowing of water, and the mixture.

Blender_CoffeM from Muhja Aljaser on Vimeo.

Individual Work

My responsibility in this group assignment was to control the pouring of the water, and also design a valve to control the passage of ingredients, and made stickers.

Water Pouring

I’m going to use a stapler motor driver to pump the water, which will be used to pour the water into my coffee.

Source Code

// (c) Michael Schoeffler 2016, http://www.mschoeffler.de

// PWM pin 6
const int in3 = 7;
const int in4 = 8;

void setup() {
  pinMode(in3, OUTPUT);
  pinMode(in4, OUTPUT);

void loop() {

  // change of direction
  digitalWrite(in3, HIGH);
  digitalWrite(in4, LOW);


Here is a video showing my test on pumping water, where I connected the “Stepper Motor Driver” to the Arduino for programming as well as to the power supply. Stepper motors are not like simple dc motors and cannot be driven by feeding just a dc voltage, If we connect the stepper motor to a higher voltage, it will draw more current and will perform better.

Water_CoffeM from Muhja Aljaser on Vimeo.

Final Result

Water_CoffeM2 from Muhja Aljaser on Vimeo.


I designed this valve specifically to control the flow of the components, but another suitable design was adopted.

To make this design, I followed the steps in the Butterfly Valve Tutorial In addition to this Tutorial in How To Make Threads In Fusion 360.


It was important to use the stickers here to indicate the work of each button, which would be used later in making the coffee and determining the amount of coffee, sugar, and mate.

Here is a video showing the final work and usefulness of the stickers.

Here too, I used stickers to avoid mixing the ingredients when putting them.

I took these pictures ready from the internet and modified them with “Inkscape” software.

Stickers also give a beautiful look.