Anda di halaman 1dari 45

Programmable Automated Hot-Water Treatment Facility Cluster 2, Physical Science Group

An Original Research Submitted as an Entry to the National Science and Technology Fair DepEd-Intel

Proponents Zhaira Morysette L. Maco Gelyn An G. Resano Jan Akkira Cheyenne M. Millan Tagum City National High School Division of Tagum City Region XI

Mr. Rollan P. Inis Research Adviser

October 2012

Table of Contents Page Title Page List of Tables List of Figures Abstract Chapter I INTRODUCTION Background of the Study Statement of the Problem Hypothesis Significance of the Study Scope and Limitations Review of Related Literature Chapter II METHODOLOGY Research Activity Diagram Planning and Designing the Gadget/Software Gathering of Materials Assembling the Interfacing Kit Construction of the Gadget i iv vi vii 1 1 2 2 3 4 4 7 7 8 10 12 12

Testing for Efficiency Analysis of Results Chapter III RESULTS

13 14 15 27 29 30 31 32

Chapter IV DISCUSSION Chapter V CONCLUSION AND RECOMMENDATIONS

Acknowledgement Bibliography Appendices

LIST OF TABLES

Table 1. Mean Time Consumed Using the Conventional Gas Stove Table 2. Mean Time Consumed Using the Programmable Automated Hot-Water Treatment Facility

15

16

Table 3.1 Comparative Mean Time Consumed Using the Conventional Gas Stove and Using the Programmable Automated Hot-Water Treatment Facility at 50C 17

Table 3.2 Comparative Mean Time Consumed Between Conventional Gas Stove and Using the Programmable Automated Hot-Water Treatment Facility for 60C 18 Table 3.3 Comparative Mean Time Consumed Between Conventional Gas Stove and Using the Programmable Automated Hot-Water Treatment Facility for 70C 19 Table 4. Difference of the Mean Time at 50C Table 5. Difference of the Mean Time at 60C Table 6. Difference of the Mean Time at 70C Table 7. Comparison of the Temperature between the Water in the Reservoir and the Water Coming Out from the Nozzle Table 8. Difference of Mean Temperature Set for 50C After 5 minutes Between Water from Reservoir and Water released through Nozzle 24 23 20 21 22

Table 9. Difference of Mean Temperature Set for 50C After 10 minutes Between Water from Reservoir and Water released through Nozzle 25

Table 10. Difference of Mean Temperature Set for 50C After 15 minutes Between Water from Reservoir and Water released through Nozzle 26

List of Figures Figure 1. The Flow of the Research Activities/Procedure Figure 2. Pictorial Diagram of the Design Figure 3.Pictorial Diagram of the PCB Layout of the Interfacing Kit 7 8 9

ABSTRACT Improving the current hot water treatment process is the key to maximizing the quality of agricultural crops. Members of the agriculture industry have expressed concern that inefficient hot water treatment is one reason that agricultural crops quality is often substandard. Post harvest heat treatments are being used for disinfestations and disinfection of an increasing variety of crops, including flowers, fruits and vegetables. This study was done to address the problem of improving the efficiency of hot water treatment facility intended for agricultural crops. The researchers constructed a Programmable Automated Hot Water Treatment Facility (PAHWTF) using low cost materials that are readily available in the market. The PAHWTF is controlled by a personal computer (PC) with software using the Microsoft Visual Basic Programming Language. The prototype gadget was tested for efficiency by getting the time in attaining the different desired temperatures. The researchers also compared its efficiency with the conventional heating methods using a gas stove. Since the PAHWTF is for sprinkling, the temperature of the output hot water was also measured at different times within the sprinkling period. Results have shown that use of the Programmable Automated Hot-Water Treatment Facility is more efficient in increasing the temperature of water than the use of conventional gas stove. The efficiency of the Programmable Automated HotWater Treatment Facility in maintaining the temperature decreases as time increases.

