• Tidak ada hasil yang ditemukan

C. METODA DAN PEMBUATAN APLIKASI

V. KESIMPULAN

A. KESIMPULAN

1. Dalam pembuatan ruang tumbuh jamur terkendali diperlukan pengendalian suhu dan kelembaban yang baik, salah satunya dengan penggunaan simulasi computer.

2. Software Visual Basic 6.0 mampu untuk membuat program visualisasi control ruang tumbuh jamur terkendali dengan menempilkan animasi-animasi.

3. Pembuatan program dimulai dengan pembuatan algoritma program, diagram alir program, pembuatan animasi dan pembuatan listing program. 4. Pada program ini suhu pengendalian yang paling optimal adalah 17°C dan

kelembaban yang paling optimal adalah 80 %

5. Looping data yang paling baik adalah sesuai dengan umur jamur yaitu 5184000 kali.

6. Terdapat tiga parameter alat yang digunakan untuk menjaga stabilitas kelembaban agar tetap sebesar 80 % yaitu sprayer, kipas dan dehumidifier. 7. Program dapat berjalan dengan lancar dengan baik dengan menggunakan

beberapa tipe data untuk mengendalikan ruang tumbuh jamur tersebut dengan bantuan animasi gambar yang bergerak.

B. SARAN

1. Agar program dapat berjalan dengan baik dan animasi terlihat dengan baik maka disarankan menggunakan grafik card dengan memori diatas 64 MB. 2. Perlu adanya perangkat keras yang memadai untuk menunjang perangkat

DAFTAR PUSTAKA

Alexopoulus, C. J., C. W. Mims dan M. Blackwell. 1996. Introductory Mycology. John Wiley & Sons, Inc., New York

Buswell, J.A., Chang S.T. and P.G. Miles (ed).1993. Genetics and Breeding of Edible Mushroom. Gordon and Breach Science Publ., USA.

Cahyana, Y.A, dkk. 1997. Jamur Tiram. Penerbit Swadaya, Jakarta.

Cang, S.T. dan Hayes, W.A. 1978. The Biology and Cultivation of Edible Mushroom. Academic Press, New York.

Chang, S.T. dan Miles, P.G.1989. Edible Mushroom and Their Cultivation. CRC Press, Inc., Boca Raton, Florida.

Daryani, S. 1999. Pertumbuhan Jamur Kuping Dan Jamur Tiam Dalam Rumah Tanaman Dengan Suhu Terkendali, Skripsi. Teknik Pertanian . Institut Pertanian Bogor. Dent dan Anderson. 1971. Systems Analysis in Agricultural Management. John Wiley

And Son, Sydney.

Duddington, C.L. 1972. Beginner’s Guide To The Fungi. Pelham Books Ltd., London. Genders, R. 1982. Bercocok Tanam Jamur Merang. Pionir, Bandung.

Nugraha, R. 2005. Pengaturan Suhu Pada Media Tumbuh Jamur Tiram, Skripsi. Teknik Pertanian. Institut Pertanian Bogor. Bogor.

Rismunandar. 1982. Mari Berkebun Jamur. Terate, Bandung.

Sommerville, I. 1989. Software Engineering. Addison-Wesley Publishing Corporation, London.

Suriawiria, U. 2000. Sukses Berbisnis Jamur Kayu : Shitake, Kuping Tiram. Penebar

Swadaya, Jakarta.

Wijaya, K. 1999. Pengendalian Suhu Pada Tanaman Jamur Dengan Sistem Kendali Fuzzy. Skripsi. Departemen Teknik Pertanian. IPB. Bogor

Yuniasmara, C.,Mucshrodji dan Bakrun, M. 1997. Jamur Tiram Pembibitan Pembudidayaan Analisis Usaha. Penebar Swadaya, Jakarta.

Yung, K. 2002. Membangun Database Dengan Visual Basic 6.0 dan Perintah SQL. Elex Media Komputindo. Jakarta

Lampiran 1. Listing program simulasi ruang tumbuh jamur terkendali. Form 1

'programmer bobby

'dept Agricultural Engineering 'Bogor Agricultural University Private Sub Command1_Click() Timer1.Enabled = True

Command3.Enabled = True Command1.SetFocus Command1.Enabled = False End Sub

Private Sub Command2_Click() End

End Sub

Private Sub Command3_Click() Timer1.Enabled = False

Command1.Enabled = True Command1.SetFocus Command3.Enabled = False End Sub

