Automated Water Dispenser
Automated Water Dispenser
Automated Water Dispenser
Alyssa I. Gabayno
Harold Jhed A. Pascual
Janelle M. Recto
Quency Alyana B. Villacampa
January 2024
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING ii
TABLE OF CONTENTS
Preliminaries Page
Title Page .................................................................................................... i
Table of Contents ........................................................................................ ii
Introduction ........................................................................................... 1
Objectives .............................................................................................. 1
Materials/ Device Specification ............................................................... 2
Testing and Procedure ........................................................................... 6
Flow Chart .............................................................................................. 7
Circuit Diagram....................................................................................... 8
Design of the Devices............................................................................. 8
Code ...................................................................................................... 8
Costing......... .......................................................................................... 10
Conclusion and Recommended innovation in 10 years .......................... 11
Citation and References ......................................................................... 11
Documentation ....................................................................................... 12
Curiculum Vitae ..................................................................................... 13
Individual Narrative Report for the Entire Semester ............................... 20
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING 1
Introduction
homes, and public places. The Arduino microcontroller board is a versatile and
water dispensers.
sensors, actuators, and other electronic components to monitor and control the
parameters such as water level, temperature, flow rate, and user requests,
among others.
time feedback on water usage. Additionally, the system can be integrated with a
and monitoring.
effective and sustainable solution for managing water resources while enhancing
Objectives
The primary goals of a compact water mini dispenser with precise water
Arduino Nano
https://images.app.goo.gl/JAVzF8vu5msJNF3W8
capabilities similar to the Arduino Uno, featuring various I/O pins and
typically connect water level sensors, a pump, and potentially a user interface. By
programming the Nano with the Arduino IDE, you can create code to read sensor
data, control the pump, and manage the dispenser's operation, allowing for tasks
like regulating water levels and dispensing specific quantities. This setup
actions and responsive behavior based on programmed logic and sensor inputs.
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING 3
Relay DC
https://support.allpondsolutions.co.uk/support/solutions/articles/44001284195
(DC) and is typically used in low-voltage and low-power applications. The relay
to the coil, it creates a magnetic field that pulls the armature, which in turn moves
the contact set to either open or close the circuit. Relay DCs are commonly used
Air Pump
https://www.freshwatersystems.com/blogs
An air pump is a device that moves air from one place to another using a
motor, rotor, and stator. It can create a vacuum or push air out of a chamber. Air
pumps are used for various purposes such as inflating tires, filling swimming
pools, powering air tools, and regulating pressure in industrial processes. The
type of air pump used depends on the specific application and required flow rate,
with options including diaphragm pumps, piston pumps, and vane pumps.
Ultrasonic Sensor
https://robocraze.com/blogs/post/what-is-ultrasonic-sensor
detect objects and measure distances. It emits ultrasonic pulses and measures
the time it takes for the echoes to return to calculate the distance between itself
and the object. Ultrasonic sensors are commonly used for obstacle detection,
LCD
https://www.techtarget.com/whatis/definition/LCD-liquid-crystal-display
LCD (Liquid Crystal Display) is a type of flat panel display technology that
uses liquid crystals to display images and text. LCD screens are commonly used
calculators. The liquid crystals in an LCD cell change their orientation when an
electric field is applied, allowing different levels of light to pass through and
create a visible image. Unlike CRT (Cathode Ray Tube) displays, LCD screens
do not use a cathode ray to create an image, making them thinner, lighter, and
more energy-efficient.
Jumper Wires
https://ph.element14.com/multicomp-pro/mp006289/jumper-wire-kit-male-to-female/dp/3617778
prototyping board. These wires, featuring flexible and insulated conductors with
connectors at both ends, enable the swift and temporary creation of electrical
links. Their primary function lies in forming electrical pathways, allowing signals
to move seamlessly between distinct points within the circuit. In the prototyping
and testing phases of electronic projects, jumper wires are invaluable, offering a
hobbyists, and students benefit from the versatility and user-friendly nature of
jumper wires, using them to experiment with circuit designs, troubleshoot issues,
and easily iterate on their projects, thereby accelerating the development and
LCD The LCD display has been The LCD testing results
successfully linked to the are positive,
Arduino, allowing it to demonstrating
showcase the total weight. successful functionality.
The LCD accurately
measures the weight of
objects placed on the
device.
Jumper Capability to establish The testing results for
Wires connections between the jumper wires
Arduino and other hardware indicate normal
components, facilitating functionality, confirming
seamless connectivity their ability to establish
connections with both
Arduino and other
hardware components.
Flow Chart
Circuit Diagram
Code
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define TRIGGER_PIN 5
#define ECHO_PIN 4
#define RELAY_PIN 6
void oled_setup() {
display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
display.clearDisplay();
display.display();
}
void sensor_setup() {
pinMode(TRIGGER_PIN, OUTPUT);
pinMode(ECHO_PIN, INPUT);
pinMode(RELAY_PIN, OUTPUT);
void setup() {
oled_setup();
sensor_setup();
}
void loop() {
display.clearDisplay();
display.setTextSize(2);
display.setTextColor(SSD1306_WHITE);
if (isGlassDetected()) {
display.setCursor(0, 0);
display.println("Dispensing water");
dispenseWater();
display.setCursor(0, 20);
display.println("Water dispensed");
} else {
display.setCursor(0, 0);
display.println("Place your glass");
}
display.display();
delay(5000); // Adjust the delay based on your application needs
}
bool isGlassDetected() {
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING 10
digitalWrite(TRIGGER_PIN, LOW);
delayMicroseconds(2);
digitalWrite(TRIGGER_PIN, HIGH);
delayMicroseconds(10);
digitalWrite(TRIGGER_PIN, LOW);
return (distance < 10); // Adjust the threshold based on your sensor's
characteristics
}
void dispenseWater() {
digitalWrite(RELAY_PIN, HIGH); // Activate the relay to dispense water
delay(12000); // Adjust the dispensing time based on your requirement
digitalWrite(RELAY_PIN, LOW); // Deactivate the relay
}
Costing
5 Relay DC 1 75
6 LCD 1 165
Table 2.1. shows the materials costs in creating our devices. It also shows
the prices of each materials that we need for creating Automated Mini Water
In summary, the automated mini water dispenser has been handy and
effective for staying hydrated in the last ten years. Its small size and easy-to-use
design make it accessible for everyone. For the future, a good idea is to add
smart features, so people can pick the water temperature and keep track of how
much they drink. Also, using eco-friendly materials and saving energy would be
great for the environment. Working together with health devices can make the
Documentation
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING 13
Curiculum Vitae
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING 14
GABAYNO, ALYSSA I.
Purok 6, Brgy. San Mateo
San Pablo City,Laguna
Contact #: 0946-329-4993
Email: alyssagabayno16@gmail.com
EDUCATIONAL ATTAINMENT
SKILLS
• Knowledge in Autocad
• Computer Literate
• Knowledge in MS Office
• Layout
• Installation of OS and Software
PERSONAL INFORMATION
Date of Birth : September 16, 2002
Place of Birth : Sta. Felomina, Laguna
Sex : Female
Nationality : Filipino
Civil Status : Single
Language Spoken : Filipino/English
Parents
Father : Alexander T. Gabayno
Mother : Pricila I. Gabayno
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING 15
EDUCATIONAL ATTAINMENT
SKILLS
• Computer Literate
• Knowledge in MS Office
• Video and Photo Editing
• Computer Networking
PERSONAL INFORMATION
Date of Birth : August 25, 2002
Place of Birth : San Pablo City
Sex : Male
Nationality : Filipino
Civil Status : Single
Language Spoken : Filipino/English
Parents
Father: Alfredo Jr V. Pascual
Mother: Yolanda A. Pascual
ACHIEVEMENTS
RECTO, JANELLE M.
Purok 7, Sta. Veronica
San Pablo City,Laguna
Contact #: +63-967-422-9251
Email: cpe.recto.janelle@gmail.com
EDUCATIONAL ATTAINMENT
SKILLS
• BasicTroubleshooting
• Computer Literate
• Knowledge in MS Office
• Flexibility
• Teamwork and Collaboration
PERSONAL INFORMATION
Date of Birth : March 22, 2002
Place of Birth : San Pablo City, Laguna
Sex : Female
Nationality : Filipino
Civil Status : Single
Language Spoken : Filipino/English
Parents
Father: Richard Recto
Mother: Renelyn Recto
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING 17
SEMINARS ATTENDED
Bureau, via zoom.us platform. May 11, 2023, 10:00 AM to 12:00 PM via zoom.us
platform.
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING 18
EDUCATIONAL ATTAINMENT
SKILLS
• Computer Literate
• Knowledge in MS Office
• Video and Photo Editing
• Computer Networking
PERSONAL INFORMATION
Date of Birth : February 22, 2002
Place of Birth : San Pablo City
Sex : Female
Nationality : Filipino
Civil Status : Single
Language Spoken : Filipino/English
Parents
Father: Arnel C. Villacampa
Mother: Rosalinda B. Villacampa
ACHIEVEMENTS
DelEarth.com (OJT)
Technician and Customer Sales Associate
San Pablo City Laguna
April 2019 – May 2019
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING 19
SEMINARS ATTENDED
Bureau, via zoom.us platform. May 11, 2023, 10:00 AM to 12:00 PM via zoom.us
platform.
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING 20
Artificial Intelligence
Data Science
In parallel, learning about data science has involved traveling over the
digital terrain, where data is converted into insights that can be put to use.
Because data science is multidisciplinary, it requires a wide range of skills;
mastery of the whole data science life cycle has been found to be essential for
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING 22
Examining various data kinds, how they are represented, and the nuances
of the Data Value Chain highlights how important each step is in a large-scale
data system. An overview of clustered computing and the Hadoop ecosystem,
which are essential components of efficient large-scale data management, opens
the door to understanding Big Data and its benefits and difficulties.
The course also covered Data Science, addressing topics such as data
and information, the processing cycle, types of data, the value chain, the concept
of big data, and clustered computing and the HADOOP ecosystem. Additionally,
the course explored Artificial Intelligence and Nanotechnology, expanding
students' knowledge of emerging technologies.
PAMANTASAN NG LUNSOD NG SAN PABLO
COLLEGE OF ENGINEERING 24
After the introduction to the course, ethics related to it was also discussed.
Starting with technology in human life, it includes how technology affects the
society and daily lives of everyone in a daily basis. As it affects daily lives,
presumptions including liberty, optimism, and inevitability takes place. Common
concerns regarding emerging technologies as an extrinsic concerns like
environment, health, and safety (EHS), justice, access, and equality, individual
rights and liberties, autonomy, authenticity, and identity, and dual use also arose
together with technology. Intrinsic concerns including playing god, hubris, and
respecting nature was also discussed. Ethics in emerging technology also
teaches about ethical analysis, theories and values.
The emerging technologies covers the topics about Data Science, Artificial
intelligence and the Final Module that includes the chapter 7: other emerging
technologies. The Data Science covers a several topic such as field of data
science including data science itself, data and information, data value chain and
big concept of data. The Data Science need to have various skills and knowledge
to succeed in their field. This includes understanding the industry, being good at
programming, analyzing statistics, being adaptable, and having strong
communication skills. It's important for them to master the entire data science
process, which involves turning raw data into useful information by understanding
data processing cycles.