Making a DB to RJ45 adapter.



Similar documents
RS-232 COMMUNICATIONS

Cable Pinouts. SRP I/O Module

Connectors and Cables

RJ45 Shielded (standard) port pinout. CS9000, Jetstream , Lanstream 2000, RTA8/RJX, RRC16, MTA8/RJX & SXDC8/RJX

Encore Controller to Router Connections

Cable Specifications and Information

Connector and Cable Specifications

Cable Specifications and Information

Connector and Cable Specifications

Comtrol Cable User Guide

Cabling Guide for Console and AUX Ports

Cable Specifications. T3 Trunk Cabling APPENDIX

Cable Specifications

Cable Guide. Click on the subject to view the information. Digi Cables Building Cables General Cable Information

RJ11 RS-232 Interface

Serial Cables & Adapters

Hardware Reference. Linux Device Server IGW/922 with DIL/NetPC ADNP/9200

Cable Guide Including all PortServer TS, Digi Connect, and Digi One Products

Application Note 2. Using the TCPDIAL & TCPPERM Commands to Connect Two TransPort router Serial Interfaces Over TCP/IP.

Connecting the Console Port to a PC

Data Bulletin. Communications Wiring for POWERLINK G3 Systems Class 1210 ABOUT THIS BULLETIN APPLICATION INTRODUCTION.

Cable Guide For all PortServer TS, Digi Connect, and Digi One Products

Cable Guide For all PortServer TS, Digi Connect, and Digi One Products

2-Port RS232/422/485 Combo Serial to USB2.0 Adapter (w/ Metal Case and Screw Lock Mechanism) Installation Guide

LAN / WAN Connection Of Instruments with Serial Interface By Using a Terminal Server

Cisco - Ethernet 100BaseTX and 10BaseT Cables: Guidelines and Specifications

LBNP RS-232/485/422 serial device server. User manual

1.1 Connection Direct COM port connection. 1. Half duplex RS232 spy cable without handshaking

Connecting Serial Interface Cards to a Network

Hardware Installation and Configuration Guide

Using HyperTerminal with Agilent General Purpose Instruments

Frame Relay Cabling This section describes the cabling and connector pinouts for the Frame Relay cards.

Appendix A. This Appendix includes the following supplemental material:

