Anda di halaman 1dari 5

Membuat Female-to-female DB9 Serial Crossover Cable

6 March 2008 by agungsep

Saya membutuhkan female-to-female serial crossover cable untuk keperluan tugas akhir, namun di toko2 tidak ada yang menjual kabel semacam itu. Toko2 biasanya hanya menjual male-to-female serial straight cable. Terpaksa saya membuat sendiri kabel serial crossovernya dengan cara memodif dari kabel male-to-female serial straight cable + konverter male-to-female menjadi serial crossover cable . Sebenernya bisa juga saya bikin kabel sendiri. Beli kabelnya, beli socket DB9 nya, dan beli cover socketnya. Tapi saya males menyoldernya di tiap socketnya. Jadi rencananya, saya akan menggunting putus kabel yang straight. Lalu saya sambung ulang dari tiap-tiap kabel sesuai konfigurasi, sehingga bisa didapat kabel yang crossover. Setelah kabel digunting, terlihat 10 kabel berbeda warna. Assignment dari tiap2 pin adalah sebagai berikut: Pin 1 Orange Pin 2 Hijau Pin 3 Hitam Pin 4 Putih Pin 5 Ungu Pin 6 Coklat Pin 7 Biru Pin 8 Merah Pin 9 Kuning Ground Abu-abu Untuk menjadikan kabel straight tersebut menjadi kabel crossover, saya harus menyambung ulang dua kabel yang putus dengan konfigurasi sebagai berikut: pin 2 ke 3 pin 3 ke 2 pin 4 ke 6 pin 6 ke 4 pin 5 ke 5 pin 7 ke 8 pin 8 ke 7 pin 1 dan 9 tidak usah dihubungkan pin ground disambung ulang Sehingga hasilnya adalah pertukaran warna sebagai berikut:

Kabel Orange terputus Kabel Hijau >< Kabel Hitam Kabel Hitam >< Kabel Hijau Kabel Putih >< Kabel Coklat Kabel Ungu >< Kabel Ungu Kabel Coklat >< Kabel Putih Kabel Biru >< Kabel Merah Kabel Merah >< Kabel Biru Kabel Kuning terputus Kabel Abu-abu >< Abu-abu Hasil kabel yang saya buat adalah sebagai berikut

Ada juga konfigurasi yang saya dapet dari internet kalo pin 1 orange itu disambung dengan pin 7 seperti gambar di bawah ini

Tapi kalo menurut teman saya, pin 1 dan pin 9 itu memang tidak digunakan. Temanku itu pun sampai sekarang menggunakan kabel serial yang pin 1 orange nya diputus untuk mengerjakan TA nya. Selamat berkarya

DB9 SERIAL (RS232) PORT. PINOUT AND SIGNALS FOR THE PC RS232 CONNECTOR

DB9 pin D-SUB male

Pin 1 2 CD

Name

Direction Carrier Detect

Description

RXD

Receive Data

TXD

Transmit Data

DTR

Data Terminal Ready

GND

System Ground

DSR

Data Set Ready

RTS

Request to Send

CTS

Clear to Send

RI

Ring Indicator

Null modem with full handshaking


The m s expens e null m em c le is the null m em c le suitable for full handshaking. In this null modem cable, seven wires are present. Only the ring indicator RI and carrier detect CD signal are not linked. The cable is shown in the following figure.
Null modem with full handshaking

Connector 1 2 3 4 5 6 7 8

Connector 2 3 2 6 5 4 8 7 Rx Tx

DTR

Signal ground DSR RTS CTS DTR CTS RTS

Compatibility issues The null modem cable with full handshaking does not permit the older way of flow control to take place. The main incompatibility is the cross connection of the RTS and CTS pins. Originally, these pins are used for a question/answer type of flow control. When the full handshaking null modem cable is used, there is no request anymore. The lines are purely used for telling the other side if communication is possible. The main advantage of this cable is, that there are two signalling lines in each direction. Both the RTS and DTR outputs can be used to send flow control information to the other device. This makes it possible to achieve very high communication speeds with this type of null modem cable, provided that the software has been designed for it. Because of the high possible connection speed, this null modem cable can be used with Interlink to connect two MS-DOS PC's. This is the type of cable Microsoft recommends for the direct cable connection in their knowledge base article. For theDB9 connector they also added a connection of DTR to CD on each connector but they didn't define this connection for the DB25 connector version and they also didn't mention the CD input in the descriptive text, so it is safe to leave theCD input disconnected.

Function Tx Rx DSR

Anda mungkin juga menyukai