121
DAFTAR PUSTAKA
Halim, Abdul. 2009. Sistem Absensi Kelas Menggunakan RFID Berbasis Mikrokontroler AT89S51. Jakarta: Universitas Mercubuana.
Christanto, Danny. 2004. Panduan Dasar Mikrokontroler Keluarga MCS-51. Surabaya : Innovative Electronics.
Kurniadi,Adi. 1999. Pemrograman Microsoft Visual Basic 6.0. Jakarta : Elex Media Komputindo.
Prasetia, Retan. 2004. Interfacing Port Paralel dan Port Serial Komputer Dengan Visual Basic 6.0. Semarang: Andi.
Subari,Yuswanto. 2008. Panduan Lengkap Pemrograman Visual Basic 6.0. Surabaya : Cerdas Pustaka.
Usman. 2008. Teknik Antarmuka + Pemrograman Mikrokontroler AT89S51. Semarang : Andi.
Warsono. 2009. Sistem Parkir Berlangganan Berbasis RFID dan Mikrokontroler AT89S51. Jakarta: Universitas Mercubuana.
http://achmatim.net ( diakses Mei 2011. Solichin, Achmad. MySQL 5 Dari Pemula Hingga Mahir )
http://id-innovations.com/Modules(non write).html (diakses 12 Mei 2011) http://soel.umpo.ac.id (diakses 1 April 2011)
http://panduan.ruangweb.com/cpanel/database (Ruangweb. 7 juni 2011. “Membuat Database MySQL”)
SPESIFIKASI ALAT Perangkat Keras :
• Catu Daya
- Tegangan input 220 Vac
- Tegangan output 12 Vdc/500mA - IC Regulator 7812
• Mikrokontroler - Tipe AT89S51
- In System Programmer (ISP) - 4 KB flash ROM
- 128 x 8 bit RAM
- Osilator 3 MHz – 33 MHz - Dua 16-bit timer/counter - Full Duplex UART port serial - 32 Port I/O
- Suply Tegangan 4 Vdc – 5 Vdc • RFID Reader
- Tipe ID-12
- Frekuensi Kerja 125 kHz
- Jarak baca maksimum 12 cm (jarak terpengaruh oleh cuaca) - Dimensi : 21 mm x 19 mm x 6 mm
- Suplay tegangan 5 Vdc / 13 mA (minimum) • Display LCD
- Tipe M1632 Seiko Instruments - 16 x 2 karakter - Suplay Tegangan +5 Vdc - Temperatur kerja 0o C - 50o C • Serial to USB - Tipe FT232BM - Suplay Tegangan +5 Vdc - Temperatur kerja 0o C - 70o C - Osilator 6 MHz – 48 MHz
; ************************* ; * Program Jalan Tol * ; ************************* ;
; Version 1.1 by Agus Kurniawan Juli 2011
; Nim : 41409120040
; Teknik Elektro Universitas Mercubuana
;--- ;P0 = LCD port data ;P0.0 = rs ;P0.1 = rw ;P0.2 = en org 0h
;inisialisasi serial interface
serial_init: mov scon,#01010000b
mov tmod,#00100000b
mov th1,#0FDh ;baud rate 9600
mov pcon,#0
setb tr1
;inisialisasi LCD
LCD_init: mov P0,#0
acall delay
mov P0,#30h ;soft reset
setb P0.2 ;toggle EN nop nop nop clr P0.2 acall delay
mov P0,#30h ;soft reset
setb P0.2 ;toggle EN nop nop nop clr P0.2 acall delay
mov P0,#30h ;soft reset
setb P0.2 ;toggle EN
nop nop nop
clr P0.2
mov P0,#20h ;mode 4 bit bus data
setb P0.2 ;toggle EN
nop
nop
clr P0.2
mov a,#00101000b ;mode 4 bit, 2
;baris, font 5x7
acall write_cmd
mov a,#00001100b ;Display on,
;blink&cursr off
acall write_cmd
mov a,#00000110b ;kursor=increment
acall write_cmd
mov a,#1 ;clear LCD
acall write_cmd
acall delay
;Loop program utama serial interface
cek: jnb ri,$
clr ri
mov a,sbuf
cekb1: cjne a,#1,cekb2
baris1: mov a,#80h ;posisi text baris 1
acall write_cmd
sjmp cek
cekb2: cjne a,#2,teks
baris2: mov a,#0C0h ;posisi text baris 2
acall write_cmd
sjmp cek
teks: acall write_data
Sjmp cek
;=============================================
write_cmd: acall LCD_wait
push acc anl a,#0F0h mov P0,a ;RS=0,R/W=0 nop setb P0.2 ;toggle EN nop nop nop clr P0.2 pop acc
swap a ;tukar nibble
anl a,#0F0h mov P0,a ;RS=0,R/W=0 nop setb P0.2 ;toggle EN nop nop nop clr P0.2 ret
;=============================================
write_data: acall LCD_wait
push acc anl a,#0F0h mov P0,a ;R/W=0 nop setb P0.0 ;RS=1 setb P0.2 ;toggle EN nop nop nop clr P0.2 pop acc swap a anl a,#0F0h mov P0,a ;R/W=0 nop setb P0.0 ;RS=1 setb P0.2 ;toggle EN nop nop clr P0.2 ret ;================================================ LCD_wait: mov P0,#0 setb P0.1 ;R/W=1(baca LCD) clr p0.0 ;RS=0 (instruksi)
wait_loop: setb P0.2 ;toggle EN
nop nop nop clr P0.2 nop nop nop setb P0.2 ;toggle EN nop nop nop clr P0.2
jb P0.7,wait_loop ;P0.7=bit status
ret ;================================================ delay: mov R3,#50 here2: mov R4,#255 here: djnz R4,here djnz R3,here2 ret END
LISTING PROGRAM VISUAL BASIC
1. Listing Program Untuk Program Gerbang Tol • Form 1 (Login Petugas)
Private Sub login_Click()
If username.Text <> "" And password.Text <> "" Then Adodc1.Refresh
Adodc1.RecordSource = "SELECT * FROM login WHERE username='" & username.Text & "' AND
password='" & password.Text & "' AND type='" & Combo1.Text & "'"
Adodc1.Refresh
If Not Adodc1.Recordset.EOF Then If Combo1.Text = "operator" Then Form2.tarif.Visible = False
Form2.Caption = "Gerbang Tol - Operator" Adodc2.Refresh
Adodc2.Recordset.AddNew
Adodc2.Recordset!nama = username.Text Adodc2.Recordset!Status = "on"
Adodc2.Recordset!posisi = "Gerbang Tol" Adodc2.Recordset!login = Now Adodc2.Recordset.Update Adodc2.Refresh Form1.Hide Form2.Show Else Form2.tarif.Visible = True
Form2.Caption = "Gerbang Tol - Admin" Form1.Hide
Form2.Show End If Else
If MsgBox("Data Input Salah", vbInformation, "Alert") = vbOK Then username.SetFocus
End If End If Else
If MsgBox("Lengkapi username dan password", vbInformation, "Alert") = vbOK Then
username.SetFocus End If
End If End Sub
--- Private Sub Timer1_Timer()
Label2.Caption = Time End Sub
• Form 2 (Gerbang Tol) Dim buffer As String
--- Private Sub logout_Click()
Adodc3.Refresh
Adodc3.Recordset.Find "nama='" & Form1.username.Text & "'"
Adodc3.Recordset.Find "status='on'" If Not Adodc3.Recordset.EOF Then Adodc3.Recordset!logout = Now Adodc3.Recordset!Status = "off" Adodc3.Recordset.Update End If Form1.username.Text = "" Form1.password.Text = "" Form1.Combo1.Text = "operator" MSComm1.PortOpen = False Form2.Hide Form1.Show End Sub --- Private Sub Form_Activate()
MSComm1.CommPort = Val(Form1.port.Text) MSComm1.PortOpen = True
Timer1_Timer End Sub
--- Private Sub MSComm1_OnComm()
X = MSComm1.Input buffer = buffer + X Y = InStr(1, buffer, Chr(13)) If Y > 0 Then rfid = Left(buffer, Y - 1) rfid = Right(rfid, 12) buffer = "" nokartu.Caption = rfid End If If Len(rfid) >= 10 Then Adodc1.Refresh found = False
While (Not Adodc1.Recordset.EOF And found = False) If rfid = Adodc1.Recordset!nokartu Then
found = True End If
If found = False Then Adodc1.Recordset.MoveNext Wend
If found = True Then
golongan = Adodc1.Recordset!golongan If golongan = 1 Then
harga = Val(Form4.gol1.Text) lblgolongan.Caption = "I" ElseIf golongan = 2 Then harga = Val(Form4.gol2.Text) lblgolongan.Caption = "II" ElseIf golongan = 3 Then harga = Val(Form4.gol3.Text) lblgolongan.Caption = "III" ElseIf golongan = 4 Then harga = Val(Form4.gol4.Text) lblgolongan.Caption = "IV" ElseIf golongan = 5 Then harga = Val(Form4.gol5.Text) lblgolongan.Caption = "V" End If
saldo = Adodc1.Recordset!saldo If saldo < harga Then
kurang = True
lblstatus.Caption = "Saldo Kurang" lblsaldoakhir.Caption = Adodc1.Recordset!saldo lblbiaya.Caption = "-" lblsaldoakhir.Caption = Adodc1.Recordset!saldo tidak_masuk Timer1.Enabled = True Else kurang = False
lblstatus.Caption = "Saldo Mencukupi" Adodc1.Recordset!saldo = Adodc1.Recordset!saldo - harga Adodc1.Recordset.Update lblsaldoakhir.Caption = Adodc1.Recordset!saldo lblbiaya.Caption = harga masuk Adodc2.Refresh Adodc2.Recordset.AddNew Adodc2.Recordset!tanggal = Now Adodc2.Recordset!nokartu = rfid Adodc2.Recordset!tarif = harga Timer1.Enabled = True
Adodc2.Recordset.Update delay_db Adodc2.Refresh End If Else kartu_baru Timer1.Enabled = True
If MsgBox("Kartu Belum Terdaftar " & Chr(13) & "Daftar Terlebih Dahulu", vbInformation, "Alert") = vbOK Then End If Timer1_Timer MSComm1.PortOpen = False Form3.Show vbModal End If End If End Sub --- Private Sub tarif_Click()
Timer1_Timer
MSComm1.PortOpen = False Form4.Show vbModal
End Sub
--- Private Sub Timer1_Timer()
Timer1.Enabled = False
MSComm1.Output = Chr(1) & "Silakan Dekatkan" delay
MSComm1.Output = Chr(2) & "Kartu Anda " delay
buffer = "" End Sub
--- Sub masuk()
MSComm1.Output = Chr(1) & "Silahkan Masuk " delay
MSComm1.Output = Chr(2) & "Saldo " & lblsaldoakhir.Caption & " " delay
End Sub
--- Sub tidak_masuk()
MSComm1.Output = Chr(1) & "Tidak Bisa Masuk " & Chr(0)
delay
MSComm1.Output = Chr(2) & "Saldo " & lblsaldoakhir.Caption & " " delay
--- Sub kartu_baru()
MSComm1.Output = Chr(1) & "Kartu Baru " delay
MSComm1.Output = Chr(2) & "Daftar Dahulu " delay End Sub --- Sub delay() For a = 1 To 10000 b = b + 1 Next a End Sub --- Sub delay_db()
waktu = DateAdd("s", 1, Now) Do
DoEvents
Loop Until Now > waktu End Sub
• Form 3 (Registrasi Kartu)
Private Sub Form_Activate()
MSComm1.CommPort = Val(Form1.port.Text) MSComm1.PortOpen = True proses nokartu.Caption = Form2.nokartu.Caption nopolisi.Text = "" Option1.Value = False Option2.Value = False Option3.Value = False Option4.Value = False Option5.Value = False Option6.Value = False Option7.Value = False Option8.Value = False Option9.Value = False Option10.Value = False Option11.Value = False Option12.Value = False Option13.Value = False Text4.Text = 0 End Sub --- Private Sub tambahsaldo_Click()
If Option1.Value = True Then tambah = 10000
ElseIf Option2.Value = True Then tambah = 20000
ElseIf Option3.Value = True Then tambah = 50000
ElseIf Option4.Value = True Then tambah = 100000
ElseIf Option5.Value = True Then tambah = 200000
ElseIf Option6.Value = True Then tambah = 500000
ElseIf Option8.Value = True Then tambah = 1000000
ElseIf Option7.Value = True Then tambah = Val(Text4.Text) End If
If Option9.Value = True Then gol = 1
ElseIf Option10.Value = True Then gol = 2
ElseIf Option11.Value = True Then gol = 3
ElseIf Option12.Value = True Then gol = 4
ElseIf Option13.Value = True Then gol = 5 End If Adodc1.Refresh Adodc1.Recordset.AddNew Adodc1.Recordset!nokartu = nokartu.Caption Adodc1.Recordset!nopolisi = nopolisi.Text Adodc1.Recordset!golongan = gol Adodc1.Recordset!saldo = tambah Adodc1.Recordset.Update Adodc1.Refresh registrasi Adodc1.Refresh
Adodc1.Recordset.Find "nokartu='" & nokartu.Caption & "'"
MSComm1.PortOpen = False
If MsgBox("kartu anda telah terdaftar " & Chr(13) & "Saldo sekarang : Rp. " & Adodc1.Recordset!saldo, vbInformation, "Pemberitahuan!") = vbOK Then
End If Me.Hide End Sub --- Sub registrasi() Adodc1.Refresh
Adodc1.Recordset.Find "nokartu='" & nokartu.Caption & "'"
MSComm1.Output = Chr(1) & "Kartu Terdaftar " delay
MSComm1.Output = Chr(2) & "Saldo :RP." & Adodc1.Recordset!saldo & " " delay
End Sub
--- Sub proses()
MSComm1.Output = Chr(1) & "Sedang Proses " delay
MSComm1.Output = Chr(2) & "Registrasi Kartu " delay End Sub --- Sub delay() For a = 1 To 10000 b = b + 1 Next a End Sub _______________________________________________________ • Form 4 (Informasi Tarif)
Private Sub Command2_Click()
If Command2.Caption = "Ubah" Then Command2.Caption = "Set" Frame1.Enabled = True Else Command2.Caption = "Ubah" Frame1.Enabled = False Me.Hide End If End Sub
2. Listing Program Untuk Program Cek Saldo • Form 1 (Login Isi Saldo)
Private Sub login_Click()
If username.Text <> "" And password.Text <> "" Then Adodc1.Refresh
Adodc1.RecordSource = "SELECT * FROM login WHERE username='" & username.Text & "' AND password='" & password.Text & "' AND type='" & Combo1.Text & "'" Adodc1.Refresh
If Not Adodc1.Recordset.EOF Then If Combo1.Text = "operator" Then Form4.Command2.Visible = False Form4.Command3.Visible = False Form4.Command4.Visible = False
Form4.Caption = "Cek Saldo - Operator" Adodc2.Refresh
Adodc2.Recordset.AddNew
Adodc2.Recordset!nama = username.Text Adodc2.Recordset!Status = "on"
Adodc2.Recordset!posisi = "Pos Isi Ulang" Adodc2.Recordset!login = Now Adodc2.Recordset.Update Adodc2.Refresh Form1.Hide Form4.Show Else Form4.Command2.Visible = True Form4.Command3.Visible = True Form4.Command4.Visible = True
Form4.Caption = "Cek Saldo - Admin" Form1.Hide
Form4.Show End If Else
If MsgBox("Data Input Salah", vbInformation, "Alert") = vbOK Then
username.SetFocus End If
End If Else
If MsgBox("Lengkapi username dan password", vbInformation, "Alert") = vbOK Then
username.SetFocus End If
End If End Sub
--- Private Sub Timer1_Timer()
Label2.Caption = Time End Sub
• Form 2 (Isi Ulang Saldo) Dim buffer As String
--- Private Sub kartu_Change()
If Len(kartu.Text) >= 10 Then Frame1.Enabled = True End If
End Sub
--- Private Sub MSComm1_OnComm()
X = MSComm1.Input buffer = buffer + X Y = InStr(1, buffer, Chr(13)) If Y > 0 Then rfid = Left(buffer, Y - 1) rfid = Right(rfid, 12) buffer = "" End If If Len(rfid) >= 10 Then Adodc1.Refresh found = False
While (Not Adodc1.Recordset.EOF And found = False) If rfid = Adodc1.Recordset!nokartu Then
found = True End If
If found = False Then Adodc1.Recordset.MoveNext Wend
If found = True Then kartu.Text = rfid proses nopolisi.Text = Adodc1.Recordset!nopolisi saldoakhir.Text = Adodc1.Recordset!saldo golongan = Adodc1.Recordset!golongan If golongan = 1 Then golongan.Text = "I"
ElseIf golongan = 2 Then golongan.Text = "II" ElseIf golongan = 3 Then golongan.Text = "III" ElseIf golongan = 4 Then golongan.Text = "IV" ElseIf golongan = 5 Then golongan.Text = "V"
End If Else
kartu_baru
Timer1.Enabled = True
If MsgBox("Kartu Belum Terdaftar", vbInformation, "Alert") = vbOK Then
End If Timer1_Timer MSComm1.PortOpen = False Form5.Show vbModal End If End If End Sub --- Private Sub tambahsaldo_Click()
If Option1.Value = True Then tambah = 10000
ElseIf Option2.Value = True Then tambah = 20000
ElseIf Option3.Value = True Then tambah = 50000
ElseIf Option4.Value = True Then tambah = 100000
ElseIf Option5.Value = True Then tambah = 200000
ElseIf Option6.Value = True Then tambah = 500000
ElseIf Option8.Value = True Then tambah = 1000000
ElseIf Option7.Value = True Then tambah = Val(Text1.Text) End If
Adodc1.Refresh
Adodc1.Recordset.Find "nokartu='" & kartu.Text & "'" If Not Adodc1.Recordset.EOF Then
Adodc1.Recordset!saldo = Adodc1.Recordset!saldo + tambah Adodc1.Recordset.Update tambah_saldo End If MSComm1.PortOpen = False
If MsgBox("Saldo telah bertambah Rp. " & tambah & " " & Chr(13) & "Saldo sekarang : Rp. " &
Adodc1.Recordset!saldo, vbInformation, "Pemberitahuan!") = vbOK Then
End If Me.Hide End Sub
Private Sub Form_Activate() MSComm1.CommPort = Val(Form1.port.Text) MSComm1.PortOpen = True kartu.Text = "" nopolisi.Text = "" golongan.Text = "" saldoakhir.Text = "" Option1.Value = False Option2.Value = False Option3.Value = False Option4.Value = False Option5.Value = False Option6.Value = False Option7.Value = False Option8.Value = False Text1.Text = 0 Frame1.Enabled = False End Sub --- Sub kartu_baru()
MSComm1.Output = Chr(1) & "Kartu Baru " delay
MSComm1.Output = Chr(2) & "Daftar Dahulu " delay
End Sub
--- Sub tambah_saldo()
MSComm1.Output = Chr(1) & "Saldo baru anda: " delay
MSComm1.Output = Chr(2) & "" & Adodc1.Recordset!saldo & " "
delay End Sub
--- Sub proses()
MSComm1.Output = Chr(1) & "Sedang Proses "
delay
MSComm1.Output = Chr(2) & "Pengisian Saldo" delay End Sub --- Sub delay() For a = 1 To 10000 b = b + 1 Next a End Sub --- Private Sub Timer1_Timer()
Timer1.Enabled = False
MSComm1.Output = Chr(1) & "Silakan Dekatkan" delay
MSComm1.Output = Chr(2) & "Kartu Anda " delay
buffer = "" End Sub
• Form 3 (Report Kartu)
Private Sub Form_Activate()
nokartu.Caption = Form4.nokartu.Caption Adodc1.Refresh
Adodc1.RecordSource = "SELECT * FROM transaksi WHERE nokartu='" & nokartu.Caption & "'"
Adodc1.Refresh End Sub
• Form 4 (Cek saldo)
Dim buffer As String
--- Private Sub Command1_Click()
Timer1_Timer
MSComm1.PortOpen = False Form3.Show vbModal
End Sub
--- Private Sub Command2_Click()
Timer1_Timer
MSComm1.PortOpen = False Form6.Show vbModal
End Sub
--- Private Sub Command3_Click()
Timer1_Timer
MSComm1.PortOpen = False Form7.Show vbModal
End Sub
--- Private Sub Command4_Click()
Timer1_Timer
MSComm1.PortOpen = False Form8.Show vbModal
End Sub
--- Private Sub isisaldo_Click()
Timer1_Timer
MSComm1.PortOpen = False Form2.Show vbModal
End Sub
--- Private Sub logout_Click()
Adodc3.Refresh
Adodc3.Recordset.Find "nama='" & Form1.username.Text & "'"
Adodc3.Recordset.Find "status='on'" If Not Adodc3.Recordset.EOF Then Adodc3.Recordset!logout = Now Adodc3.Recordset!Status = "off" Adodc3.Recordset.Update End If Form1.username.Text = "" Form1.password.Text = "" Form1.Combo1.Text = "operator" MSComm1.PortOpen = False Form4.Hide Form1.Show End Sub --- Private Sub Form_Activate()
MSComm1.CommPort = Val(Form1.port.Text) MSComm1.PortOpen = True
Timer1_Timer End Sub
--- Private Sub MSComm1_OnComm()
X = MSComm1.Input buffer = buffer + X Y = InStr(1, buffer, Chr(13)) If Y > 0 Then rfid = Left(buffer, Y - 1) rfid = Right(rfid, 12) buffer = "" nokartu.Caption = rfid End If If Len(rfid) >= 10 Then Adodc1.Refresh found = False
While (Not Adodc1.Recordset.EOF And found = False) If rfid = Adodc1.Recordset!nokartu Then
found = True End If
If found = False Then Adodc1.Recordset.MoveNext Wend
lblsaldoakhir.Caption = Adodc1.Recordset!saldo saldo Timer1.Enabled = True Else kartu_baru Timer1.Enabled = True
If MsgBox("Kartu Belum Terdaftar " & Chr(13) & "Daftar Terlebih Dahulu", vbInformation, "Alert") = vbOK Then End If Timer1_Timer MSComm1.PortOpen = False Form5.Show vbModal End If End If End Sub --- Sub saldo()
MSComm1.Output = Chr(1) & "Sisa Saldo Anda:" delay
MSComm1.Output = Chr(2) & "" & lblsaldoakhir.Caption & " "
delay End Sub
--- Sub kartu_baru()
MSComm1.Output = Chr(1) & "Kartu Baru " delay
MSComm1.Output = Chr(2) & "Daftar Dahulu " delay
End Sub
--- Private Sub Timer1_Timer()
Timer1.Enabled = False
MSComm1.Output = Chr(1) & "Silakan Dekatkan" delay
MSComm1.Output = Chr(2) & "Kartu Anda " delay buffer = "" End Sub --- Sub delay() For a = 1 To 10000 b = b + 1 Next a End Sub
• Form 5 (Registrasi Kartu)
Private Sub Form_Activate()
MSComm1.CommPort = Val(Form1.port.Text) MSComm1.PortOpen = True proses nokartu.Caption = Form4.nokartu.Caption nopolisi.Text = "" Option1.Value = False Option2.Value = False Option3.Value = False Option4.Value = False Option5.Value = False Option6.Value = False Option7.Value = False Option8.Value = False Option9.Value = False Option10.Value = False Option11.Value = False Option12.Value = False Option13.Value = False Text4.Text = 0 End Sub --- Private Sub tambahsaldo_Click()
If Option1.Value = True Then tambah = 10000
ElseIf Option2.Value = True Then tambah = 20000
ElseIf Option3.Value = True Then tambah = 50000
ElseIf Option4.Value = True Then tambah = 100000
ElseIf Option5.Value = True Then tambah = 200000
ElseIf Option6.Value = True Then tambah = 500000
ElseIf Option8.Value = True Then tambah = 1000000
ElseIf Option7.Value = True Then tambah = Val(Text4.Text) End If
If Option9.Value = True Then gol = 1
ElseIf Option10.Value = True Then gol = 2
ElseIf Option11.Value = True Then gol = 3
gol = 4
ElseIf Option13.Value = True Then gol = 5 End If Adodc1.Refresh Adodc1.Recordset.AddNew Adodc1.Recordset!nokartu = nokartu.Caption Adodc1.Recordset!nopolisi = nopolisi.Text Adodc1.Recordset!golongan = gol Adodc1.Recordset!saldo = tambah Adodc1.Recordset.Update Adodc1.Refresh registrasi Adodc1.Refresh
Adodc1.Recordset.Find "nokartu='" & nokartu.Caption & "'"
MSComm1.PortOpen = False
If MsgBox("kartu anda telah terdaftar " & Chr(13) & "Saldo sekarang : Rp. " & Adodc1.Recordset!saldo, vbInformation, "Pemberitahuan!") = vbOK Then
End If Me.Hide End Sub --- Sub registrasi() Adodc1.Refresh
Adodc1.Recordset.Find "nokartu='" & nokartu.Caption & "'"
MSComm1.Output = Chr(1) & "Kartu Terdaftar " delay
MSComm1.Output = Chr(2) & "Saldo :RP." & Adodc1.Recordset!saldo & " " delay
End Sub
--- Sub proses()
MSComm1.Output = Chr(1) & "Sedang Proses "
delay
MSComm1.Output = Chr(2) & "Registrasi Kartu " delay End Sub --- Sub delay() For a = 1 To 10000 b = b 1 Next a End Su
JUDUL
SISTEM PEMBAYARAN PRABAYAR JALAN TOL MENGGUNAKAN RFID
PROSEDUR PENGOPERASIAN ALAT TUGAS AKHIR
1. Hidupkan Laptop atau
2. Hubungkan kabel power pada alat dengan sumber tegangan 220 VAC. 3. Hubungkan alat dengan laptop/PC menggunakan kabel serial to USB.
4. Hidupkan catu daya pada alat dengan menekan tombol switch pada posisi on. 5. Untuk transaksi pembayaran tol, jalankan program Gerbang_Tol.exe.
6. Masukan username, password
Comm yang digunakan lalu klik tombol LOGIN.
7. Sistem Pembayaran Prabayar Jalan Tol Menggunakan RFID siap digunakan. 8. Dekatkan kartu pada RFID
9. Untuk cek saldo, jalankan program Cek_Saldo.exe. 10. Lakukan proses LOGIN seperti langkah 6.
11. Dekatkan kartu pada RFID
12. Untuk keluar dari program, klik tombol LOGOUT.
OLEH NIM
PEMBIMBING TANGGAL SIDANG
SISTEM PEMBAYARAN PRABAYAR JALAN TOL MENGGUNAKAN RFID
UNIVERSITAS MERCUBUANA
PROGRAM STUDI TEKNIK ELEKTRO
FAKULTAS TEKNIK INDUSTRI
PROSEDUR PENGOPERASIAN ALAT TUGAS AKHIR
Laptop atau PC (Personal Computer).
power pada alat dengan sumber tegangan 220 VAC. Hubungkan alat dengan laptop/PC menggunakan kabel serial to USB.
Hidupkan catu daya pada alat dengan menekan tombol switch pada posisi on. Untuk transaksi pembayaran tol, jalankan program Gerbang_Tol.exe.
password, dan type login pada form login, serta atur
yang digunakan lalu klik tombol LOGIN.
Sistem Pembayaran Prabayar Jalan Tol Menggunakan RFID siap digunakan. Dekatkan kartu pada RFID reader untuk melakukan transaksi pembayaran. Untuk cek saldo, jalankan program Cek_Saldo.exe.
Lakukan proses LOGIN seperti langkah 6.
Dekatkan kartu pada RFID reader untuk cek sisa saldo. Untuk keluar dari program, klik tombol LOGOUT.
: AGUS KURNIAWAN : 41409120040
PEMBIMBING : Yudhi Gunardi ST, MT.
TANGGAL SIDANG : 15 AGUSTUS 2011
SISTEM PEMBAYARAN PRABAYAR JALAN TOL MENGGUNAKAN RFID
UNIVERSITAS MERCUBUANA
ELEKTRO
TEKNIK INDUSTRI
PROSEDUR PENGOPERASIAN ALAT TUGAS AKHIR
power pada alat dengan sumber tegangan 220 VAC. Hubungkan alat dengan laptop/PC menggunakan kabel serial to USB.
Hidupkan catu daya pada alat dengan menekan tombol switch pada posisi on. Untuk transaksi pembayaran tol, jalankan program Gerbang_Tol.exe.
pada form login, serta atur Port
Sistem Pembayaran Prabayar Jalan Tol Menggunakan RFID siap digunakan. untuk melakukan transaksi pembayaran.