Solved

DB9 RS 232 Pinouts and how to make up  a usb to DB9 serial cable

Posted on 2016-09-12
3
124 Views
Last Modified: 2016-09-20
I have a factory machine with a digital motor on it.  In order to configure it I need to connect via the DB9 Serial interface  that is attached to the drive. The documentation that came with the drive displays the pin assignments in a manner that  I am not familiar with.  I am also not sure how to make up a male usb to male  DB9 cable.

Pin assignments

Pin 1 -        IN 1+
Pin 2-         IN 2+
Pin 3-         OUT 1-, OUT 2-
Pin 4-         OUT 1+
Pin 5-         OUT 2+
Pin 6-         IN 1-
Pin 7-         IN 2-
Pin 8-         OUT 1-, OUT 2-
Pin 9-         OUT 1-, OUT 2-

I would appreciate any advice that I can get.

Thanks
0
Comment
Question by:rabpwh1000
3 Comments
 
LVL 92

Expert Comment

by:John Hurst
ID: 41794409
Making the USB plug manually is not normally done (very picky). Standard USB Male to DB9 Male are readily available in most any electronics store.

Check Staples, Best Buy, Tiger Direct, Amazon or like and purchase the cable you need. They are very inexpensive.
0
 
LVL 35

Expert Comment

by:Kimputer
ID: 41794410
For serial to USB, you don't go soldering things yourself, you'll blow up the system. Just buy a proper Serial>USB converter. A bigger name is: https://www.startech.com/eu/Cards-Adapters/Serial-Cards-Adapters/USB-to-RS232-Serial-Adapter-Cable~ICUSB232V2

There are electronics involved, it's not a 1 on 1 pin layout.
0
 
LVL 20

Accepted Solution

by:
CompProbSolv earned 500 total points
ID: 41794604
Those pin assignments seem rather odd.  Does the manufacturer claim that it is RS-232 or are you assuming that from the connector type?

If it truly is RS-232 and you don't have such an interface on your computer, there are two options.  Kimputer suggested the first one, a USB-Serial cable/adapter.  If you go that route, make sure that there are software drivers for your version of Windows.  I believe that there were issues with some chips used in those adapters when trying to run on Windows 8 or 10.

Depending on how the software communicates with the serial port, the adapter cable may not work.  If it uses Windows for the communication (more "modern" method) then there should be no problem.  If it tries to talk to the hardware at a lower level (older methods) then the adapter cable may not work.

An alternative is to add a physical serial port to the system with a card such as: https://www.amazon.com/StarTech-com-Native-Express-Adapter-PEX1S952/dp/B001H3CW64/ref=sr_1_3?ie=UTF8&qid=1473699274&sr=8-3&keywords=pci+express+serial+port+card .  There are many others from which to choose, this is just one example.

If you go with the card, make sure that it is appropriate for the expansion bus in the computer (this one is PCI-e), that it supports your version of Windows, and is the proper height (full-height or low-profile).

The card should be more likely to work with your software, but it will be more expensive and difficult to install as you'll have to open up the computer.
0

Featured Post

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows doesn't download updates 26 93
laptop screen glitch deffected 8 61
Best RAM for a PC 4 52
Making a PC to access Bluetoothe devices 2 50
In this article you will get to know about pros and cons of storage drives HDD, SSD and SSHD.
This is about my first experience with programming Arduino.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now