Start display at page:
Download 'LAMPIRAN A LISTING PROGRAM APLIKASI DENGAN DELPHI 7. A-1 LISTING PROGRAM APLIKASI DENGAN AVR STUDIO 4. A-17'
  • Samson Hines
  • 2 years ago
  • Views:
  • Komunikasi Serial Arduino Dengan Delphi. 9/6/2018 0 Comments Tutorial Akses Sensor pH dengan Arduino Uno dengan tampilan Interface di Delphi 7 kami siapkan dalam bentuk file PDF dilengkapi dengan sketch arduino dan source code delphi + komponen untuk komunikasi serial.
  • Komunikasi Serial Arduino Dengan Delphi Manual World Machine; Pertama tama sistem akan memastikan apakah transmitter mengirimkan pesan pada frekuensi 433 MHz, jika tidak maka sistem akan menampilkan pesan Starting LoRa failed pada serial monitor.
  • Komunikasi Serial Dengan Delphi Program interface dengan komputer bisa dilakukan dengan banyak cara salah satunya secara serial. Transfer data secara serial berarti juga data dikirim dari devais luar misalnya mikrokontroller ke komputer secara serial dengan standard yang telah ditentukan. Fungsi fungsi yg tersedia untuk komunikasi serial Arduino.

Komunikasi serial arduino dengan delphi. PRESENTASI TUGAS AKHIR Main Idea 1. Need For Speed Underground 3 free. download full Version For Pc Softonic. BORLAND DELPHI 7 3.MICROSOFT ACCES 2007 4.KOMUNIKASI KOMPUTER 5.DAYA 6.CARA KERJA SISTEM 7.TAMPILAN APLIKASI BLOK DIAGRAM Oleh EKA PADIYANTUN NIM 0036 SELASA, 23 September 2014 SCADA. Komunikasi Serial Arduino Dengan Delphi 7 Adalah Synaser, sebuah library komunikasi data serial open-source untuk Delphi, Kylix, dan FreePascal yang dapat digunakan pada platform Windows dan Linux. Library gratis ini kita perlukan agar kita dapat membuat program komunikasi data serial menggunakan FreePascal dan tentunya Lazarus.

Transcription

1 LAMPIRAN A LISTING PROGRAM APLIKASI DENGAN DELPHI 7. A-1 LISTING PROGRAM APLIKASI DENGAN AVR STUDIO 4. A-17 unit rfid; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, QCCom32, StdCtrls, Buttons, DB, DBTables, Grids, DBGrids; type TForm1 = class(tform) com: TQCCom32; Pnokartu: TPanel; Timer1: TTimer; BitBtn1: TBitBtn; pjam: TPanel; ptanggal: TPanel; Label1: TLabel; Panel4: TPanel; pkomputer1: TPanel; Panel2: TPanel; BitBtn2: TBitBtn; BitBtn3: TBitBtn; DataSource1: TDataSource; DataSource2: TDataSource; Tcustomer: TTable; A-1

2 Tlog: TTable; DBGrid1: TDBGrid; Ttarif: TTable; DataSource3: TDataSource; Lkomputer1: TLabel; LTkomputer1: TLabel; pkomputer2: TPanel; LKomputer2: TLabel; LTkomputer2: TLabel; pkomputer3: TPanel; LKomputer3: TLabel; LTkomputer3: TLabel; pkomputer4: TPanel; LKomputer4: TLabel; LTKomputer4: TLabel; BitBtn4: TBitBtn; BitBtn5: TBitBtn; BitBtn6: TBitBtn; BitBtn7: TBitBtn; BitBtn8: TBitBtn; BitBtn9: TBitBtn; BitBtn10: TBitBtn; BitBtn11: TBitBtn; pst1hidup: TPanel; pst1masalah: TPanel; pst1mati: TPanel; pst2hidup: TPanel; pst2masalah: TPanel; pst2mati: TPanel; pst3hidup: TPanel; pst3masalah: TPanel; pst3mati: TPanel; pst4hidup: TPanel; pst4masalah: TPanel; pst4mati: TPanel; Panel1: TPanel; Panel3: TPanel; procedure Timer1Timer(Sender: TObject); procedure BitBtn3Click(Sender: TObject); procedure FormCreate(Sender: TObject); procedure BitBtn2Click(Sender: TObject); procedure BitBtn4Click(Sender: TObject); procedure BitBtn6Click(Sender: TObject); procedure BitBtn8Click(Sender: TObject); procedure BitBtn10Click(Sender: TObject); procedure BitBtn5Click(Sender: TObject); A-2

3 procedure BitBtn7Click(Sender: TObject); procedure BitBtn9Click(Sender: TObject); procedure BitBtn11Click(Sender: TObject); private { Private declarations } public { Public declarations } var Form1: TForm1; datars232,datacom:string; datakartu:string; datakartun,datacomn:longint; code:integer; detik,detiklama:integer; STKomputer1,STKomputer2,STKomputer3,STKomputer4:boolean; Jam1,Menit1,Detik1, Jam2,Menit2,Detik2, Jam3,Menit3,Detik3, Jam4,Menit4,Detik4:integer; Rupiah1,Rupiah2,Rupiah3,Rupiah4,TarifRupiah, RupiahDBF1,RupiahDBF2,RupiahDBF3,RupiahDBF4:integer; STmasuk:boolean; NomorKomputer:string; STKomputer:integer; ketemu,dataataustatus:boolean; statuskom1,statuskom2,statuskom3,statuskom4:boolean; {status dari komputer} statusdatakom1,statusdatakom2,statusdatakom3,statusdatakom4:boolean; {status dari alat} implementation uses unitcustomer,unittarif; {$R *.dfm} procedure TForm1.Timer1Timer(Sender: TObject); pjam.caption:=formatdatetime('hh:mm:ss',time); ptanggal.caption:=formatdatetime('dd/mm/yyyy',date); detik:=strtoint(copy(pjam.caption,7,2)); {Pengambilan jam dan tanggal dari system computer} {pengecekan perubahan detik} if detik<>detiklama then detiklama:=detik; if STKomputer1 then A-3

4 {penampilan status computer 1 ke layar jika aktif} pkomputer1.color:=cllime; detik1:=detik1+1; if detik1=60 then detik1:=0; menit1:=menit1+1; if menit1=60 then menit1:=0; jam1:=jam1+1; rupiah1:=rupiah1+tarifrupiah; Lkomputer1.caption:=inttostr(jam1)+':'+inttostr(menit1)+':'+inttostr(detik1); LTkomputer1.caption:='Rp. '+inttostr(rupiah1); {end komputer1} if STKomputer2 then {penampilan status computer 2 ke layar jika aktif} pkomputer2.color:=cllime; detik2:=detik2+1; if detik2=60 then detik2:=0; menit2:=menit2+1; if menit2=60 then menit2:=0; jam2:=jam2+1; rupiah2:=rupiah2+tarifrupiah; Lkomputer2.caption:=inttostr(jam2)+':'+inttostr(menit2)+':'+inttostr(detik2); LTkomputer2.caption:='Rp. '+inttostr(rupiah2); {end komputer2} if STKomputer3 then {penampilan status computer 3 ke layar jika aktif} pkomputer3.color:=cllime; detik3:=detik3+1; if detik3=60 then A-4