Private Sub Command4_Click() Form2.Show

Me.Hide End Sub

Private Sub Form_Load() Timer1.Interval = 1000 Label1.Caption = "0" Label5.Caption = "0" Label6.Caption = "0"

ShockwaveFlash1.Movie = App.Path & "\OFF.swf" ShockwaveFlash1.Stop

Timer1.Enabled = False Command3.Enabled = False End Sub

Private Sub ShockwaveFlash1_OnReadyStateChange(newState As Long) End Sub

Private Sub Timer1_Timer() If Label1.Caption = 400 Then Timer1.Enabled = False MsgBox ("Selesai") Else Label1.Caption = Label1.Caption + 1 End If If Label1.Caption = 1 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Dehumidifire.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 10 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Dehumidifire.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 20 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Dehumidifire.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 30 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Dehumidifire.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 40 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Dehumidifire.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 50 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 60 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 70 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 80 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 90 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 100 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Dehumidifire + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 110 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Dehumidifire + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 120 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 130 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Dehumidifire + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 140 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Dehumidifire + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 150 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 160 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

If Label1.Caption = 170 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 180 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 190 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 200 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 210 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 220 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 230 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 240 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 250 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 270 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 280 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 290 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 300 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 310 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 320 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 330 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 340 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 350 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 360 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 370 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 380 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If

If Label1.Caption = 390 Then Beep

ShockwaveFlash1.Movie = App.Path & "\Sprayer + Kipas.swf" ShockwaveFlash1.Play

End If End Sub

Private Sub Timer2_Timer() If Label1.Caption = 1 Then

Label5.Caption = "16.4": Label6.Caption = "81.0" ElseIf Label1.Caption = 10 Then

Label5.Caption = "16.5": Label6.Caption = "80.5" ElseIf Label1.Caption = 20 Then

Label5.Caption = "16.6": Label6.Caption = "81.1" ElseIf Label1.Caption = 30 Then

Label5.Caption = "16.7": Label6.Caption = "81.8" ElseIf Label1.Caption = 40 Then

Label5.Caption = "16.8": Label6.Caption = "82.2" ElseIf Label1.Caption = 50 Then

Label5.Caption = "17.5": Label6.Caption = "78.0" ElseIf Label1.Caption = 60 Then

Label5.Caption = "17.6": Label6.Caption = "77.4" ElseIf Label1.Caption = 70 Then

Label5.Caption = "18.0": Label6.Caption = "72.6" ElseIf Label1.Caption = 80 Then

Label5.Caption = "17.9": Label6.Caption = "74.8" ElseIf Label1.Caption = 90 Then

ElseIf Label1.Caption = 100 Then

Label5.Caption = "17.7": Label6.Caption = "80.6" ElseIf Label1.Caption = 110 Then

Label5.Caption = "18.6": Label6.Caption = "82.0" ElseIf Label1.Caption = 120 Then

Label5.Caption = "18.7": Label6.Caption = "79.6" ElseIf Label1.Caption = 130 Then

Label5.Caption = "18.8": Label6.Caption = "80.8" ElseIf Label1.Caption = 140 Then

Label5.Caption = "18.9": Label6.Caption = "80.5" ElseIf Label1.Caption = 150 Then

Label5.Caption = "17.0": Label6.Caption = "75.5" ElseIf Label1.Caption = 160 Then

Label5.Caption = "19.1": Label6.Caption = "76.6" ElseIf Label1.Caption = 170 Then

Label5.Caption = "19.2": Label6.Caption = "76.5" ElseIf Label1.Caption = 180 Then

Label5.Caption = "19.3": Label6.Caption = "74.8" ElseIf Label1.Caption = 190 Then

Label5.Caption = "19.4": Label6.Caption = "74.3" ElseIf Label1.Caption = 200 Then

Label5.Caption = "19.5": Label6.Caption = "72.8" ElseIf Label1.Caption = 210 Then

Label5.Caption = "19.6": Label6.Caption = "71.9" ElseIf Label1.Caption = 220 Then

Label5.Caption = "19.7": Label6.Caption = "72.2" ElseIf Label1.Caption = 230 Then

Label5.Caption = "19.8": Label6.Caption = "69.9" ElseIf Label1.Caption = 240 Then

Label5.Caption = "20.0": Label6.Caption = "61.1" ElseIf Label1.Caption = 250 Then

