RANCANG BANGUN SISTEM MONITORING PENGUKURAN KADAR BERSIH .“Rancang Bangun Prototype Pendeteksi

  • View
    222

  • Download
    0

Embed Size (px)

Text of RANCANG BANGUN SISTEM MONITORING PENGUKURAN KADAR BERSIH .“Rancang Bangun...

RANCANG BANGUN SISTEM MONITORING PENGUKURAN

KADAR BERSIH UDARA PADA RUANG SENDING PABRIK

FURNITURE BERBASIS WEB

TUGAS AKHIR

Diajukan Untuk Memenuhi

Persyaratan Guna Meraih Gelar Sarjana Strata 1

Teknik Informatika Universitas Muhammadiyah Malang

KIKI OLIVIA

201210370311022

JURUSAN TEKNIK INFORMATIKA

FAKULTAS TEKNIK

UNIVERSITAS MUHAMMADIYAH MALANG

2017

iii

vi

KATA PENGANTAR

Segala puji bagi Allah SWT, yang telah memberikan Rahmat dan Karunia-

Nya, sehingga penulis dapat meyelesaikan skripsi yang berjudul:

RANCANG BANGUN SISTEM MONITORING PENGUKURAN KADAR

BERSIH UDARA PADA RUANG SENDING PABRIK FURNITURE

BERBASIS WEB

Skripsi ini merupakan salah satu syarat studi yang harus ditempuh oleh

seluruh mahasiswa Universitas Muhammadiyah Malang, guna menyelesaikan

akhir studi pada jenjang program Strata 1.

Penulis menyadari masih banyak kekurangan dan keterbatasan dalam

penulisan Tugas Akhir ini. Untuk itu, penulis sangat mengharapkan saran yang

membangun agar tulisan ini dapat berguna untuk perkembangan ilmu

pengetahuan kedepan.

Malang, 20 Desember 2016

Penulis

Kiki Olivia

ix

DAFTAR ISI

LEMBAR PERSETUJUAN ............................................................................ ii

LEMBAR PENGESAHAN ............................................................................. iii

LEMBAR PERNYATAAN ............................................................................. iv

LEMBAR PERSEMBAHAN ........................................................................... v

KATA PENGANTAR ...................................................................................... vi

ABSTRAK ......................................................................................................... vii

ABSTRACT ...................................................................................................... viii

DAFTAR ISI ..................................................................................................... ix

DAFTAR GAMBAR ........................................................................................ xii

DAFTAR TABEL ............................................................................................ xiv

BAB I PENDAHULUAN .................................................................................. 1

1.1 Latar Belakang ............................................................................................... 1

1.2 Rumusan Masalah .......................................................................................... 2

1.3 Tujuan Penelitian ........................................................................................... 3

1.4 Batasan Masalah ............................................................................................ 3

1.5 Metodologi Penelitian ................................................................................... 3

1.5.1 Studi Literatur .......................................................................................... 3

1.5.2 Perancangan ............................................................................................. 4

1.5.3 Implementasi ........................................................................................... 4

1.5.4 Uji Coba .................................................................................................. 4

1.5.5 Pembuatan Laporan ................................................................................ 4

1.6 Sistematika Penulisan ................................................................................... 4

BAB II LANDASAN TEORI ........................................................................... 6

2.1 Udara ............................................................................................................. 6

2.1.1 Udara Bersih ............................................................................................ 6

2.1.2 Pencemaran Udara ................................................................................... 7

2.2 Ruang Sending ............................................................................................... 8

2.3 Sensor Gas MQ-7 ........................................................................................... 9

2.4 Sensor Gas MQ-2........................................................................................... 10

2.5 Arduino Uno .................................................................................................. 11

x

2.6 Arduino Ethernet Shield ............................................................................... 12

2.7 LCD (Liquid Crystal Display) ...................................................................... 13

2.8 LED (Light Emitting Diode) ......................................................................... 13

2.9 Buzzer ........................................................................................................... 14

2.10 Blower .................................................................................................... 14

2.11 Web Server ............................................................................................. 15

2.12 PHP ........................................................................................................ 15

2.13 MySQL .................................................................................................. 16

BAB III ANALISA DAN PERANCANGAN ................................................ 17

3.1 Analisa Sistem.............................................................................................. 17

3.1.1 Analisa Kebutuhan ................................................................................. 17

3.1.2 Kebutuhan Fungsional ........................................................................... 17

3.2 Perancangan Sistem .................................................................................... 18

3.2.1 Perancangan Perangkat Lunak ............................................................. 18

3.2.1.1 Diagram Blok Sistem ....................................................................... 18

3.2.1.2 Diagram Alur Sistem ....................................................................... 19

3.2.1.3 Perancangan User Interface ............................................................. 19

3.2.1.4 Perancangan Database ..................................................................... 21

3.2.2 Perancangan Perangkat Keras ............................................................... 22

3.2.2.1 Rancangan Sensor MQ-7 .................................................................. 22

3.2.2.2 Rancangan Sensor MQ-2 .................................................................. 22

3.2.2.3 Rancangan Arduino Uno dan Ethernet Shield .................................. 23

3.2.2.4 Rancangan LCD (Liquid Crystal Display) ........................................ 24

3.2.2.5 Rancangan LED (Light Emitting Diode) ........................................... 24

3.2.2.6 Rancangan Buzzer ............................................................................. 25

3.2.2.7 Rancangan Relay ............................................................................... 26

BAB IV IMPLEMENTASI DAN PENGUJIAN ........................................... 27

4.1 Implementasi Perangkat Keras ..................................................................... 27

4.1.1 Implementasi Rangkaian Sensor MQ-7 ................................................. 27

4.1.2 Implementasi Rangkaian Sensor MQ-2 ................................................. 28

4.1.3 Implementasi Arduino Uno dan Ethernet Shield ................................... 28

4.1.4 Implementasi LCD (Liquid Crystal Display) ........................................ 29

xi

4.1.5 Implementasi LED (Light Emitting Diode) ........................................... 30

4.1.6 Implementasi Buzzer ............................................................................. 31

4.1.7 Impelementasi Relay ............................................................................. 31

4.2 Implementasi Perangkat Lunak ................................................................... 32

4.2.1 Implementasi Program Arduino ............................................................ 32

4.2.2 Implementasi Program Web .................................................................. 36

4.2.2.1 Koneksi Database ............................................................................. 36

4.2.2.2 Grafik data ........................................................................................ 37

4.2.2.3 Tabel Data ........................................................................................ 38

4.2.2.4 Implementasi Database .................................................................... 38

4.2.2.5 Tampilan User Interface .................................................................. 40

4.3 Pengujian .................................................................................................... 41

4.3.1 Pengujian Fungsional ...