Chapter I INTRODUCTION Background of the Study The computer had seen a lot of evolution both in hardware and software. Among them is the third-generation event-driven programming language and integrated development environment (IDE). The output from Personal Computers (PC) is a pulse which will activate a relay and hence can control an interfaced electronic appliance. This is possible in all PCs having parallel port. The parallel port that is connected to an 8-way relay board, controls lots of devices and do not need input and consist of 8 relays with indicator LEDs you can connect to just about any low-voltage device (Gandhi & Saini, 2010). Automation systems used in various industries to reduce manpower are now prevalent. Microcontroller applications with the Basic Stamp, PIC, 8051 and various others can often be enhanced with the use of the PC serial port, and a software interface. Designing own custom interface software for next microcontroller

application is now possible. Using the PC serial port to interface to the outside world, and next microcontroller application, can provide with some extremely powerful software/hardware solutions (Muharram, 2007). The current designs of hot-water treatment facility used by the agriculture industries encountered irregularities and challenges in achieving uniform

temperature distribution and adequate heating capacity. With these challenges, the researchers came up with the idea of making the facility automated using a PC interfacing systems.

Statement of the Problem This study focuses on the construction/building of prototype automated hotwater treatment facility for agricultural crops.

Specifically, it attempts to answer the following problems: 1. How much time is needed to achieve different water temperatures such as 50, 60 and 70? 2. Is there a significant difference between the temperature of the water from the reservoir and the water coming out from the nozzle of the sprinkler? 3. Is there a significant difference between the time consumed to attain 50, 60 and 70 using a gas stove and using the machine? Hypothesis Null Hypothesis: There is no significant difference between the temperature of the water from the reservoir and the water coming out from the nozzle of the sprinkler. There is no significant difference between the time consumed to attain 50, 60 and 70 using a gas stove and using the machine.

Significance of the Study The findings of this investigation are of primary importance to the following: Government. The main island of Mindanao consists of 11 million hectares of land. One million hectares is targeted for developing fruit trees. With this study, the government will be able to raise the quality and quantity of agricultural crops exports (Evangelista, Jr, 2006). Farmers. With the bad effects of chemicals, it is a blessing for farmers to develop a cheap and efficient hot water treatment facility that will disinfect agricultural crops. Those farmers who plant agricultural crops such as cacao, papaya, tomatoes, mangoes, banana, etc. will benefit from this study (Lurie, 1998). Agricultural crops Dealers and Exporters. With the abundance of agricultural crops, dealers will have plenty of supply to the market, resulting to cheaper prices of the commodity. In addition, the export industry will boom due to production of agricultural products. The proponents have seen the significance to modify the procedure by using electronic and mechanical components to speed up the process, and lessen the expense while increasing the production. It is foreseen that this would greatly help the agricultural production of the whole people behind it, the agricultural industry, and thus helping the Philippine economy.

Scope and Limitations This study is limited to the automated hot water treatment facility for agriculture crops. The input circuit or sensor include of heat temperature sensor that will be connected to a AC voltage via parallel port to the CPU (Central Processing Unit) and output circuits includes water pump and water heater, and the sensors input to the computer only are involved in this said study. The program used is Visual Basic operated and encoded in the PC (personal computer). Facility efficiency test was conducted by getting the time needed to attain the desired temperature. The difference between the temperature of water released through the sprinkler and the temperature of water in the reservoir were also measured.

Review of Related Literature Control of electrical appliances using PC The PC Based Appliances controlled by PC (Gandhi & Saini, 2010) is utilized to control many appliances with the help of computer. This includes the circuit and printer port of the PC which is used to manage the application with the help of interface hardware and software. Eight equipments can be managed with the use of the interface circuit along with the printer port. The parallel ports are the easy and inexpensive scheme to construct the PC gadgets and projects. The easiness and simplicity of execution creates the parallel port famous. (Gandhi & Saini, 2010) A simple and inexpensive tool for building computer controlled devices and projects, parallel ports use to connect printers to the computer and is specifically

