title: Project Barduino - An automated cocktail bar
date: Jan 04, 2023
tags: Projects Arduino Mobile

Barduino project

In this article, I will be introducing a project that I have been working on: an arduino-controlled automated bar. This system uses an Arduino microcontroller to automate the process of mixing and serving drinks, allowing users to easily create their own custom cocktails with the push of a button. Through the use of sensors and motors, the Arduino automated bar can dispense precise amounts of ingredients for the perfect drink.

As a maker and DIY enthusiast, I am always looking for new projects to work on that will challenge my skills and push me to learn more. That's why I decided to embark on the creation of an arduino-controlled automated bar. Not only this project allowed me to improve my knowledge of electronics and microcontroller programming, but it also gave me the opportunity to utilize my 3D printing skills to create custom parts and housings for the system.

While the project is not yet complete, the automated bar is already fully functional :) In the following sections, I will detail the design and construction of the automated bar So sit back, grab your favorite drink, and let's dive into the world of Arduino-powered mixology!

Disclaimer: this is not a tutorial with instructions on how to build your own.

Hardware ⚙️

One of the key goals of this project was to create a visually striking and unique automated bar. While there are many ways to design and build an automated drink-mixing system, I wanted to take a more unconventional approach and create a bar that was not only functional, but also visually appealing. To achieve this, I decided to use a cart system to move the glass from station to station, rather than simply positioning the bottles and dispensers in a static location.

This design decision added an extra layer of complexity to the project, as I had to design and 3D print custom parts to hold the bottles and dispense the liquids, as well as create a motorized cart to transport the glass. However, I believe that the resulting visual impact was worth the extra effort, as the moving cart adds a dynamic element to the automated bar and makes it more interactive and engaging for users.

Now that I introduced the project and explained in which direction I want to go with it, let's have a look at the hardware list required :

name qty decription link
Nema 17 motor 2 stepper motor used to move the cart and push the bottle
Arduino Uno 1 microcontroller board used for the project
12V power supply 1 power supply used for the nema motors
6 bottle rack 1 bottle holder with dosing device
Belt and pulley 1 used to move the cart
Linear guide (1000mm) and carriages 2 rail under the carriage allowing it to be moved
Stepper motor driver drv8825 2 driver used to control the two nemo motors
Individually programmable LED ring 2 LED ring used under the glass
coupling piece 1 used for the link between the 200mm screw and the nema motor
200mm screw 1 used to raise the piece that will push on the drink holder
endstop switch 1 allows to define the return home

3D modeling and printing 🖨️

All 3D files can be found here :

Wiring ⚡

I apologize for the messy wiring in advance. I initially did not plan to release this project publicly, so the wiring is not as organized as it could be. However, the picture should still give you an idea of the connections made. If you have any questions, please don't hesitate to contact me. In the future, I will make a proper wiring diagram for the project.

Code 👨‍💻

Bar controller

You can find all the code and explainations on how the bar controller is working on this github repository :

All the code is written in C++ and is allowing you to move the slider with the glass to the bottle of your choice. It's not totally finished, still need to implement the bluetooth connectivity to allow a user to choose a drink from the mobile application.

Android application

I wanted to be able to create a beverage from a mobile application and I had an old samsung tablet that was no longer used. So I decided to create an android app (in java) for the UserInterface. The code of this project can be found here :

The app is not as stable as the bar controller, it's not finished yet. Feel free to modify it if you want to use it :) The bluetooth communication is not implemented yet and still need development.


The Arduino automated bar was fun and challenging project that has allowed me to improve my skills in electronics, programming, and 3D printing. While the project is not yet complete, the automated bar is already fully functional and capable of serving drinks. In the future, I plan to continue refining and improving the system, with the ultimate goal of creating a fully integrated and user-friendly automated bar.

If you have any questions about the project or would like more information on how to build your own automated bar, please don't hesitate to contact me. Thank you for reading about my project ❤️