5 detik3:=0; menit3:=menit3+1; if menit3=60 then menit3:=0; jam3:=jam3+1; rupiah3:=rupiah3+tarifrupiah; Lkomputer3.caption:=inttostr(jam3)+':'+inttostr(menit3)+':'+inttostr(detik3); LTkomputer3.caption:='Rp. '+inttostr(rupiah3); {end komputer3} if STKomputer4 then {penampilan status computer 4 ke layar jika aktif} pkomputer4.color:=cllime; detik4:=detik4+1; if detik4=60 then detik4:=0; menit4:=menit4+1; if menit4=60 then menit4:=0; jam4:=jam4+1; rupiah4:=rupiah4+tarifrupiah; Lkomputer4.caption:=inttostr(jam4)+':'+inttostr(menit4)+':'+inttostr(detik4); LTkomputer4.caption:='Rp. '+inttostr(rupiah4); {end komputer4} {detik} if not STkomputer1 then {jika status pemakaian computer 1 off} PKomputer1.color:=clwhite; Pkomputer1.Caption:=' '; LKomputer1.caption:='KOMPUTER 1'; LTKomputer1.caption:='Rp. 0'; jam1:=0;menit1:=0;detik1:=0;rupiah1:=tarifrupiah; if not STkomputer2 then {jika status pemakaian computer 2 off} A-5

Apr 8, 2018 - Baixar Longman Dictionary of English APK 1.3 android,Longman Dictionary. Ldoce5 Apk mediafire links free download, download LDOCE5. Ldoce5 apk free download.

6 PKomputer2.color:=clwhite; Pkomputer2.Caption:=' '; LKomputer2.caption:='KOMPUTER 2'; LTKomputer2.caption:='Rp. 0'; jam2:=0;menit2:=0;detik2:=0;rupiah2:=tarifrupiah; if not STkomputer3 then {jika status pemakaian computer 3 off} PKomputer3.color:=clwhite; Pkomputer3.Caption:=' '; LKomputer3.caption:='KOMPUTER 3'; LTKomputer3.caption:='Rp. 0'; jam3:=0;menit3:=0;detik3:=0;rupiah3:=tarifrupiah; if not STkomputer4 then {jika status pemakaian computer 4 off} PKomputer4.color:=clwhite; Pkomputer4.Caption:=' '; LKomputer4.caption:='KOMPUTER 4'; LTKomputer4.caption:='Rp. 0'; jam4:=0;menit4:=0;detik4:=0;rupiah4:=tarifrupiah; datars232:=com.read; { pengambilan data serial dari COM} if length(datars232)>6 then if copy(datars232,1,1)<>'s' then {pengambilan data nomor kartu} datakartu:='$'+copy(datars232,4,8); val(datakartu,datakartun,code); datakartu:=inttostr(datakartun); if length(datakartu)=7 then datakartu:='000'+datakartu; if length(datakartu)=6 then datakartu:='0000'+datakartu; pnokartu.caption:=datakartu; dataataustatus:=true; end else A-6

