Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » RS232C wiring

This thread is locked; no one can reply to it. rss feed Print
RS232C wiring
Neil Walker
Member #210
April 2000
avatar

Hello,
I've got a device (a vinyl cutting/plotter) that has a 9 pin serial port and according to the blurb it a standard serial RS-232 and it provides the following pin-outs. I've checked a few websites and this doesn't seem to match, e.g. pin 1 is ground but they have it as RTS? Anyone shed any light on this as I'd rather just buy one but have no idea if what I'm buying will be right. I'm wondering if they've put '1' when they meant '7' as this is a chinese to english translated document?

{"name":"604109","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/a\/da680c83106a53cb478067448a2b3b5d.png","w":766,"h":428,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/a\/da680c83106a53cb478067448a2b3b5d"}604109

Neil.
MAME Cabinet Blog / AXL LIBRARY (a games framework) / AXL Documentation and Tutorial

wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie

Don Freeman
Member #5,110
October 2004
avatar

Pin 1 and pin 7 are both grounds. ;) Explains it. If it's a 9-pin connection, use this.

--
"Everyone tells me I should forget about you, you don’t deserve me. They’re right, you don’t deserve me, but I deserve you."
"It’s so simple to be wise. Just think of something stupid to say and then don’t say it."

Neil Walker
Member #210
April 2000
avatar

That diagram only has one end (and 7 is only ground in 25 pin, I've got 9 at both ends). I know what the pins are, I just cannot figure out what they are doing in the diagram I showed (which is from the manual) as this isn't a cross-over but neither is it straight through.

Neil.
MAME Cabinet Blog / AXL LIBRARY (a games framework) / AXL Documentation and Tutorial

wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie

Don Freeman
Member #5,110
October 2004
avatar

It is clearly a db9 layout. I would match the signal name to those on the db9 pinout i gave you. I wouldn't go by their diagram directly. They have the TX data and RX data backwards as well. I would imagine that you are correct in assuming pins 7 and 1 are miss labeled. ;) You don't have a cable for it laying around that you could "modify" or dissect?

--
"Everyone tells me I should forget about you, you don’t deserve me. They’re right, you don’t deserve me, but I deserve you."
"It’s so simple to be wise. Just think of something stupid to say and then don’t say it."

Dizzy Egg
Member #10,824
March 2009
avatar

I use a lot of RS232 in my j0rb, and usually pins 2-3 are crossed, with 5 straight through as ground; null-modem stylee, don't know if that helps though.

----------------------------------------------------
Please check out my songs:
https://soundcloud.com/dont-rob-the-machina

Thomas Fjellstrom
Member #476
June 2000
avatar

you never really know with some serial devices, they may have intentionally swapped some pins. My ups is like that, nut cant understand the ups at all without modifying a cable, and even then it still cant communicat reliably.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Neil Walker
Member #210
April 2000
avatar

Well, I found a M-F 9 9-pin cable in a drawer at work, which had probably been there for 10 years, never checked the pin-outs and after plugging it in the device worked perfectly on COM1 :)

So essentially I suspect the USB-Serial device driver just sucked.

Neil.
MAME Cabinet Blog / AXL LIBRARY (a games framework) / AXL Documentation and Tutorial

wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie

Go to: