Skip to the content
2 layers81.3 × 86.4 mmWater Dispenser, the printed circuit board in 3D

A water dispenser that can dispense water mixed with flavouring like blackcurrent

Size
81.3 × 86.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
44
Pads
110
Tracks, vias
133, 28
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
31 May 2026
Updated
4 Jun 2026

Overview

Water Dispenser is an open-source printed circuit board by anadskman, from the anadskman/Water-Dispenser repository on GitHub. It is a 2-layer board of 81.3 × 86.4 mm with 18 parts on 44 nets, routed with 133 tracks and 28 vias.

It is built around the ESP32-WROOM-32, LM2596S-5.0 and AMS1117-3.3, with the IRLZ44N among its other parts. Its parts include 5 resistors, 3 ICs, 3 diodes, 3 connectors and 2 transistors. It belongs with the ESP32 boards of this library.

Main components

4

README

README.md

Water-Dispenser

A custom-built smart drink dispenser that mixes water and blackcurrant concentrate on demand using two independently controlled pumps. The system is powered by an ESP32 and features adjustable mixing ratios, WiFi connectivity, cooling support, and a custom PCB.

Overview

The dispenser stores water and blackcurrant concentrate in separate containers. When the dispense button is pressed, both pumps activate and mix the liquids through a shared output nozzle. The ESP32 controls the pump speeds, allowing the drink strength to be adjusted either through a potentiometer or a future web interface.

Features

  • Adjustable water-to-syrup ratio
  • ESP32-based control system
  • Custom PCB designed in KiCad
  • Food-safe tubing and liquid path
  • Physical dispense button
  • Potentiometer for ratio adjustment
  • Status LED

Hardware

Fluid System

  • 2L water bottle
  • 2L blackcurrant concentrate bottle
  • 2× 12V peristaltic pumps
  • Food-safe silicone tubing
  • Barbed Y-connector
  • Single output nozzle

Electronics

  • ESP32-WROOM
  • 12V DC barrel jack
  • LM2596 buck converter
  • 3.3V regulator
  • 2× Logic-level MOSFETs
  • 2× Flyback diodes
  • 2× 100Ω gate resistors
  • 2× 10kΩ pull-down resistors
  • 10kΩ potentiometer
  • Pushbutton
  • Status LED
  • 220Ω LED resistor
  • Decoupling and smoothing capacitors

Electronics Design

The schematic is centered around an ESP32-WROOM module.

Power enters through a 12V barrel jack and is split into two sections. The pumps run directly from the 12V rail, while an LM2596 buck converter steps the voltage down before a 3.3V regulator supplies power to the ESP32.

Each pump is controlled by a dedicated MOSFET driver circuit. A 100Ω gate resistor is used between the ESP32 and MOSFET gate, while a 10kΩ pull-down resistor ensures the pumps remain off during boot. Flyback diodes protect the electronics from motor-induced voltage spikes.

A pushbutton is connected using the ESP32's internal pull-up resistor, while a 10k potentiometer provides live adjustment of the syrup ratio. A status LED indicates operating state.

All grounds are shared throughout the system, and capacitors are used for voltage smoothing and noise reduction.


PCB Design

The PCB was designed in KiCad.

Design Process

  1. Created the schematic and assigned footprints.
  2. Performed the initial PCB layout.
  3. Routed all traces.
  4. Ran DRC checks and fixed any issues.
  5. Ensured nothing was placed inside the ESP32 keep-out zone.
  6. Exported the PCB as a STEP file.
  7. Imported the PCB into Fusion 360.

Enclosure Design

The enclosure was designed around the PCB and bottle mounting system.

Design Changes

  • Moved the LED, potentiometer, and button to the opposite side for better usability and appearance.
  • Added a cutout for the barrel jack.
  • Flipped the PCB orientation after discovering the bottle mounts blocked access to the power connector.
  • Designed a dedicated PCB housing.
  • Created a removable rear panel.
  • Added mounting points for both pumps.
  • Designed bottle mounts that allow the dispenser assembly to sit above the bottles.
  • Added a central passage for routing outlet tubing.
  • Planned to reverse one pump orientation to simplify tube routing.

Current Status

Completed

  • Project planning
  • Schematic design
  • PCB design and routing
  • DRC validation
  • STEP export
  • Fusion 360 integration
  • Enclosure design
  • Pump mounts
  • Bottle mounting system
  • Rear access panel

Bill of Materials (BOM)

