🪔 Diwali Break: Orders placed now will ship from 25th November 2026. Place your order today — we'll get it to you right after we're back!
Project Hub /Basic Analog & Power Electronics/Simple Liquid Dispenser For Bottling Plants
Simple Liquid Dispenser For Bottling Plants
Intermediate
ATTINY85
Project Specific
3 – 6 Hours
Partial Kit

Simple Liquid Dispenser For Bottling Plants

This simple DIY liquid dispenser project releases a precise liter of liquid each time a button is pressed, providing an affordable automation solution for small bottling plants.

Originally published on ElectronicsForU
View original tutorial

Parts You'll Need

This project is sourced from another site, not written by us — this list is our best match of their components against what we stock, not a verified bill of materials. Always check the original blog (linked above) for the actual parts list before buying.

This list includes a generic resistor set as a placeholder — it is not matched to the exact value or part number this circuit needs. The correct one is specified on the original source page linked above; check it before buying.

We don't carry yet: ATmega / AVR chip
Voltage Regulator IC (7805 / LM317 / 1117)
Water Flow Sensor
Solenoid / Electric Lock
Transistors (BC547 / 2N2222 / TIP / MOSFET)
Capacitors
Header Pins / Terminals / Connectors

Browse all components

How It Works

Why Build This

Design an affordable, automated fluid-metering system suitable for small-scale bottling operations handling milk, oils, or beverages.
Gain practical experience interfacing pulse-based flow sensors and inductive loads like solenoid valves with resource-constrained microcontrollers.
Develop undergraduate-level competency in combining linear voltage regulation, transistor-based load switching, and firmware event counting.

Real-World Application

Small-scale automated bottling plants for packaging liquids such as oils, milk, and beverages affordably.

Skills You'll Learn

Microcontroller digital I/O programming
pulse-width and pulse-counting sensor interfacing
transistor-based inductive load switching
linear voltage regulation design
user interface integration with push buttons and multi-color LEDs

Safety Precautions

No specific precautions noted for this build — always follow general electronics safety practices.

Technology Tags

ATTINY85
AVR
MICROCONTROLLER
YF-S201
FLOW SENSOR
HALL EFFECT SENSOR
SOLENOID VALVE
VOLTAGE REGULATOR
ARDUINO IDE

Frequently Asked Questions

No. Solenoid valves draw significantly more current than an ATtiny85 output pin can safely supply, and they generate harmful voltage spikes when switched. The BD139 NPN transistor is required to handle the electrical load safely.
The 7805 takes a higher input voltage from the power supply and steps it down to a stable 5V, protecting the ATtiny85 microcontroller and logic components from voltage fluctuations.
The YF-S201 flow sensor sends a specific number of electrical pulses to the ATtiny85 for every unit of liquid that passes through it. The microcontroller counts these pulses and shuts off the solenoid valve via the transistor once the target volume is reached.

Gallery

This page is part of Kitkraft's Project Hub — a curated collection of electronics & robotics projects gathered from the maker community to help students and hobbyists discover and learn to build. Kitkraft does not claim authorship of the original project, and makes no representation as to the accuracy, completeness or safety of third-party source material. The summary and "How It Works" explanation above are AI-generated, rewritten with reference to the original tutorial — not a reproduction of it. Full credit and a direct link to the original source are provided above. If you're the original creator and have a concern about how your work is represented here, please contact us and we'll address it promptly.

Kitkraft Project Hub — curated from the maker community, credited at the source.
PRJ-00494