7 dataataustatus:=false; datacom:=copy(datars232,2,1); val(datacom,datacomn,code); if (datacomn and $01)=$01 then statusdatakom1:=true else statusdatakom1:=false; if (datacomn and $02)=$02 then statusdatakom2:=true else statusdatakom2:=false; if (datacomn and $04)=$04 then statusdatakom3:=true else statusdatakom3:=false; if (datacomn and $08)=$08 then statusdatakom4:=true else statusdatakom4:=false; STMasuk:=true; if (datakartu=pkomputer1.caption) and dataataustatus then {jika computer 1 pada posisi online dan siap di offkan} STmasuk:=false; STKomputer1:=false; STkomputer:=STKomputer-8; Tlog.refresh; Tlog.first; while not tlog.eof do if (pkomputer1.caption=tlog.fieldbyname('no_rfid').asstring) and (tlog.fieldbyname('jm_keluar').asstring=') then Tlog.edit; Tlog.FieldByName('JM_KELUAR').asstring:=pjam.caption; Tlog.FieldByName('RUPIAH').asinteger:=Rupiah1; Tlog.FieldByName('DURASI').asstring:=LKomputer1.caption; Tlog.post; Tlog.last; com.write('5'); com.write('5'); com.write('5'); statuskom1:=false; Tlog.Next; {end while} Tcustomer.Refresh; Tcustomer.First; while not tcustomer.eof do if (pkomputer1.caption=tcustomer.fieldbyname('no_rfid').asstring) then A-7

8 Rupiah1:=RupiahDBF1-Rupiah1; tcustomer.edit; tcustomer.fieldbyname('deposit').asinteger:=rupiah1; tcustomer.post; tcustomer.last; formcustomer.table1.refresh; tcustomer.next; if (datakartu=pkomputer2.caption) and dataataustatus then {jika computer 2 pada posisi online dan siap di offkan} STmasuk:=false; STKomputer2:=false; STkomputer:=STKomputer-4; Tlog.refresh; Tlog.first; while not tlog.eof do if (pkomputer2.caption=tlog.fieldbyname('no_rfid').asstring) and (tlog.fieldbyname('jm_keluar').asstring=') then Tlog.edit; Tlog.FieldByName('JM_KELUAR').asstring:=pjam.caption; Tlog.FieldByName('RUPIAH').asinteger:=Rupiah2; Tlog.FieldByName('DURASI').asstring:=LKomputer2.caption; Tlog.post; Tlog.last; com.write('6'); com.write('6'); com.write('6'); statuskom2:=false; Tlog.Next; Tcustomer.Refresh; Tcustomer.First; while not tcustomer.eof do if (pkomputer2.caption=tcustomer.fieldbyname('no_rfid').asstring) then A-8

9 Rupiah2:=RupiahDBF2-Rupiah2; tcustomer.edit; tcustomer.fieldbyname('deposit').asinteger:=rupiah2; tcustomer.post; tcustomer.last; formcustomer.table1.refresh; tcustomer.next; if (datakartu=pkomputer3.caption) and dataataustatus then {jika computer 3 pada posisi online dan siap di offkan} STmasuk:=false; STKomputer3:=false; STkomputer:=STKomputer-2; Tlog.refresh; Tlog.first; while not tlog.eof do if (pkomputer3.caption=tlog.fieldbyname('no_rfid').asstring) and (tlog.fieldbyname('jm_keluar').asstring=') then Tlog.edit; Tlog.FieldByName('JM_KELUAR').asstring:=pjam.caption; Tlog.FieldByName('RUPIAH').asinteger:=Rupiah3; Tlog.FieldByName('DURASI').asstring:=LKomputer3.caption; Tlog.post; Tlog.last; com.write('7'); com.write('7'); com.write('7'); statuskom3:=false; Tlog.Next; Tcustomer.Refresh; Tcustomer.First; while not tcustomer.eof do if (pkomputer3.caption=tcustomer.fieldbyname('no_rfid').asstring) then Rupiah3:=RupiahDBF3-Rupiah3; tcustomer.edit; A-9

10 tcustomer.fieldbyname('deposit').asinteger:=rupiah3; tcustomer.post; tcustomer.last; formcustomer.table1.refresh; tcustomer.next; if (datakartu=pkomputer4.caption) and dataataustatus then {jika computer 4 pada posisi online dan siap di offkan} STmasuk:=false; STKomputer4:=false; STkomputer:=STKomputer-1; Tlog.refresh; Tlog.first; while not tlog.eof do if (pkomputer4.caption=tlog.fieldbyname('no_rfid').asstring) and (tlog.fieldbyname('jm_keluar').asstring=') then Tlog.edit; Tlog.FieldByName('JM_KELUAR').asstring:=pjam.caption; Tlog.FieldByName('RUPIAH').asinteger:=Rupiah4; Tlog.FieldByName('DURASI').asstring:=LKomputer4.caption; Tlog.post; Tlog.last; com.write('8'); com.write('8'); com.write('8'); statuskom4:=false; Tlog.Next; Tcustomer.Refresh; Tcustomer.First; while not tcustomer.eof do if (pkomputer4.caption=tcustomer.fieldbyname('no_rfid').asstring) then Rupiah4:=RupiahDBF4-Rupiah4; tcustomer.edit; tcustomer.fieldbyname('deposit').asinteger:=rupiah4; tcustomer.post; A-10

11 tcustomer.last; formcustomer.table1.refresh; tcustomer.next; {pengecekan untuk computer baru mulai} if (STMasuk) and dataataustatus then ketemu:=false; Tcustomer.refresh; Tcustomer.First; while not tcustomer.eof do if datakartu=tcustomer.fieldbyname('no_rfid').asstring then ketemu:=true; if (STKomputer=14) {jika status computer 4 aktif maka ambil data dan berikan kode nomor computer 4} then STKomputer:=STKomputer+$01; NomorKomputer:='4'; STkomputer4:=true; Pkomputer4.caption:=datakartu; RupiahDBF4:=Tcustomer.Fieldbyname('DEPOSIT').asinteger; com.write('4'); com.write('4'); com.write('4'); statuskom4:=true; if (STKomputer=12) or (STKomputer=13) then {jika status computer 3 aktif maka ambil data dan berikan kode nomor computer 3} STKomputer:=STKomputer+$02; NomorKomputer:='3'; STkomputer3:=true; Pkomputer3.caption:=datakartu; RupiahDBF3:=Tcustomer.Fieldbyname('DEPOSIT').asinteger; com.write('3'); com.write('3'); com.write('3'); A-11

12 statuskom3:=true; if (STKomputer=8) or (STKomputer=9) or (STKomputer=10) or (STKomputer=11) Then {jika status computer 2 aktif maka ambil data dan berikan kode nomor computer 2} STKomputer:=STKomputer+$04; NomorKomputer:='2'; STkomputer2:=true; Pkomputer2.caption:=datakartu; RupiahDBF2:=Tcustomer.Fieldbyname('DEPOSIT').asinteger; com.write('2'); com.write('2'); com.write('2'); statuskom2:=true; if (STKomputer=0) or (STKomputer=1) or (STKomputer=2) or (STKomputer=3) or (STKomputer=4) or (STKomputer=5) or (STKomputer=6) or (STKomputer=7) then Begin {jika status computer 1 aktif maka ambil data dan berikan kode nomor computer 1} STKomputer:=STKomputer+$08; NomorKomputer:='1'; STkomputer1:=true; Pkomputer1.caption:=datakartu; RupiahDBF1:=Tcustomer.Fieldbyname('DEPOSIT').asinteger; com.write('1'); com.write('1'); com.write('1'); statuskom1:=true; Tlog.refresh; Tlog.last; Tlog.insert; Tlog.FieldByName('TGL_MASUK').asstring:=ptanggal.caption; Tlog.FieldByName('JM_MASUK').asstring:=pjam.caption; Tlog.FieldByName('NAMA').asstring:=Tcustomer.fieldbyname('NAMA').asstring; Tlog.FieldByName('NO_RFID').asstring:=datakartu; A-12

13 Tlog.FieldByName('KOMPUTER').asstring:=NomorKomputer; Tlog.post; Tcustomer.Last; Tcustomer.Next; {end while} if not ketemu then MessageDlg('NOMOR TIDAK TERDAFTAR', mtinformation, [mbok], 0); {end if STmasuk} {penampilan status} if not dataataustatus then {status listrik komputer 1} if statuskom1 and statusdatakom1 then pst1hidup.color:=clgreen; pst1masalah.color:=clbtnface; pst1mati.color:=clbtnface; if statuskom1 and (not statusdatakom1) then pst1hidup.color:=clbtnface; pst1masalah.color:=clred; pst1mati.color:=clbtnface; if (not statuskom1) and (not statusdatakom1) then pst1hidup.color:=clbtnface; pst1masalah.color:=clbtnface; pst1mati.color:=clgreen; {status listrik komputer 2} if statuskom2 and statusdatakom2 then pst2hidup.color:=clgreen; pst2masalah.color:=clbtnface; pst2mati.color:=clbtnface; if statuskom2 and (not statusdatakom2) then pst2hidup.color:=clbtnface; pst2masalah.color:=clred; pst2mati.color:=clbtnface; A-13

14 if (not statuskom2) and (not statusdatakom2) then pst2hidup.color:=clbtnface; pst2masalah.color:=clbtnface; pst2mati.color:=clgreen; {status listrik komputer 3} if statuskom3 and statusdatakom3 then pst3hidup.color:=clgreen; pst3masalah.color:=clbtnface; pst3mati.color:=clbtnface; if statuskom3 and (not statusdatakom3) then pst3hidup.color:=clbtnface; pst3masalah.color:=clred; pst3mati.color:=clbtnface; if (not statuskom3) and (not statusdatakom3) then pst3hidup.color:=clbtnface; pst3masalah.color:=clbtnface; pst3mati.color:=clgreen; {status listrik komputer 4} if statuskom4 and statusdatakom4 then pst4hidup.color:=clgreen; pst4masalah.color:=clbtnface; pst4mati.color:=clbtnface; if statuskom4 and (not statusdatakom4) then pst4hidup.color:=clbtnface; pst4masalah.color:=clred; pst4mati.color:=clbtnface; if (not statuskom4) and (not statusdatakom4) then pst4hidup.color:=clbtnface; pst4masalah.color:=clbtnface; pst4mati.color:=clgreen; A-14

15 procedure TForm1.BitBtn3Click(Sender: TObject); FormCustomer.show; procedure TForm1.FormCreate(Sender: TObject); {start awal program dimulai dari sini} com.pick; detiklama:=00; STKomputer1:=false; STKomputer2:=false; STKomputer3:=false; STKomputer4:=false; statuskom1:=false; statuskom2:=false; statuskom3:=false; statuskom4:=false; statusdatakom1:=false; statusdatakom2:=false; statusdatakom3:=false; statusdatakom4:=false; STKomputer:=0; Jam1:=0; Menit1:=0; detik1:=0; Jam2:=0; Menit2:=0; detik2:=0; Jam3:=0; Menit3:=0; detik3:=0; Jam4:=0; Menit4:=0; detik4:=0; Ttarif.Refresh; TTarif.First; TarifRupiah:=Ttarif.fieldbyname('RUPIAH').AsInteger; Rupiah1:=TarifRupiah; Rupiah2:=TarifRupiah; A-15

16 Rupiah3:=TarifRupiah; Rupiah4:=TarifRupiah; NomorKomputer:='0'; com.flush; Tlog.last; procedure TForm1.BitBtn2Click(Sender: TObject); formtarif.show; procedure TForm1.BitBtn4Click(Sender: TObject); {pengiriman data 1 ke modul melalui serial } com.write('1'); com.write('1'); com.write('1'); statuskom1:=true; procedure TForm1.BitBtn6Click(Sender: TObject); {pengiriman data 2 ke modul melalui serial } com.write('2'); com.write('2'); com.write('2'); statuskom2:=true; procedure TForm1.BitBtn8Click(Sender: TObject); {pengiriman data 3 ke modul melalui serial } com.write('3'); com.write('3'); com.write('3'); statuskom3:=true; procedure TForm1.BitBtn10Click(Sender: TObject); {pengiriman data 4 ke modul melalui serial } com.write('4'); A-16

17 com.write('4'); com.write('4'); statuskom4:=true; procedure TForm1.BitBtn5Click(Sender: TObject); {pengiriman data 5 ke modul melalui serial } com.write('5'); com.write('5'); com.write('5'); statuskom1:=false; procedure TForm1.BitBtn7Click(Sender: TObject); {pengiriman data 6 ke modul melalui serial } com.write('6'); com.write('6'); com.write('6'); statuskom2:=false; procedure TForm1.BitBtn9Click(Sender: TObject); {pengiriman data 7 ke modul melalui serial } com.write('7'); com.write('7'); com.write('7'); statuskom3:=false; procedure TForm1.BitBtn11Click(Sender: TObject); {pengiriman data 8 ke modul melalui serial } com.write('8'); com.write('8'); com.write('8'); statuskom4:=false; end. A-17

18 LISTING PROGRAM AVR STUDIO 4.include 'c:avrm8535def.inc' {inisialisasi port}.equ kontrol1 =PB0.equ kontrol2 =PB1.equ led =PB2.equ relaykom1 =PA0.equ relaykom2 =PA1.equ relaykom3 =PA2.equ relaykom4 =PA3.equ portsensor =PINC.def temp =r20.def txbyte =r17.def rxbyte =r18.def dataku =r21.def datasensor =r16.equ fclock = equ baud_rate =9600.equ ubbr_value =(fclock/(16*baud_rate))-1.cseg.org $0000 rjmp mulai reti reti reti reti reti reti reti reti reti reti reti reti reti A-18

19 reti reti reti mulai: ldi out ldi out temp,low(ramend) spl,temp temp,high(ramend) sph,temp ;ldi temp,ubbr_value ;baud generator ;out UBRRL,temp ;set divider ;ldi temp,0b ;enable TX and RX ;out UCR,temp ;to UART Control Register ldi out out ldi out sbi cbi sbi cbi cbi cbi cbi temp,0xff DDRB,temp ;portb output DDRA,temp temp,0x00 DDRC,temp ;port C sebagai input PORTB,led PORTB,kontrol1 PORTB,kontrol2 PORTA,relaykom1 PORTA,relaykom2 PORTA,relaykom3 PORTA,relaykom4 rcall init_serial loop: ;hidupkan jalur RFID kekomputer sbi PORTB,kontrol1 cbi PORTB,kontrol2 rcall readchr cpi rxbyte,0 breq loop mov dataku,rxbyte cbi PORTB,led rcall longdelay rcall longdelay sbi PORTB,led A-19

20 mov temp,dataku cpi temp,0x31 {membandingkan dengan data dari computer data 1 } breq relay1on cpi temp,0x32 {membandingkan dengan data dari computer data 2 } breq relay2on cpi temp,0x33 {membandingkan dengan data dari computer data 3 } breq relay3on cpi temp,0x34 {membandingkan dengan data dari computer data 4 } breq relay4on cpi temp,0x35 {membandingkan dengan data dari computer data 5 } breq relay1off cpi temp,0x36 {membandingkan dengan data dari computer data 6 } breq relay2off cpi temp,0x37 {membandingkan dengan data dari computer data 7 } breq relay3off cpi temp,0x38 {membandingkan dengan data dari computer data 8 } breq relay4off rjmp loop {subrutin menghidupkan relay} relay1on: sbi PORTA,relaykom1 rcall longdelay rcall longdelay rjmp kirimstatus relay2on: sbi PORTA,relaykom2 rcall longdelay rcall longdelay rjmp kirimstatus relay3on: sbi PORTA,relaykom3 rcall longdelay rcall longdelay rjmp kirimstatus relay4on: sbi PORTA,relaykom4 rcall longdelay rcall longdelay rjmp kirimstatus {subrutin mematikan relay} relay1off: cbi PORTA,relaykom1 rcall longdelay rcall longdelay A-20

21 rjmp kirimstatus relay2off: cbi PORTA,relaykom2 rcall longdelay rcall longdelay rjmp kirimstatus relay3off: cbi PORTA,relaykom3 rcall longdelay rcall longdelay rjmp kirimstatus relay4off: cbi PORTA,relaykom4 rcall longdelay rcall longdelay rjmp kirimstatus {pembacaan status listrik dan kemudian dikirimkan kekomputer melalui serial} kirimstatus: rcall longdelay ;hidupkan jalur Mikrokontroler kekomputer cbi PORTB,kontrol1 sbi PORTB,kontrol2 rcall longdelay in datasensor,portsensor andi datasensor,0x0f ldi txbyte,'s' rcall txchr ldi temp,0x30 add datasensor,temp mov txbyte,datasensor rcall txchr ldi txbyte,0x30 rcall txchr ldi txbyte,0x30 rcall txchr ldi txbyte,0x30 rcall txchr ldi txbyte,0x30 rcall txchr ldi txbyte,0x30 rcall txchr ldi txbyte,0x30 rcall txchr ldi txbyte,0x30 A-21

22 rcall txchr ldi txbyte,0x0d rcall txchr rjmp loop {inisialisasi komunikasi serial 9600bps} init_serial: ldi temp,high(ubbr_value) out UBRRH,temp ldi temp,low(ubbr_value) out UBRRL,temp ldi out ldi out temp,(1<<rxen) (1<<TXEN) UCSRB,temp temp, (1<<URSEL) (3<<UCSZ0) UCSRC,temp ret {pembacaan data melalui serial} readchr: sbis UCSRA,RXC rjmp readchr in rxbyte,udr ret {pengiriman data melalui serial} txchr: sbis UCSRA,UDRE rjmp txchr ; Put data (r16) into buffer, sends the data out UDR,txbyte ret ; ; sub routine long delay ; longdelay: ldi R17,255 ldelay1: ldi R18,255 ldelay2: dec R18 brne ldelay2 dec R17 A-22

23 brne ret ldelay1 A-23

24 LAMPIRAN B Datasheet CD4066BC.. B-1 Datasheet ICL B-9

25 B-1

26 B-2

27 B-3

28 B-4

29 B-5

30 B-6

31 B-7

32 B-8

33 B-9

34 B-10

35 B-11

36 B-12

37 B-13

38 B-14

39 B-15

40 B-16

Komunikasi Serial Arduino Dengan Delphine

41 B-17

42 B-18

43 B-19

44 B-20

45 B-21

46 B-22

47 B-23

48 B-24

49 B-25

50 B-26

51 B-27

52 B-28

53 B-29

AVR410: RC5 IR Remote Control Receiver on tinyavr and megaavr devices. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

AVR 8-bit Microcontlers AVR410: RC5 IR Remote Cont Receiver on tinyavr and megaavr devices APPLICATION NOTE Introduction Most audio and video systems are equipped with an infrared remote cont. This application

More information

Building A RISC Microcontroller in an FPGA

Building A RISC Microcontroller in an FPGA Name : Yap Zi He Course : 4 SEL Supervisor : PM Muhammad Mun im Ahmad Zabidi Introduction Reduce Instruction Set Computer (RISC) is a new trend on computer design.

More information

Voltage boost and buck circuits using Atmel AVR Tiny13V for driving a white LED.

Voltage boost and buck circuits using Atmel AVR Tiny13V for driving a white LED. By Steven Weber, KD1JV 1/26/09 The PWM feature of the Tiny13 processor can be used to make a simple voltage boost or buck

More information

uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Printers, ExtCtrls, StdCtrls;

Delphi Grundkurs Seite 69 Beispiel 19 Quadrate Problem: Programm P19 (Grafikbeispiele) Eingabe: Anzahl der Quadrate (= N) mit InputBox (0,0) d d a Verschiebungsteil d := a div N; Formulardesign: a (a,a)

More information

AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR305: Half Duplex Compact Software UART Features 32 Words of Code, Only Handles Baud Rates of up to 38.4 kbps with a 1 MHz XTAL Runs on Any AVR Device Only Two Port Pins Required Does Not Use Any Timer

More information

8-bit Microcontroller. Application Note. AVR410: RC5 IR Remote Control Receiver

AVR410: RC5 IR Remote Control Receiver Features Low-cost Compact Design, Only One External Component Requires Only One Controller Pin, Any AVR Device Can be Used Size-efficient Code Introduction Most audio

More information

Step Motor Controller. Application Note. AVR360: Step Motor Controller. Theory of Operation. Features. Introduction

AVR360: Step Motor Controller Features High-Speed Step Motor Controller Interrupt Driven Compact Code (Only 10 Bytes Interrupt Routine) Very High Speed Low Computing Requirement Supports all AVR Devices

More information

Tutorial: Creating a CLX Database Application

Tutorial: Creating a CLX Database Application Borland Delphi 7 for Windows Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA 95066-3249 www.borland.com COPYRIGHT 2001 2002 Borland Software

More information

How to use AVR Studio for Assembler Programming

How to use AVR Studio for Assembler Programming Creating your first assembler AVR project Run the AVRStudio program by selecting StartProgramsAtmel AVR ToolsAVR Studio. You should see a screen like

More information

Komunikasi Serial Arduino Dengan Delphi Menggunakan

Microcontroller Systems. ELET 3232 Topic 8: Slot Machine Example

Microcontroller Systems ELET 3232 Topic 8: Slot Machine Example 1 Agenda We will work through a complete example Use CodeVision and AVR Studio Discuss a few creative instructions Discuss #define and #include

More information

Page 1 of 1. Page 2 of 2 % &! ' '! ( ' ( $) * +, - % -. !' # $

Argosoft Pos Server Panduan Page 1 of 1 Isi Mulai.. 3 Menguasai.. 5 Pilihan.. 7 Menentukan catatan.. 10 Menentukan Linkungan.. 11 Linkungan betul.. 12 Menentukan linkungan berganda.. 13 Menambahkan

More information

Poor Man s A/D Converter By Dave Wissel at Wave Technology

Poor Man s A/D Converter By Dave Wissel at Wave Technology Years ago some of the then-old engineers working in the cost-completive area of consumer electronics told me, If it can t be done with a handful

More information

C:My DocumentsDelphiFagproveLED_ServerCOM_1.pas Printed at 17:14 on 17 Feb 2000 Page 1 of 2

C:My DocumentsDelphiFagproveLED_ServerCOM_1.pas Printed at 17:14 on 17 Feb 2000 Page 1 of 2 unit COM_1; interface uses Classes, Windows, BuffSock; type TCOM1 = class(tthread) private { Private declarations

More information

main program and assembly modules to control time critical I/O functions. Introduction

AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for AVR Features Passing Variables between C and Assembly Code Functions Calling Assembly Code Functions from C Calling C Functions from Assembly

More information

AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for AVR. 8-bit Microcontroller. Application Note. Features.

AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for AVR Features Passing Variables Between C and Assembly Code Functions Calling Assembly Code Functions from C Calling C Functions from Assembly

More information

Mixing C and assembly language programs Copyright 2007 William Barnekow <[email protected]> All Rights Reserved

Mixing C and assembly language programs Copyright 2007 William Barnekow All Rights Reserved It is sometimes advantageous to call subroutines written in assembly language from programs

More information

PRT3 Printer Module: ASCII Protocol Programming Instructions

PRT3 Printer Module: ASCII Protocol Programming Instructions We hope this product performs to your complete satisfaction. Should you have any questions or comments, please visit www.paradox.com and send

More information

Introduction to the DLL for the USB Experiment Interface Board K8055

K8055D.DLL 1 Introduction to the DLL for the USB Experiment Interface Board K8055 The K8055 interface board has 5 digital input channels and 8 digital output channels. In addition, there are two analogue

More information

Hardware and Software Requirements

C Compiler Real-Time OS Simulator Training Evaluation Boards Installing and Using the Keil Monitor-51 Application Note 152 May 31, 2000, Munich, Germany by Keil Support, Keil Elektronik GmbH [email protected]

More information

An Atmel AVR Notebook

Page 1 of 11 An Atmel AVR Notebook Michael A. Covington Artificial Intelligence Center The University of Georgia Athens, GA 30602-7415 www.ai.uga.edu/mc Last revised August 2006 This paper consists of

More information

SIG60/61 Test Program

YAMAR Electron ics Ltd Operation Manual SIG60/61 Test Program General The DC-BUS Test Program provides an easy way to evaluate the performance of Powerline communication based on Yamar's SIG60 and SIG61

More information

Instruction Set. Instruction Set Nomenclature: Status Register (SREG) Registers and Operands

Nomenclature: Status Register (SREG) SREG: Status register C: Carry flag in status register Z: Zero flag in status register N: Negative flag in status register V: Two s complement overflow indicator S:

More information

Ocean Controls KTA-223 Arduino Compatible USB Relay Controller

Ocean Controls - KTA-223 12/11/2009 Ocean Controls KTA-223 Arduino Compatible USB Relay Controller 8 Relay Outputs 5A 250VAC 4 Opto-Isolated Inputs 5-30VDC 3 Analog Inputs (10 bit) Connections via Pluggable

More information

Quick Start Tutorial. Using the TASKING* Software Development Tools with the Intel 8x930 Family Evaluation Board

Quick Start Tutorial Using the TASKING* Software Development Tools with the Intel 8x930 Family Evaluation Board This explains how to use the TASKING Microsoft* Windows*-based software development tools

More information

Chapter 17 COMPLETION. 1. Receipt of notice from Contractor. 2. Final Inspection. PT

Flowchart Description Action By Reference 1 1. Receipt of notice from Contractor - 2 2. Final Inspection. PT 3 Yes No 3. Works (or Section) is practically completed for all purposes of the Contract? -

More information

Web Site: Forums: forums.parallax.com Sales: Technical:

Web Site: www.parallax.com Forums: forums.parallax.com Sales: [email protected] Technical: [email protected] Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

KTA-225 Arduino Compatible Relay Controller v3

8 Relay Outputs 5 A 250 VAC 8 Analog Inputs (10 bit) Connections via Pluggable Screw Terminals 0 to 5 V, 0 to 3.3 V or 0 to 20 ma Analog Inputs, Jumper Selectable 5 A Relay Switching Power Indicator LED

More information

DEVELOPMENT OF DATA ACQUISITION SOFTWARE FOR CENTRALIZED RADIATION MONITORING SYSTEM

DEVELOPMENT OF DATA ACQUISITION SOFTWARE FOR CENTRALIZED RADIATION MONITORING SYSTEM Nolida Yussup 1, Maslina Mohd Ibrahim 1, Mohd Fauzi Haris 2, Syirrazie Che Soh 1, Harzawardi Hasim 1, Azraf Azman 3

More information

Basic Interrupts and I/O

Basic Interrupts and I/O an introduction to interrupts and I/O with the AVR Eivind, AVRfreaksnet, By Eivind Sivertsen, AVRFreaks Oct2002 This article is a small project for you people who are just getting

More information

USB to RS-232/422/485 Isolated Converter. Quatech Model SSU2-400I Operation Manual

USB to RS-232/422/485 Isolated Converter Quatech Model SSU2-400I Operation Manual First Edition, Jun 2008 1 Table of Contents 1. Introduction 2 2. Package checklist 3 3. Product Specification 4 4. Product

More information

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR317: Using the Master SPI Mode of the USART module Features Enables Two SPI buses in one device Hardware buffered SPI communication Polled communication example Interrupt-controlled communication example

More information

How to work with Blobs

Counter: 14083 Published: 2007 01 29 16:55:38 How to work with Blobs Working with BLOB fields in client InterBase/Firebird applications based on FIBPlus components July, 2006 by Sergey Vostrikov and Serge

More information

IF3291 Jaringan Komputer dan Pengamanannya. Bugi Wibowo ([email protected]) Mei 2006 Informatika STEI ITB

IF3291 Jaringan Komputer dan Pengamanannya Network Security Bugi Wibowo ([email protected]) Mei 2006 Informatika STEI ITB Introduction Early network use: Universities to send mails Corporate to share

More information

RS-232. 16.1 Introduction. 16.2 Electrical characteristics

16 RS- 16.1 Introduction RS- is one of the most widely used techniques used to interface external equipment to computers. It uses serial communications where one bit is sent along a line, at a time. This

More information

Was ist Zeit?: Digitale Funkuhr 12. November 2002

Anhang Anhang A: Gebrauchsanleitung..2 Netzteil..2 Aufstellort..2 Software Installaltion..2 Software Konfiguration..4 Anhang B: Herstellungsanleitung..5 Layout: Platine / Gehäuse..5 Stückliste &

More information

PM1122 INT DIGITAL INTERFACE REMOTE

PM1122 INT DIGITAL INTERFACE REMOTE PM1122 INT front panel description: 1. Clear wireless remotes knob: push this button for more than 2 seconds to clear the list of all assigned wireless remote settings

More information

CP2102 Serial to USB Converter

Campus Component Pvt. Ltd. DISCLAIMER Information furnished is believed to be accurate and reliable at the time of publication. However, Campus Component Pvt. Ltd. assumes no responsibility arising from

More information

Instruction Set. Instruction Set Nomenclature. Status Register (SREG) Registers and Operands

Instruction Set Nomenclature Status Register (SREG) SREG: Status register C: Carry flag Z: Zero flag N: Negative flag V: Two s complement overflow indicator S: N V, For signed tests H: Half Carry flag

More information

// THIS CODE IS DERIVED FROM 'Reghide.c' PUBLISHED BY SYSTEM INTERNALS

Versteckter Registry Eintrag / Nicht editierbar {* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Unit Name : Unit1 * Autor : Daniel Wischnewski * Copyright : Copyright

More information

8051 Serial Communications. ECE473/573 Microprocessor System Design, Dr. Shiue

851 Serial Communications 1 Parallel vs. Serial Parallel Communication (Printer) Fast, but distance cannot be great. Expensive One byte at a time or more Sender Receiver Serial Communication (Telephone

More information

USER MANUAL & DATASHEET SME29X Serial Ethernet Family

SME290-Mini SME291 USER MANUAL & DATASHEET SME29X Serial Ethernet Family Connects any serial device to LAN/WAN/Internet True Serial-Ethernet Conversion. No Control Mechanism is required. Plug & Play, no

More information

Figure 1: System Overview Block Diagram

Using LabVIEW to Acquire GPS Data 'Using LabVIEW, we successfully developed a GPS data acquisition system to use as a learning platform to understand the data structure of a GPS module.' - Pong Ke Xin,

More information

EXPERIMENTAL ANALYSIS OF PASSIVE BANDWIDTH ESTIMATION TOOL FOR MULTIPLE HOP WIRELESS NETWORKS NURUL AMIRAH BINTI ABDULLAH

EXPERIMENTAL ANALYSIS OF PASSIVE BANDWIDTH ESTIMATION TOOL FOR MULTIPLE HOP WIRELESS NETWORKS NURUL AMIRAH BINTI ABDULLAH THESIS SUBMITTED IN FULFILLMENT OF THE DEGREE OF COMPUTER SCIENCE FACULTY OF COMPUTER

Delphi More information

USER GUIDE EDBG. Description

USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel

More information

MS830 / MS833 Barcode Reader v1.0 9-December-2014

MS830 / MS833 Barcode Reader v1.0 9-December-2014 Publication Information 2014 Imagine Communications Corp. Proprietary and Confidential. Imagine Communications considers this document and its contents

More information

KTA-223 Arduino Compatible Relay Controller

8 Relay Outputs 5A 250VAC 4 Opto-Isolated Inputs 5-30VDC 3 Analog Inputs (10 bit) Connections via Pluggable Screw Terminals 0-5V or 0-20mA Analog Inputs, Jumper Selectable 5A Relay Switching Power Indicator

More information

INSTALLATION GUIDE. MODBUS RECEIVER RX MODBUS RS485 MULTI (868 MHz) IG UK c

INSTALLATION GUIDE MODBUS RECEIVER RX MODBUS RS485 MULTI 900-022 (868 MHz) IG UK 900-022-c DESCRIPTION RX MODBUS RS485 MULTI 900-022 ❹ ❿ ⓫ ❷ ❸ ❾ ❽ ⓬ ❶ ❼ ❻ ❺ ⓭ ❶ Identification label ❷ Screws for opening/closing

More information

Getting Started with C Programming for the ATMEL AVR Microcontrollers

Getting Started with C Programming for the ATMEL AVR Microcontrollers By Son Lam Phung Version 2.0 Latest version of this document is available at: http://www.elec.uow.edu.au/avr Son Lam Phung, 2008-2015.

More information

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL w w w. c d v g r o u p. c o m CA-ETHR-A: TCP/IP Module Installation Manual Page Table of Contents Introduction..5 Hardware Components.. 6 Technical Specifications..

More information

8-bit Microcontroller. Application Note. AVR242: 8-bit Microcontroller Multiplexing LED Drive and a 4 x 4 Keypad

AVR242: 8-bit Microcontroller Multiplexing LED Drive and a 4 x 4 Keypad Features 16 Key Pushbutton Pad in 4 x 4 Matrix Four Digit Multiplexed LED Display with Flashing Colon Industrial Real Time Clock/Timer

More information

TRP-C39 User s Manual

TRP-C39 User s Manual Fiber to RS-232/422/485 Isolated Converter, ST Multi-Mode Printed Feb. 2007 Rev 1.0 Trycom Technology Co.,Ltd 1F, No.2-11,Sihu street,yingge Township, Taipei, Taiwan ROC Tel: 886-2-86781191,

More information

SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual

SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual Version 1.0 - January 20, 2015 CHANGE HISTORY Version Date Description of Changes 1.0 January 20, 2015 Initial Publication

More information

BASIC INTERRUPTS AND I/O

BASIC INTERRUPTS AND I/O A N IN TR O DU CT I O N TO I N TE R R U P TS AN D I / O AVR EIVIND, AVRFREAKS.NET OCT 2002 TABLE OF CONTENTS Lets' get physical..2 Basic interrupts..2 What's in a name?..3 Structure

More information

Serial Communications

April 2014 7 Serial Communications Objectives - To be familiar with the USART (RS-232) protocol. - To be able to transfer data from PIC-PC, PC-PIC and PIC-PIC. - To test serial communications with virtual

More information

USART and Asynchronous Communication

Delphi

The USART is used for synchronous and asynchronous serial communication. USART = Universal Synchronous/Asynchronous Receiver Transmitter Our focus will be on asynchronous serial communication. Asynchronous

More information

APR-PRT3 Printer Module: C-Bus Programming Instructions

APR-PRT3 Printer Module: C-Bus Programming Instructions We hope this product performs to your complete satisfaction. Should you have any questions or comments, please visit www.paradox.com and send us

More information

DEVELOPING AN ISP FOR HOTEL INDUSTRY: A CASE STUDY ON PUTRA PALACE HOTEL

DEVELOPING AN ISP FOR HOTEL INDUSTRY: A CASE STUDY ON PUTRA PALACE HOTEL A report submitted to the Graduate School in partial fulfillment of the requirement for the Degree Master of Science (Information

More information

Global Variables. However, when global variables are used in a function block or control modules, they must be declared as external

Global Variables You can define global variables in the Application Editor. Global variables are available in all programs. It is only possible to declare global variables on application level. Global

More information

Instruction Set. Instruction Set Nomenclature. Status Register (SREG) Registers and Operands

Instruction Set Nomenclature Status Register (SREG) SREG: Status register C: Carry flag Z: Zero flag N: Negative flag V: Two s complement overflow indicator S: N V, For signed tests H: Half Carry flag

More information

Radio Alarm Clock iphone/ipod Docking Station. Radio Alarm Clock iphone/ipod Docking Station. User Manual

User Manual FM radio alarm clock and dock for ipod&iphone, with a backlit LCD to show clock and menu functions V6 Radio Alarm Clock iphone/ipod Docking Station FM radio alarm clock and dock for ipod&iphone,

More information

1.1.1 Pergi ke mana-mana mesin ATM Maybank atau Mayban Finance

PANDUAN MENGGUNA SISTEM PUNGUTAN AGENSI LUAR (SPAL) 1. MAYBANK BERHAD INTERNET 1.1 Mendaftar di dalam Maybank2u.com 1.1.1 Pergi ke mana-mana mesin ATM Maybank atau Mayban Finance 1.1.2 Pilih Maybank2u

More information

Mini USB & GPS Module Demo Board. User's Guide (SIN BLUETOOTH)

Mini USB & GPS Module Demo Board User's Guide (SIN BLUETOOTH) MAYO 2009 GM10 DEVELOPMENT KIT 1/12 Table of contents Chapter 1. Brief Introduction and Port Definition 3 1-1. Product. 3 1-2. Accessories

More information

Component Writer s Guide

Component Writer s Guide Borland Delphi 7 for Windows Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA 95066-3249 www.borland.com Refer to the DEPLOY document located in the root directory

More information

AVRStudio4 and Atmega128 A Beginner s Guide. Written By David Zier Oregon State University TekBots March 30, 2003

AVRStudio4 and Atmega128 A Beginner s Guide Written By David Zier Oregon State University TekBots March 30, 2003 Table of Contents 1 INTRODUCTION.. 4 1.1 PURPOSE.. 4 1.2 AVR STUDIO 4 OVERVIEW.. 4 1.3

More information

A-307. Mobile Data Terminal. Android OS Platform Datasheet

A-307 Mobile Data Terminal Android OS Platform Datasheet Revision 1.1 July, 2013 Introduction A-307 Platform Overview Introduction A-307 Platform Overview The A-307 provides Original Equipment Manufacturers

More information

RFID Reader RS-232. User Manual. Document : Datasheet Model # : RFID - 1321 Date : 25-Feb-10

Document : Datasheet Model # : RFID - 1321 Date : 25-Feb-10 RFID Reader RS-232 User Manual Rhydo Technologies (P) Ltd. (An ISO 9001:2008 Certified R&D Company) Golden Plaza, Chitoor Road, Cochin 682018,

More information

STIM202 Evaluation Kit

Table of contents: 1 FEATURES.. 2 2 GENERAL DESCRIPTIONS AND SYSTEM CONTENTS.. 2 3 SYSTEM REQUIREMENTS.. 2 4 GETTING STARTED.. 3 4.1 INSTALLATION OF NI-SERIAL CABLE ASSEMBLY DRIVER.. 3 4.2 INSTALLATION

More information

DriveView 2 Guide. 1. Introduction. 2. Applying Drive View. 3. Program Set-up. 4. Parameter Editor. 5. Keypad Emulation. 6.

DriveView 2 Guide 1. Introduction 2. Applying Drive View 3. Program Set-up 4. Parameter Editor 5. Keypad Emulation 6. Text Monitor 7. Graph Monitor 8. Trouble shooting LGIS Drive View 2 1. Introduction

More information

8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems 1 5-1 8051 Peripherals

8051 Serial Port The 8051 contains a UART Universal Asynchronous Receiver Transmitter The serial port is full-duplex It can transmit and receive simultaneously 2 Port 3 pins are used to provide the serial

More information

Arduino Wifi shield And reciever. 5V adapter. Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the shield:

the following parts are needed to test the unit: Arduino UNO R3 Arduino Wifi shield And reciever 5V adapter Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the

More information

Ultrasonic Distance Measurement Module

Ultrasonic Distance Measurement Module General Description Distance measurement sensor is a low cost full functionality solution for distance measurement applications. The module is based on the measurement

More information

DataTap-IP Configuration Guide 2005 Lava Computer MFG Inc.

DataTap-IP Configuration Guide 2005 Lava Computer MFG Inc. www.lavalink.com Rev. A04 DataTap-IP Configuration Guide This document describes the configuration features of the DataTap-IP. It covers: 1. Hardware

More information

GV-Data Capture V2 User's Manual

User's Manual 005/06 Before attempting to connect or operate this product, please read these instructions carefully and save this manual for future use. Table of Contents Introduction Unpacking System

More information

Advanced Assembly, Branching, and Monitor Utilities

2 Advanced Assembly, Branching, and Monitor Utilities 2.1 Objectives: There are several different ways for an instruction to form effective addresses to acquire data, called addressing modes. One of these

More information

Application Note. 8-bit Microcontrollers. AVR307: Half Duplex UART Using the USI Module

AVR307: Half Duplex UART Using the USI Module Features Half Duplex UART Communication Communication Speed Up To 230.4 kbps at 14.75MHz Interrupt Controlled Communication Eight Bit Data, One Stop-bit, No

More information

Figure 1 - Connecting multiple controllers with a RS-485 network

8 Relays with 10 A, 250 VAC rated contacts 4 Optically isolated digital inputs up to 30 VDC Connections via pluggable screw terminals 3 Analog inputs, 0 to 5 V or 0 to 20 ma jumper selectable Power indicator

More information

Experiment #3 Programming the PLC Via Ladder logic. OBJECTIVES After successfully completing this laboratory, you should be able to:

Experiment #3 Programming the PLC Via Ladder logic OBJECTIVES After successfully completing this laboratory, you should be able to: to convert a simple electrical ladder diagram to a PLC program. Know

More information

DS2436K Battery ID/Monitor Evaluation Kit

Battery ID/Monitor Evaluation Kit www.dalsemi.com FEATURES Demonstrates the capabilities of the DS2436 Battery ID/Monitor Chip, including: - Temperature Measurement - Voltage Measurement - Cycle Counter

More information

MECH 423 Mechatronic Product Design Spring 2016 Lab #2: MSP430 Microprocessor Programming

MECH 423 Mechatronic Product Design Spring 2016 Lab #2: MSP430 Microprocessor Programming Objectives This lab consists in a set of exercises designed to teach you the basics of microprocessor programming

More information

Arduino 13.56MHz Rfid Shields. User s Manual. UART Interface. advancetech.com Rev. Rfid 13.56Mhz Contactless Smart card 07/09

Arduino 13.56MHz Rfid Shields User s Manual UART Interface HARDWARE SELECT INTERFACE: The communication protocol is byte oriented. Both sending and receiving bytes are in hexadecimal format. The communication

More information

Atmel AVR 8-bit Instruction Set

Atmel AVR 8-bit Instruction Set Instruction Set Nomenclature Status Register (SREG) SREG: Status Register C: Carry Flag Z: Zero Flag N: Negative Flag V: Two s complement overflow indicator S: N V, For

More information

The elabtronics USB PORT Module: 2 in 1 PIC Programmer Controller

The elabtronics USB PORT Module: 2 in 1 PIC Programmer Controller The compact USB PORT Module from elabtronics can be used as a PIC programmer and a controller. It programs user PIC projects using the

More information

DX4010V2. Installation Instructions. RS-232/USB Serial Interface Module

DX4010V2 EN Installation Instructions RS-232/USB Serial Interface Module DX4010V2 Installation Instructions Trademarks Trademarks BlackBox is either a registered trademark or a trademark of BlackBox Corporation

More information

X-CTU Configuration & Test Utility Software

X-CTU Configuration & Test Utility Software Contents Introduction 3 PC Settings Tab 4 COM port setup: 4 Host Setup: 5 User COM ports: 5 Range Test Tab 5 Packet Data and Size 5 RSSI: 7 API Function: 7 The

More information

Database Applications with VDBT Components

Database Applications with VDBT Components Ted Faison 96/4/23 Developing database applications has always been a very slow process, hindered by a myriad of low-level details imposed by the underlying database

More information

Using Arduino Boards in Atmel Studio

Using Arduino Boards in Atmel Studio Sepehr Naimi BIHE University 4/14/2015 Contents Introduction.. 3 Installing Atmel Studio and Making the First Project.. 3 Downloading Avrdude.. 3 Checking COM Port..

More information

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

BIT COMMANDER Serial RS232 / RS485 to Ethernet Converter (Part US2000A) Copyrights U.S. Converters 1 Contents Overview and Features.. 3 Functions.5 TCP Server Mode.. 5 Httpd Client Mode.5 TCP Auto mode..6

More information

TROUBLESHOOTING ESPKB. Bil Simptom Punca Penyelesaian. Membuat permohonan kad pintar baru kepada MAMPU melalui laman sesawang GPKI

TROUBLESHOOTING ESPKB Bil Simptom Punca Penyelesaian 1. Page cannot be display / Page Decline Kad Pintar pengguna telah tamat tempoh atau rosak Membuat permohonan kad pintar baru kepada MAMPU melalui laman

More information

Advanced Data Capture and Control Systems

Advanced Data Capture and Control Systems Tronisoft Limited Email: [email protected] Web: www.tronisoft.com RS232 To 3.3V TTL User Guide RS232 to 3.3V TTL Signal Converter Modules P/N: 9651 Document

More information

Can be configured using Click Supervisor

RS-232 to Converter Click 304 The Click 304 converts half-duplex RS-232 communication to communication and vice versa. It also auto-detects baud rates and features LEDs that light up when data is successfully

More information

Red Box and Flarm interface for LX 5000 with optionally SD-card interface and IGC approved flight recorder User manual

LX Red Box and Flarm interface for LX 5000 with optionally SD-card interface and IGC approved flight recorder User manual 1 Introduction..3 2 Technical data..3 2.1 Part list..4 2.1.1 Flarm Red Box..4

More information

AVR130: Setup and Use of AVR Timers. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

AVR 8-bit Microcontrollers AVR130: Setup and Use of AVR Timers APPLICATION NOTE Introduction This application note describes how to use the different timers of the Atmel AVR. The intention of this document

More information

Smarthome SELECT Bluetooth Wireless Stereo Audio Receiver and Amplifier INTRODUCTION

Smarthome SELECT Bluetooth Wireless Stereo Audio Receiver and Amplifier INTRODUCTION The Smarthome SELECT Bluetooth Wireless Stereo Audio Receiver and Amplifier is a multi-functional compact device. It

More information

PLC INDUSTRIAL MAINTENANCE CERTIFICATE

PLC INDUSTRIAL MAINTENANCE CERTIFICATE PLC Troubleshooting W-40660-BA-01 Introduction to Programmable Controllers PLCs W-40660-BA-02 Basic PLC Programming PLCs W-40660-BA-03 PLC Motor Control PLCs W-40660-BA-04

More information

16-Port RS232 to USB2.0 High Speed Multi Serial Adapter (w/ Metal Case) Installation Guide

16-Port RS232 to USB2.0 High Speed Multi Serial Adapter (w/ Metal Case) Installation Guide 1. Introduction Thank you for purchasing this 16-Port RS232 to USB2.0 High Speed Multi Serial Adapter. It is an

More information

Software Installation and Printer Setup

Software Installation and Printer Setup The B9Creator software currently supports 3 operating system variants: Microsoft Windows, OS X, and 64bit Linux. Throughout this guide we will be using windows as

More information

BLD04A Brushless DC Motor Driver

BLD04A Brushless DC Motor Driver User s Manual V1.0 MARCH 2010 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded

More information

Serial Communication Cards

Serial Communication Cards 11 Serial Communication Card Selection Guide 11-2 PCI & Universal Communication Cards PCI-1602UP 2-port RS-422/485 Low-Profile Universal PCI Communication Card with Isolation

More information Dengan

B&K Precision 1785B, 1786B, 1787B, 1788 Power supply Python Library

B&K Precision 1785B, 1786B, 1787B, 1788 Power supply Python Library Table of Contents Introduction 2 Prerequisites 2 Why a Library is Useful 3 Using the Library from Python 6 Conventions 6 Return values

More information

Work with Arduino Hardware

1 Work with Arduino Hardware Install Support for Arduino Hardware on page 1-2 Open Block Libraries for Arduino Hardware on page 1-9 Run Model on Arduino Hardware on page 1-12 Tune and Monitor Models Running

More information
Coments are closed
Scroll to top