DT-Sense Application Note

dokumen-dokumen yang mirip
PC-Link. Gambar 1 Blok Diagram AN201. AGND (J3 pin 1) Pin 1 VCC (J3 pin 2) Pin 3 Dapat dipilih salah satu dari A0 s.d. A7 (J3 pin 3 s.d.

PC-Link. PC-Link. Application Note AN202

PC-Link. 1x Komputer / Laptop dengan OS Windows 2000, Windows XP atau yang lebih tinggi. Gambar 1 Blok Diagram AN200

SPC Application Note. SPC Blue-Link (J2) Tabel 1 Hubungan SPC Blue-Link Dengan Komputer

DT-I/O. Application Note AN211. Komunikasi data saat ini terus dikembangkan dan diimplementasikan di dalam setiap bidang, seperti proses

DT-I/O. I/O Application Notes AN164 Komunikasi Jarak Jauh antara 2 PC dengan RS-485. Application Note AN164

DT-I/O DT-I/O. Application Note AN171

DT-Sense Current Sensor With OpAmp Gambar 1 Blok Diagram AN212

DHT11 Temperature and Humidity Sensor Board Gambar 1 Blok Diagram AN196. 5V (Power) GND (Power)

Gambar 1 Blok Diagram AN190. P1.0 (J3 pin 3) IN1 (J1 pin3) Tabel 1 Hubungan antar PC-Link Serial PPI dan DT-I/O Quad Relay Board12V

Gambar 1 Blok Diagram AN190. P1.0 (J3 pin 3) IN1 (J1 pin3) Tabel 1 Hubungan antar PC-Link Serial PPI dan DT-I/O Quad Relay Board12V

SPC Application Note. SPC IR Transceiver. Gambar 1 Blok Diagram AN159. RX (PORTD.0 J13 pin3 / J4 pin2)

DT-BASIC Application Note

DT-SENSE Application Note

PC-Link Application Note

DT-AVR. Application Note AN214

DT-AVR Application Note AN191 SMS Gateway dengan GSM STARTER KIT

WIZnet. Application Note AN178 Wireless IP Printer 1 Oleh : Tim IE

DT-I/O. DT-I/O Application Note

DT-BASIC Application Note

PC-Link Application Note

WIZnet. Application Note AN179 Wireless IP Printer 2 Oleh : Tim IE

DT-PROTO Application Note AN219 Kontrol Lampu Secara Nirkabel berbasiskan Smarphone Android dan

DT-AVR. Application Note AN213

Starter Kit Application Note AN165 - Update Tampilan Character LCD Berbasis USB Flash Disk

EMS Application Note. 1x Kabel USB 1x Komputer (Memiliki wireless adapter, serta wireless network melalui router atau program Connectify)

DT-AVR Application Note

DT-AVR Application Note. Gambar 1 Blok Diagram AN133

DT-AVR Application Note

AVR Application Note AN187 Monitoring Suhu Nirkabel (Bahasa C)

DT-AVR Low Cost Micro System. Gambar 1 Blok Diagram AN154. RXD (J13 Pin 3) TXD (J8 Pin 4) GND (J10/J11/J12/J13 Pin 1) GND (J7/J8 Pin 1)

DT-AVR DT-AVR Application Note

DT-AVR Application Note

DT-AVR Application Note

DT-SENSE. Temperature Sensor

DT-51 Application Note

DT Series Application Note

DT-AVR Application Note

DT-AVR Low Cost Nano System. Gambar 1 Blok Diagram Remote TV Berbasis ATtiny2313. DT-I/O I/O Logic Tester

SPC SPC. SPC Application Note AN175 Bluetooth Mobile Robot. Application Note AN175

DT-IO Application Note

DT-AVR Application Note

STARTER KIT Application Note AN162 Web Scrapping Dengan GSM STARTER KIT

DT-AVR Application Note Monitoring Suhu Nirkabel (Bahasa BASIC)

Gambar 1 Blok Diagram AN217. DT-AVR Maxiduino DT-Proto Header Shield DT-I/O Level Converter

AVR Application Note AN95 Wireless Chatting with PC

PC-Link Application Note

Gambar 1 Diagram Blok AN215. DT-AVR Maxiduino DT-Proto Header Shield DT-I/O Level Converter

DT-SENSE Application Note AN168 Color Game. Gambar 1 Blok Diagram AN168

PC-Link Application Note

de KITS Application Note AN51 How 2 Use de KITS SPC Character LCD w/ PC

DT-AVR. Application Note AN192 - Web Based Temperature Monitoring System Oleh : Tim IE

SPC SPC. SPC Application Note AN181 - SPC for Hexapod Robot

DT-51 Application Note

SPC Application Note

DT-ARM Application Note. AN221 Web Server I/O Remote

DT-I/O DT-I/O. Application Note. Application Note AN193

DT-AVR Application Note

STARTER KIT Application Note AN157 Browsing Internet Via GSM STARTER KIT

DT-51 Application Note

DT-AVR Application Note

DT-BASIC Mini System. Gambar 1 Blok Diagram AN132

DT-SENSE Application Note

DT-AVR. Gambar 1 Blok Diagram AN177

DT-SENSE. Temperature & Humidity Sensor

DT-AVR DT-AVR ApplicationNote

DT-SENSE Color Sensor Q uick S tart

How2Use DT-51 AT89C51XXX BMS. Oleh: Tim IE. Gambar 1 Tata Letak DT-51 AT89C51XXX BMS

DT-AVR Application Note

DT-AVR. AVR Application Note AN160 Graphic LCD Dengan Bahasa C. Application Note AN160

BAB III METODOLOGI PENELITIAN

asic Application Note AN97 BASIC Chatting

DT-AVR. DT-AVR Application Note AN207 Library USB Controller untuk Komunikasi Serial pada DT-AVR Inoduino

BAB III DESKRIPSI DAN PERANCANGAN SISTEM

DT-SENSE. Humidity Sensor

BAB III PERENCANAAN DAN PEMBUATAN ALAT

DT-SENSE. Barometric Pressure & Temperature Sensor

DT-AVR. DT-AVR Application Note AN208 Library USB Controller untuk Komunikasi Paralel pada DT-AVR Inoduino

DT-SENSE. IR Proximity Detector

DT-AVR. DT-AVR Application Note AN209 Library USB Controller with SPI Communication based DT-AVR Inoduino

DT-BASIC Application Note

DT-AVR Low Cost Nano. System. Gambar 1 Blok Diagram AN153. RXD TXD (J8 Pin 4) GND GND (J8 Pin 1)

DT-SENSE. Color Sensor

BAB III PERANCANGAN SISTEM

Application Note. Adapun blok diagram secara keseluruhan adalah sebagai berikut: AN156 Touch Screen Panel Graphic LCD 320 x 240

DT-BASIC Application Note

DT-51 Application Note

de KITS Application Note AN47 Traffic Light Controller

DT-AVR DT-AVR. Application Note AN203

SureLink A. Gambar 1 Blok Diagram AN63

DT-SENSE. Flame Detector

PC-Link Application Note

1 Pendahuluan Spesifikasi Sistem yang Dianjurkan... 3

DT-51 Application Note

DT-SENSE. Photoreflector

DT-SENSE. UltraSonic Ranger (USR)

DT-ARM DT-ARM Application Note

BAB III PERANCANGAN SISTEM

BAB III PERANCANGAN SISTEM. 3.1 Pengantar Perancangan Sistem Pengendalian Lampu Pada Lapangan Bulu

de KITS Application Note AN34 Jam Pasir Digital

Transkripsi:

DT-Sense DT-Sense Application ote A182 GUI DT-Sense Temperature Oleh : Tim IE Aplikasi ini akan membahas program GUI untuk DT-Sense Temperature agar modul ini dapat dengan mudah dikendalikan melalui sebuah PC dengan menggunakan antarmuka UART TTL. Program ini dikembangkan dengan menggunakan Visual Basic 6 dan tambahan komponen mscomm. Sebagai jembatan antara PC dengan DT- Sense Temperature (yang hanya memiliki antarmuka UART TTL dan I2C), maka diperlukan rangkaian tambahan yang berfungsi sebagai converter antara logika sinyal TTL ke RS-232 ataupun sebaliknya. Aplikasi ini memerlukan modul/komponen sebagai berikut : PC (memiliki COM Port ) / otebook (menggunakan USB to Serial) DT-Sense Temperature MAX232 Kapasitor 1uF/16V (x5) PCB Lubang Kabel jumper dan konektor seperlunya Converter RS-232 to TTL Gambar 1 Blok Diagram A182 Hubungan antar modul adalah sebagai berikut : PC Converter RS-232 to TTL Tx (Com port pin 3) Rx (Max232 pin 13 / 8) Rx (Com port pin2) Tx (Max232 pin 14 / 7) GD (Com port pin GD (Max232 pin 15) ) Tabel 1 Koneksi antara COM Port PC dengan Converter RS-232 to TTL Page 1 of 5

Converter RS-232 to TTL DT-Sense Temperature Tx (Max 232 pin 11 / 10) Tx TTL (J1 pin 4) Rx (Max 232 pin 12 / 9) Rx TTL (J1 pin 3) Vcc (Max 232 pin 16) Vcc (J5 pin 1) Gnd (Max 232 pin 15) Gnd (J5 pin 5) Tabel 2 Koneksi antara Converter RS-232 to TTL dengan DT-Sense Temperature Berikut ini adalah rangkaian Converter RS-232 to TTL Gambar 2 Rangkaian Conveter RS-232 to TTL Setelah semua koneksi harware terhubung dengan benar, berikan catu daya pada modul DT-Sense Temperature sebesar 5VDC melalui pin 2 dan pin 1 pada J1. Perhatikan polaritas catu daya. Jika polaritas catu daya terbalik maka akan menyebabkan kerusakan modul. Program ini dikembangkan dengan menggunakan bantuan Visual Basic 6 serta tambahan komponen MSComm. Tidak semua command yang dimiliki oleh modul DT-Sense Temperature diakomodasi oleh software ini. Berikut daftar command yang dapat digunakan : Page 2 of 5

Command DT-Sense Temperature READ TEMPERATURE C (00H) READ TEMPERATURE F (01H) READ TOP SETPOIT (02H) READ BOTTOM SETPOIT (03H) SET TOP SETPOIT (04H) SET BOTTOM SETPOIT (05H) SET SAMPLIG (06H) SET MODE (07H) CLEAR GPO (08H) SET GPO (09H) READ GPI (0AH) Tabel 3 Daftar command DT-Sense Temperature yang dimiliki oleh Pemilihan Com Port Membuka /menutup koneksi Mendapat nilai suhu ilai suhu Gambar 3 Mengatur set point di DT-Sense Temperature ilai pengaturan set point Membaca nilai pengaturan set point di DT-Sense Temperature Hasil pembacaan nilai pengaturan set point di DT-Sense Temperature Pengaturan sampling Gambar 3 Tampilan Pengaturan logika 1. Program ini secara otomatis akan mencari nilai ComPort yang tersedia ketikan dijalankan. Daftar ComPort dapat dilihat pada Combo Box. 2. Connect berfungsi untuk membuka atau menutup koneksi dengan modul DT-Sense Temperature. 3. Get Temp (C) berfungsi untuk membaca nilai suhu saat ini. ilai dari pembacaan suhu dapat dilihat pada TextBox dibawahnya. 4. Baca Set Point berfungsi untuk membaca nilai pengaturan set point di dalam modul DT-Sense Temperature yang telah ditentukan sebelumnya. Hal pembacaan dapat dilihat pada TextBox dibawah 5. Pengaturan Set Point berfungsi untuk mengatur nilai set point dari modul DT-Sense Temperature. ilai set point yang akan dikirimkan ke modul dapat diisikan pada TextBox yang berada dibawah 6. Pengaturan Sampling berfungsi untuk mengatur sampling pembacaan sensor. 7. Terdapat 2 pilihan logika kerja, yaitu ormal Logic dan Reverse Logic. Perbedaan logika ini dapat dilihat pada manual DT-Sense Temperature. Page 3 of 5

START Mencari ComPort yang tersedia Connect ditekan? Get Temp dan Baca Set Point ditekan? Pengaturan Set Point, Pengaturan Sampling dan pengaturan menu reverse atau normal Kirimkan parameter dan tunggu balasan data Kirimkan parameter Disconnect ditekan? Gambar 4 Alur program software DT-Sense Temp Penjelasan singkat alur program software DT-Sense Temp : 1. Ketika program dijalankan maka akan secara otomatis mencari ComPort yang tersedia di PC. Hasil dari pencarian tersebut akan ditampilkan di ComboBox. 2. Connect ditekan, maka program akan membukan koneksi dengan modul DT-Sense Temperature. 3. Get Temp ditekan, maka program akan mengirimkan kode 00H ke DT-Sense Temperature. Setelah mengirimkan kode tersebut, maka progam akan menunggu jawaban dari modul DT-Sense Page 4 of 5

Temperature. Hasil jawaban dari modul sensor akan ditampilkan di Textbox yang terletak di bawah 4. Baca Set Point ditekan, maka program akan mengirimkan kode 02H dan kode 03H ke DT-Sense Temperature. Setelah mengirimkan kode tersebut, maka progam akan menunggu jawaban dari modul DT-Sense Temperature. Hasil jawaban dari modul sensor akan ditampilkan di Textbox yang terletak di bawah 5. Pengaturan Set Point ditekan, maka program akan mengirimkan kode 04H dan kode 05H dan disertai dengan parameter yang telah ditentukan. Kemudian data tersebut dikirimkan ke DT-Sense Temperature. 6. Pengaturan Sampling ditekan, maka program akan mengirimkan kode 06H dan disertai dengan parameter yang telah ditentukan. Kemudian data tersebut dikirimkan ke DT-Sense Temperature. 7. Memilih menu ormal, maka program akan mengirimkan kode 07H dan disertai dengan parameter 00H. Kemudian data tersebut dikirimkan ke DT-Sense Temperature. 8. Memilih menu Reverse, maka program akan mengirimkan kode 07H dan disertai dengan parameter 01H Kemudian data tersebut dikirimkan ke DT-Sense Temperature. Aplikasi program ini terdapat dalam A182.zip Selamat berinovasi! All trademarks, company names, product names and trade names are the property of their respective owners. All softwares are copyright by their respective creators and/or software publishers. Page 5 of 5