Label5.Caption = "20.1": Label6.Caption = "69.9" ElseIf Label1.Caption = 260 Then

Label5.Caption = "20.2": Label6.Caption = "67.1" ElseIf Label1.Caption = 260 Then

Label5.Caption = "20.4": Label6.Caption = "65.5" ElseIf Label1.Caption = 270 Then

Label5.Caption = "20.5": Label6.Caption = "65.0" ElseIf Label1.Caption = 280 Then

Label5.Caption = "20.7": Label6.Caption = "65.0" ElseIf Label1.Caption = 290 Then

Label5.Caption = "20.8": Label6.Caption = "63.9" ElseIf Label1.Caption = 300 Then

Label5.Caption = "20.9": Label6.Caption = "61.9" ElseIf Label1.Caption = 310 Then

ElseIf Label1.Caption = 320 Then

Label5.Caption = "21.2": Label6.Caption = "60.4" ElseIf Label1.Caption = 330 Then

Label5.Caption = "21.3": Label6.Caption = "60.1" ElseIf Label1.Caption = 340 Then

Label5.Caption = "21.4": Label6.Caption = "60.0" ElseIf Label1.Caption = 350 Then

Label5.Caption = "21.7": Label6.Caption = "57.9" ElseIf Label1.Caption = 360 Then

Label5.Caption = "22.0": Label6.Caption = "54.8" ElseIf Label1.Caption = 370 Then

Label5.Caption = "22.1": Label6.Caption = "55.4" End If

End Sub Form 2

Private Sub Command1_Click() End

End Sub

Private Sub Command2_Click() Form1.Show

Me.Hide End Sub

Private Sub Command3_Click() If temp.Text = 22.1 Then hum.Text = 55.4 End If If temp.Text = 22 Then hum.Text = 54.8 End If If temp.Text = 21.7 Then hum.Text = 57.9 End If If temp.Text = 21.4 Then hum.Text = 60 End If If temp.Text = 21.3 Then hum.Text = 60.1 End If If temp.Text = 21.2 Then hum.Text = 60.4 End If

If temp.Text = 21 Then hum.Text = 61.4 End If If temp.Text = 20.9 Then hum.Text = 61.9 End If If temp.Text = 20.8 Then hum.Text = 63.9 End If If temp.Text = 20.7 Then hum.Text = 65 End If If temp.Text = 20.5 Then hum.Text = 65 End If If temp.Text = 20.4 Then hum.Text = 65.5 End If If temp.Text = 20.2 Then hum.Text = 67.1 End If If temp.Text = 20.1 Then hum.Text = 69.9 End If If temp.Text = 20 Then hum.Text = 69.1 End If If temp.Text = 19.8 Then hum.Text = 69.9 End If If temp.Text = 19.7 Then hum.Text = 72.2 End If If temp.Text = 19.6 Then hum.Text = 71.9 End If If temp.Text = 19.5 Then hum.Text = 72.8 End If If temp.Text = 19.4 Then hum.Text = 74.3 End If If temp.Text = 19.3 Then hum.Text = 74.8 End If If temp.Text = 19.2 Then

hum.Text = 76.5 End If If temp.Text = 19.1 Then hum.Text = 76.6 End If If temp.Text = 19 Then hum.Text = 77.5 End If If temp.Text = 18.9 Then hum.Text = 80.5 End If If temp.Text = 18.8 Then hum.Text = 80.8 End If If temp.Text = 18.6 Then hum.Text = 82 End If If temp.Text = 18.7 Then hum.Text = 79.6 End If If temp.Text = 17.9 Then hum.Text = 74.8 End If If temp.Text = 17.8 Then hum.Text = 75.3 End If If temp.Text = 17.7 Then hum.Text = 80.6 End If If temp.Text = 17.6 Then hum.Text = 78 End If If temp.Text = 17.5 Then hum.Text = 78 End If If temp.Text = 16.8 Then hum.Text = 82.2 End If If temp.Text = 16.7 Then hum.Text = 81.8 End If If temp.Text = 16.6 Then hum.Text = 81.1 End If If temp.Text = 16.5 Then hum.Text = 80.5

End If If temp.Text = 16.4 Then hum.Text = 81 End If If temp.Text < 16 Then temp.Text = 0 hum.Text = 0

MsgBox "Masukan nilai suhu antara 16 - 21 derajat celcius!", vbOKOnly, "Keterangan" End If

