Professional Documents
Culture Documents
Automated Vending Machine For Females Personal Hygiene
Automated Vending Machine For Females Personal Hygiene
AN UNDERGRADUATE THESIS
In Fulfillment
Of the Requirements for the Degree
BACHELOR OF SCIENCE IN ELECTRONICS AND COMPUTER
TECHNOLOGY
IZZA P. ALINDONG
GLAISEL FAITH M. REGNER
ERULL MARRON T. TONZO
May 2019
Republic of the Philippines
Mindanao State University - Iligan Institute of Technology
COLLEGE OF COMPUTER STUDIES
_______________________ _________________________
Date Date
_________________________
Date
__________________________ _________________________
Date Date
This thesis is approved in partial fulfillment of the requirements for the degree
of Bachelor of Science in Electronics and Computer Technology major in
Communication Systems.
_________________________ _________________________
Date Date
CERTIFICATE OF AUTHENTIC AUTHORSHIP
We hereby declare that we are responsible for the work submitted in this
thesis, that the original work is our own except as specified in the references. This
has not previously been submitted for a degree nor has it been submitted as part of
any requirement for a degree of any other institution. In addition, we certify that all
information sources and literature used are indicated in this manuscript.
IZZA P. ALINDONG
Researcher
The completion of this study was made possible by many individuals. There
are no proper words to express our deepest appreciation and sincere gratitude to all
who had helped and supported us while doing this study. Firstly, to our Almighty
God Jesus Christ for giving us guidance, wisdom and power for us to surpass each
day and every challenges that we had encountered not only in our research but also
in our lives.
Secondly to our parents, siblings and friends that always raise us up in times
that we are down during our struggles in doing our research.
We would like to express warmth appreciation to the people who made this
study possible.
To Sir Jofel P. Batutay, who was a great help in our firmware
programming; to Rowen Jay V. Obenario for always supporting us in our
endeavors.
To our adviser Prof. Joel I. Miano and Co-adviser Prof. Nerissa Adlaon
for guiding and teaching us the best things to do to improve and finish our study.
To the panel members, Mr. Ian Bagunas, Prof. Ofelia Mendoza and Prof.
Joseph Allan Y. Mascardo who gave us suggestions and recommendations
regarding our study which greatly helped us in improving our study.
vii
TABLE OF CONTENTS
PAGE
TITLE PAGE ......................................................................................................................... i
CERTIFICATE OF PANEL APPROVAL .................................................................. ii
CERTIFICATE OF AUTHENTIC AUTHORSHIP ............................................... iii
ABSTRACT ........................................................................................................................... iv
DEDICATION ........................................................................................................................v
ACKNOWLEDGEMENTS .............................................................................................. vi
TABLE OF CONTENTS ................................................................................................. vii
LISTS OF TABLES ........................................................................................................... xii
LISTS OF FIGURES ........................................................................................................ xiii
CHAPTERS
1 INTRODUCTION 1
Dispense ..................................................................................... 14
2.6 Water Vending Machine ............................................................ 15
3 TECHNICAL BACKGROUND 17
4 METHODOLOGY 26
REFERENCES 53
APPENDICES 55
A Gannt Chart ...................................................................................... 55
B Budget Proposal .............................................................................. 56
C Preliminary Survey Questionnaire .................................................. 57
D Sample Preliminary Survey Answer ............................................... 58
E Post Survey Questionnaire ............................................................... 59
F Post Survey Answer .......................................................................... 60
G Hardware Specification .................................................................... 61
H System Code ..................................................................................... 69
I Photo Gallery .................................................................................... 76
CURRICULUM VITAE
xi
LIST OF TABLES
Table Page
5.1 Development of System Result ................................................................ 39
5.2 Vending Machine Firmware Features ...................................................... 44
5.3 Hardware Components Testing Results ................................................... 45
5.4A PIR Sensor Distance Result ..................................................................... 46
5.4B PIR Sensor Motion Result ....................................................................... 46
5.5A Unregistered ID Numbers Testing Results .............................................. 47
5.5B Registered ID Numbers Testing Results .................................................. 48
5.6 Product Dispensing of the Sytem Prototype Testing Result .................... 48
xii
LIST OF FIGURES
Figure Page
1.1 Conceptual Framework of the Study ......................................................... 4
2.1 Reaction to menstruation .......................................................................... 8
2.2 Type of absorbents used during menstruation .......................................... 8
2.3 Reasons for not using sanitary pads .......................................................... 8
2.4 NFHS 2015-2016 survey .......................................................................... 9
2.5 Access to disposable sanitary napkin has increased .............................. 10
2.6 2030 Agenda for Sustainable Development ........................................... 10
2.7 Shows limited access to facilities ........................................................... 11
2.8 Shows official sanitation coverage data for the Philippines ................... 12
2.9 Block diagram of coffee vending machine ............................................. 13
2.10 Architecture of the system ...................................................................... 14
2.11 Block Diagram ........................................................................................ 15
2.12 Block Diagram ......................................................................................... 16
3.1 System Interface and process for AVM for FPH with AMS .................. 17
3.2 AVM for FPH-AMS hardware design .................................................... 18
3.3 Software Development ............................................................................ 19
3.4 Actual system position ............................................................................ 20
3.5 System Box ............................................................................................ 23
3.6 Software Interface ................................................................................... 24
3.7 Code blocks ............................................................................................. 24
3.8 Schematic Diagram of AVM-FPH with AMS ........................................ 25
4.1 Methodology Flowchart .......................................................................... 26
5.1 Shows the existing Vending Machine in CCS ........................................ 33
5.2 Commonly use Comfort Room in CCS .................................................. 34
5.3 Number of times to use the Comfort Rooms ........................................... 34
5.4 Reasons in going to the Comfort Rooms ................................................. 35
xiii
INTRODUCTION
Personal Hygiene is the most important part to consider in one’s life which
includes different habits like body hygiene, oral hygiene, hand washing, face
hygiene, and even the constant grooming of fingernails, ear, hair, foot, and etc.
Moreover, menstrual cycle for femalesis seemed to be a sensitive topic, especially
since there is a need tokeep away from viruses, bacteria and fungal to avoid
infections. Sanitation and hygiene arecritical to health, survival, and development.
Many countries are challenged in providing adequate sanitation for its entire
population, leaving people at risk for water, sanitation, and hygiene-related
diseases. Throughout the world, an estimated 2.4 billion people lack basic
sanitation, more than 32% of the world’s population (Centers for Disease Control
and Prevention, 2017).
The Sustainable Development Goal number six (6) stated that unsafe drinking
of water, unsafe sanitation and lack of hygiene continues to be the major
contributors to global mortalityresulting in about 870,000 deaths in 2016. These
deaths were not mainly caused of diarrhea related diseases but also from
malnutrition and intestinal nematode infections. Furthermore, it also stated that
ensuring healthy lives and promoting the well-being of all ages could be achieved
through an improved sanitation hygiene. Also, SDG number five (5) which is
focused in achieving gender equality and empowering all women and girls,
expressed hygiene as a key factor for women and girls to access the economical,
educational, and social opportunities they deserve.
Thus, the researchers aims to develop the Automated Vending Machine
for Female Personal Hygiene with Account Monitoring System (AVM for FPH-
AMS) to provide a personal hygiene products for the women.
2
Arduino UNO. It is a credit-card size board where you can store and run a
program and function as a micro controller. This item will be used solely for the
researchers Servo motors with the Spring coils attached to it that the researchers
will use to dispense the sanitary products prior to the users or buyers choice.
Account system. It is a system that is semi-similar to the My.IIT but
the difference is that the only function of the system is to store or record
all the product taken or purchase by the user prior to using the vending
machine. Moreover, in order to access and use the vending the user must
have a personal account created.
Barcode. A barcode is a square or rectangular image consisting of a series
of parallel black lines and white spaces of varying widths that can be read by a
scanner.
Barcode scanner. It is a device that records and translate bar codes from
the image you recognize into alphanumeric digits in order to access the vending
machine.
Coil Spring.It is a spring shaped tool inside the vending machine which is
rotated by the motor that helps dispense and drop the products when the vending
machine is accessed.
Monitoring. It is a feature in the system that will monitor the availability of
the products inside the machine and notify the authorized person or operator about
the remaining products inside the machine.
Motion sensor. An electronic device capable of converting the movements
it senses into electrical signals. It functions as the system power saving device
6
wherein the vending machine will only operate when the sensor detects a user from
a considerable range.
Raspberry Pi. This item will be used as the main module or micro
controller for the study which will carry and store the program and control the
general function of the hardware and software of the system.
Sensor. A device that can responds or detects from the physical
environment and transmits a resulting impulse.
Servo Motor. It is a rotary actuator that consist of a suitable motor that
allows to precisely control the rotation of the coil spring to properly dispense
products carried by the coil spring.
Touch screen. A computer screen that allows users to select the product and
the quantity of the product they wish to purchase in the vending machine using their
fingers.
Vending machine. Is an automatic machine that has mechanical parts that
dispenses sanitary products such as napkins and tissues when the bar code is
scanned, or if you input your ID number.
7
CHAPTER 2
This research study cited books, articles and laws which are relevant to the
present investigation. It is composed of relevant literature and related studies, both
local and foreign, which contain facts and information on the research problem that
has significant bearings to the present study.
Figure 2.2 depicts that the majority in the urban (75.9%) and (65%) in rural
area used sanitary pads followed by the use of both pad and cloth as absorbents
20.7% and 30.4% respectively.
Figure 2.3 depicts the reasons for not using sanitary pads which include
difficulty in disposing 5(55.6%) in both urban and rural areas followed by and high
cost of pad in rural areas 4 (30.8%). Of all participants, 30% of urban and 44% of
rural 44% adolescent girls dried the menstrual cloth used as absorbents inside their
homes.
Overall the most prominent reason cited for not changing pads in schools
included feeling uncomfortable among both groups (72.6%). It was observed that
among the rural participants, 24.2% stated that water and disposal facilities were
not available, while 6.2% also mentioned unhygienic conditions for not changing
absorbents in their schools.
Source: www.unicef.org
The NFHS 2015-16 survey pegs the number for women using hygienic means of
managing menstruation in India at 78% in urban areas, 48% in rural areas and 58%
overall. Today, nearly 6 out of 10 women in India have access to disposable sanitary
napkins. According to this survey, locally prepared napkins, sanitary napkins and
tampons are considered as hygienic methods of protection. One can assume from
the language used that single use disposables are considered hygienic. There are
10
On the other hand, one hundred ninety-three member states of the United
Nation General Assembly signed the 2030 Agenda for Sustainable Development
with 17 goals. With its mission to achieve access to adequate and equitable
sanitation and hygiene for all and end open defecation, paying special attention to
the needs of women and girls and those in vulnerable situations. The SDG 6 focuses
11
on ensuring the availability and sustainable management of water and sanitation for
all.
Across the Philippines, there are more latrines per school when compared
with other countries, although sanitation facilities are still far from adequate. Toilets
are often out of order, and even when functional, students avoid them because they
are reported to be unclean, smelly and poorly lit.Economically marginalized girls
in the Philippines have little incentive to stay in school during menstruation when
the school environment is not amenable to their needs. Another challenge for girls
is that the hand-washing sinks in schools are stationed outside the toilet facilities,
which poses a problem for girls who hope to wash bloodstains from their clothes in
private. Hand-washing sinks also lack soap and, oftentimes, the water has to be
fetched. Most girls use sanitary napkins during their menses, but some girls use
nothing at all. The most commonly used sanitary napkin is a folded piece of cloth
called a pasador, which provides only minimal absorbency. Whether girls use a
commercially sourced sanitary pad, a pasador or nothing, they fear that blood will
stain their clothes and their peers will tease them. In attempts to avoid ridicule, girls
wear multiple pairs of underwear or black shorts beneath their uniforms (Haver,
Caruso).
Figure 2.7 Shows toilets at this school were padlocked, girls could not access them
quickly, conveniently or discreetly. This practice drew attention to their need for
using the Facilities.
Figure 2.8 shows official sanitation coverage data for the Philippines
Figure 2.8 the data indicate that about 72% of the Philippine population had
access to improved sanitation in 2004. While the figure is a considerable
improvement from the 57% in 1990, it nonetheless suggests that at least 20 million
people have no access to improved sanitation facilities. Based on current population
trends, an additional 2 million Filipinos will also require adequate and clean
sanitation facilities each year. Further, the rural-urban disparity is evident as only
59% of the rural population in 2004 had access to improved sanitation compared
with 80% of the urban population. Hygiene practice in the Philippines is another
concern. A nationwide survey in 2000 found that less than half of the respondents
wash their hands after using the toilet.
13
help the teachers in our college to avoid maintaining the registry book. This project
uses a barcode scanner. B.B.S.A.S uses Barcode scanner to take the attendance of
students entering the lab. Each student’s ID card will have a barcode at the back
side of it. This barcode contains unique data of the student such as roll number,
branch and year. Etc. Student will scan their barcode at the end so that the student
can’t cheat. The display screen will show the attendance of the particular student
after scanning his/her barcode. Teachers and administrator will only have access to
the system with their respective login ID’s and passwords.
keep track of available napkins and inform the person concerned when fewer
napkins are available. Keywords: Sanitary Napkin, Dispenser, PLC, RFID, Solar
Panel.
Now a day’s water vending machines are available and operated on only one coin
but our aim is to design water vending machine which is operated on different coins.
In India there is problem of safe drinking water therefore we are going to provide
mineral water. Water has become the most commercial products of the century. This
may sound bizarre, but true. The stress on the multiple water resources is a result of
a multitude of factors. On the one hand, the rapidly rising population and changing
lifestyles have increased the need for fresh water. If opportunity costs were taken
into account, it would be clear that in most rural areas, households are paying far
more for water supply than the often-normal rates charged in urban areas. Also, if
this cost of fetching water which is almost equivalent. To 150 million women days
each year, is covered into a loss for the national exchequer, it translates into a
whopping 10 billion rupees per year.
16
TECHNICAL BACKGROUND
This chapter discusses the technical description of the system design, hardware
and software to develop the AVM-FPH with AMS.
The design of the study focuses on the basic process and operation of AVM-
FPH with AMS to overcome the problems stated in chapter 1.
TAP
YOUR
ID
Barcode
Scanner
Offline Database
ID
YES NO
Admin Account
Confirmation of the
User
User
Figure 3.1 System Interface and process for AVM for FPH with AMS
18
I. The use of the PIR (Passive Infrared Sensor) Sensor to detect motion.
This can detect motion up to 6 meters and requires up to 10-60 seconds
of settling the time before the operation will start.
II. The use of Arduino to allow a change of period and reset period that is
inherent in the PIR.
III. The use of Raspberry pi is to allow multiple devices.
IV. User using touch sensitive screen to choose the product they purchased
and the quantity. A fast touch screen response time of 6ms–8ms that is
independent of the number of touches.
V. The use of ID card Scanner to scan their account by using there ID for
them to access our product and will connect directly to their account.
VI. The use of servo motor for releasing of products.
LED
PIR SENSOR
ARDUINO
UNO 7” LCD
TOUCHSCREEN
RASPBERRY PI
SERVO MOTOR
INPUT OUTPUT
LCD Touch
Screen and
Raspberry Pi
Releasing of products
ID
Glass Scanner
This shows the proper positioning of parts of the prototype in actual settings.
The size of the machine is 25.5” in length, 25” in height, and 23” in width. The PIR
Sensor located above the LCD touch screen to detect motion easily. There are 3
layers for the products by using ½ marine plywood, the first layer contains of wet
and dry tissues, the second layer contains the sanitary pads and the last layer
contains suggested products in the preliminary survey like alcohol and soap. The
21
ID scanner located at the right side below the LCD touch screen. The vending
machine front glass allows the user to check the available products.
B. Arduino UNO
The researchers tested the Arduino UNO by simply connecting it to a 5V
power from the USB chord connected to the laptop or Personal Computer of
the researchers. To further test the Arduino UNO board the researchers
uploaded a sample code or sketch to the Arduino IDE such as Blink Sketch to
verify if all 14 digital input/output and 6 analog pins are functioning properly
or not.
The researcher tested the (6) servo motors with the spring coils by
individually connecting the servo into the (6) spring coils and the servo motor
also connected to the Arduino UNO board. Then Arduino is connected to the
laptop and then powered on. After the Arduino is powered
22
on the researchers connected the VCC wire of the Servo motor to a 12V power
supply and the GND of the Servo motor to the Arduino board GND pin. After every
pin are connected, the researchers uploaded a sample code or sketch for the servo
motors to the Arduino IDE to test if the Servo motors are working or if it is spinning
in 360 in a counter clockwise motion. Furthermore, assuming that the servo motor
is already working the Spring coil is now being attached test if it can make the
spring spin properly without stopping given that the spring is properly coiled and is
working and can spin properly with products attach to it.
The testing of PIR Sensor with the Relay Module is done by integrating both of
them together then the Relay module connected directly to a 5V power supply to
check if the sensor is properly working and to test if it can accurately detect motion
from the physical environment and transmits a resulting impulse.
E. Barcode Scanner
The researchers tested the Barcode Scanner by integrating it to the already tested
Capacitive Touchscreen LCD with Raspberry Pi. The testing is done by uploading
specific code in the raspberry pi for the barcode scanner, to see if it can detect and
read bar codes also to test its accuracy and efficiency in terms of scanning bar codes
in a considerable distance.
F. System Prototype
After testing and evaluating the functionality and determining the efficiency of
every hardware components that is used in the system prototype the researchers
then proceed on integrating the firmware and the hardware of the system. After the
integration of the hardware and the firmware of the system, the researchers then
tested the overall functionality of the system to test and evaluate if the system will
function efficiently according to the proposed desired function of the system
23
prototype. Further discussion of the system prototype testing and results will be in
the succeeding chapter.
G. System Box
A large box that has a divider for the helical coil and it is made out of marine
plywood. A 25.5x23x25 wooden box is used in this project, it can hold up to 6
helical cord.
B. Code Blocks
Code Blocks, shown on figure 3.16, allows the researcher to make a console
application. The researchers used this application to program the servo motor.
The AVM for FPH-SAMS has 6 servo connected to the pin 3, pin 5, pin 6, pin
9, pin 10 and pin 11. Next is the PIR sensor that detects motion that is connected to
the 4-channel relay. The Raspberry Pi is connected to Arduino Uno which is also
the main controller of the system.
CHAPTER 4
METHODOLOGY
This chapter discusses the technical description of the system design to develop
the AVN-FPH with AMS. In addition, this chapter is composed of (3) phases, first
phase involves the gathering of information and data analysis. Second phase
involves the designing, development and the integration of the hardware and
firmware of the system prototype. Lastly, the third phase involves testing and
evaluation. Figure 4.1 illustrates the researchers research methodology flowchart.
Gathering of Information
PHASE 1
Data Analysis
------------------------------------------------ ------------------------------------------------
PHASE 2
Designing and Development
Integration
------------------------------------------------ ----------------------------------------------
PHASE 3 Testing and Evaluation
A. Detect the presence of the user with the use of the specific sensor which is
the PIR motion sensor to activate the machine out of the standby mode. During
the occurrence of the user, the system will provide necessary information to
guide the user on how to use the machine.
B. First, the user must scan her ID that has bar code using the bar code scanner
or entering the ID No. Using LCD Touchscreen to connect the user to the
database system to be able to access or purchase products in the vending
machine.
C. The purchase products will be out through the coil spring that is connected
to the Servo motor.
then tested the program to check if the program is functioning according to the
desired function of the system.
4.4 Integration of Hardware and Software
This phase is considered as one of the most important part in developing the
system. After developing and troubleshooting the hardware and of the system, the
researcher then integrated the firmware of the system to further observe the overall
function of the system and to troubleshoot possible errors during the testing of the
system prototype as a whole. These are the activities that the researchers made:
A. The researchers integrated the hardware and firmware.
B. Once the hardware and firmware parts of the system works properly without
errors and malfunctions, the combination of hardware and software were then
performed.
After the combination and integration are finished, the system are then checked
for possible errors caused by the integration of every parts before evaluating its
overall function of the system prototype.
Upon the integration of the hardware and the firmware of the system prototype
the researchers tested the ID barcode detection feature of the firmware of the
30
After testing the ID bacode detection feature of the system prototype the
researchers then proceed on testing the ID not registered detection warning of
the firmware of the system prototype by scanning an ID to the barcode scanner.
It shows a “ NOT REGISTERED ” warning with the ID number of the
unregistered user of the system.
After testing the product purchasing warning of the system prototype the
researchers then proceed on testing the balance recording feature of the system
firmware by checking if the payment of the sample product being purchased
during the testing of the product purchasing warning is recorded and shown in
the User Interface (UI) of the system just below the Name and ID number of the
registerd ID.
The researchers tested the Offline Database Login feature of the firmware
of the system prototype by going to the admin section located in the upper left
corner of the User Interface (UI) and clicking the “ ADMIN ” button which is
linked directly to the User Interface of the Admin. It shows the username and
31
password bar where the admin inputs their username and password to be able to
check the balance of the users in the offline database.
The researchers tested the balance recording feature of the offline database
system by selecting a sample product to be purchased in the vending machine
and then logging into the offline database of the system prototype and checking
if the payment of the product being purchased is recorded in the offline
database.
In this part the researchers tested the system prototype base on the overall
functionality of the system prototype.
The researchers tested the PIR sensor by conducting a series of testing upon the
integration of the overall components of the system to check if the sensor is properly
working and accurately detects motion base on the desired function of the sensor to
the system prototype which is to turn the white LED On if the sensor detects motion
or presence at a considerable distance. It indicates that the machine is now in usable
state or from the standby mode into usable state and when there is no motion or
presence detected, the white LED indicator turns OFF or turns back to standby
mode.
The researchers tested the Barcode scanner by conducting a 5 series of test from
its capability to detect a Registered ID number and 5 series of test from its capability
to detect an Unregistered ID number.
test its accuracy and reliability on dispensing multiple products. It is also to test the
reliability of the servo motors and the helical coil by its capability to rotate the
spring continuously while the spring dispenses products.
4.6 Evaluation
Evaluation is just as important as the integration part of the system, in this part
the researchers evaluated the functionality of the system in terms of overall function
of the integrated hardware and firmware of the system. In addition, the researchers
evaluated the whole system by its functionality and acceptability by conducting a
respondent satisfaction survey. The systems acceptability results of the survey is
shown in Figure 5.8 in Methodology.
CHAPTER 5
RESULTS AND DISCUSSIONS
This chapter presents the results and discussions of the research study based on
the objectives, and methodology of the study. It also discusses the results of the data
gathered by the researchers through the preliminary and satisfaction respondent
survey and the result of the overall functionality of the system according to the
desired function of the system.
Figure 5.1 shows the result of the survey conducted from the female
students about the existing vending machine in CCS, wherein the majority of the
females students stated that there is an existing vending machine. In addition, they
stated that the only existing vending machine in the CCS is a Water Vending
Machine.
34
Figure 5.3 reveals the frequency these students usually used the comfort
room during school time. The figure shows that out of 150 female students there
are 136 or 91% go to the comfort room less than 7 times and 9% or 14 female
students go to the comfort room more than 7 times.
35
Figure 5.4 shows the reasons and problems of the female students
encountered during school time that needs to go to comfort rooms. It shows that
129 or 86% out of 150 women students go to comfort rooms to urinate. There are
also 19 or 13% female students go to comfort rooms because of LBM and 40 female
students or 27% chose retouching. And lastly it shows that aside from these
common reason for visiting or using the comfort room which is Urinate, LBM and
retouch; menstruation plays a big factor on why they visit the comfort rooms
wherein there are 84 or 56% female students go to comfort rooms because of
menstruation.
Figure 5.5 shows that 129 or 86% out of 150 respondents stated that they
were aware that the college canteen in CCS provides female sanitary products for
the students and the remaining 21 or 14% respondents said that they are not aware
of the availability of female sanitary products.
Figure 5.6 shows the percentage of female respondents who frequently buy
sanitary products in the canteen. Moreover, It shows that out of 150 female students
only 1% of the respondents said that they always buy sanitary products in the
canteen, 105 respondents or 70% says sometimes and lastly 44 respondents or 29%
said they never bought sanitary products in the canteen. Therefor by looking at this
data, itshows that not the majority of the femalestudents in CCS is aware of the
availability of the female products inside the canteen.
Figure 5.7 Shows how convenient in purchasing sanitary products in the canteen
37
Figure 5.8 shows the reasons why 35% of the respondents were not convenient
on buying sanitary products in the canteen, it is because some of them are shy and
uncomfortable of buying sanitary products in the canteen. In addition they stated
that it is a hassle and awkward when buying sanitary pads in the canteen because
the seller is male, also they said that it is embarrassing for them because most of
the time the canteen is crowded that is why when they are having their monthly
period or menstrual cycle they usually brought their own sanitary pads or products.
Figure 5.9 Shows the percentage of students who agreed to have a vending
machine inside the Comfort Room
38
Figure 5.9 shows that majority of the students in CCS agreed on installing a
reliable access of female sanitary products through the use of vending machine.
Figure 5.10 shows the different products they want to be in the vending
machine wherein 140 out of the overall female students wanted sanitary pads, 109
out of 150 wanted wet tissue, 106 out of 150 wanteddry tissue, 61 out of 150
wanteddisposable products, 9 out of 150 wanted soap and lastly 5 out of 150 wanted
alcohol.
Figure 5.11 Shows the different features vending machine or proposed system
prototype
39
Figure 5.11 shows the different features the CCS students wants in the
vending machine or proposed system prototype of the researchers. It shows that
24 out of 150 female students prefer a vending machine where payment will be
through the experimental database similar to My.IIT, 71 out of 150 prefer a
vending machine with touch screen display and lastly 101 out of 150 female
students prefer a vending machine that has an ID scanner.
Table 5.1 shows the design of the Automated Vending Machine for Female
Personal Hygiene with Account Monitoring System is based on the preliminary
survey conducted by the researchers. The researchers also used and utilized the
existing studies and literature that helped contribute in designing and developing a
system prototype designated to the female students of CCS.
The researchers successfully designed the system firmware, and the result
is shown in figure 5.13.
40
The researchers successfully designed and developed the system prototype and
the result is shown in the figure 5.14.
This part shows all the result of the testing on each of the components in the
hardware and firmware components which made up the system prototype.
This section shows the results of testing and running the system firmware.
Figure 5.15 shows when the ID of the user is registered in the system wherein
it shows the user’s ID number and name.
Figure 5.15 shows when the ID of the user is unregistered in the system
wherein the system will show a warning that the ID number of the user is not
registered in the system.
Figure 5.17 shows the product purchasing result wherein after the user
selected and checkout their desired products, there will be a confirmation whether
to proceed or not.
Figure 5.18 shows the recorded balance of the registered user after purchasing
the products.
Figure 5.19 shows the Admin Login features that is linked to the Offline
Database system that records all the unpaid balances of the user prior to using the
vending machine or system prototype.
Figure 5.18B shows the recorded balance of the user in the Offline database
system.
Procedures Evaluation
Registered ID Barcode Detection SUCCESS
ID Barcode Not Registered Warning SUCCESS
Product purchasing warning SUCCESS
Balance Recording in the User Interface SUCCESS
Offline Database Login Feature SUCCESS
Balance Recorded in the Offline Database SUCCESS
45
Table 5.2 shows the testing results of the different features that the system has.
Several tests were conducted to see whether the features are functioning or not. And
as the table shows success in every features.
This section shows the results of testing and running the hardware components.
Table 5.3 shows that the components of the system were functioning based on
its functionality after conducting several trials.
This section shows the results of testing and running the system prototype.
Upon the integration of the overall components of the system prototype, the
researchers conducted a series of test todetermine the accuracy of the PIR Sensor to
detect motion at a considerable distance. And also the functionality of the sensor to
the overall system prototype, wherein if there is motion or presence detected, the
white LED indicator turns ON or from the standby mode into usable state and when
there is no motion or presence detected, the white LED indicator turns OFF or turns
back to standby mode.
46
Table 5.4A and Table 5.4B shows the results of the series of trials conducted
by the researchers from the PIR Sensor upon testing the overall sytem prototype.
Thus, by looking at the table 5.4A it shows that the sensor can only detect motion
at a maximum distance of 2 meters. In table 5.4B shows that the sensor successfully
operates when it detects motion but failed to turn the white LED indicator OFF after
the motion or the presence is not detected.
Figures below shows the results of the Barcode Scanner upon the integration
of the overall system prototype. It show the accuracy and efficiency of the barcode
scanner on detecting whether the barcode in the ID of the students or user is
registered in the system or not.
47
Table 5.5A and Table 5.5B shows the results of the series of trials conducted
by the researchers from the Barcode Scanner upon testing the overall sytem
prototype, from its capabilities to detect Unregistered and Registered ID numbers.
Thus, it shows that the barcode scanner successfully detects and determines the
registered and unregistered ID numbers.
Upon the integration of the overall components the researchers tested the
Product dispensing capabilities of the System prototype.
Table 5.6 shows the successful dispensing of the product which was choosen
by the student after series of process. Thus, it shows that the servo motor that is
connected to the helical coil is successfully working in dispensing the product.
49
System Accuracy
3%
38%
59%
Figure 5.23 shows the accuracy of the system in terms of it’s functionality.
Fifty-nine percent (59%) of the students says its very accurate, 38% says accurate
and 3% of them says its less accurate.
System Importance
Not Important 0%
Less Important 3%
Important 6%
Very Important 91%
0 20 40 60 80 100
System Importance
Figure 5.24 shows how important is the system in maintaining the females
hygiene. Ninety-one percent (91%) of says its very important, 6% important and
3% for less important.
43%
67%
Figure 5.25 shows the experience in purchasing the products on the system.
Fourty-Three percent (43%) says they are very pleasant on the system. 67% says
they are somewhat pleasant on the system.
CHAPTER 6
6.1 Conclusion
Based on the preliminary survey conducted by the researchers, it was found out
that the only vending machine existed in the College of Computer Studies (CCS) is
a Water Vending Machine which is mechanily operated with coin mechanism
feature wherein it dispenses an amount of water per peso.
The researchers modelled the design and develop an AVM for FPH-AMS based
on the existing vending machine in the market. When it comes to the overall system
prototype, the system was considered important and useful based on the
Respondents Satisfactory Survey conducted in the College of Computer Studies
(CCS) which shows out of 50 students who tested the system 43% says they wer
very satisfied of the system while 67% of them says they were satisfied.
When it comes to the overall system integration and testing procedures, the
Barcode scanner, UI of the system prototype and the firmware features of the
system and lastly the dispensing feature of the vending machine was proven to be
accurate base on its desired fuction in the system prototype.
There are certain problem the researchers met during the integration of the
hardware of the system prototype, wherein the reasearcher did not anticipated the
voltage distribution of each components that it causes the researcher a lot of trouble
during the integration. and also the researchers was not able to accurately configure
the PIR sensor base on its desired function of the system.
52
6.2 Recommendations
For future researches, the researchers suggest to add a SMS monitoring feature
in the system prototype for the Admin to monitor the remaining products in the
vending machine. In addition, it would be better if the user of the vending machine
can monitor their balances without having a physical connections to the system
prototype itself. Thus, the researchers suggest to have an Online Monitoring system
for the user.
For the Future Researchers, they may also put a Receipt feature to the vending
machine for the user to have aphysical proof of each of their purchase products.
For the Future Researchers, the reserchers suggest the remodeling of the
vending machine in such a way that it does not occupy a lot of space when installing
it in the Comfort Room. Computer Processing Unit (CPU) case size would be a
great sample size or reference size to remodel the machine.
REFERENCES
Abad, E. (2017). Design and implementation of paper vending machine for retail
of common usable papers for unstop students. International Journal for
Research in Applied Science and Engineering Technology, V(XI), pp.289-
294.
Anon,(2019).Retrievedfrom :http://jestec.taylors.edu.my/Special%20Issue%20UK
M%20TLC%202013_2/UKMTLC%202013_6_2015_2_028_040.pdf
[Accessed 27 Jan. 2019].
Bühler, P., Schlaich, P., & Sinner, D. (2018). Pdf. Bibliothek Der
Mediengestaltung. Doi: 10.1007/978-3-662-54615-4
Schofield, J. What is a barcode scanner and how does it work? December 2015.
Retrieved from http://www.systemid.com/learn/barcode-scanners-and-
how-they-work/
APPENDIX A
GANTT CHART
56
APPENDIX B
ACTUAL COST
MATERIALS QUANTITY AMOUNT
PIR Motion Sensor Module 1 Php180
7 inch LCD Touch Screen Module 1 Php3,155
Helical Coil 6 Php60x6=Php360
Rasberry Pi 1 Php2,975
Servo Motor 6 Php180x6= Php1080
Glass (Acrylic) 1 Php600
½ Marine Plywood 1 Php827
Barcode Scanner 1 Php1916
Wire for Helical Coil 1kg Php50
32GB SD Card 1 450
Shrinkable Tube 10m Php10x10.5= Php105
No More Nails 2 Php50x2=Php100
Gray Paint and White Paint 1L Php560
Php7.95x15=
Long Folder 15
Php119.25
Drawer Lock 1 Php169.75
Hinge 1 Php30
Drill Bit 1 Php49.75
1/8 Stove Bolt 2 Php15.75x2= Php69.50
Sandpaper 2 Php15.75x2= Php31.50
Glass with Frame 15”x8” Php400
Acrylic Glass 1 Php600
Box 1 Php1000
Cosmetics 36pcs 500
Plastic Board 1 Php275
TOTAL: Php 12,602.75
57
APPENDIX C
PRELIMINARY SURVEY QUESTIONNAIRE
Name (Optional):
Year Level:
Questions:
2. Which of the comfort rooms do you usually use in the SCS building?
o First floor
o Third floor
o Fourth floor
3. How many times do you usually use the comfort room during school time?
o Less than 7 times
o More than 7 times
4. What female problem you encounter at school that needs to go to comfort room?
(Choose all that apply)
o Urinate
o LBM
o Retouch
o Menstruation
o Others:
5. Does the school canteens provide female products for the students? _______
(Y/N) How frequent do you go to the school canteen to buy female products?
_______
6. Is it convenient for you to buy sanitary products in the canteen? _____ (Y/N) if no,
state your reason/s.
____________________________________________________________________
____________________________________________________________________
7. Would you agree to have a vending machine inside the comfort room? _____
(Y/N) If yes, what products to be put on the vending machine? (Choose all that apply)
o Sanitary pads
o Disposable products
o Wet Tissue
o Dry Tissue
o Others:__________
8. What features of a vending machine would you like to prefer? (Choose all that
apply)
o ID scanner
o Touch screen display
o Payment method through My.IIT account
o Others: _______
58
APPENDIX D
SAMPLE PRELIMINARY SURVEY ANSWER
59
APPENDIX E
POST SURVEY QUESTIONNAIRE
Name (optional):
ID #:
Comments/Recommendations:
________________________________________________________________________
________________________________________________________________________
_______________________________________________________________
60
APPENDIX F
POST SURVEY ANSWER
61
APPENDIX G
HARDWARE SPECIFICATION
A. Arduino
B. Raspberry Pi 3B+
C. PIR Sensor
Size Rectangular
SPECIFICATIONS
LCD Type TFT Trans missive
Interface 16bit parallel bus interface
Boost regular to provide power supply
On board 400mA DC-DC
to LCD Black light
It is provided, so that you can save
LCD-Specialized initialization time to optimize power control
code register and gamma curves for best
display performance.
approx. 186. 3mm x 105.4 mm / 7. 3
Size
x 4. 1 inch
E. Servo Motor
F. 4-Channel Relay
G. Helical Coil
H. Strip LED
An LED strip light (also known as an LED tape or ribbon light) is a flexible
circuit board populated by surface mounted light-emitting diodes (SMD LEDs)
and other components that usually comes with an adhesive backing.
Traditionally, strip lights had been used solely in accent lighting, backlighting,
task lighting, and decorative lighting applications. The led strip lights is
connected together to the power supply with Vcc and ground wires. It uses for
lighting the products in the vending machine when the user comes closer and
detects with the PIR sensor and the Led strip lights will on and after the user
68
buys the products, the Led lights will turn off after the user is done using the
vending machine and far from the prototype.
I. Power Supply
APPENDIX H
SYSTEM CODE
}; col.setAlpha(alpha);
skin->setColor((EGUI_DEFAU
// Define some values that we'll use LT_COLOR)i, col);
to identify individual GUI controls.
}
//enum
}
//{
int item1count=0;
// ID_ON = 101,
int item2count=0;
// ID_OFF,
int item3count=0;
//
GUI_ID_FILE_OPEN_BUTTO int item4count=0;
N,
int item5count=0;
//
int item6count=0;
GUI_ID_TRANSPARENCY_S
CROLL_BAR stringc item1count_str=L"0";
//}; stringc item2count_str=L"0";
/* stringc item3count_str=L"0";
Set the skin transparency by stringc item4count_str=L"0";
changing the alpha values of all skin-
stringc item5count_str=L"0";
colors
stringc item6count_str=L"0";
*/
int amount1=7;
void setSkinTransparency(s32 alpha,
irr::gui::IGUISkin * skin) int amount2=20;
{ int amount3=17;
70
stringc case
amount6count_str=L"Php17.00"; EGET_SCROLL_BAR_CHANGED
:
int totalamount=0;
// if (id ==
stringc totalamount_str=L"0"; GUI_ID_TRANSPARENCY_SCRO
IGUIEditBox* account_IDnumber; LL_BAR)
IGUIEditBox* account_password; // {
public: // }-
MyEventReceiver(SAppContext break;
& context) : Context(context) { }
71
case
EGET_BUTTON_CLICKED: item1count_str+=item1count;
switch(id) return true;
{
// case ID_ON: case BTNB_P:
// item2count++;
//Context.device->closeDevice()
item2count_str=L"";
;
//
item2count_str+=item2count;
serialPrintf(SP1,"1");
return true;
// return true;
//
case
// case ID_OFF:
BTNB_M:
// {
item2count--;
// serialPrintf(SP1,"a");
// return 1; if(item2count<0)item2count=0;
// } item2count_str=L"";
// return true;
item2count_str+=item2count;
case BTNA_P:
return true;
item1count++;
item1count_str=L"";
case BTNC_P:
item1count_str+=item1count; item3count++;
return true; item3count_str=L"";
case
BTNA_M: item3count_str+=item3count;
item1count--; return true;
case
if(item1count<0)item1count=0; BTNC_M:
item1count_str=L""; item3count--;
72
case BTNE_M:
if(item3count<0)item3count=0;
item5count--;
item3count_str=L"";
if(item5count<0)item5count=0;
item3count_str+=item3count;
item5count_str=L"";
return true;
item5count_str+=item5count;
case BTND_P: return true;
item4count++;
item4count_str=L""; case BTNF_P:
item6count++;
item4count_str+=item4count;
item6count_str=L"";
return true;
item6count_str+=item6count;
case return true;
BTND_M:
item4count--;
case BTNF_M:
item6count--;
if(item4count<0)item4count=0;
item4count_str=L"";
if(item6count<0)item6count=0;
item6count_str=L"";
item4count_str+=item4count;
return true;
item6count_str+=item6count;
return true;
case BTNE_P:
item5count++;
case
item5count_str=L""; BTNCHECKOUT:{
item5count_str+=item5count;
if(menu_login){
return true;
73
APPENDIX I
PHOTO GALLERY
74
APPENDIX I (Con’t)
CURRICULUM VITAE
PERSONAL INFORMATION
Date of Birth: August 24, 1998
EDUCATIONAL BACKGROUND
YEAR SCHOOL
2019 Mindanao State University – Iligan Institute of Technology
WORK EXPERIENCE
MSU-IIT SOUND SYSTEM
On-the-Job Trainee
CURRICULUM VITAE
Izza P. Alindong
Banana Village Kapatagan
PERSONAL INFORMATION
Date of Birth: July 29, 1997
EDUCATIONAL BACKGROUND
YEAR SCHOOL
2019 Mindanao State University – Iligan Institute of Technology
WORK EXPERIENCE
CURRICULUM VITAE
PERSONAL INFORMATION
Date of Birth: June 3, 1998
EDUCATIONAL BACKGROUND
YEAR SCHOOL
2019 Mindanao State University – Iligan Institute of Technology
Andres Bonifacio Tibanga, Iligan City
Linamon, LDN
WORK EXPERIENCE
MSU-IIT Tech Support Laboratory
On-the-Job Trainee