How to Make Automatic Bottle Filling and Capping Machine Using Arduino

...

This video teaches how to build an Automatic Bottle Filling and Capping Machine using an Arduino microcontroller and 3D printed parts.


This machine demonstrates its accuracy and speed. [00:06]


Summary of the steps and main components:

1. Control Board Design

The creator of the video began by designing and fabricating a printed circuit board (PCB). [01:15]


Main Electronic Components Components used on the PCB include:


Arduino Nano


A4988 Stepper Motor Driver


12V DC Relay


Transistors, Resistors, Capacitors, Diodes, and Buzzers [03:09]


2. Machine Structure Assembly

Most of the main components are 3D printed parts [06:04]


Mechanical and electrical components used include:


Linear Sliding Bearings


NEMA 17 Stepper Motors for Motion Drives


12V Water Pumps for Liquid Filling


Small Air Pump and Solenoid Valve


3 Infrared Sensors for Position and Object Detection [07:43]


Assembly Process: The slide rails, stepper motors, timing belts, and capping assembly are assembled on a wooden base. [09:05]


3. Main Mechanisms

Mechanisms, Main Components, Operation

Filling: Water Pump, Tubing, and Syringe (20 ml medical syringe) [08:50] The water pump dispenses liquid through the tubing into the conveyed bottles. [14:33]

Capping: 12V DC Capping Motor (DC Gear Motor), 3D Printed Capping Unit, and Spring. [08:32] The motor rotates and presses the fed cap onto the filled bottles. [12:14]

Conveyor Belt: Conveyor Belt (From the previous video), stepper motor [16:58] conveying empty bottles into the machine, conveying filled bottles out [17:01]


4. Sensors and Control System

Sensor 1: Detects the machine's home/reference position (Homing Position) [13:42]


Sensor 2: Detects whether a bottle is in the filling position. If there is no bottle, the machine automatically stops [14:14]


Sensor 3: Detects whether a cap is in the waiting position. If there is no cap, the machine automatically stops and gives an alarm [14:20]


Writing and uploading Arduino code to control the sequential operation of all motors and sensors [16:34]


5. Demonstration

A video demonstrating the machine's operation, demonstrating that it can accurately and continuously fill and cap small bottles [18:06]


Demonstrating the automatic stop function when there are no bottles [19:20] and when there are no caps in the feeder [20:35]

 






...