WEEK 14
Presentation
Allhamdullillah, we have been success to present our project Digital pH Meter. Even the Digital pH Meter can't shows a result as we want, we manage to explain to the jury of FYP Presentation-Day the functionality of the Digital pH Meter. Thanks to our supervisor, Mdm. Norhayati for helping us and provide us some guide on long period of Digital pH Meter construction until a Presention-Day.
~ measure the pH value for the aqueous solution and give the pH value in digital form ~
FYP
Friday, 23 May 2014
Friday, 16 May 2014
WEEK 13
Construct Arduino
The result on display of pH measurement work well by testing using breadboard. Now we assemble all component on it own casing that we make. On this short time only one week left, we using a straight-board because we won't have enough time to hatching a PCB.
EXPERIMENTING.
The result still won't work as well as we expected but we manage to complete the construction of it case. The display didn't show right result this time.
Construct Arduino
The result on display of pH measurement work well by testing using breadboard. Now we assemble all component on it own casing that we make. On this short time only one week left, we using a straight-board because we won't have enough time to hatching a PCB.
EXPERIMENTING.
The result still won't work as well as we expected but we manage to complete the construction of it case. The display didn't show right result this time.
Tuesday, 6 May 2014
WEEK 12
Arduino
On our research, we have been use same circuit but not using same PIC of Arduino circuit. That is mean our circuit is has the same build and component of Arduino. So we have plan to use an Arduino to replace our previous circuit that we have been construct.
Arduino is a lot easier to use and we can learn using it by one week. The plan of using Arduino work pretty well. In this week, we don't have quite enough time to hatching new PCB, so we assemble all component include use breadboard to test it and programmed it by using same formula that we use on previous PIC.
We hope that the result would be as what as we expected.
Arduino
On our research, we have been use same circuit but not using same PIC of Arduino circuit. That is mean our circuit is has the same build and component of Arduino. So we have plan to use an Arduino to replace our previous circuit that we have been construct.
Arduino is a lot easier to use and we can learn using it by one week. The plan of using Arduino work pretty well. In this week, we don't have quite enough time to hatching new PCB, so we assemble all component include use breadboard to test it and programmed it by using same formula that we use on previous PIC.
We hope that the result would be as what as we expected.
Thursday, 1 May 2014
WEEK 11
THE RESULT
THE RESULT
The result for this project is, this project has not been able to achieve some of the objective. Digital pH meter we’ve made is not close loop type circuit. This is because our digital pH meter from finish of manufacturing its work well and show a result. But after editing a calculation that we use to program our main controller PIC and troubleshoot it cause a lot of damage.
To complete the project, a lot of research are need to be done to collect the information about this project. The method we use in the project is also important to make sure the project can function well. Knowledge in software and skill on hardware is also important in completing the project.
Designing the project using software such as Proteus, Altium, and MicroC Pro give us a lot of experience and need to spend a lot of time while studying using it more efficiently and we hope it can be implement in the future.
So we have need to plan a new way to finish this project before FYP presentation on week 14.
Friday, 25 April 2014
WEEK 10
EXPERIMENTING
EXPERIMENTING
We are experimenting our Digital pH meter. Sometime this device had some problem to measure the pH on liquid and give a perfect calibration on display by using a formula that we applied on PIC that we use. The result for acid we got from the measurement is pH 4.00 and when we applied on alkaline it shows pH 10.00.
Its work well, but sometimes display not showing pH result properly. So we follow the guide for a probes to keep it clean and safe before it damage it a lot. We will keep experimenting this Digital pH Meter for days by days to test it and maintance the durability and keep update on the result on display so it would not error for time to time.
Saturday, 5 April 2014
WEEK 8
List of componen
List of componen
Picture 1.1 list of component
Voltage regulator
The
LM317 is a linear voltage regulator used in DC to AC converter applications.
The overall function of the LM317 is similar to that of the LM78xx series
regulators. Whereas the 78xx series of regulators have fixed output voltages
(5V output), the LM317 can be adjusted to any voltage (within its limits) .They
are designed to supply more than 1.5 A of load current with an output voltage
adjustable over a 1.2 to 37 V range. The nominal output voltage is selected by
means of only a resistive divider, making the device exceptionally easy to use
and eliminating the stocking of many fixed regulators.
figure 1 Voltage regulator
Resistors
Resistors are the most commonly used
component in electronics and their purpose is to create specified values of
current and voltage in a circuit. A number of different resistors are available
.Resistors with power dissipation below 5 watt (most commonly used types) are
cylindrical in shape, with a wire protruding from each end for connecting to a
circuit .Practical resistors have a series inductance and a small parallel
capacitance; these specifications can be important in high-frequency
applications. In a low-noise amplifier or pre-amp, the noise characteristics of
a resistor may be an issue. The unwanted inductance, excess noise, and
temperature coefficient are mainly dependent on the technology used in
manufacturing the resistor. They are not normally specified individually for a
particular family of resistors manufactured using a particular technology. A
family of discrete resistors is also characterized according to its form
factor, that is, the size of the device and the
position of its leads (or terminals) which
is relevant in the practical manufacturing of circuits using them.
Saturday, 22 March 2014
WEEK 7
Figure 3.3.6 program for display pH and Temperature
MicroC PRO software is used
to make a program for microcontroller to control selected output. By using this
software we can create a program that can control several functions. For
example to control motor. The motor speed or angle of the motor can be control using
program. MicroC PRO have its own library contain an example of basic program
that can be use directly such as program for motor, LED display, LCD display,
temperature sensor and keypad.
For our project digital pH
meter, we need to make two programs. The first program is for analogue to
digital program. This program is important because to allow the LCD display can
display the pH value in digital form. LCD display can only read digital value.
What microcontroller do is,
it read the analogue output voltage or signal from pH meter circuit then
convert the value into digital before it can be display on LCD display. In
microcontroller pin, to convert analogue signal to digital signal, port A is
use because port A is for analogue input only.
The second program is LCD
display program. This program is made to display the pH value in digital and
also to display the temperature value in digital.
Figure
3.3.1 program for PIC controller
Figure above show the
overall program for our project. The program included analogue to digital
converter program and LCD display program.
PIC microcontroller is the
brain of our system in this project. PIC microcontroller has many advantages
especially to design the process itself. By using the MikroC PRO for PIC
software, we can simulate the circuit diagram on proteus before making the
actual hardware. Source code is easy to program which variety instructions that
we can programmed. There are many PIC type such as 16F84X, 16F877X, 18F8XX and
many more. In our case, we use PIC16F877A to create the program.
To create the source code
program, we need to insert the command, because, for our program have their own
command to let one system can be function. In this project, we use some of
command to displaying the value of pH and temperature such as the LCD library
command and the ADC library. For the display the items, we use LCD library that
we call them from the MikroC PRO for PIC for make communication with LCD (with
HD44780 compliant controllers). Through the 8-bit interface. An example of LCD
connections is given on the schematic from the pH meter circuit.
Figure
3.3.2 program code for LCD display
From the figure above, we
insert the LCD pin out setting and the LCD pin direction for 8-bit to enable
the value is function correctly. We use the port C and port D to enable the
connection that can be read and have a communication between PIC and the
display.
Figure
3.3.3 program code for LCD
From the figure above, we
create the lcd_init command to initializes LCD module. Then, we create the
Lcd_Out to prints text on LCD starting from specified position. Both string
variables and literals can be passed as a text. After that, we add the command Lcd_Out_Cp
to prints text on LCD at current cursor position. Both string variables and
literals can be passed as a text. We go to add the Lcd_Chr command to prints
character on LCD at specific position. Both variables and literals can be
passed as a character. Then, we add Lcd_Chr_Cp to prints character on LCD at
current cursor position. Both variables and literals can be passed as a
character. Lastly we put the Lcd_Cmd to sends command to the LCD and completing
the LCD program source code.
Figure
3.3.4 program code for ADC
From above figure is shown
the main program, we use an ADC (Analog to Digital Converter) module library.
Because the ADC is an electronic circuit that converts continuous signals to
discrete digital numbers to target the goals of this project as Digital pH
Meter as well. There are 3 main of command that must be used in creating the
program. That is ADC_Init command, this routine initializes PIC’s internal ADC
module to work with RC clock. Clock determines the time period necessary for
performing AD conversion. After that we use the ADC_Get_Sample, the function is
acquires analog value from the specified channel.
Parameter channel represents
the channel from which the analog value is to be acquired data. Lastly we add
the ADC_Read in this command, because this command initializes PIC’s internal
ADC module to work with RC clock. Clock determines the time period necessary
for performing AD conversion. The program of ADC command is to display the
analog signal from the circuit of pH meter convert to the digital signal that
can be display to the LCD display for the value of pH and also the value of
temperature. We use the ADC_float cause of to create the character with the
size of 15. Because we also want the output on the LCD can be read at the
decimal point. For read the value of pH, we dividing the result with 20.45, and
store the pH value before it can be display on the output display. For read the
value of temperature, we multiple the result with 0.48828 to display the
temperature result on LCD display.
Figure 3.3.6 program for display pH and Temperature
By referring the picture
above, we are use command Lcd_Out to display the value. We put the pH value at
the output by using the line 1 of text while we put the temperature value at
the output by using the line 2 of text.
Subscribe to:
Posts (Atom)