If temp.Text > 17 And hum.Text < 80 Then swf.Movie = App.Path & "\Sprayer + Kipas.swf" swf.Play

End If

If temp.Text > 17 And hum.Text = 80 Then swf.Movie = App.Path & "\Kipas.swf" swf.Play

End If

If temp.Text > 17 And hum.Text > 80 Then

swf.Movie = App.Path & "\Dehumidifire + Kipas.swf" swf.Play

End If

If temp.Text <= 17 And hum.Text < 80 Then swf.Movie = App.Path & "\Sprayer.swf" swf.Play

End If

If temp.Text <= 17 And hum.Text = 80 Then swf.Movie = App.Path & "\OFF.swf"

swf.Stop End If

If temp.Text <= 17 And hum.Text > 80 Then swf.Movie = App.Path & "\Dehumidifire.swf" swf.Play

End If

If temp.Text < 6 Then

swf.Movie = App.Path & "\OFF.swf" swf.Play

End If

Command5.Visible = True End Sub

Form3.Show End Sub

Private Sub Command5_Click() swf.Movie = App.Path & "OFF.swf" Command5.Visible = False

Command3.Visible = True End Sub

Private Sub Form_Load()

swf.Movie = App.Path & "\OFF.swf" Command5.Visible = False

End Sub

Private Sub Label2_Click()

MsgBox "Yang Bikin!", vbOKOnly, "OK kan" End Sub

Private Sub swf_Click() End Sub

Lampiran 2. Data yang dimasukkan dalam program (Krissandi,1999) °C RH 22.1 54.2 22.1 55.4 22.0 54.8 21.7 57.9 21.4 60 21.3 60.1 21.2 60.4 21.0 61.4 20.9 61.9 20.8 63.9 20.7 65 20.5 65 20.4 65.5 20.2 67.1 20.2 69.1 20.1 69.9 20.0 69.1 19.8 69.9 19.8 72.4 19.7 72.2 19.6 71.9 19.6 72.1 19.5 72.8 19.5 74.1 19.4 74.3 19.4 73.8 19.3 74.8 19.3 75.8 19.2 76.5 19.2 76.7 19.2 76.3 19.2 77.8 19.1 76.6 19.1 77.9 19.1 78.2 19 77.5 19 78.2 19 78.9 19 78.1 19 78.2 19 79.2 19 77.7 19 79.9 19 78.4 19 78.1 18.9 80.5

°C RH 18.9 78.8 18.8 80.8 18.9 79.4 18.8 79.3 18.9 80.5 18.8 80 18.8 80 18.8 79.6 18.8 80.8 18.8 80 18.8 81.4 18.8 79.3 18.8 80.8 18.8 80.9 18.8 80.9 18.8 81.4 18.8 79.6 18.7 80.8 18.8 80 18.8 79.2 18.8 81.1 18.7 81 18.8 80.6 18.8 80.1 18.7 81.5 18.8 80.7 18.8 80.5 18.8 80.4 18.8 80.7 18.8 80.3 18.8 80.7 18.8 80.7 18.8 81.1 18.8 80.9 18.8 81.4 18.7 80.5 18.7 81.3 18.7 82 18.7 80.5 18.6 81.3 18.6 82 18.6 80.5 18.6 81.6 18.6 81.2 18.7 81.2 18.7 82.8 18.8 81.2 18.7 80.6 18.7 80.5

18.7 80.3 18.7 81 18.7 79.9 18.7 80.9 18.7 80.6 18.7 80.2 18.7 80.9 18.7 80.6 18.7 80.2 18.7 80.6 18.7 75.3 17.7 75.3 17.7 76.7 17.8 74.8 17.9 74.4 17.9 74.5 17.9 75.6 17.9 75.5 17.8 76 17.7 75.5 17.7 76.6 17.7 75.6 17.7 76 17.8 75 17.8 75.8 17.8 74.8 17.9 72.6 17.9 74.6 17.7 75.2 17.6 75.3 17.6 77.4 17.6 78 17.6 77.3 17.7 76.5 17.6 76.6 17.7 77.8 17.7 77.3 17.8 76.3 17.8 75.6 17.8 75.7 17.7 76.1 17.7 75.9 17.7 76.3 17.7 77 17.7 75.3 17.7 76.8 17.6 76.6 17.6 76.9 17.5 78

17.6 77.3 17.6 77.2 17.6 76.9 17.6 78 17.6 76.2 17.6 76.6 17.6 76.7

Dokumen terkait