Professional Documents
Culture Documents
Computer Science
By:
Aborot, Michelle
Mae
Rosaceña,Reniel
Añonuevo,Paul
Kevin
September 2018
APPROVAL SHEET
This Project Proposal entitled “Potential Hydrogen Analysis Device” prepared and
submitted by Aborot, Michelle Mae, Rosaceña, Reniel and Añonuevo, Paul Kevin, has
PANEL OF EXAMINERS
ACCEPTED and APPROVED in partial fulfillment of the requirements for the degree
Bachelor of Computer.
ii
ACKNOWLEDGEMENT
The researchers would like to express their deepest gratitude to those people
To the researchers’ parents, for their support financially, spiritually and moral
To the researchers’ instructors from the SAD course during the proposal defense
of title, Mr. Bemsor Caabay and Ms. Divine Grace Caabay, to the Thesis 1 and 2
To the researchers’ adviser, Mr. Adonis C. Ampongan, for his advices, patience
and encouragements he gave to the researchers to make the study possible and be
approved.
To the researchers’ classmates and friends for sharing also their ideas and
knowledge.
And most of all, to our Almighty God for the knowledge, strength, patience, and
- The Researchers
iii
DEDICATION
The researchers dedicate this thesis to their parents for their support in many
ways.
To their friends, who taught them to enjoy life despite of the trials, challenges,
To all the staff, instructors and their adviser who extended their help to the
And to our Almighty God who gave life, blessings, and knowledge that made this
The Researchers
iv
ABSTRACT
The purpose of this study is to replace the potential hydrogen paper being used
by the Palawan State University to measure the potential hydrogen level of liquid
substances. The researcher’s gathered data that will help to solve the problems on the
existing system. The problems regarding the availability of the materials and how they
will measure the potential hydrogen level in an easy, fast and accurate way is tackled
in this study. The researchers also discovered that potential hydrogen paper is not
suitable for users with eye problems like color blindness because potential hydrogen
paper needs color comparison in getting results. That is some of the problems
encountered by our client. Out of 11 solution tested there is only a minimal difference
application with a device that can measure the potential hydrogen level of liquid
substances was utilized. This software comes with useful features. Compared to the
potential hydrogen paper the proposed study is much more reliable than the potential
add multiple sensors in the device. Further improvement on the system may increase
v
TABLE OF CONTENTS
APPROVAL SHEET......................................................................................................................................... 2
ACKNOWLEDGEMENT .................................................................................................................................. 3
DEDICATION ................................................................................................................................................... 4
ABSTRACT ..................................................................................................................................................... 5
Definition of Terms................................................................................................................................ 5
CHAPTER II ..................................................................................................................................................... 7
Research Locale.................................................................................................................................. 15
Use-Case Diagram............................................................................................................................... 22
CHAPTER IV.................................................................................................................................................. 41
Findings ............................................................................................................................................... 41
Findings ............................................................................................................................................... 42
Summary.............................................................................................................................................. 44
CHAPTER V .................................................................................................................................................. 44
Conclusions......................................................................................................................................... 44
Recommendations .............................................................................................................................. 44
viii
LIST OF FIGURES
x
LIST OF TABLES
Table 1 System Maintenance Plan ................................................................................................................. 23
Table 3 pH_User_Data..................................................................................................................................... 32
xi
LIST OF APPENDICES
RO II Forms .......................................................................................................................................... 51
Source code......................................................................................................................................... 56
xi
i
CHAPTER 1
INTRODUCTIO
Background of Study
PH or Potential Hydrogen is present in all water bodies from the water in the
faucet, beverages, and even in rain. Potential Hydrogen indicates the sample's acidity
but is actually a measurement of the potential activity of hydrogen ions (H+) in the
sample. Potential hydrogen measurements run on a scale from 0 to 14, with 7.0
considered neutral. Solutions with a pH below 7.0 are considered acids. Solutions with
a pH above 7.0, up to 14.0 are considered bases. All organisms are subject to the
amount of acidity of stream water and function best within a given range. The pH scale
acidity. In other words, pH 6.0 is ten times more acidic than pH 7.0; pH 5 is one hundred
times more acidic than pH 7.0. This study is made to give solution in lack of laboratory
equipment of CS-Laboratory and in knowing how the state of water bodies in Puerto
Princesa City was. PH is classified by levels the higher the level the safer the water.
The normal level of potential hydrogen in rainfall is 4.5 having lower than this can cause
a health problem to someone that is having directly contact in the rainfall. This study will
create a device that can measure the potential hydrogen of any liquid substance.
Therefore, the researchers created both device and system for this particular study.
Some establishments may use this device because sometimes they use water from the
rain to conserve water. By using this device, they will know if the water in the water
reservoir is safe to their guests or customers. This device can be used also in the lakes
or wells.
Some individuals use the PH paper to measure the PH level of water. The
problem of this system is that the availability and sometimes the results are not very
accurate. And it will be much hassle to test the liquid substance by paper every time
that it rains.
Science, Information Technology and Computer Science. The college laboratory uses
the traditional potential hydrogen paper to measure the potential hydrogen level. The
researchers chose this study because they want to solve the problem of the student and
teacher in “traditional way of measuring the potential hydrogen”. In addition, this would
Hydrogen Analysis Device” that can be used by faculty and students of Palawan State
laboratory experiments.
that will replace the potential hydrogen paper and compute the potential
2
2. To create a system with an Arduino device and potential hydrogen sensor
software application would be an asset to the Palawan State University community. The
research product can aide both faculties and students in determining the potential
Chemistry Students
laboratory experiments. Moreover, the students can save their work data for future
purposes.
Chemistry Teachers
This device is time efficient and can easily provide a potential hydrogen level
3
Palawan State University
potential hydrogen.
This research entitled “Potential Hydrogen Analysis Device” is intended for the
application with Arduino device can measure the potential hydrogen level of a liquid
substance. It can measure the acidity, neutrality and alkalinity of a liquid substance. The
software application records the student’s information and their laboratory experiments
through a database system. It has an admin panel that can modify data from the
The proposed system cannot tell if the water is clean or not due to several
considerations in water cleanliness. This system cannot measure the potential hydrogen
level if the amount of the liquid is below 50ml. And the device is not a stand- alone
device it needs to be plugged in into a computer installed with the software application.
4
Definition of Terms
Buffered Solution - is the liquid substance that has fixed ph level used to calibrate the
sensors.
Connect- term used to connect the serial port of the arduino into the
software application.
Data – is raw facts, information that will be stored into the system
database. Database – intangible storage where all the data are stored.
Error – a message display when there is a malfunction on the device and the software.
Main Menu – is a graphical user interface that is the center of the software application
5
Refresh - a button that will update the software data.
device.
Sign up – the button where the students can register to the software application.
UI- stands for user interface it is the visual representation of the software.
Conceptual Framework
The figure below shows the basic flows of inputs and outputs of the current person in
charge to the system and the users of the system. It shows how the system would
function when implemented. The operator can compare his current test result to the
previous test.
-Potential
Potential Level
Liquid
The Figure 1 Conceptual Framework explains the process of the device. The liquid substance
to be test will serve as input, then the device shall process the Potential Hydrogen Analysis, and the
expected output from the device is the potential hydrogen level and the liquid acidity.
6
CHAPTER II
This chapter presents the brief information about the related studies and
literature of the research, and how are they similar and different to the researchers’
study. These studies will be a guide to avoid problems that their systems have
encountered.
Foreign Literature
“Study on using hydrogen and ammonia as fuels: Combustion
According to Jun Li, Hongyu Huang, Noriyuki Kobayashi, Zhaohong He, and
Yoshihiro Nagai from their study on January 4, 2014, their experiments showed that the
increase in acidity upon heating, observed by previous workers, is usually three to four
of using hoi water for the extraction was observed. Experiments showed that the usual
fibrous papermaking materials have the property of raising the pH of an acidic solution
containing CO2 or aluminum sulfate, and that neutral papers gave essentially the same
pH, whether extracted with water of pH=6.7 or with some of the same water containing
CO2 and having a pH=5.9. Therefore, the requirements of present standard methods,
with respect to the pH of the distilled water used for extraction, appear to be
unnecessarily severe.
Synthesis
Strengths
Test with very small volumes it is possible to place just one drop onto the paper.
Reach difficult samples with a long reel you can tear off a long strip for reaching into the
bottom of long test tubes or flasks. Simple, specific tests generally very specific pH
change tests are available as pH papers, for example, Litmus paper has only one color
Disadvantages
the same titer amount as the equivalent point. Sometimes the wind affects the result of
the measurement.
For the Fuel Cells and Hydrogen Joint Undertaking on February 2014, it discussed some
basic concepts of pH, pOH, pH glass electrodes, reference electrodes, standard buffers,
and pH meters.
buffers, and the general background for calibration are reviewed. Understanding of
8
basic concepts of pH, pOH, and electrode mechanism is emphasized. New concepts of
pH, pOH, as well as critical examination of activity, and activity coefficients are given.
The emergence of new solid-state pH electrodes and replacement of the salt bridge with
solution with a conducting wire may be used as a stable reference electrode. The
misleading unlimited linear Nernstian slope should be discarded. Calibration curves with
3 nonlinear portions for the entire 0—14 pH range due to the isoelectric point change
effect are explained. The potential measurement with stirring or unsteering and effects
Synthesis
Strengths
it is a lot simpler to use than using test strips or completing a titration experiment. Test
strips and titrations both use a color indicator; some people may perceive a different
color than the result. A meter will have a few buttons to operate the machine, and
gives a result immediately. The result can be given on a digital display, which will
9
Disadvantage
One downside to using a pH meter is that the cost of the meter is significantly
higher than using test strips. The pH meter is a long-term investment for gaining
accurate results. For those who are going to be taking an occasional reading, test strips
cleaned regularly to avoid contamination. Most probes have a glass tip that may break
Local Literature
From this study of D Cardace on February 10, 2015, the researcher document changing
geochemical inventories in these springs between sampling years, and examine how
cycling, hydrogen oxidation, some iron and sulfur metabolisms, and ammonia oxidation
Synthesis
10
Local Studies
QUALITY INDEX
8, 2016 states that it is necessary to determine the water quality, evaluate its impacts,
and provide measures to mitigate the problems (Mishra et al., 2009). Water quality
of water. These characteristics provide basis as to how and for what water can be used
and the species and ecosystem processes it can support. Monitoring is also the
foundation on which water quality management is based. It provides the information that
actual and emerging problems of water pollution, use and abstraction of water, and land
(UNEP/WHO, 1996). At the same time, water quality monitoring data can be used to
Synthesis
WATER QUALITY INDEX” is similar to the proposed study in terms of monitoring the
pH of water in Palawan.
11
Water Quality in Pampanga River along Barangay Buas in Candaba, Pampanga
According to the study of C Arbotante on 2015, that aimed to initially identify the
oxygen, pH, and temperature were measured using DO meter, pH meter, and
thermometer. Chemical tests were done on site using test kits from Aquarium
concentrations exceeded the maximum value required by the DAO 34 -Water Quality
Standard for Class C Water. The DO concentration was below the minimum
Synthesis
This study titled “Water Quality in Pampanga River Along Barangay Buas in
Foreign Studies
mechanism of reflux disease, and although the thresholds for laryngeal damage in
12
disease differ, both forms of damage are due to pepsin, which requires acid for its
activation. In addition, human pepsin remains stable at pH 7.4 and may be reactivated
by hydrogen ions from any source. Thus, most tap and bottled waters (typically pH 6.7
to 7.4) would not be expected to affect pepsin stability. The purposes of these in vitro
studies were to investigate whether artesian well water containing natural bicarbonate
(pH 8.8) might irreversibly denature (inactivate) human pepsin, and to establish its
terminology for the quantity potential hydrogen which is of wide interest for chemists,
biologists and engineers. It is the result of discussions since 1977 within JUPAC and
scales a compromise which recognizes the advantages of both the previously endorsed
multi-standard approach and that based on the definition of a single standard with
NBS values. A joint meeting of IUPAC Commissions 1.3 and V.5 first discussed pH
resorting back to a second joint meeting of the two Commissions in Davos in 1979 and
as a result a conference of pH experts was convened to discuss the matter. This meeting
13
Recommendations' in Lisbon in June 1980.
The decision of the conference in support of the resolution that 'A single primary
standard pH scale should replace the existing IUPAC multiple primary scale' fell short
of a consensus of expert opinion and was reported to the joint commission meeting in
Leuven in August 1981, There a third joint meeting of Commissions 1,3 and V,5 voted
to adopt a compromise proposal which recognizes the validity of both NBS and British
Standard approaches, It is the purpose of this report to describe this proposal which is
Synthesis
14
CHAPTER III
RESEARCH
METHODOLOGY
This chapter contains brief information on how the researchers will the
researchers gather useful and relevant data in able to solve the problems of their
proposed study. Included is the information on how the system and data will flow to
Research Design
The study proposal used qualitative method to gather important data in means of
insights into the problem or helps to develop ideas or hypotheses for potential
and opinions, and dive deeper into the problem. Qualitative data collection methods
Research Locale
The client area of this study will be the College of Sciences in Palawan State
University. This study focuses on creating device that can help the researcher’s fellow
students in Palawan State University. The target respondent will be the Chemistry
This Figure 2 Palawan State University above shows the area where the
Population of Study
Sciences because most of the students are not familiar with Potential Hydrogen. The
approach of this research is to obtain the data from this respondent to describe their
Research Instrumentation
A self- administered questionnaire was made by the researchers for the data
gathering process to qualitative method of gathering data. The primary aim of the
questionnaire is to determine how helpful it is to provide such device? And what would
16
be the features of this device? In doing the interview, we learned many things for the
The researcher’s groups were formed on July 15, 2017 the researchers took
almost a month and half thinking of their title and concept before the researcher’s came
up with this title and concept. August 06, 2017 the researcher started to gather data
through the library and internet and started making drafts about the concept and title the
researchers came up with. A week after the gathering of data the researcher’s started
making the sample questions that the researchers are going to use in the researcher’s
individual interview. Then the researchers created a letter for the Department of Science
and Technology to help the researcher’s further on the study by providing the interviewer
helpful data. They also give the researchers recommendation about the research. After
that, the researchers started creating the documentations for the research by the help
of data the researchers gather through research and internet. To finalize the
documentation the researchers done the individual interview on October 24, 2017.
Software Requirements
The table below shows the requirements in terms of software in order for the
Software Description
17
MySQL Workbench It is used for device system database.
software.
The table above shows the software needed for the device to become possible
18
computer software that manages hardware and other software which is the windows
operating system, MySQL Workbench which is used for device system, and Visual
Studion 2017 which is used to develop computer programs for the device to work.
Hardware Requirements
The table below shows the hardware and their description needed for the research.
Hardware Description
19
Input Voltage (limit): 6-20V
Digital I/O Pins: 14 (of which 6 provide
PWM output)
The table above shows and explains the different hardware used for the project.
It includes the PH sensor with its specifications. It is very much important because it is
the one that has the capability to make the device work in accordance to its purpose,
which is to sense. Then the Arduino Uno, that also helps the device work. The computer
set for the creation of programs, and the Usb cable for connecting two or more devices.
20
Deployment Plan
installed with the software application as long as the power source is connected the
device will work perfectly fine. However, the user needs to know the basics of the device,
which is instructed by the chemistry professor. You need to register first to get access
User Manuals
application installer. New users may follow the video presentation as a guide to use the
Potential Analysis Device properly. Failure to follow instruction in the video presentation
may cause problem in the system or worst lost all your data saved into database. Users
must be responsible in using the system so that the device will last long.
Implementation Plan
This table describes the plan of the researchers to the project, including the
21
OPERATIONS HANDOVER Computer Documents, I/O Documents, Operating Guide
implementing the project. From the table above, it shows that they check first the
acceptance checklist, the schedule or the Gantt chart they are following with time-frame
in each activity. Then finalize the documents needed to this research in relation to their
project which is the training guides and user manuals. They also conducted the data
testing, and system testing that tests the functionality and performance of the device,
and finalize also the operations handover, from the computer documents, and operating
guides.
Use-Case Diagram
The figure below shows how the user will interact to the system. It will help the
22
This Figure 3 Use Case Diagram explains the process on how the user shall interact
with the device. The user shall have an input through log in/put the liquid sample to the
pH Analysis Device, then after a moment of time, there will be have the sample result,
and it will serve as the output to the end-user, in that, the user could determine the pH
PH Analysis Device
PH Analysis Program
Full system
System Database
of the device. The PH Analysis device is being checked regularly/daily, while the
program
23
is being checked weekly, and the Full system and the database is maintained
monthly. This schedule helps the researcher to do their task for the improvement of
the device.
Research Procedure
The researchers used the agile method for the systems development life cycle.
System Design
Planning Implementatiom
Requirements Testing
Analysis
Maintenance
Planning – it is the first thing that every researcher must do. Without the
presence of planning, the study will not be possible. In this study, the researchers
made a plan. From the goals and objectives of the project, the resources needed
including the constraints of software projects which are the time, cost, and quality.
The researchers also planned the project schedule together with the phases of
24
stages of the project, estimation of time that each task or activity will
take. The researchers also include in their planning the customer’s needs
management plan, resource management plan, test plan, training plan, security
Without planning, the researchers could not be able to achieve their goals.
Requirements Analysis- this is the next phase in agile method. Capturing the
quality and documenting requirements for use by the design and test teams.
because it sometimes became the cause of the failed project. That’s why the
analysis.
Design- it refers to the creative process of figuring out how to implement all of
the customer’s requirements. In doing this phase, the researchers consider the
design patterns for the generic solutions for making lower-level design, design
convention or idiom such as the collection of design decisions and advice that
25
taken together, promotes certain design qualities. Innovative design that is
characterized by irregular bursts of progress that occur as the researchers have flashed
of insight and the design principles which refers to the descriptive characteristics of good
design.
Coding – in this phase, the researchers began to write the program. Considering
the standards for programming, guidelines for reuse, using design to frame the
Unit Testing- after coding, this is the next phase. In this stage, the researchers
availability and maintainability. They also include the installation testing, test
and roles. Acceptance testing enable the customers and users to determine if
the built system meets their needs and expectations, written, conducted and
The existing system needs to be calibrated first before you can use it. You have
to clean the electrode first to avoid inaccurate measurement. You will generally need
more than one buffer for calibrating a pH meter. The first will be a “neutral” buffer with a
pH of 7, and the second should be near the expected sample pH, either a pH of 4
or
9.21. Buffers with a higher pH (9.21) are best calibrated for measuring bases, whereas
buffers with a low pH (4) are best for measuring acidic samples. Once you have chosen
your buffers allow them to reach the same temperature, as pH readings are temperature
26
dependent. Pour your buffers into individual beakers for calibration. Then you can
However, in the pH paper it easy to use you can just dip the tip of the paper to
the substance you want to measure. Even a drop can put results.
START
LIQUID
WAIT 1 – 1O MINUTES
COLOR OF
THE RESULT
END
The figure above is all about the flowchart of the existing system used by the
professors and the students. Liquid substance that served as input, then the users must
wait from 1-10 minutes, and output will be the color of the result. In that way, the users
27
Description of Proposed System
START
ALREADY NO
HAVE AN ATION
ACCOUNT
YES
LOG IN
28
A
LIQUID
SUBSTA
NCE
MEASURE PH
The researchers proposed a system with device that will measure the pH level of
a liquid substance without calibrating which can save time for the end-user and provide
an accurate and very fast result. The device also would provide a system database for
the tested result for comparison purposes during his present and previous sample
substances.
29
Actual Device
From the schematic diagram on the previous page, and now to the picture
of actual device. It is the image of the device that is now properly functioned and
is interconnected.
30
Entity Relationship Diagram
The figure below shows the system data table, how are they connected and their
The figure above explains and describes the events that happen in system. From
the admin, they must log in for username and password, then in the user data which the
information must directly come from the user, it includes the result of the pH, date, name
of data, username and the status, and another data table for the data of the user that
includes his first name, last name, username, password, course, year and semester.
31
Data Dictionary
The tables for data dictionary include the data type of the variables used, and
Table 2 Admin
Table 3 pH_User_Data
32
Course VARCHAR(45) Variable that stores course data
of the user
Year VARCHAR(45) Variable that stores year level
data
Semester VARCHAR(45) Variable that stores data of the
school year
The figure below shows the Context Data Flow Level 0 Diagram of the proposed
Starting from the user and how it ends in the database tables.
This shows that the flow of the device, from the user that shall create an account
if the user has no account yet, then will input the account details and shall proceed to
the userdata table, wherein that user data table asks the first name, user name, last
name, password and other important details from the end-user. Otherwise, he shall
log
33
in if he already had an account and will enter his account details, in that, the details shall
be sent to test the substance, then will have the test result, and finally shall save the
Admin
This figure represents how the user, the proposed system and the database are
connected and interact according to the user’s inputs. From the figure above, the user
must log into account or create account if he don’t have any account yet. After that, the
user shall send also the sample solution to the device, and the device shall send back
the test result. On the other side, the interaction between the admin the pH analysis
device, the device shall validate the login came from the end user and shall save the
test result to the admin, and finally shall modify the login details to the admin made by
the user. While the admin’s task is to load the previous test result and shall display the
34
D1 userdata
D1 userdata
ph_user_data
D2
ph_user_data
D2
This figure represents how the user input data are stored in each respective data
table.
35
Graphical User Interface
The researchers created a modernize user interface that is connected to the chemistry
laboratory for these system study. It has two textboxes that the users shall fill in the
36
This figure shows the informations that must be filled in by the user. It includes
the username, password, re-enter the password for confirmation if the user’s password
is the same as what he has entered on the first trial, then the first name and last name
of the user, the course, year level and the semester. It also includes two buttons. It is
either the user shall click the register button to continue and proceed to the next level,
or shall click the cancel button if there are changes to be made by the user
37
Figure 14 Admin Form
This figure is the main menu form. It is now in the form of testing the pH level and
Figure 19 Admin Panel is the interface in the admin form for the admin panel.
38
Gantt Chart
This chart below shows when the researchers accomplish steps in making a proposal.
Week 1st 2nd 3rd 4th 1st 2nd 3rd 4th 1st 2nd 3rd 4th 1st 2nd 3rd 4th 1st 2nd 3rd 4th
Title &
Concept
Data
Gathering
Planning
&
Designing
Chapter
1
Chapter 2
Chapter 3
Finalizing
Proposal
Figure 16 Gantt Chart
The table above is all about the schedule set by the researchers to finish their
task with the given time frame. From the proposal of the title of the research, the
documentation from chapter 1 to chapter 5, and the device’s process from the basic
phase up to the complicated phase and finalization of the manuals, documentation and
39
Cost and Benefits Analysis
The table shows the cost of the required software and hardware for the project.
Table 5 Requirements
Requirements Cost
Description
The table above simply shows the payables of the researchers in order for their
device be possible and work properly. Cost and descriptions of each requirements they
used.
40
CHAPTER IV
RESULTS, FINDINGS, AND ANALYSIS
research findings. The findings relate to the research questions that guided the study.
Data were analyzed to identify, describe and measure the potential hydrogen.
Following are the data that the researchers gathered in order to meet the three
In the first objective that aims to create a system with an Arduino device and
potential hydrogen sensor that will replace the potential hydrogen paper and
compute the potential hydrogen level of a liquid substance, from the figure below
that shows that the researchers conducted a thorough research to Prof. Parcon and Dr.
Japson. Wherein, the two experts in subject gave a lot of information and gave ideas to
the researchers that the pH sensor is really possible and could be used to replace to
the manual way of testing. This data is coming from the actual interview to Prof. Parcon
Findings
The researchers have successfully created a device that will replace the ph paper
to measure the ph level of a liquid substances. However, the device can only be use
one at a time by the students. Unlike ph paper the students can measure at the same
time.
41
Aims to create a system with an Arduino device and potential hydrogen sensor
that will display numerical representation as a result. And the data that was
considered by the researchers are also the data they gathered from the two
Findings
The researcher’s finding on the 2nd objective is the results are much faster than
DOST 4 7 10
The table above shows that the first test with DOST doesn’t match. Some
adjustment with the system codes are made in order to fix the problem that the
researchers encountered.
The Table 7 Second Test Results with Adjustments the researchers put a
conditional statement in the program so that the device can adjust its own result.
42
Table 8 Final Test Results
Buffered PH4 PH7 PH10
Solution
DOST 4 7 10
PH ANALYSIS DEVICE 4 7 10
Table 9 Final Test Results shows the test result the researcher’s successful
utilization of the proposed device will match result with the DOST device. At the end,
the researchers got the result that the researchers want.
application that can record students’ information and the data of the laboratories
experiments of the students, the data that the researchers based on are the following
tables of data.
The software application design by the researchers will be a great help not only
on the professors but also on their student in way of recording their laboratory data’s.
However, students features are limited unlike the admin which is the professors have
the maximum control of the software from registration to the students data’s.
43
CHAPTER V
CONCLUSION AND RECOMMENDATIONS
Summa
ry
This solution to the problem improves the way to measure the level of PH on any
water substances. The university uses the traditional way of measuring water
substance. The device was made to replace the traditional way of measuring the
potential hydrogen with software application can record the data every time the device
The study provides system functions with regards to the records of the data of
their laboratories experiments. The proposed software application would be a great help
The university can benefit financially by implementing this device due to its low cost.
Instead of buying the potential hydrogen device that is in the market which costs P
Conclusions
After a thorough study of the problem, this proposed study, Potential Hydrogen
Analysis Device would be more productive than the traditional way of measuring the
potential hydrogen. The proponents took the study for improvement of the traditional
way.
Recommendations
Based on the researchers’ findings in the previous way of taking data, the
researchers propose to the client the implementation of the device called “Potential
Hydrogen Analysis device”. Based on the gathered data there are a lot that can be
improved in the said device that will help the client or the end user.
students.
system so that the result could be transferred from one computer to another.
46
BIBLIOGRAPHY
Pampanga
E4tech Sàrl with Element Energy Ltd. For the Fuel Cells and Hydrogen Joint
Union”
47
https://psa.gov.ph/.../evaluation-water-quality-major-rivers-palawan-philippines-
using... http://onlinelibrary.wiley.com/doi/10.1002/er.3141/abstract
http://repoa.info/ph-level-of-laundry-detergent/
https://www.sheltondentistry.com/patient-information/ph-values-common-
drinks/
48
APPENDICES
49
Appendix A
50
RO II Forms
51
R01 (5 copies)
Republic of the Philippines
PALAWAN STATE UNIVERSITY
Puerto Princesa City
College of Sciences
1. Rosaceña , Reniel V.
2. Anoñuevo , Paul Kevin
3. Aborot, Michelle Mae D.
Date filed:
---------------------------------------------------------------------------------------------------------------------------
(To be filled out by the Faculty member/s concerned)
52
Form R02 II (8 copies)
Republic of the Philippines
PALAWAN STATE UNIVERSITY
Puerto Princesa City
College of Sciences
1. Rosaceña , Reniel V.
2. Anoñuevo , Paul Kevin
3. Aborot, Michelle Mae D.
Department: COMPUTER SCIENCE
Date filed:
---------------------------------------------------------------------------------------------------------------------------
(To be filled out by the Faculty member/s concerned)
Noted by:
MR. RODOLFO O. ABALUS JR.
CS Research Coordinator
53
GRAMMARIAN CERTIFICATE
54
CERTIFICATION
This is to certify that the undersigned has reviewed and went through all the pages of the thesis /
research paper entitled “Potential Hydrogen Analysis Device” by Michelle Aborot, Reniel Rosaceña and
Paul Kevin Añonuevo, aligned with the set of structural rules that govern the composition of sentences,
phrases, and words in the English language.
Signed this 7th day of November in the year of our Lord, 2018 at the College of Arts and Humanities,
Palawan State University, Puerto Princesa City.
Signed:
RIZALDY S. BUSTAMANTE
Grammarian
55
SOURCE CODE
56
SOURCE CODE
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Configuration;
namespace PH
{
public login_form()
{
InitializeComponent();
connectionstring =
ConfigurationManager.ConnectionStrings["PH.Properties.Settings.databaseConnectionString"].ConnectionStrin
g;
this.SetDesktopLocation(mouseX, mouseY);
}
}
panel_register.Visible = true;
panel_register.BringToFront();
}
58
private void add_data()
{
command.Parameters.AddWithValue("@firstname", textbox_firstname.Text);
command.Parameters.AddWithValue("@lastname", textbox_lastname.Text);
command.Parameters.AddWithValue("@username", textbox_username.Text);
command.Parameters.AddWithValue("@password", textbox_password.Text);
command.Parameters.AddWithValue("@course", combo_course.Text);
command.Parameters.AddWithValue("@year", combo_sem.Text);
command.Parameters.AddWithValue("@semester", combo_year.Text);
command.ExecuteNonQuery();
MessageBox.Show("Saved Successfully!");
connection.Close();
}
}//end of add_data
private void check_data()
{
error1.Visible = false;
error2.Visible = false;
error4.Visible = false;
error5.Visible = false;
error_course.Visible = false;
error_sem.Visible = false;
error_year.Visible = false;
if (textbox_firstname.Text == "")
{
error1.Visible = true;
MessageBox.Show("Firstname field is Empty!");
}
else if (textbox_lastname.Text == "")
{
error2.Visible = true;
MessageBox.Show("Lastname field is Empty!");
}
else if (textbox_username.Text == "")
{
error3.Visible = true;
MessageBox.Show("Username field is Empty!");
}
else if (textbox_password.Text == "")
{
59
error4.Visible = true;
MessageBox.Show("Password field is Empty!");
}
else if (textbox_password.Text.Length < 8)
{
error4.Visible = true;
MessageBox.Show("Password must be 8 characters and above!");
}
else if (combo_course.Text == "")
{
error_course.Visible = true;
MessageBox.Show("Course Field is empty!");
}
else if (combo_sem.Text == "")
{
error_sem.Visible = true;
MessageBox.Show("Semester Field is empty!");
}
else if (combo_year.Text == "")
{
error_year.Visible = true;
MessageBox.Show("Year Field is empty!");
}
else
{
if(textbox_password.Text == textbox_password2.Text)
{
SqlConnection connection = new SqlConnection(connectionstring);
SqlDataAdapter adapter = new SqlDataAdapter("select count(*) from userdata where username
='"+textbox_username.Text+"'", connection);
DataTable dt = new DataTable();
adapter.Fill(dt);
if (dt.Rows[0][0].ToString() == "1")
{
MessageBox.Show("Username already exist!");
textbox_username.Text = "";
error3.Visible = true;
}
else
{
error1.Visible = false;
error2.Visible = false;
error3.Visible = false;
error4.Visible = false;
error5.Visible = false;
error_course.Visible = false;
add_data();
textbox_firstname.Text = textbox_lastname.Text = textbox_username.Text =
60
textbox_password.Text = textbox_password2.Text = combo_course.Text = combo_sem.Text =
combo_year.Text = "";
panel_register.Visible = false;
panel_login.BringToFront();
}
}
else
{
MessageBox.Show("Password does not match!");
textbox_password2.Text = "";
error5.Visible = true;
}
else
{
MessageBox.Show("Please Enter correct username and password", "INCORRECT",
MessageBoxButtons.OK, MessageBoxIcon.Error);
textbox_login_username.Text = textbox_login_password.Text = "";
}
}//end of validate_login
else
{
}//end of validate_login
}
}
SOURCE CODE MAIN_FORM
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Configuration;
using iTextSharp.text.pdf;
using iTextSharp.text;
63
using System.IO;
namespace PH
{
public partial class MAIN_FORM : Form
{
SqlConnection connection;
string connectionstring;
bool test = false;
bool bool_delete = false;
bool bool_export = false;
DataTable user = new DataTable();
string ph_value;
public MAIN_FORM()
{
InitializeComponent();
connectionstring =
ConfigurationManager.ConnectionStrings["PH.Properties.Settings.databaseConnectionString"].ConnectionStrin
g;
admin_controls();
}
64
PSU.SetAbsolutePosition(350f, 1565f);//1558
document.Add(PSU);
document.Add(CS);
//iTextSharp.text.Image CS = iTextSharp.text.Image.GetInstance();
//Report Header
BaseFont bfntHead = BaseFont.CreateFont(BaseFont.TIMES_ROMAN, BaseFont.CP1252,
BaseFont.NOT_EMBEDDED);
iTextSharp.text.Font fntHead = new iTextSharp.text.Font(bfntHead, 16, 1,
iTextSharp.text.Color.BLACK);
Paragraph prgHeading = new Paragraph();
prgHeading.Alignment = Element.ALIGN_CENTER;
prgHeading.Add(new Chunk(strHeader.ToUpper(), fntHead));
document.Add(prgHeading);
//Author
Paragraph prgAuthor = new Paragraph();
BaseFont btnAuthor = BaseFont.CreateFont(BaseFont.TIMES_ROMAN, BaseFont.CP1252,
BaseFont.NOT_EMBEDDED);
iTextSharp.text.Font fntAuthor = new iTextSharp.text.Font(btnAuthor, 13, 1,
iTextSharp.text.Color.BLACK);
prgAuthor.Alignment = Element.ALIGN_RIGHT;
// prgAuthor.Add(new Chunk("Admin : Admin", fntAuthor));
prgAuthor.Add(new Chunk("\nDate : " + DateTime.Now.ToShortDateString(), fntAuthor));
document.Add(prgAuthor);
//Table header
BaseFont btnColumnHeader = BaseFont.CreateFont(BaseFont.TIMES_ROMAN, BaseFont.CP1252,
BaseFont.NOT_EMBEDDED);
iTextSharp.text.Font fntColumnHeader = new iTextSharp.text.Font(btnColumnHeader, 10, 1,
iTextSharp.text.Color.WHITE);
for (int i = 0; i < dtblTable.Columns.Count; i++)
{
PdfPCell cell = new PdfPCell();
65
cell.BackgroundColor = iTextSharp.text.Color.BLACK;
cell.AddElement(new Chunk(dtblTable.Columns[i].ColumnName.ToUpper(), fntColumnHeader));
table.AddCell(cell);
}
//table Data
for (int i = 0; i < dtblTable.Rows.Count; i++)
{
for (int j = 0; j < dtblTable.Columns.Count; j++)
{
table.AddCell(dtblTable.Rows[i][j].ToString());
}
}
document.Add(table);
document.Close();
writer.Close();
fs.Close();
}
button_sem.Visible = true;
button_year.Visible = true;
button_Course.Visible = true;
}
else
{
button_delete.Visible = false;
pictureBox1.Visible = false;
button3.Visible = false;
button4.Visible = false;
button_sem.Visible = false;
button_year.Visible = false;
button_Course.Visible = false;
66
}
}
if (result == DialogResult.Yes)
{
ph_timer.Enabled = false;
timer_time.Enabled = false;
this.Hide();
login_form main = new login_form();
main.Show();
ph_port.Close();
label_status.Text = ph_output.Text = textbox_data_name.Text = "";
}
get_ports();
//bool student = login_form.student;
admin_panel.Visible = false;
students_Panel.BringToFront();
get_ports();
ph_output.Text = ph_port.ReadLine().ToString();
//pase
// Double test = Convert.ToDouble(ph_port.ReadLine());
// float output = ph_port.ReadLine().floa();
if(ph_port.IsOpen == true)
{
MessageBox.Show("DEVICE STATUS:CONNECTED", "STATUS", MessageBoxButtons.OK,
MessageBoxIcon.Information);
}
else
{
ph_port.Open();
ph_timer.Enabled = true;
}
}
else
{
MessageBox.Show("PLEASE CHOOSE A
PORT!","ERROR",MessageBoxButtons.OK,MessageBoxIcon.Information);
}
68
float test = float.Parse(ph_output.Text);
//MessageBox.Show(test.ToString());
if (ph_port.IsOpen == true)
{
if (textbox_data_name.Text == "")
{
MessageBox.Show("Enter data name first!", "ERROR", MessageBoxButtons.OK,
MessageBoxIcon.Information);
}
else
{
ph_timer.Enabled = false;
ph_port.Close();
save_experiment();
}
}
else
{
MessageBox.Show("CLICK TEST FIRST!", "ERROR", MessageBoxButtons.OK,
69
MessageBoxIcon.Information);
}
command.Parameters.AddWithValue("@ph_result", ph_output.Text);
command.Parameters.AddWithValue("@date", DateTime.Now.ToString("MM/dd/yyyy H:mm"));
command.Parameters.AddWithValue("@dataname", textbox_data_name.Text);
command.Parameters.AddWithValue("@username", login_form.username);
command.Parameters.AddWithValue("@status", label_status.Text);
command.ExecuteNonQuery();
MessageBox.Show("Saved Successfully!");
connection.Close();
if (result == DialogResult.Yes)
{
int index = dataGrid_students.CurrentRow.Index;
71
}
}
}
}
else
{
MessageBox.Show("UPDATE YOUR DATA FIRST", "UPDATE", MessageBoxButtons.OK,
MessageBoxIcon.Warning);
}
}
}
if (login_form.admin == 2)
{
show_admin();
}
else
{
show_student();
}
72
}
else
{
admin_panel.Visible = false;
students_Panel.BringToFront();
MessageBox.Show("students!");
}
*/
admin_panel.BringToFront();
admin_panel.Visible = true;
73
if (user.Rows.Count == 0)
{
MessageBox.Show("NO DATA AVAILABLE!","DATA NOT
FOUND",MessageBoxButtons.OK,MessageBoxIcon.Information);
bool_delete = false;
bool_export = false;
}
else
{
bool_delete = true;
bool_export = true;
}
}
private void datalink()
{
if (dt.Rows.Count == 0)
{
}
else
{
admin_panel.Visible = false;
students_Panel.BringToFront();
}
test = false;
}
else
{
ph_port.PortName = combo_ports.Text;
75
label_stats.Text = "Connected";
test = true;
if (result == DialogResult.Yes)
{
if (bool_export == true)
{
SqlConnection connection = new SqlConnection(connectionstring);
// SqlDataAdapter adapter3 = new SqlDataAdapter("select u.firstname AS FIRSTNAME ,
u.lastname AS LASTNAME , u.course , u.year , u.semester , p.data_name , p.ph_result, p.status , p.date from
userdata u , ph_user_data p where u.username = p.username", connection);
SqlDataAdapter adapter3 = new SqlDataAdapter("select u.firstname AS FIRSTNAME , u.lastname
76
AS LASTNAME , p.data_name AS EXPERIMENT , p.ph_result AS PH, p.status AS STATUS , p.date AS DATE
from userdata u , ph_user_data p where u.username = p.username", connection);
DataTable dt3 = new DataTable();
adapter3.Fill(dt3);
data_export.DataSource = dt3;
else
{
bool_export = false;
MessageBox.Show("NO DATA AVAILABLE!");
}
{
for (int j = 0; j < data_export.Columns.Count; j++)
worksheet.Cells[i + 2, j + 1] = data_export.Rows[i].Cells[j].Value.ToString();
if (saveFileDialog1.ShowDialog() == DialogResult.OK)
{
}
app.Quit();
78
}
else
{
bool_export = false;
MessageBox.Show("NO DATA AVAILABLE!");
}
this.SetDesktopLocation(mouseX, mouseY);
}
}
}
}
}
81
This shows the process in the existing system which is the manual testing
of the pH. Including the cost and benefit from the tables 7 and 8 below that
Course Quantity
Environmental Science 72
Usage of 152
students for 3 P 2,280 Per course
courses
Total P 11,400
82
Usage of 152 P 72,960
students for 3
courses
Total P 72,960
Computation
1 student: 3 strips per laboratory class
14,592 strips used per year
3 strips x 152 students P 2,280
456 strips per laboratory class
1,824 x 8 month
14,592 strips used per year P 72,960
Benefits
Cost of Device - 12,300
Maintenance Yearly – 15,000
P 27,300
Return of Investment
= answer x 100
= % (This is the percentage save by the Collage of Sciences in
PH Testing Laboratory)
83
ROI= 62%
84
Appendix B
85
Request Letter for Interview & Surveys
86
DR. CARMENCITA G.PALANCA
Dean
College of Sciences
Campus Ma'am;
Device" as a requirement for our Thesis. We are writing to ask permission to conduct a
research in your college, do interviews using guide questions with your students and
faculty as well as distribute instruments which will be needed for the success of this
research.
Your complete cooperation will be helpful. Rest assured that the data we are collecting
Respectfully;
Paul Kevin
Añonuevo
Researcher
RenielRosaceña
Researcher
Michelle Mae
Aborot Researcher
87
Appendix C
88
Republic of the Philippines
EDUCATIONAL ATTAINMENT:
89
Republic of the Philippines
Palawan State University
Puerto Princesa City, Palawan
90
Republic of the Philippines
Palawan State University
Puerto Princesa City, Palawan
91