Skip to content

Simple Arduino Nano Cocktail machine controller with OLED and button user interface

Notifications You must be signed in to change notification settings

drinkrobotics/Arduino-Cocktail

Repository files navigation

Arduino Cocktail

Build Status

This Arduino sketch can be used to control a cocktail machine, consisting in my case of four solenoids, controlled by relais, that open or close the path for up to four ingredients.

The user interface is implemented using an 128x64 monochrome I2C OLED and three pushbuttons.

Depends on the u8glib!

Hardware

The hardware for this project consists of an Arduino Nano controlling a 4-relay module connected to four 12V solenoid valves. For the user-interface there's an 128x64 I2C OLED and three big red buttons as well as a power switch rated for at least 2A at 12V. Everything is powered by a 3S 4Ah LiPo battery and two LM2596 Step-Down voltage regulator modules set to 5V. To monitor the LiPo voltage, I've included a small 7-segment voltmeter.

Also include some diodes, connected in reverse parallel over each solenoid, to suppress voltage spikes when turning them off. Otherwise, your Arduino may reset whenever the last solenoid is turned off.

Fritzing Schematic (Click image for full-size)

Licensing

----------------------------------------------------------------------------
"THE BEER-WARE LICENSE" (Revision 42):
<[email protected]> wrote this file.  As long as you retain this notice
you can do whatever you want with this stuff. If we meet some day, and you
think this stuff is worth it, you can buy me a beer in return.   Thomas Buck
----------------------------------------------------------------------------

About

Simple Arduino Nano Cocktail machine controller with OLED and button user interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages