Bottle Filling and Capping System Using Arduino: DR Albert John Varghese
Bottle Filling and Capping System Using Arduino: DR Albert John Varghese
On
BHILAI
Bachelor of Technology
in
ELECTRICAL ENGINEERING
Semester VII
by
NIKHIL PRADHAN, 301302420006, BJ5963
ANAND KUMAR, 3010302420009, BK3377
ANURAG KUSHWAHA,301302420002, BJ5952
VINAY KUMAR AGARWAL,301302420005, BJ5961
Session : 2022-2023
DECLARATION
We, the undersigned, solemnly declare that this report on the project work
entitled “Bottle filling and capping system using Arduino”, is based on
our own work carried out during the course of our study under the guidance of
Dr Albert John Varghese We assert that the statements made and conclusions
drawn are an outcome of the project work. We further declare that to the best of
our knowledge and belief the report does not contain any part of any work which
has been submitted for the award of any other degree/diploma/certificate in this
University or any other University.
Signature
NIKHIL PRADHAN
301302420006
BJ5963
ANAND KUMAR
301302420009
BK3377
ANURAG KUSHWAHA
301302420002
BJ5952
VINAY KUAMR
AGARWAL
301302420005
BJ5961
2
CERTIFICATE
This is to certify that this report on the project submitted is an outcome of the
project work entitled “Bottle filling and capping system using Arduino”,
carried out by the students in the DECLARATION, is carried out under my
guidance and supervision for the award of Degree in Bachelor of Technology
in Electrical Engineering of Chhattisgarh Swami Vivekanand Technical
University, Bhilai (C.G.), India.
iii) Fulfills the requirement of the Ordinance relating to the B.Tech. degree
of the University, and
iv) Is up to the desired standard for the purpose for which it is submitted.
Dr Albert Varghese
3
Head of Department of Electrical Engineering,
Rungta College of Engineering & Technology,
Kohka - Kurud Road, Bhilai(C.G.), India
This is to certify that this project work entitled “Bottle filling and capping
system using Arduino”.
submitted by…
is duly examined by the undersigned as a part of the examination for the award
of Bachelor of Technology degree in Electrical Engineering of Chhattisgarh Swami
Vivekanand Technical University, Bhilai.
Date: Date:
4
5
ACKNOWLEDGEMENT
It is a matter of profound privilege and pleasure to extend our sense of respect and deepest
gratitude to our project guide Dr Albert John Varghese, Department of Electrical
Engineering under whose precise guidance and gracious encouragement we had the
privilege to work.
We avail this opportunity to thank respected Dr Albert John Varghese, Head of the
We acknowledge with the deep sense of responsibility and gratitude the help rendered by
respected Dr. Rakesh Himte, Principal, Rungta College of Engineering and Technology,
Bhilai for infusing endless enthusiasm & instilling a spirit of dynamism.
We would also like to thank faculty members and the supporting staff of Electrical
Engineering department and the other departments in the college, for always being helpful
over the years.
Last but not the least, we would like to express our deepest gratitude to our parents and the
management of Rungta College of Engineering and Technology, Bhilai respected Shri
Santosh Ji Rungta, Chairman, respected Dr. Sourabh Rungta, Director, Technical, and
respected Shri Sonal Rungta, Director, Finance & Administration for their continuous moral
support and encouragement.
6
CONTENT
List of Figures………………………………………………………………. 8
List of Abbreviation………………………………………………………...
10
Abstract………………………………………………………………………
11
7
3.1.2 Arduino Uno ……………………………………..
18
3.1.3 Motor Driver Shield………………………………
22
3.1.4 Limit Sensor…………….……………………….
24
3.1.5 conveyor belt ……………………………………...
25
3.1.6 IR Sensor …..………………………………………
28
3.1.7 Jumper Wire………………………………………
29
CHAPTER- 04 Hardware Implementation…………………………
30
4.1 Circuit Diagram………………………………………….. 30
4.2 Assembly of
Hardware…………………………………………32
CHAPTER- 05 RESULT AND
DISCUSSION………………………… 34
5.1
Result………………………………………………………….. 34
5.2
Discussion……………………………………………………... 34
CHAPTER -06 Conclusion and Future
Scope…………………………...36
6.1
Conclusion……………………………………………………..36
8
6.2 Future
Scope…………………………………………………...36
REFERENCES…………………………………………………………
…38
APPENDIX I(Source Code)
……………………………………………..39
APPENDIX II(Prototype)
………………………………………………..42
9
LIST OF FIGURES
Figure No Tittle of figure Page No
10
LIST OF Tables
Figure No Tittle of Table Page No
11
List of Abbreviation
IR INFRARED RADIATION
I/O INPUT AND OUTPUT
DC DIRECT CURRENT
IC INTEGRATED CIRCUIT
LCD LIGHT CRYSTAL DISPLAY
USB UNIVERSAL SERIAL BUS
GND GROUND
12
ABSTRACT
13
CHAPTER – 01
INTRODUCTION
The bottle filling and capping system represents a pivotal
component in modern manufacturing processes, particularly
within industries such as food and beverage, pharmaceuticals,
and cosmetics. This sophisticated system is designed to
streamline and automate the crucial tasks of accurately filling
containers with liquids or powders and securely sealing them
with precision.
15
17th century as well, providing a more effective seal than
previous methods.
17
Product Compatibility: Specify the types of products the system
will handle, considering variations in viscosity, texture, and
other product characteristics. Design the system to
accommodate different bottle shapes, sizes, and materials.
18
CHAPTER- 02
LITERATURE REVIEW
19
utilizes advanced technologies,
including liquid level sensors
and automated mechanisms, to
streamline the filling and
capping process. The system
ensures accurate positioning of
bottles on the conveyor belt,
precise liquid filling, and
reliable capping, resulting in a
high-speed production process
that optimizes efficiency and
product quality.
20
Sushil Kumar solution that uses sensors and
Madane, Abhijeet automation to precisely fill
Malve bottles with liquids. This
system improves efficiency,
reduces manual labor, and
ensures consistent fill levels,
contributing to a streamlined
and reliable manufacturing
process.
2.2 SUMMARY
Advanced automation and control systems to optimize the
bottle packaging The automatic bottle filling and capping
project leverages process. Through the integration of
technologies such as liquid level sensors, infrared sensors, and
microcontrollers, the system ensures precise and consistent
filling, reducing manual intervention. The addition of automated
capping further enhances efficiency, resulting in a sophisticated
solution that aligns with modern manufacturing demands for
accuracy and productivity.
21
CHAPTER -03
METHODOLOGY
CONVEYOR
POWER BELT
SUPPLY Arduino UNO
MOTOR DRIVER
SHEILD
LIMIT LIMIT 22
SENSOR 2 SENSOR 1
3.1.1 POWER SUPPLY
The bottle filling and capping project aim to design,
implement, and optimize a sophisticated system for automating
the filling and sealing of containers in manufacturing processes,
with a focus on efficiency, precision, and quality assurance. The
project's key components and objectives can be summarized as
follows:
24
wide community support, it is a popular choice for hobbyists,
students, and professionals alike.
25
sensor or a potentiometer. These pins can be used as
digital inputs as well.
4. PWM Output Pins: The Arduino Uno has 6 digital pins that
can be used as pulse-width modulation (PWM) outputs.
PWM is a technique for generating a square wave with a
variable duty cycle, which can be used to control the
brightness of LEDs, the speed of motors, or the
temperature of a heater, for example.
5. Serial Communication Pins: There are 2 serial
communication pins on the Arduino Uno, labeled RX and
TX, which can be used for serial communication with other
devices, such as sensors, displays, or other
microcontrollers.
6. ICSP (In-Circuit Serial Programming) Pins: The Arduino Uno
also has an ICSP header, which can be used to program
the microcontroller on the board using an external
programmer.
26
The Arduino Uno has a total of 14 digital input/output (I/O) pins,
which can be configured as either inputs or outputs. Digital
inputs are used to read the state of buttons, sensors, and other
digital devices, while digital outputs can be used to control
LEDs, motors, and other digital devices. The digital pins are
labeled 0 to 13 and are located along the top and bottom edges
of the board.
27
Fig 3.2 Digital Pins of Arduino Uno
28
The Arduino Uno has 6 analog input pins, labeled
A0 to A5, which can be used to read analog signals, such as the
output from a temperature sensor or a potentiometer. The
analog pins provide a means of measuring analog signals, such
as voltage, and converting those signals into a digital
representation that can be read and processed by the
microcontroller.
An analog signal is a continuous signal that can take on
any value within a specified range, such as a voltage level
between 0V and 5V. In contrast, digital signals can only take on
one of two values, such as high (5V) or low (0V).
29
Microcontroller ATmega328P – 8 bit AVR family microcontroller
Operating Voltage 5V
SRAM 2 KB
EEPROM 1 KB
30
functionality for controlling and driving motors, such as DC
motors, stepper motors, and servo motors.
A motor driver shield typically contains one or more H-
bridge motor drivers, which are integrated circuits that can
control the direction and speed of a motor. H-bridges work by
switching the voltage applied to the motor, allowing it to run in
both forward and reverse directions. By PW Ming the voltage
applied to the motor, the speed of the motor can be controlled.
LM293D Motor Driver
The LM293D is a motor driver integrated circuit that can
be used to control the speed and direction of a DC motor. It is a
dual H-bridge motor driver, which means that it can control two
DC motors at the same time, allowing you to control the speed
and direction of each motor independently.
The LM 293D can handle a maximum current of 1A per
channel, and it has built-in thermal protection to prevent
overheating. It can also be used to drive a variety of other
loads, such as solenoids and relays, by controlling the voltage
applied to the load.
To use the LM 293D in your Arduino project, you will
typically need to connect it to the microcontroller board, such
as the Arduino Uno, and supply it with power. You can then use
digital output pins on the microcontroller to control the speed
and direction of the motor.
The LM 293D is a popular choice for use in motor driver
shields due to its versatility and ease of use, and it is widely
available from electronics suppliers. By using a motor driver
shield that includes the LM 293D, you can simplify the process
of controlling motors in your Arduino projects and focus on
developing the overall functionality of your project.
31
Fig 3.2 LM293D
Proximity Sensors:
Inductive Proximity Sensors: These sensors detect the presence
of metallic objects without physical contact. They are suitable
for applications where non-metallic objects might interfere with
the sensing process.
Capacitive Proximity Sensors: Ideal for detecting the presence
of non-metallic objects, such as plastic bottles. Capacitive
sensors can work in environments where there might be
moisture or conductive materials.
32
FIG 3.3 PROXIMITY SENSOR
Photoelectric Sensors:
Through-Beam Sensors: Consist of a transmitter and receiver
placed opposite each other. When an object interrupts the
beam, the sensor detects the presence or absence of the
object.
Reflective Sensors: Emit a light beam and use a reflector to
bounce the light back to the sensor. When an object interrupts
the beam, the sensor triggers a response.
Diffuse-Reflective Sensors: Combine the transmitter and
receiver in a single housing. The sensor detects the presence of
an object by measuring the amount of light reflected back.
Mechanical Limit Switches:
Lever Arm Switches: Utilize a lever mechanism that is actuated
by the movement of an object. When the object reaches a
specific position, it triggers the switch.
Plunger or Push Button Switches: Feature a button or plunger
that, when pressed or released by an object's movement,
activates the switch.
Ultrasonic Sensors: Ultrasonic Proximity Sensors: Use ultrasonic
waves to detect the presence of objects. These sensors are
33
suitable for applications where other types of sensors may be
affected by environmental conditions.
Magnetic Sensors:
Magnetic Proximity Sensors: Rely on the detection of changes in
magnetic fields caused by the presence or absence of a
magnet. These sensors are durable and can operate in harsh
environments.
The selection of the appropriate limit sensor depends on factors
such as the specific application, the type of material being
handled (e.g., glass or plastic bottles), environmental
conditions, and the required precision of motion control within
the bottle filling and capping system.
Integrating limit sensors in key positions allows the system to
detect the limits of travel for moving parts, ensuring accurate
positioning and preventing collisions or mishaps during the
filling and capping processes. Proper calibration and
maintenance of these sensors are essential for the reliable and
efficient operation of the overall system.
34
3.1.5 CONVEYOR BELT
A conveyor belt is a crucial component in a bottle filling
and capping system, facilitating the smooth and efficient
movement of bottles between different stages of the
packaging process. The selection of the right conveyor
belt for the project depends on various factors such as
the type of bottles, production requirements,
environmental conditions, and the overall design of the
system. Here are some considerations for the type of
conveyor belts commonly used in bottle filling and
capping systems:
35
Application: Suitable for large, heavy bottles or
containers.
Advantages: Efficient for both straight and curved paths,
offers low friction, and can handle a variety of bottle
sizes.
Accumulation Conveyors:
Material: Various belt types can be used, depending on
the application.
Application: Used for creating buffers or accumulation
zones to manage the flow of bottles between different
stages of the process. Advantages: Helps prevent
bottlenecks and ensures a steady flow of bottles through
the system.
When selecting a conveyor belt for a bottle filling and
capping project, it's crucial to consider factors such as the
required speed, bottle size and weight, environmental
conditions (e.g., cleanliness requirements), and the
overall layout of the production line. Regular maintenance
and proper alignment are also essential to ensure the
longevity and optimal performance of the conveyor
system in the bottle filling and capping process.
36
FIG 3.5 CONVEYOR BELT
38
The specific type and configuration of infrared sensors will
depend on the requirements of the bottle filling and capping
system, including factors like the type of bottles, environmental
conditions, and the desired level of precision in detection.
Regular calibration and maintenance are essential to ensure the
accuracy and reliability of infrared sensors in the system.
Fig3.5 IR
SENSOR WITH ARDUINO
39
3.1.7 JUMPER WIRE
Jumper wires, also known as jumpers or jumper cables, are
short electrical wires that are used to connect different points
on a circuit board or between two pieces of electronics. They
are typically used in electronics projects, prototyping, and
testing to quickly and easily establish a temporary electrical
connection.
Jumper wires come in a variety of lengths and shapes,
including straight and angled pins, male-to-male, male-to-
female, and female-to-female connectors. They are typically
made from flexible, multi-stranded wire with insulation, allowing
them to be easily connected and disconnected as needed.
40
CHAPTER- 04
HARDWARE IMPLEMENTATION
41
Creating a complete circuit diagram for an IoT-based bottling system involves
various components and considerations. Below is a simplified example of a
circuit diagram for a basic IoT-enabled bottling system. Please note that this is a
conceptual representation, and the actual implementation may vary based on
specific requirements, sensors used, and the IoT platform chosen ..
Pump and Valve Control System: Controls the pump and valve
mechanisms based on signals from the microcontroller to
regulate the flow of liquid into bottles.
42
4.2 Assembly of Hardware
Assembling the hardware for an IoT-based bottling system
involves connecting the various components in the circuit
diagram. Below is a step-by-step guide for assembling the
hardware:
Components Needed:
Conveyor Belt
Filling Machine
Power Supply
Bottles
Step-by-Step Assembly:
43
Ensure proper wiring and connections, following the sensor's
datasheet or specifications.
Power Supply:
44
Upload the necessary code to the microcontroller.
Ensure that the liquid level sensor, pump, valve, conveyor belt,
and bottle presence detection system are working as expected.
Bottle Placement:
Observe the system's behavior and ensure that the IoT platform
receives relevant data.
45
4.3 WORKING OF MODEL
46
Throughout the operation, the microcontroller's decision-
making is informed by data received from various sensors,
creating a closed-loop system that continuously adapts to
changing conditions. This adaptability ensures that the bottling
system maintains efficiency and accuracy, meeting production
demands while adhering to quality standards.
CHAPTER- 05
5.1 RESULT
5.2 DISCUSSION
47
The implementation of the IoT-based bottling system yields
significant improvements in the overall efficiency and precision
of the bottle filling and capping process. This project introduces
automation into the production line, resulting in streamlined
operations and reduced manual intervention.
Through the integration of advanced technologies such as liquid
level sensors, infrared sensors, and intelligent control systems,
the system achieves a high level of precision in the filling
process. Liquid level sensors ensure that each bottle receives
an accurate and consistent fill, adhering to stringent quality
standards and minimizing variations in product packaging.
The incorporation of infrared sensors along the conveyor belt
enables precise bottle presence detection. This capability
ensures that the system can effectively control the initiation of
filling and capping operations based on the real-time position of
bottles on the production line. The adaptability of the system to
varying bottle sizes and production requirements enhances its
versatility, allowing for seamless integration into diverse
manufacturing processes.
A notable feature of the IoT-based bottling system is its ability
to facilitate real-time monitoring and control. The IoT
communication module enables remote access to crucial
production metrics and operational status. This remote
connectivity provides valuable insights into the performance of
the system, allowing for timely intervention, troubleshooting,
and adjustments as needed.
In summary, the project's results include heightened
operational efficiency, improved precision in bottle filling,
accurate bottle presence detection, adaptability to diverse
conditions, and the capability for real-time monitoring and
control. These outcomes collectively contribute to a more
sophisticated and responsive bottle filling and capping system,
aligning with the demands of modern manufacturing and
quality assurance standards
48
CHAPTER- 06
6.1 CONCLUSION:
49
The incorporation of machine learning algorithms stands out as
a potential avenue for predictive maintenance, anomaly
detection, and process optimization. Analyzing historical data
using machine learning can enable the system to predict and
prevent issues, contributing to improved overall efficiency.
In essence, the future scope for this project revolves around the
integration of advanced technologies, predictive capabilities,
and immersive training methods, contributing to a more
intelligent and efficient bottling system in line with evolving
industry trends.
REFERENCE:
50
Management Systems Conference. The 14th Asia
Pacific Regional Meeting of International Foundation for
production Research
(iii) Kalaiselvi T, Praveena R, Aakanksha R, Dhanya S. “PLC
Based Automatic Bottle Filling and Capping System
With User Defined Volume Selection”. International
Journal of Emerging Technology and Advanced
Engineering 2012; 2(8).
(iv) A.S.C.S. Sastry, K.N.H. Srinivas(2010), “An automated
microcontroller based liquid mixing system”,
International journal on computer science and
engineering. (Volume II, 8, August 2010).
(v) Bipin Mashilkar, Pallavi Khaire and Girish Dalve,
“Automated Bottle Filling System,” International
Research Journal of Engineering and Technology
(IRJET), e-ISSN: 2395-0056, p-ISSN: 2395-0072; Volume
02, Issue 07; October 2015.
(vi) Eka Cahva Primaa, Siti Sarah Munifahab, Robby
Salamb,Muhammad Haidzar Azizb, Agustin Tia
Survanic,“Automatic Water Tank Filling System
controlled using ArduinoTM based Sensor for Home
Application,” Procedia Engineering 170 (2017) 373-
377; Published by Elsevier Ltd.; Engineering Physics
International Conference, EPIC 2016; 2017.
(vii) Pravin Kalubarme, Sushil Kumar Madane, Abhijeet
Malve, Reshma Bagal, Shivaji Kamble, “Automatic
Water Bottle Filling System,” International Journal of
Innovations in Engineering Research and Technology
(IJIERT), ISSN:2394-3696; Novateur Publications; 2nd
National Conference on Modern Trends in Electrical
Engineering (NCMTEE-2018): 30-31st March 2018.
51
52
APPENDIX I (SOURCE CODE)
#include <LiquidCrystal.h>
const int rs=10, en=9, d4=5, d5=4, d6=3, d7=2; //pins of
LCD connected to Arduino
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
void setup(){
lcd.begin(16, 2); // Initialize LCD
lcd.setCursor(0, 0); // beginning of the first line
lcd.print("Mq135 Sensor");
lcd.setCursor(5, 1); // beginning of the second line
lcd.print(" WARMING UP");
delay(3000);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("IOT BASED AIR");
lcd.setCursor(6,1);
53
lcd.print("MONITOR");
delay(2000);
}
void loop(){
lcd.clear();
lcd.setCursor(0,0); // set cursor of lcd to 1st row
and 1st column
lcd.print("Air QualitY: "); // print message on lcd
lcd.print(ppm); // print value of MQ135
54
//blink led with turn on time 1000mS, turn off time
200mS
digitalWrite(buz,HIGH); //Turn ON Buzzer
}
else
{
//jump here if ppm is not greater than threshold and
turn off LED
digitalWrite(buz,LOW); //Turn off Buzzer
lcd.setCursor(1,1);
lcd.print ("AQ Level Good");
Serial.println("AQ Level Good");
}
delay (3000);
}
55
APPENDIX II(PROTOTYPE)
56
57
58
59