How To Connect A Directsofl To A Powerpoint With An Acd With An Ctel With An Dm-Tel Modem On A Pc Or Ipad Or Ipa (Powerpoint) With A Powerline 2 (Powerline

PCMCIA 1 Port RS EDITION OCTOBER 1999

By4750. USB Serial Converter (RS232 RS485)

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

GM1200E Interface Cable

MDM192 MULTI-DROPS DIGITAL MODEM FOR PRIVATE LINE. USER GUIDE Document reference :

Introduction: Implementation of the MVI56-MCM module for modbus communications:

Cable Connection Procedures for Cisco 1900 Series Routers

Application Note. Terminal Server G6

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

USB TO SERIAL ADAPTER

APPLICATION NOTE. Leased Line Modem. Leased Line Modem...3. Introduction Key Concepts... 4

RS-232 Cables, Wiring and Pinouts. Brief tutorial and pinouts for RS-232, T1/E1 and V.35. Contents

IPG/7700 Hardware Manual SYSTECH. Document number Revision A

Application Note 83 Fundamentals of RS 232 Serial Communications

RS232/DB9 An RS232 to TTL Level Converter

How To Set Up A Modem (Marc) Model (Marc) Model 2 (Marr) Model 1 (Marm) Model 4 (Mariar) Model 8 (Marp) Model 6 (Mar

isco Connecting Routers Back to Back Through the AUX P

GARMIN GPS to PC Wiring Instructions

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: / 97 / 98 (M)

VSCOM USB PRO Series Industrial I/O Adapters

IMMS-CCC. IMMS-CCC Hardwire Central Interface. Installation Instructions

RouterBOARD minirouter

One Port Serial Server Users Manual Model ESP901, ESP901E

Table of Contents. Page Number. PLC Connections 1 Cable Solutions for Omron PLCs 11 Cable Solutions for Multi-Vendor PLCs 15

Module Connectors and Cable Specifications

XPort Universal Demo Board User Guide

Connector and Cable Diagrams (Pinout Charts)

2-port RS-232 High Speed Low Profile Universal PCI Serial Board

USB to serial chip CH340

An0067. Cable-set Reference Guide. Rev December ETH_An0067_USM

Cabling Specifications

Why you need to monitor serial communication?

Using a Laptop Computer with a USB or Serial Port Adapter to Communicate With the Eagle System

Dial-Up / Leased-Line Modem. User Manual. AGM Electronics, Inc Dial-Up / Leased-Line Modem, Series ( ) Manual Rev A + - DLM CTS RTS DTR DSR

M2M 3350 GSM/GPRS Modem User s Manual & Reference Guide Revision 1 June 2007

Bluetooth Serial Adapter

DEX28-VR3P Quick Installation Guide

Analog Video Connections Which Should I Use and Why?

RS-232/422/485, Power over Ethernet

Professional USB to Serial Adapter Hub with COM Retention

How To Use A Sunix Ser5037A Card On A Pc Or Mac Or Mac With A Microsoft Powerbook (Powerbook) With A Powercard (Powercard) And Powercard With A Mini Usb (Powerboard) With An

IP SERIAL DEVICE SERVER

Advanced Data Capture and Control Systems

maxon motor maxon motor control EPOS Positioning Controller Cable Starting Set Edition June 2006 part number Positioning Controller

Bluetooth to Serial Adapter

ViZion Installation Guide

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

RS-232 to TTL Converter Cables SuperDroid Robots

Connecting Hosts and Routers

Date Rev. Details Author

SEC 4100 SYSTEM MONITOR Programmable Serial Interface Card Series 2

1 Port FTDI USB to RS232 Null Modem Adapter

RouterBOARD 435G. Copyright and Warranty Information

Programming and Using the Courier V.Everything Modem for Remote Operation of DDF6000

Manual Serial PCI Cards

How to connect to a Class II router using a mobile-phone data cable specifically for Solwise & Safecom routers

DT105X / PB105 Series

The Analyst RS422/RS232 Tester. With. VTR, Monitor, and Data Logging Option (LOG2) User Manual

Teleservice via RS232 interface XC100/XC200

Omron I/O Driver (Series 2) Programmable Serial Interface Card

WxGoos-1 Climate Monitor Installation Instructions Page 1. Connections. Setting an IP Address

Sentry. Remote Power Manager. Installation and Setup Manual

When we look at the connector pinout of the RS232 port, we see two pins which are certainly used

Modbus Communications for PanelView Terminals

How to setup a serial Bluetooth adapter Master Guide

USB-to-Serial RS-232 Hub USB-to-Serial RS-422/485 Hub USER MANUAL UC2322 / UC2324 / UC4852 / UC4854

Transcription:

Making a DB to RJ45 adapter. DB9 to RJ45 adapters are often used in combination with a RS232 repeater for extending the distance of a serial RS232 link, but can be used for any adapter or converter purposes. Standard Pinouts. The standard formerly known as RS-232 or RS232 became EIA-232 then TIA-232. Most of the world still calls it RS232 but many names are used. RS-232D or EIA-561 defines the pin assignments for using RS-232 with RJ45 connectors. For an RJ45 male connector, the one you ll find at both ends of a Cat6 cable, pin 1 is the left most pin when you look at the connector with the tab up and the cable going away from you. It s easier to buzz out a cable with the tab down, in which case pin 1 is on the right, thus leading to a lot of potential confusion. For the DB9 female connector pin 1 is the top right and pin 6 is the bottom right when you look at the connector with the cable going away from you and the side with five pins on top. At this point it s probably good to mention that you only need three lines to have a functional cable. You ll need RD, TD and ground. All the other lines are used by software to control data. The three critical lines are handled by hardware. But most of us don t write the software at both ends, so it may wait forever for a signal transition that will never happen. Cisco RJ45 to DB9 Serial Console Pinout If you re familiar with Cisco routers then you ve seen the RJ45 serial console connector they use, and the light blue RJ45 to DB9 cable. This does NOT follow the EIA-561 standard. RJ45 DB9 Abbreviation Description 1 8 CTS Clear To Send 2 6 DSR Data Set Ready 3 2 RD Received Data Ground 5 5 GND Ground 6 3 TD Transmit Data 7 4 DTR Data Terminal Ready 8 7 RTS Request To Send Cisco RJ45 to DB9 Serial Console Cable

This cable works fine with minicom or HyperTerm because the Cisco hardware and software handles it. It's certainly possible to wire your RJ45/DB9 connectors following this pinout. If you do, please mark the connector clearly so the rest of us won't assume it's an RS-232D or EIA/TIA-561 pinout. The only potential problem with this is that DB9 pin 1 for Carrier Detect (CD) is missing. Normally we would see pin 1 and pin 6 (CD and DSR) connected to the DTR output from the far end. But as I can attest, the cable works. And I've buzzed out the cable to confirm that pin 1 and pin 9 are not connected to anything. Cisco uses two lines for ground to reduce crosstalk, which could be a benefit on especially long runs of cable. RS-232 DB9 Pinout There are two types of DB9 pinouts. One for a straight connection, such as used with a modem, and one for a cross-over or null modem connection. As we're interested in a serial console cable we'll focus on the cross-over or null modem connection. But it's instructive to have the straight connection described. DB9 Abbreviation Description 1 CD or DCD Data Carrier Detect 2 RD or RxD Received Data 3 TD or TxD Transmit Data 4 DTR Data Terminal Ready 5 GND or SG Signal Ground 6 DSR Data Set Ready 7 RTS Request To Send 8 CTS Clear To Send 9 RI Ring Indicator DB9 Serial Cable Now let's see what the null modem pinout looks like. Note that pin 9 is not used on either end. Signal Left DB9 Right DB9 Signal CD + DSR 1 + 6 4 DTR RD 2 3 TD TD 3 2 RD DTR 4 1 + 6 CD + DSR GND 5 5 GND DSR + CD 6 + 1 4 DTR RTS 7 8 CTS CTS 8 7 RTS RI 9 - - DB9 Serial Null Modem Cable

RS-232D EIA/TIA-561 RJ45 Pinout For quick reference, here's the table version. RJ Abbreviation Description 45 1 DSR/RI Data Set Ready/Ring Indicator 2 CD or DCD Data Carrier Detect 3 DTR Data Terminal Ready 4 GND or SG Signal Ground 5 RD or RxD Received Data 6 TD or TxD Transmitted Data 7 CTS Clear To Send 8 RTS Request To Send RJ45 Serial Cable Making it work. Okay, so we have the pinouts and its just a matter of making it work. First the obvious comment, if we wire two connectors as null-modem and put one on each end we've just made a straight though connection. To avoid this issue, establish a consistent policy of always using the null-modem RJ45-DB9 connector shell at the server or the workstation. It makes sense to me for the null-modem shell to be in the server closet, but you may decide otherwise. For each cable we'll need one straight connection following the RS-232D pinout in the table above, and one cross-over or null modem connection following the pinout in the table below. Remember, each connection needs one of each. When complete you should be able to plug a short Cat6 cable between the two connector shells and buzz it out. The results should match the DB9 null modem table listed earlier. 1 6 DSR 2 1 CD 3 4 DTR 5 2 RD 6 3 TD 7 8 CTS 8 7 RTS RJ45 to DB9 Straight 1 4 DTR 2 4 DTR 3 6 + 1 DSR + CD 5 3 TD 6 2 RD 7 7 RTS 8 8 CTS RJ45 to DB9 Crossover

Start with the straight connector. Make one of these for each serial console you'll use and test it by buzzing it out. Now we get to the hard part. You'll observe that our crossover shell needs to have RJ45 pins 1 and 2 connected to DB9 pin 4, and RJ45 pin 3 connected to DB9 pins 6 and 1. Each connector shell comes with the eight RJ45 pins already wired to a separate DB9 pin which you can push into any of the provided DB9 connector holes. Great for a straight though connection, but not so great for the crossover. We'll need to make some changes. Connecting both RJ45 pins 1 and 2 to DB9 pin 4 is easy. Clip the wire for one of these two, strip some of the insulation off, and wrap it around the other DB9 pin. Connecting both DB9 pins 6 and 1 to RJ45 pin 3 is also easy. Clip the wire for one of these two, strip some of the insulation off, and wrap it around the other DB9 pin. The astute will note we have a potential disaster here. Let's say we clip the wire from RJ45 pin 1 as close to the DB9 pin as possible, strip it a bit, then wrap it around the DB9 pin connected to RJ45 pin 2. It's going to be a little shorter, but will probably work. Now let's move onto the next tie. We need to take our clipped DB9 pin and connect it to the DB9 pin attached to RJ45 pin 3. But we have even less room to work on this and no wire. The correct solution is to start with some additional wire, as near the same gauge as the others, and make the clip about 1/4" from the end of the DB9 pin. You'll need this extra wire because when you push the DB9 pin into the hole none of the brass pin remains visible. But go back to that Cisco cable pinout. They ignore the CD signal and their cable works just fine. So for the easy solution that avoids clipping, stripping and soldering maybe we can just ignore CD as well. RJ45 Wire Color DB9 Straight DB9 Crossover Pin 1 Blue 6 4 2 Orange 1-3 Black 4 6 4 Red 5 5 5 Green 2 3 6 Yellow 3 2 7 Brown 8 7 8 Grey 7 8 RJ45 to DB9 Pinouts Well, that's a lot easier. It's not standard, and it may fail in strange ways, but if it works for us then we're okay with that. Note that the previous caveat about clearly marking non-standard cables still applies. Make sure anyone looking at this connector knows something odd has been done to it.

Instructions. Using the standard parts you can follow the color coded guide below. If you buy another RJ45 to DB9 connector you'll need to buzz out the wires. 1 4 DTR 2 - Not Used 3 6 DSR 5 3 TD 6 2 RD 7 7 RTS 8 8 CTS RJ45 to DB9 Cheater Crossover You'll need one straight and one crossover connector for each Cat6 cable. It doesn't matter which one goes on which end.