1 / 15

REKAYASA HARDWARE ( Relay, Microswitch, Paralel Port )

REKAYASA HARDWARE ( Relay, Microswitch, Paralel Port ). Oleh. Nahar Mardiyantoro, SKom. Relay.

eshe
Télécharger la présentation

REKAYASA HARDWARE ( Relay, Microswitch, Paralel Port )

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. REKAYASA HARDWARE( Relay, Microswitch, Paralel Port ) Oleh. Nahar Mardiyantoro, SKom

  2. Relay Pengendalian sederhana dalam bidang elektronika dapat dilakukan oleh suatu komponen yang bernama sakelar. Secara fisik, sakelar hanya terdiri dari 1 (satu) buah tuas dan 2 (dua) buah pin atau lebih yang berfungsi sebagai tempat pemasanganan kabel penghubung.

  3. Relay Secara fisik, relay terdiri dari 1 (satu) buah lilitan kawat atau disebut juga koil dan beberapa bahan ferromagnetic yang berupa lempeng logam tipis sebagai penghubung

  4. Relay Prinsip kerja dari komponen relay adalah dengan memanfaatkan gaya magnet yang ditimbulkan oleh arus listrik pada koil

  5. Relay Switch NO Coil Switch NC

  6. Parallel Port Parallel Port dapat mentransfer data keluar maupun ke dalam CPU dengan kecepatan rendah, sehingga dibutuhkan channel yang dapat melayani kerja dari Port, yaitu Multiplexor. Cara kerja Multiplexor disebut Multiplexmode atau Byte mode, karena pengiriman data ke input bufferstorage dan ke Output unit dengan cara byte per byte.

  7. Parallel Port Paralel port mempunyai pin konektor sebanyak 25 buah pin, yang diantara pin konektor tersebut dapat mengeluarkan bahkan menerima masukan tegangan sebesar 4,7 volt dengan arus 10mA dan resistansi 470 ohm

  8. Parallel Port

  9. Parallel Port

  10. Parallel Port

  11. Aplication Port Address LPT1= &H378 LPT2=&H278 Write Port Out Portaddress, Data Read Port Var=Inp(Portaddress)

  12. Aplication(vb) • Pengendalian Hardware Melalui Paralel Port (LPT) dengan interface visual basic 6.0 • Manfaatkan inpout32.dll • Shell procedure&function

  13. Aplication (vb) Tuliskan kedalam module Public Declare Function Inp Lib "inpout32.dll" Alias "Inp32" (ByVal PortAddress As Integer) As Integer Public Declare Sub Out Lib "inpout32.dll" Alias "Out32" (ByVal PortAddress As Integer, ByVal Value As Integer)

  14. Aplication (C) #include <conio.h> #include <iostraem.h> #define PORTDATA 0X378 main(){ unsigned int data; do{ cout << “ Port Data Tujuan = "; cin >> data; outportb(PORTDATA,0XFF-data); } while (data<255) }

  15. Aplication (Pascal) uses wincrt; const PORTDATA = $378; var data:byte; begin repeat write('Masukan Data = '); readln(data); port[PORTDATA]:=data; until (data=255); end.

More Related