Modular Liquid Dispensing System
Modular Liquid Dispensing System
Project Overview
This projetc is about a modular liquid dispensing system developed as our final examination project for our Mechatronics Engineering Technician qualification.
The core idea is to create an expandable system consisting of independent dispensing modules. Each module has its own liquid tank, an ESP32-based controller and a pump. The modules operate independently while communicating with a central control logic, allowing multiple liquids to be managed and dispensed.
The Concept
Each dispensing unit is a self-contained module that can be added, removed, replaced or modified without redesigning the machine.
This architecture makes it flexible and scalable. New modules can be integrated to handle additional liquids.
The system is designed around accurate liquid dispensing with measurement and control handled by the individual modules.
Technical Architecture and Design Choices
One of our main design goals was to keep the individual dispensing modules as independent as possible. Each module has its own microcontroller, pump control electronics and measurement system. This means that the central system does not need to handle every low-level operation itself. Instead it sends commands to the modules while each module manages its own dispensing process and reports its status.
Gravimetric Dispensing
A key design decision is to use weight-based measurement instead of relying solely on pump operating time or estimated liquid flow.
Each dispensing module uses a load cell to measure the amount of liquid being dispensed. The load cell signal is processed through an HX711 load-cell amplifier and connected to the ESP32 controller.
By monitoring the change in weight during dispensing the module can determine how much liquid has actually been delivered. This approach makes the dispensing process less dependent on variations in pump performance, liquid properties and operating conditions.
The controller can use the measured weight as feedback when operating the pump, allowing it to stop dispensing once the requested amount has been reached.
Distributed Control System
Every module is built around an ESP32-based controller. We chose the ESP32 platform because it provides sufficient processing capabilities, flexible GPIO, communication interfaces and a well-established development ecosystem.
The controllers handle the module-specific tasks, including:
Reading and processing weight measurements.
Controlling the dispensing pump.
Managing the module's operating state.
Communicating with the central control system.
Custom Electronics and PCB Design
Rather than using separate development boards and wiring everything together, we are designing dedicated PCBs for the dispensing modules.
The custom boards integrate the ESP32 module interface, load-cell amplifier, pump driver and communication connections into one compact design. The pump driver stage uses a dedicated motor-driver IC, allowing the microcontroller to control the pump without directly driving the motor from its GPIO pins.
We are also paying attention to practical aspects of the hardware design, such as power distribution, connector placement, modular connections and ease of assembly.
The ESP32 modules are socketed rather than permanently soldered to the PCB. This makes them easier to replace, reprogram and reuse during development and maintenance.
Communication and Expandability
The individual modules communicate with the central system through a defined communication protocol. Each module can be addressed independently. Adding another dispensing unit should not require fundamental changes to the existing modules or the central control software.
We are also developing the software architecture in separate layers, keeping the user interface, dispensing logic and module communication independent. This makes the system easier to maintain and allows individual parts to be developed and tested separately.
Current Development Status
The overall system concept and the custom electronics have been designed and validated. We are preparing the PCB files for manufacturing.
The next major step is to manufacture and assemble the boards and integrate them into the dispensing modules and test the complete system. PCBWay's support would help us turn our custom electronics designs into actual hardware and bring the project closer to a fully functional prototype.
We are excited to develop this project further!
Apply for sponsorship >>- Comments(0)
- Likes(0)