designed for this purpose. It is often called as printer port or Centronics port a 25 pin female (DB25) connector (to which printer is connected). The PCs only one parallel port is present, still you can add more by buying and inserting ISA/PCI parallel port cards (Amin, 2004). Electrical machines with Interfacing Kit Electrical machines provide an interface between mechanicals systems and electrical systems and allow the conversion of mechanical energy to electrical energy and the reverse (University of Derby, 2012). Interface with external circuits are connected and interface ports. To connect the mechanical equivalent circuit of the model to other mechanical shafts or elements, an Electrical-Mechanical Interface block requests to be linked to the speed node, with the electrical side of the interface block coupled to the speed node and the mechanical side of the interface block connected to an interface port. (Powersim Inc. 2009) Visual Basic Visual Basic (VB) is a high level programming language which evolved from the earlier DOS version of BASIC. BASIC stands for Beginners All-purpose Symbolic Instruction Code. Different software companies produced different versions of BASIC but most people prefer to use VB since it is a well-developed programming language and supporting resources are available everywhere. There are many versions of VB at present, the most popular one and still widely used by many VB programmers is none other than Visual Basic 6.0 (Kiong, 2000).

Computer education is one of the required subjects in high school. Visual Basic is one of the programs that are to be learned by students under the Special Science Curriculum. 8 Way Relay Board There are 8 single pole double throw (SPDT) relays that can be operated in no less than four ways in this device. The actual attached relays are capable of switching 10A @24VDC and 10A @250VAC. Each relay can be switched on or off at will or commanded to switch at a set time. An LED is connected to each relay to indicate when it is operated. We provide two sets of complete, stand-alone software to control the relays: one works under DOS so you can write your own batch files to control individual relays, the other under Windows 9x/2000/ME/XP (Vac, 2010).

CHAPTER II METHODOLOGY Research Activity Diagram Designing of the Hardware of the Gadget

Designing of the Interfacing Kit and Software

Gathering of Materials

Assembling the Interfacing Kit

Construction of the Hardware Gadget

Attachment of the Interfacing Kit and the Gadget

Testing the Efficiency of the Machine

Analysis of Results Figure 1. The Flow of the Research Activities/ Procedure

Designing of the Hardware

Front view

Top view

Figure 1. Planning and Sketching the Prototype Design The wooden box was designed in two parts, first is where the pump was placed and the other one is for the transparent container. The dimensions for the

container was set up as 11x8 inches and the other is 12x9inches. While the transparent container was designed 5x10inches. Designing of the Interfacing Kit

Figure 2. PCB Layout of the Interfacing Kit The Interfacing kit or 8 way relay board original plan was an 8 functional Single Pole Double Throw relays, where there are three additional operations which is for the automatic flow of the water inside the reservoir, the motor for the mechanical up-and-down process of the screen container for the crops and the other one is for the drainage. Because it was found out that it will be more costly we decided to accept the revisions of the machine and evolved to sprinkler type where there are only 5 relays, as identified in Figure 2. The other materials identified were PCB (Printed Circuit Board) is a thin plate where chips or other electronic components are placed and provide an efficient means to mount electrical components and to route signals between the components and to route signals between the components. ULN2803 Integrated Circuit contains the circuitry to

