DAFTAR ISI
HALAMAN JUDUL ................................................................................. HALAMAN PENGESAHAN................................................................... HALAMAN PERNYATAAN................................................................... PRAKATA ................................................................................................. DAFTAR ISI.............................................................................................. DAFTAR TABEL ..................................................................................... DAFTAR GAMBAR................................................................................. DAFTAR LAMPIRAN ............................................................................. INTISARI .................................................................................................. ABSTRACT ...............................................................................................
i ii iii iv vi viii ix xii xii xiv
BAB I PENDAHULUAN.......................................................................... 1.1. Latar Belakang .............................................................................. 1.2. Permasalahan ................................................................................ 1.3. Maksud dan Tujuan....................................................................... 1.4. Batasan Masalah ........................................................................... 1.5. Metodologi .................................................................................... 1.6. Sistematika Penulisan ................................................................... BAB II LANDASAN TEORI ................................................................... 2.1. Liquid Crystal Display (LCD) ...................................................... 2.2. Kapasitor ....................................................................................... 2.3. Resistor ......................................................................................... 2.4. Optocoupler................................................................................... 2.5. Regulator....................................................................................... 2.6. Transformator ............................................................................... 2.7. Push Button................................................................................... 2.8. Mikrokontroler.............................................................................. 2.8.1. Mikrokontroler AT89S52 ................................................... 2.9. LED............................................................................................... 2.10. Relay ........................................................................................... 2.11. Reed Switch ................................................................................ 2.12. Dioda ........................................................................................... 2.13. Motor Stepper ............................................................................. 2.14. Motor DC .................................................................................... 2.14.1. Prinsip Kerja Motor DC .................................................. 2.15. Infrared........................................................................................ 2.16. Dasar C untuk Mikrokontroler .................................................... 2.17. Software Gaza04x V4.8 .............................................................. 2.18. ISP Programmer 1.2.0.56 ............................................................ BAB III PERANCANGAN ALAT........................................................... 3.1. Perancangan Perangkat Keras (Hardware)................................... 3.1.1. Perncangan Desain Alat ...................................................... 3.1.2. Desain konveyor .................................................................
1 1 3 3 3 3 4 6 6 9 10 11 12 13 14 14 15 23 24 25 25 26 29 30 30 30 40 41 44 44 44 47
vi
3.1.3. Desain Press Kertas............................................................ 3.1.4. Pemotong Kertas ................................................................ 3.1.5. Moving Table ..................................................................... 3.1.6. Lifting Table....................................................................... 3.1.7. Perancangan Sistem ........................................................... 3.1.8. Perancangan elektronik ...................................................... 3.2. Perancangan Perangkat Lunak (Software).................................... 3.2.1 Flowchart Program.............................................................. BAB IV PENGUJIAN DAN ANALISIS KINERJA SISTEM .............. 4.1. Pengujian Software....................................................................... 4.1.1. Pengujian inisialisasi LCD ................................................. 4.1.2. Pengujian pemilihan mode................................................. 4.1.3. Pengujian Password ........................................................... 4.1.4. Pengujian Menu ................................................................. 4.1.5. Pengujian Set Speed ........................................................... 4.1.6. Pengujian Set panjang kertas ............................................. 4.1.7. Pengujian cek motor dan sensor......................................... 4.1.8. Pengujian Set jumlah potongan.......................................... 4.1.9. Pengujian Ganti Password ................................................. 4.1.10. Pegujian Mode Manual .................................................... 4.1.11. Pengujian mode otomatis ................................................. BAB V PENUTUP..................................................................................... 5.1. Kesimpulan ................................................................................... 5.2. Saran ............................................................................................. DAFTAR PUSTAKA ................................................................................ LAMPIRAN...............................................................................................
vii
47 48 48 49 51 52 54 56 70 70 70 73 76 78 83 85 86 91 92 95 98 102 102 103 104 105
DAFTAR TABEL
Tabel 2.1. Tabel 2.2. Tabel 2.3. Tabel 2.4. Tabel 2.5. Tabel 2.6.
Pin Pada LCD dan Fungsinya ..................................................... Nilai gelang warna pada resistor ................................................. Karakteristik Elektrik Regulator LM78XX................................. Data Port 3 pin 10 -17 ................................................................. Kode digital step 150 searah dan berlawanan jarum jam............ Tipe Data .....................................................................................
viii
7 11 12 19 28 32
DAFTAR GAMBAR
Gambar 2.1 Rangkaian LCD.......................................................................... Gambar 2.2. Skema komponen kapasitor ...................................................... Gambar 2.3. Simbol Kapasitor....................................................................... Gambar 2.4. (a) Simbol resistor, (b) Bentuk fisik resistor ............................. Gambar 2.5. (a) Skematik Optocoupler (b) Bentuk fisik Optocoupler .......... Gambar 2.6. Rangkaian dasar regulator LM 78xx......................................... Gambar 2.7. Simbol transformator ................................................................ Gambar 2.8. Simbol saklar, push botton NO dan push button NC ................ Gambar 2.9. Bentuk push button ................................................................... Gambar 2.10. Konfigurasi Pin Mikrokontroler AT89S52 ............................. Gambar 2.11. Rangkaian reset AT89S52...................................................... Gambar 2.12. Blok digram mikrokontroler AT89S52 ................................... Gambar 2.13. LED (Light Emitting Diode) ................................................... Gambar 2.14. Rangkaian LED ....................................................................... Gambar 2.15. Relay........................................................................................ Gambar 2.16. Reed Switch............................................................................. Gambar 2.17. Simbol Dioda........................................................................... Gambar 2.18. Motor stepper empat-kumparan .............................................. Gambar 2.19. Motor DC ................................................................................ Gambar 2.20. Prinsip Kerja Motor DC .......................................................... Gambar 2.21. Tampilan pertama Gaza04X V4.8........................................... Gambar 2.22. ISP Programmer ...................................................................... Gambar 3.1. Box tampak atas ........................................................................ Gambar 3.2. Box tampak belakang ................................................................ Gambar 3.3. box tampak depan...................................................................... Gambar 3.4. Desain konveyor........................................................................ Gambar 3.5. Konstruksi press ....................................................................... Gambar 3.6. Konstruksi Cutting .................................................................... Gambar 3.7. Konstruksi Moving Table.......................................................... Gambar 3.8. Konstruksi Lifting Table ........................................................... Gambar 3.9. Blok diagram sistem.................................................................. Gambar 3.10. Skematik rangkaian Catu Daya ............................................... Gambar 3.11. Skematik minimum sistem master .......................................... Gambar 3.12. Skematik minimum sistem slave............................................. Gambar 3.13. Shortcut Gaza04X V4.8 .......................................................... Gambar 3.14. Tampilan Gaza04X V4.8......................................................... Gambar 3.15. Pembuatan Program ................................................................ Gambar 3.16. Compile Program .................................................................... Gambar 3.17. Tampilan Start LCD ................................................................ Gambar 3.18. Flowchart Password ................................................................ Gambar 3.19.Flowchart Menu ....................................................................... Gambar 3.20. Flowchart Set Pemotong Kertas .............................................. ix
7 9 10 11 12 13 13 14 14 18 20 22 23 24 25 25 26 29 29 30 41 42 44 44 45 47 47 48 48 49 51 52 53 54 55 55 55 56 57 59 61 63
Gambar 3.21. Flowchart Menu mode Manual ............................................... Gambar 3.22. Flowchart Auto Cutting........................................................... Gambar 4.1. Tampilan pertama sebelum dinyalakan..................................... Gambar 4.2. Tampilan 1 pada inisialisasi LCD ............................................. Gambar 4.3. Tampilan 2 pada inisialisasi LCD ............................................. Gambar 4.4. Tampilan 3 pada inisialisasi LCD ............................................. Gambar 4.5. Tampilan 4 pada inisialisasi LCD ............................................. Gambar 4.6. Pemilihan Mode ........................................................................ Gambar 4.7. Tampilan pemilihan mode manual ............................................ Gambar 4.8. Tampilan pemilihan mode auto................................................. Gambar 4.9. Tampilan pemilihan ke setting kertas........................................ Gambar 4.10. Tampilan memasukkan password ........................................... Gambar 4.11. Tampilan proses memasukan password.................................. Gambar 4.12. Tampilan password ok ............................................................ Gambar 4.13. Tampilan password salah ........................................................ Gambar 4.14. Tampilan pertama menu.......................................................... Gambar 4.15. Tampilan menu press up / down ............................................. Gambar 4.16. Tampilan press up / down ....................................................... Gambar 4.17. Menu 1 pengaturan speed conveyor ........................................ Gambar 4.18. Menu 2 pengaturan jumlah potongan...................................... Gambar 4.19. Menu 3 cek motor dan sensor ................................................. Gambar 4.20. Menu 4 pengaturan jumlah potongan...................................... Gambar 4.21. Menu 5 ganti password ........................................................... Gambar 4.22. Tampilan ke menu setting speed konveyor ............................. Gambar 4.23. Tampilan setting speed conveyor ............................................ Gambar 4.24. Tampilan setelah selesai setting speed conveyor .................... Gambar 4.25. Tampilan ke menu pengaturan panjang kertas ........................ Gambar 4.26. Tampilan pengaturan panjang kertas....................................... Gambar 4.27. Tampilan setelah selesai mengatur panjang kertas ................. Gambar 4.28. Tampilan ke menu cek motor & sensor .................................. Gambar 4.29. Tampilan close sensor............................................................. Gambar 4.30. Tampilan safety before is ok.................................................... Gambar 4.31. Tampilan safety after is ok ...................................................... Gambar 4.32. Tampilan paper sensor ok ....................................................... Gambar 4.33. Tampilan cek motor ................................................................ Gambar 4.34. Tampilan cek conveyor ........................................................... Gambar 4.35. Tampilan cek motor berhasil................................................... Gambar 4.36. Tampilan ke menu jumlah potongan....................................... Gambar 4.37. Tampilan setting jumlah potongan .......................................... Gambar 4.38. Tampilan jumlah potongan yang telah disetting ..................... Gambar 4.39. Tampilan ke menu ganti password.......................................... Gambar 4.40. Tampilan ganti password ........................................................ Gambar 4.41. Tampilan proses memasukkan password baru........................ Gambar 4.42. Tampilan password selesai diganti ......................................... Gambar 4.43. Tampilan pemilihan mode manual.......................................... x
65 67 71 71 72 72 73 74 74 75 75 77 77 77 78 80 80 81 81 81 82 82 82 83 84 84 85 86 86 88 88 88 89 89 89 90 90 91 92 92 93 94 94 94 95
Gambar 4.44. Tampilan mode manual........................................................... Gambar 4.45. Tampilan mode manual conveyor forward ............................. Gambar 4.46. Tampilan pemilihan mode conveyor backward ...................... Gambar 4.47. Pemilihan mode press ............................................................. Gambar 4.48. Pemilihan mode cut................................................................. Gambar 4.49. Pemilihan mode lifting Up ...................................................... Gambar 4.50. Pemilihan mode lifting down .................................................. Gambar 4.51. Pemilihan mode auto............................................................... Gambar 4.52. Mode auto running .................................................................. Gambar 4.53. Mode auto selesai ....................................................................
xi
96 96 96 97 97 97 98 100 100 101
DAFTAR LAMPIRAN
Lampiran 1.
Program master....................................................................
115
Lampiran 2.
Program Slave .....................................................................
122
Lampiran 3.
Mekanik alat keseluruhan....................................................
129
Lampiran 4.
Box kontrol alat ...................................................................
130
Lampiran 5.
Rangkaian master ................................................................
131
Lampiran 6.
Rangkaian slave...................................................................
132
Lampiran 7.
Data Sheet Mikrokontroller AT89S52 ................................
133
xii