ItemDescriptionQtyPrice (€)Total (€)
DC Power JackSocket DC Connectors11.461.46
DC 12V Dosing PumpPeristaltic Pump26.386.38
ESP32 Development BoardCH340C15.325.32
LM2596 ChipDC Converter10.820.82
AMS1117-3.33.3V Regulator11.481.48
16V 100µF Electrolytic CapacitorCapacitor11.941.94
100nF Ceramic CapacitorDecoupling Capacitor12.722.72
Food-Grade Silicone Tubing4mm ID × 5mm OD10.990.99
2-Pin Screw Terminals2P Terminal Block22.244.48
IRLZ44NLogic-Level N-Channel MOSFET13.043.04
Flyback Diodes1N400711.721.72
100Ω Gate ResistorsGate Resistors2OwnedOwned
10kΩ Pull-Down ResistorsPull-Down Resistors2OwnedOwned
Momentary Pushbutton6mm Tactile Switch1OwnedOwned
Potentiometer Bourns 3386P Vertical10kΩ12.162.16
LEDRed1OwnedOwned
220Ω ResistorLED Current Limiting Resistor1OwnedOwned
PCBWater Dispenser PCB (5 pcs)511.7911.79

Cost Summary

ItemCost (€)
Parts Total44.30
Shipping6.44
Grand Total50.74

Project Goals

The aim of this project is to create a compact, professional-looking drink dispenser that can accurately mix and dispense flavoured drinks while serving as a complete electronics, PCB design, firmware, and mechanical CAD project.

Gallery

PCB

Screenshot 2026-05-22 135122

CAD

Screenshot 2026-05-22 205002

Parts

18
QtyValueFootprintReferences
2100Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_VerticalR1, R3
210kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_VerticalR2, R4
21N4007Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1, D2
2IRLZ44NPackage_TO_SOT_THT:TO-220-3_VerticalQ1, Q2
2Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ2, J3
1220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_VerticalR5
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U3
1Barrel_JackConnector_BarrelJack:BarrelJack_CUI_PJ-102AH_HorizontalJ1
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32U2
1LEDLED_THT:LED_D5.0mmD3
1LM2596S-5Package_TO_SOT_SMD:TO-263-5_TabPin3U1
1R_PotentiometerPotentiometer_THT:Potentiometer_Bourns_3386P_VerticalRV10k1
1SW_PushButton_Switch_THT:SW_PUSH_6mm_H4.3mmSW1

Similar boards

  • 2 layers151 × 118 mmOBQAS, the printed circuit board in 3D

    OBQAS

    diminDDL/OBQAS

    Open Battery Quantification and Analysis System

    204 parts1MIT
  • 2 layers67 × 104 mmBreakout board, the printed circuit board in 3D

    Breakout board

    Mritunjay5511/ESP32-Multi-Motor-Controller-Board-

    Custom ESP32-WROOM-32 robotics controller PCB with onboard buck/LDO power regulation, auto-program circuit, and BTS7960/RMCS/relay/servo interfaces. Designed in KiCad.

    38 parts5MIT
  • 2 layers80 × 140.5 mmTest bench, the printed circuit board in 3D

    Test bench

    gaurav-sonawane4/PCB_Design_works

    46 partsMIT
  • 2 layers80 × 60 mmEsp32-clima, the printed circuit board in 3D

    Esp32-clima

    Ontos-2021/esp32-clima

    Estación meteorológica local con ESP32-WROOM-32, BMP180 y DHT22.

    30 parts
  • 4 layers203.8 × 99.1 mmISOpower complete bothboards, the printed circuit board in 3D

    ISOpower complete bothboards

    practable/iso-power-pcb

    Remote power control board for ISO experiment containers, used for remote labs projects

    196 partsGPL-3.0
  • 4 layers70 × 157.5 mmController Tv Lift, the printed circuit board in 3D

    Controller Tv Lift

    vyrubaev/TV-Lift-Controller

    TVLift Controller is an intelligent controller for TV lift and lower mechanisms, based on the ESP32 microcontroller.

    103 parts
  • 6 layers95.9 × 90.2 mmPHAT-3-Main Board, the printed circuit board in 3D

    PHAT-3-Main Board

    UWCubeSat/PHAT-3-Main-Board

    PCB design for the PHAT-3 weather balloon payload's main board, housing a radio, sensors, camera, and buck converter.

    34 parts3
  • 2 layers82.5 × 73 mmFABRICATION, the printed circuit board in 3D

    FABRICATION

    HABBOUBY/MONGEYA_

    Autonomous cleaning station with waste sorting robot ,built for Hack Club Beest.

    25 parts2MIT

Questions

How big is the Water Dispenser PCB?

It measures 81.3 × 86.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Water Dispenser use?

18 parts, built around the ESP32-WROOM-32, LM2596S-5.0, AMS1117-3.3 and IRLZ44N. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Water Dispenser KiCad files?

From the anadskman/Water-Dispenser repository on GitHub, at the commit this page was made from: the board is PCB/Water Dispenser.kicad_pcb and its schematic PCB/Water Dispenser.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Water Dispenser design in my own project?

Its repository states no licence, so its author keeps all rights: ask anadskman before reusing the design.