control eight individual output lines. The 47uF Electrolytic Capacitor used an electrolyte (an ionic conducting liquid as one of its plates. Gathering of Materials Circuits Materials PCB SPDT 12 volts Relays ULN2803 Integrated Circuit 1N4004 Diode 3mm Red Led 560ohm watt resistor 47UF Electrolytic Capacitor (up to 1000uF can be used depending power supply) 0.01UF (approx Green Cap) LM7812 Voltage regulator (T220 case) 1 amp Bridge Rectifier 2.1mm Power Socket 25 pin Serial Cable- Male to Male 12-14 volts power supply with 2.1mm plug 3m soldering lead In 4004

These materials was bought at Electronic and Computer Parts (McJones, Radio Supply and DW Electrical) Miniature Design pump QB 60 15 hp nipple PVC x 6 inches tee with thread inch nipple8108 reducer 1-4x1-2 brass Tx10 nozzle aquarium with hole 5mm CCV thermostat (30-60 degrees) coupling red (1x1/2) elbow (1/2) box gear common nail (1/4 kg) Teflon tape(1/2x10m miles) Nipple PVC (1/2x1 inch) Coupling PVC (1/2 inch) foot valve with fixed s/s STNR Ball valve 1-2 pbv01 PVC Male adaptor 1 plain PVC Elbow 90 1in. plain PVC Male adaptor 3-4 plain PVC

PVC cement 100cc Neltex

The materials of the prototype design can be found at hardware, plumbing and lumber stores. See Appendix for the actual photographs of the materials. Assembling the Interfacing Kit Wipe the PCB using paper to remove the oil. Cover the PCB with masking tape or scotch tape then draw the circuit diagram on it. Remove by etching the unwanted part by a knife or a cutter. Submerge the PCB into ferric chloride to melt the unwanted part of the PCB copper. Drill a hole using a mini drill on the place to mount the components. Mount all the components. Solder all the pins or legs of the components. Construction of the Gadget First, measure and cut the amount of wood that would be needed in the construction of the machine. Create a box using the cut parts by nailing the planks altogether but leave the top side open. Create a compartment large enough for the aquarium to fit in. Place another plank on the topside of the smaller compartment (the one that will not be used for the aquarium) and nail it in place. Drill four holes on the far left corner away from the aquarium compartment. Attach the pump with the use of bolts and nuts on top of the newly added holes. Put the specially made aquarium in its designated place. Fasten suction pump and add the pipes. Stick them together using PVC Cement. Place the heater inside the aquarium. Use a cable tie to make sure that the pipes near the ball valve will not pull away from each

other. Attach two (2) thick book cover plastics with the same size and cut on the holes of both sides of the aquarium. Put the tray inside the aquarium. Attachment of the Interfacing Kit and the Gadget

The power cord of both the pump and submersible heater was attached to the 8 way relay board or interfacing kit. The reason behind of it is to achieve the goals of the automated machine and for the coordination of the wirings of the two components. Testing the Efficiency of the Machine Facility efficiency test was conducted by getting the time needed to attain the desired temperature. First, we heated up an enormous pot were it contains 10 litres of water and measured the time when the temperature reach a certain degrees like 50, 60 and 70. Analysis of Results

Chapter III

RESULTS Table 1 and 2 shows the mean time in minutes consumed for the desired temperatures, (50C, 60C, 70C) using the conventional gas stove and

Programmable Automated Hot-Water Treatment Facility. It was observed that the water in the reservoir achieved the desired heat faster using the Programmable Automated Hot-Water Treatment Facility than the water being heated up using the LPG powered stove. Table 1. Mean Time Consumed Using the Conventional Gas Stove Replicates 1 2 3 Mean Time for 50C (mins) 20.08 20.02 19.98 20.03 Time for 60C (mins) 28.93 29.02 28.97 28.97 Time for 70C (mins) 36.28 36.33 36.32 36.31

Table 2. Mean Time Consumed Using the Programmable Automated HotWater Treatment Facility Replicates 1 2 3 Mean Time for 50C (mins) 5.42 5.36 5.43 5.40 Time for 60C (mins) 9.02 8.54 8.59 8.72 Time for 70C (mins) 13.03 12.57 13.01 12.87

Table 3.1 shows the difference between the mean time consumed using the conventional gas stove and using the Programmable Automated HotWater Treatment Facility at 50C. The Programmable Automated Hot-Water Treatment Facility consumed lesser time in achieving the 50C temperature.

Table 3.1 Comparative Mean Time Consumed Using the Conventional Gas Stove and Using the Programmable Automated Hot-Water Treatment Facility at 50C

Time for 50C (mins)

Time Consumed Using the Conventional Gas Stove Time Consumed Using the Programmable Automated Hot-Water Treatment Facility

Replicates 1 2 3 Mean 20.08 20.02 19.98 20.03 V 5.42 5.36 5.43 5.40

Table 3.2 shows the difference between the times consumed using the conventional gas stove and using the Programmable Automated Hot-Water Treatment Facility for 60C. The Programmable Automated Hot-Water Treatment Facility consumed a mean time of 5.40 minutes while the conventional gas stove consumed 20.03 minutes.

Table 3.2 Comparative Mean Time Consumed Between Conventional Gas Stove and Using the Programmable Automated Hot-Water Treatment Facility for 60C

Time for 60C (mins) Replicates


Time Consumed Using the Conventional Gas Stove Time Consumed Using the Programmable Automated Hot-Water Treatment Facility

1 2 3 Mean

28.93 29.02 28.97 28.97

9.02 8.54 8.59 8.72

Table 3.3 shows the difference between the times consumed using the conventional gas stove and using the Programmable Automated Hot-Water Treatment Facility for 70C. The Programmable Automated Hot-Water Treatment Facility consumed a mean time of 8.27 minutes while the conventional gas stove consumed 28.97 minutes.

Table 3.3 Comparative Mean Time Consumed Between Conventional Gas Stove and Using the Programmable Automated Hot-Water Treatment Facility for 70C

Time for 70C (mins) Replicates


Time Consumed Using the Conventional Gas Stove Time Consumed Using the Programmable Automated Hot-Water Treatment Facility

1 2 3 Mean

36.28 36.33 36.32 36.31

13.03 12.57 13.01 12.87

Table 4 present the summary of the difference of the mean time at 50C. Using the randomized analysis of variance, it was found out that the f-ratio was 159055.94 and the p-value was 6.29E -6. Since the p-value was less than the level of significance at .01, therefore the null hypothesis was rejected. This means that there is a significant difference between Programmable Automated Hot-Water Treatment Facility.

Table 4. Difference of the Mean Time at 50C

Mean

f-ratio

p-value

Gas Stove

20.02667 159055.94 6.29E -6**

Programmable Automated Hot-Water Treatment Facility

5.40333

Table 5 present the summary of the difference of the mean time at 60C. Using the randomized analysis of variance, it was found out that the f-ratio was 13288.93 and the p-value was .0001. Since the p-value was less than the level of significance at .01, therefore the null hypothesis was rejected. This means that there is a significant difference between Programmable Automated Hot-Water Treatment Facility.

Table 5. Difference of the Mean Time at 60C

Mean

f-ratio

p-value

Gas Stove

28.97 13288.93 .0001 **

Machine

8.72

Table 6 present the summary of the difference of the mean time at 50C. Using the randomized analysis of variance, it was found out that the f-ratio was 21213.65 and the p-value was 4.71E-05. Since the p-value was less than the level of significance at .01, therefore the null hypothesis was rejected. This means that there is a significant difference between Programmable Automated Hot-Water Treatment Facility.

Table 6. Difference of the Mean Time at 70C

Mean

f-ratio

p-value

Gas Stove

36.31000 21213.65 4.71E-05**

Machine

12.87000

Table 7 shows the mean temperature measured from the heated water in the reservoir in comparison to the mean temperature of water coming out of the nozzle. The mean temperature of the heated water of the reservoir and the mean temperature of water coming out from the nozzle decreases as the time passes.

Table 7. Comparison of the Temperature between the Water in the Reservoir and the Water Coming Out from the Nozzle Frequency After 5 minutes
Temp. of water from the reservoir Temp. of water from the nozzle (C)

After 10 minutes
Temp. of water from the reservoir (C) Temp. of water from the nozzle (C)

After 15 minutes
Temp. of water from the reservoir (C) Temp. of water from the nozzle (C)

Replicates

(C)

1 2 3 Mean

48.36 48.42 49.53 V 48.77

48.18 48.29 49.46 48.64

46.26 46.10 47.06 46.47

46.11 45.95 46.93 46.33

43.67 42.92 43.86 43.48

43.36 42.61 43.54 43.17

Table 7 present the difference of mean temperature set for 50C after 5 minutes between the water from the water reservoir and the water released through the nozzle. It was found out that the f-ratio was 15.87 and the p-value was .0576. Since the p-value was greater than the level of significance at .01, therefore the null hypothesis was accepted. This means that there is no significant difference between the mean temperature of water from the water reservoir and the water released through the nozzle.

Table 7. Difference of Mean Temperature Set for 50C After 5 minutes Between Water from Reservoir and Water released through Nozzle Mean f-ratio p-value

Reservoir

48.77000 15.87 .0576

Nozzle

48.64333

Table 8 present the difference of mean temperature set for 50C after 10 minutes between the water from the water reservoir and the water released through the nozzle. It was found out that the f-ratio was 462.25 and the p-value was .0022. Since the p-value was less than the level of significance at .01, therefore the null hypothesis was rejected. This means that there is a significant difference between the mean temperature of water from the water reservoir and the water released through the nozzle.

Table 8. Difference of Mean Temperature Set for 50C After 10 minutes Between Water from Reservoir and Water released through Nozzle

Mean

f-ratio

p-value

Reservoir

46.47333 462.25 .0022 **

Nozzle

46.33000

Table 9 present the difference of mean temperature set for 50C after 15 minutes between the water from the water reservoir and the water released through the nozzle. It was found out that the f-ratio was 8836.00and the p-value was .0001. Since the p-value was less than the level of significance at .01, therefore the null hypothesis was rejected. This means that there is a significant difference between the mean temperature of water from the water reservoir and the water released through the nozzle.

Table 9. Difference of Mean Temperature Set for 50C After 15 minutes Between Water from Reservoir and Water released through Nozzle Mean f-ratio p-value

Reservoir

43.48333 8836.00 .0001 **

Nozzle

46.33000

Legend: ** - significance at 0.01 level of significance

Chapter IV

DISCUSSION Three temperatures were set to be achieved (50C, 60C, and 70C) using conventional gas stove and the Programmable Automated Hot-Water Treatment Facility (PAHWTF). The 50-70C range was used because most of the agricultural crops undergoing hot water treatment use these values (Mango; Post Harvest Best Management Practices Manual, 2010). The time needed to achieve the desired temperatures increases as the temperature increases. The data revealed the significant difference between the mean time needed to achieve the desired temperatures using the conventional gas stove and the Programmable Automated Hot-Water Treatment Facility. It shows that the Programmable Automated Hot-Water Treatment Facility achieved the desired temperature faster than the conventional gas stove. Since PAHWTF uses metal as heater, with high melting point, boiling point and low specific heat capacity (Giancoli, 1995), the water heats up faster than using the conventional gas stove. The results also revealed that after five minutes of sprinkling, the temperature of the water in the reservoir and the water released through the nozzle is not significantly different in their temperatures. However, after 10 and 15 minutes, there was a significant difference in their temperatures. Since the water circulates in the gadget, was exposed to air, and the heater stopped when the desired temperature

was achieved and the sprinkler starts to run, the efficiency of maintaining the temperature of water decreases as time increases.

Chapter V

CONCLUSIONS AND RECOMMENDATIONS

Results in the study shows that use of the Programmable Automated HotWater Treatment Facility is more efficient in increasing the temperature of water than the use of conventional gas stove. The efficiency of the Programmable Automated

Hot-Water Treatment Facility in maintaining the temperature decreases as time increases.

Recommendation: Based on the aforementioned conclusions, the following recommendations are made: 1. The use of a USB port in connecting the interface of the gadget to the personal computer so that it can be interfaced to new computers. 2. The compartments of the gadget where water is present can be enclosed so that it will be free from environmental exposure that will make the gadget inefficient. 3. The improvement of the program and the interface in maintaining the temperature of the water in the gadget. 4. The use of insulating materials like Styrofoam on the reservoir and the likes that will help maintain the temperature.

Acknowledgement The researchers would not have gotten this far without the help of our dear, Almighty God. The researchers would like to thank Him for blessing us with the wonderful people who have helped us along the way for the completion of this study. To Teodorico S. Caballero, Lilia J. Ortillano, Charlyn Y. Emata, Lourdesita Macasilhig, Pedro P. Batingal, and Ernie Balbuena for their patience and support.

To Mrs. Lourdesita Macasilhig for her very useful advises and guidance to the researchers. The researchers would like thank her for the understanding and care that she has patiently given. To Richard H. Bastasa, Arnold R. Espina, Virolynn A. Manliguez and Kris Arvy P. Sularte for the recommendation of their study. To Mr. Joey Ulay, Mr.Ryan Manguilimotan and Mr. Reynante D. Madriaga for their utmost patience and assistance during the experimentation. To our dearest parents, family and friends, especially Mr. Roque P. Maco, Mrs. Rosario L. Maco, Mr. Isidro S. Resano, Mrs. Angelina G. Resano, Dr. Richard John D. Millan, Mrs. Evangeline M. Millan and Jupiter Cabig Jr. for the never- ending help and support that led to the completion of the study.

Bibliography Powersim Inc. (2009) Tutorial on How to Create Electric Machine Models, PSIM Software. Retrieved 3 September 2012, from http://www.powersimtech.com/manual/Tutorial_Electric_Machine_Modeling.p df University of Derby (2012), Electrical Appliances. Retrieved 3 September 2012, from http://derby.ac.uk/media/derbyacuk/contentassets/coursefiles/modulespdfs/en gineering/ELECTRICAL-MACHINES.pdf Evangelista, R.D.R. (2006). Mindanao Mango Industry. Retrieved 28 August 2012, from http://www.neda.gov.ph/knowledge-emporium/details.asp?

DataID=465 Lurie, S. (1998). Postharvest heat treatments. Retrieved 28 August 2012, http://www-plb.ucdavis.edu/labs/chan/pbi292/PBI292%20112106%20 review.pdf Gandhi, S. & Saini, V. (2006-2010). Control Electrical Appliances using computer [Abstract]. Retrieved 28 August 2012, from http://www.scribd.com/doc/ 30471460/Control-Electrical-Appliances-Using-PC Amin, T. (2004). Control Electrical Appliances using PC. Retrieved 29 August 2012, from http://www.codeproject.com/Articles/7239/Control-Electrical-Appliancesusing-PC from

APPENDIX A Assembly of the Programmable Automated Hot Water Treatment

Measuring the plywood

Construction of the Box

Attaching the Pump by Drilling it

Putting the Transparent container to the Compartment

Attaching the Pipes

Attaching the heater

Connecting the hardware to the interfacing kit

Placing the Plastic Covers

APPENDIX B The Complete Set-Up of PAHWT (Programmable Automated Hot Water Treatment)

Set-up for the Hardware First, connect the interface circuit to the computer using printer parallel port. Then plug in the computer and turn it on. Next is to prime the pump for it to be able send water into the container in order to bring water back up to the machine. Fourthly, fill the water reservoir with clean water and plug in the interface circuit and the power cord of pump and heater to the power supply. Lastly, put the organic products in its designated place in the machine then open the program to start operation.

Set-up for the Hardware First, plug in the computer and turn it on. Then open the program to start operation. Click the command button labelled ON and the first LED light in the interface circuit glows. Next is click the command button labelled START to commence operation and the second and third LED lights glow. (The third LED light is for the heater). The fourth LED light will light up when the timer comes out (after the water reaches the desired temperature) and the pump starts to suck in water. Last, after the desired time gas passed, the operation stops and the 5th LED light glows. APPENDIX C Precautionary Measures This project uses electricity and the construction of the machine requires the assistance of adults. In assembling the interface circuit make sure that you have the aid of an adult or, more specifically, an IT technician. When plugging the machine and the computer, make sure your hands are not wet and always wear proper gears such as rubber gloves. In building the machine, ask for the guidance of an adult since we are dealing with sharp materials such as nails, wood saw and pipe saw. When using the hammer, be careful not to hit your fingers. Fire is also present in the process of connecting the pipes.

APPENDIX D Gadget Operation Flowchart

On Stop Start

Timer=15 mins

Heater will start Thermostat activated


Pump (sprinkler) Will stop

Temp =50

Heater will stop

APPENDIX E Visual Basic Source Code for the Interfacing Kit

FRMMAIN Private Sub Command1_Click() Command2.Enabled = True Shape2.FillColor = &H80FF80 Shape3.FillColor = &H0& Out Val("&H" + "378"), Val("7") trcv.Enabled = True Call trcv_Timer End Sub

Private Sub Command3_Click() Out Val("&H" + "378"), Val("1") 'on Command1.Enabled = True Command2.Enabled = False Command4.Enabled = True Command3.Enabled = False Command3.Visible = False Shape1.FillColor = &HFFFF80 Shape2.FillColor = &H0& Shape3.FillColor = &H0&

Private Sub Command2_Click() Out Val("&H" + "378"), Val("17") Command2.Enabled = False trcv.Enabled = False Shape2.FillColor = &H0& Shape3.FillColor = &HFF& frmtimer.Timer1.Enabled = False

Command6.Enabled = False

End Sub

Private Sub Command4_Click() Out Val("&H" + "378"), Val("0") trcv.Enabled = False frmtimer.Timer1.Enabled = False

Call Command3_Click Unload frmtimer End Sub

Command1.Enabled = False Command2.Enabled = False Command4.Enabled = False Command3.Enabled = True

Command3.Visible = True Shape1.FillColor = &H0& Shape2.FillColor = &H0& Shape3.FillColor = &H0& Command6.Enabled = True End Sub

Command1.Enabled = False Command2.Enabled = False Command4.Enabled = False Shape1.FillColor = &H0& Shape2.FillColor = &H0& Shape3.FillColor = &H0& End Sub

Private Sub Command5_Click() 'MsgBox "are you sure you really want to exit?", vbOKCancel 'If MsgBox = vbOK Then Out Val("&H" + "378"), Val("0") 'Else 'Call Form_Load End End Sub trcv.Enabled = False frmtimer.Show Private Sub trcv_Timer() Label2.Caption = Str(Inp(Val("&H" + "379"))) If Label2.Caption = 120 Then Out Val("&H" + "378"), Val("11")

Private Sub Command6_Click() Unload Me frmset.Show Out Val("&H" + "378"), Val("0") End Sub

End If End Sub

FRMSET Private Sub Command1_Click() frmtimer.Label1.Caption = Text2.Text

Private Sub Form_Load() Out Val("&H" + "378"), Val("0")

frmtimer.lblmin.Caption = Text1.Text Out Val("&H" + "378"), Val("0")

Unload Me frmmain.Show End Sub

If Label1.Caption = 0 Then lblmin.Caption = lblmin.Caption - 1 Label1.Caption = 59 Else

Private Sub Command2_Click() Out Val("&H" + "378"), Val("0") End End Sub

Label1.Caption = Label1.Caption - 1 End If

If Label1.Caption <= 0 And lblmin.Caption <= 0 Then lblmin.Caption = 0 Label1.Caption = 0 Timer1.Enabled = False Out Val("&H" + "378"), Val("17")

Private Sub Form_Load() Out Val("&H" + "378"), Val("0") End Sub

FRM TIMER Private Sub Form_Load() Timer1.Enabled = True Label1.Caption = frmset.Text2.Text lblmin.Caption = frmset.Text1.Text End Sub

frmmain.Command2.Enabled = False frmmain.Shape2.Visible = False frmmain.Shape3.Visible = True frmmain.Shape3.FillColor = &HFF& Unload Me End If

Private Sub Timer1_Timer()

End Sub

Anda mungkin juga menyukai