R
rbenward@verizon.net
Sun, Dec 29, 2024 10:09 PM
Hi All,
This is a general question regarding RS232 ports, DTE, vs DCE, and DE9, vs
DB25.
Some background:
It has been common to refer to a computer as a DTE device, and a modem as a
DCE device. Many peripherals were also DTE. A DE9 serial DTE port on a
computer used male pins. A 9pin female was generally a DCE device, AKA a
modem. Often, the DCE end used a DB25 connector. This is from the days we
used plain terminals and modems. These connections required a straight
through cable, female pins on one side and male pins on the other (for the
same size connector). A male to male or female to female generally
indicated NULL "modem" cable. Null cables are required to connect a DTE to
a DTE and DCE to DCE. Gender changers are a confusing lot, as they can be a
null modem adapter or simply a male to male adapter with straight pins. To
complicate things, simply going from a DE9 DTE to a DB25 DTE, reversed pins
2&3.
So, here are my questions:
- Why does the Z3801A manual (pg1-7) call out a computer as a DCE
device, and the GPSDO as the DTE device? Common sense dictates the
opposite.
- Why is my Startech USB to RS232 adapter use MALE pins, but pin2=Tx
and pin3=Rx? The standard computer DE9 is Rx=2 and Tx=3.
I am confused to say the least. It doesn't help that DCE device the
terminology is backwards, i.e. the Tx pin is incoming data and outgoing over
the network. My Z3801A and my Z3805A both communicate with my Startech
adapter. Currently I use a null cable, then a 9pin gender changer, then a
9pin to 25 pin adapter. This adapter looks like null, with a crossover, but
the crossover is normal for a 9 to 25pin adapter. This only works if the
Startech manual is wrong. I have posted a question on their website. We
often slap cables and adapters until the stuff works, and then claim
success!
https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pd
f
https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-
aa7b6acca0d4
Any comments?
Bob
Hi All,
This is a general question regarding RS232 ports, DTE, vs DCE, and DE9, vs
DB25.
Some background:
It has been common to refer to a computer as a DTE device, and a modem as a
DCE device. Many peripherals were also DTE. A DE9 serial DTE port on a
computer used male pins. A 9pin female was generally a DCE device, AKA a
modem. Often, the DCE end used a DB25 connector. This is from the days we
used plain terminals and modems. These connections required a straight
through cable, female pins on one side and male pins on the other (for the
same size connector). A male to male or female to female generally
indicated NULL "modem" cable. Null cables are required to connect a DTE to
a DTE and DCE to DCE. Gender changers are a confusing lot, as they can be a
null modem adapter or simply a male to male adapter with straight pins. To
complicate things, simply going from a DE9 DTE to a DB25 DTE, reversed pins
2&3.
So, here are my questions:
* Why does the Z3801A manual (pg1-7) call out a computer as a DCE
device, and the GPSDO as the DTE device? Common sense dictates the
opposite.
* Why is my Startech USB to RS232 adapter use MALE pins, but pin2=Tx
and pin3=Rx? The standard computer DE9 is Rx=2 and Tx=3.
I am confused to say the least. It doesn't help that DCE device the
terminology is backwards, i.e. the Tx pin is incoming data and outgoing over
the network. My Z3801A and my Z3805A both communicate with my Startech
adapter. Currently I use a null cable, then a 9pin gender changer, then a
9pin to 25 pin adapter. This adapter looks like null, with a crossover, but
the crossover is normal for a 9 to 25pin adapter. This only works if the
Startech manual is wrong. I have posted a question on their website. We
often slap cables and adapters until the stuff works, and then claim
success!
https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pd
f
https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-
aa7b6acca0d4
Any comments?
Bob
ST
Stephen Tompsett
Mon, Dec 30, 2024 7:33 PM
Welcome to the crazy world of RS232.
A modem is DCE, a teleprinter/terminal is DTE.
Anything else is uncertain.
Get yourself a link tester/ breakout/patch box, and a set of 9/25 pin
adapters, and have fun!
These days identify TX and RX pins and connectors appropriately.
Hopefully you won't have to deal with full RS232 hardware handshaking,
(CD,DTR,DSR,TTS,CTS)
Stephen Tompsett
On Mon, 30 Dec 2024, 18:29 rbenward--- via time-nuts, <
time-nuts@lists.febo.com> wrote:
Hi All,
This is a general question regarding RS232 ports, DTE, vs DCE, and DE9, vs
DB25.
Some background:
It has been common to refer to a computer as a DTE device, and a modem as a
DCE device. Many peripherals were also DTE. A DE9 serial DTE port on a
computer used male pins. A 9pin female was generally a DCE device, AKA a
modem. Often, the DCE end used a DB25 connector. This is from the days we
used plain terminals and modems. These connections required a straight
through cable, female pins on one side and male pins on the other (for the
same size connector). A male to male or female to female generally
indicated NULL "modem" cable. Null cables are required to connect a DTE to
a DTE and DCE to DCE. Gender changers are a confusing lot, as they can be
a
null modem adapter or simply a male to male adapter with straight pins. To
complicate things, simply going from a DE9 DTE to a DB25 DTE, reversed pins
2&3.
So, here are my questions:
device, and the GPSDO as the DTE device? Common sense dictates the
opposite.
and pin3=Rx? The standard computer DE9 is Rx=2 and Tx=3.
I am confused to say the least. It doesn't help that DCE device the
terminology is backwards, i.e. the Tx pin is incoming data and outgoing
over
the network. My Z3801A and my Z3805A both communicate with my Startech
adapter. Currently I use a null cable, then a 9pin gender changer, then a
9pin to 25 pin adapter. This adapter looks like null, with a crossover,
but
the crossover is normal for a 9 to 25pin adapter. This only works if the
Startech manual is wrong. I have posted a question on their website. We
often slap cables and adapters until the stuff works, and then claim
success!
https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pd
f
https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pdf
https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-
aa7b6acca0d4
https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-aa7b6acca0d4
Any comments?
Bob
time-nuts mailing list -- time-nuts@lists.febo.com
To unsubscribe send an email to time-nuts-leave@lists.febo.com
Welcome to the crazy world of RS232.
A modem is DCE, a teleprinter/terminal is DTE.
Anything else is uncertain.
Get yourself a link tester/ breakout/patch box, and a set of 9/25 pin
adapters, and have fun!
These days identify TX and RX pins and connectors appropriately.
Hopefully you won't have to deal with full RS232 hardware handshaking,
(CD,DTR,DSR,TTS,CTS)
Stephen Tompsett
On Mon, 30 Dec 2024, 18:29 rbenward--- via time-nuts, <
time-nuts@lists.febo.com> wrote:
> Hi All,
>
> This is a general question regarding RS232 ports, DTE, vs DCE, and DE9, vs
> DB25.
>
>
>
> Some background:
>
> It has been common to refer to a computer as a DTE device, and a modem as a
> DCE device. Many peripherals were also DTE. A DE9 serial DTE port on a
> computer used male pins. A 9pin female was generally a DCE device, AKA a
> modem. Often, the DCE end used a DB25 connector. This is from the days we
> used plain terminals and modems. These connections required a straight
> through cable, female pins on one side and male pins on the other (for the
> same size connector). A male to male or female to female generally
> indicated NULL "modem" cable. Null cables are required to connect a DTE to
> a DTE and DCE to DCE. Gender changers are a confusing lot, as they can be
> a
> null modem adapter or simply a male to male adapter with straight pins. To
> complicate things, simply going from a DE9 DTE to a DB25 DTE, reversed pins
> 2&3.
>
>
>
> So, here are my questions:
>
> * Why does the Z3801A manual (pg1-7) call out a computer as a DCE
> device, and the GPSDO as the DTE device? Common sense dictates the
> opposite.
> * Why is my Startech USB to RS232 adapter use MALE pins, but pin2=Tx
> and pin3=Rx? The standard computer DE9 is Rx=2 and Tx=3.
>
>
>
> I am confused to say the least. It doesn't help that DCE device the
> terminology is backwards, i.e. the Tx pin is incoming data and outgoing
> over
> the network. My Z3801A and my Z3805A both communicate with my Startech
> adapter. Currently I use a null cable, then a 9pin gender changer, then a
> 9pin to 25 pin adapter. This adapter looks like null, with a crossover,
> but
> the crossover is normal for a 9 to 25pin adapter. This only works if the
> Startech manual is wrong. I have posted a question on their website. We
> often slap cables and adapters until the stuff works, and then claim
> success!
>
>
>
>
> https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pd
> f
> <https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pdf>
>
>
>
>
> https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-
> aa7b6acca0d4
> <https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-aa7b6acca0d4>
>
>
>
>
>
> Any comments?
>
> Bob
>
> _______________________________________________
> time-nuts mailing list -- time-nuts@lists.febo.com
> To unsubscribe send an email to time-nuts-leave@lists.febo.com
>
AK
Adam Kuzych
Mon, Dec 30, 2024 7:58 PM
Bob,
I expect there's easier sample projects you can try and succeed on before
diving into your larger Z3801A problem without enough relevant experience.
I vaguely recall setting up a parallel cable DB-25 connection between two
Windows 3.1 computers for file transfer, as one ancient example.
We use various radios for SCADA at work, and all of the older ones used
serial and we had significant DTE-DCE challenges on larger networks and on
varied applications.
Perhaps you can volunteer your time to inspect your local club's APRS
digipeater setup, offering to refine it, and learning along the way too.
Applying those findings might make your own troubleshooting a bit easier.
Adam VE6WMR
On Mon, Dec 30, 2024, 12:49 p.m. Stephen Tompsett via time-nuts <
time-nuts@lists.febo.com> wrote:
Welcome to the crazy world of RS232.
A modem is DCE, a teleprinter/terminal is DTE.
Anything else is uncertain.
Get yourself a link tester/ breakout/patch box, and a set of 9/25 pin
adapters, and have fun!
These days identify TX and RX pins and connectors appropriately.
Hopefully you won't have to deal with full RS232 hardware handshaking,
(CD,DTR,DSR,TTS,CTS)
Stephen Tompsett
On Mon, 30 Dec 2024, 18:29 rbenward--- via time-nuts, <
time-nuts@lists.febo.com> wrote:
Hi All,
This is a general question regarding RS232 ports, DTE, vs DCE, and DE9,
DB25.
Some background:
It has been common to refer to a computer as a DTE device, and a modem
DCE device. Many peripherals were also DTE. A DE9 serial DTE port on a
computer used male pins. A 9pin female was generally a DCE device, AKA a
modem. Often, the DCE end used a DB25 connector. This is from the days
used plain terminals and modems. These connections required a straight
through cable, female pins on one side and male pins on the other (for
same size connector). A male to male or female to female generally
indicated NULL "modem" cable. Null cables are required to connect a DTE
a DTE and DCE to DCE. Gender changers are a confusing lot, as they can
a
null modem adapter or simply a male to male adapter with straight pins.
complicate things, simply going from a DE9 DTE to a DB25 DTE, reversed
2&3.
So, here are my questions:
device, and the GPSDO as the DTE device? Common sense dictates the
opposite.
and pin3=Rx? The standard computer DE9 is Rx=2 and Tx=3.
I am confused to say the least. It doesn't help that DCE device the
terminology is backwards, i.e. the Tx pin is incoming data and outgoing
over
the network. My Z3801A and my Z3805A both communicate with my Startech
adapter. Currently I use a null cable, then a 9pin gender changer, then
9pin to 25 pin adapter. This adapter looks like null, with a crossover,
but
the crossover is normal for a 9 to 25pin adapter. This only works if the
Startech manual is wrong. I have posted a question on their website. We
often slap cables and adapters until the stuff works, and then claim
success!
Bob,
I expect there's easier sample projects you can try and succeed on before
diving into your larger Z3801A problem without enough relevant experience.
I vaguely recall setting up a parallel cable DB-25 connection between two
Windows 3.1 computers for file transfer, as one ancient example.
We use various radios for SCADA at work, and all of the older ones used
serial and we had significant DTE-DCE challenges on larger networks and on
varied applications.
Perhaps you can volunteer your time to inspect your local club's APRS
digipeater setup, offering to refine it, and learning along the way too.
Applying those findings might make your own troubleshooting a bit easier.
Adam VE6WMR
On Mon, Dec 30, 2024, 12:49 p.m. Stephen Tompsett via time-nuts <
time-nuts@lists.febo.com> wrote:
> Welcome to the crazy world of RS232.
> A modem is DCE, a teleprinter/terminal is DTE.
> Anything else is uncertain.
> Get yourself a link tester/ breakout/patch box, and a set of 9/25 pin
> adapters, and have fun!
> These days identify TX and RX pins and connectors appropriately.
> Hopefully you won't have to deal with full RS232 hardware handshaking,
> (CD,DTR,DSR,TTS,CTS)
> Stephen Tompsett
>
> On Mon, 30 Dec 2024, 18:29 rbenward--- via time-nuts, <
> time-nuts@lists.febo.com> wrote:
>
> > Hi All,
> >
> > This is a general question regarding RS232 ports, DTE, vs DCE, and DE9,
> vs
> > DB25.
> >
> >
> >
> > Some background:
> >
> > It has been common to refer to a computer as a DTE device, and a modem
> as a
> > DCE device. Many peripherals were also DTE. A DE9 serial DTE port on a
> > computer used male pins. A 9pin female was generally a DCE device, AKA a
> > modem. Often, the DCE end used a DB25 connector. This is from the days
> we
> > used plain terminals and modems. These connections required a straight
> > through cable, female pins on one side and male pins on the other (for
> the
> > same size connector). A male to male or female to female generally
> > indicated NULL "modem" cable. Null cables are required to connect a DTE
> to
> > a DTE and DCE to DCE. Gender changers are a confusing lot, as they can
> be
> > a
> > null modem adapter or simply a male to male adapter with straight pins.
> To
> > complicate things, simply going from a DE9 DTE to a DB25 DTE, reversed
> pins
> > 2&3.
> >
> >
> >
> > So, here are my questions:
> >
> > * Why does the Z3801A manual (pg1-7) call out a computer as a DCE
> > device, and the GPSDO as the DTE device? Common sense dictates the
> > opposite.
> > * Why is my Startech USB to RS232 adapter use MALE pins, but
> pin2=Tx
> > and pin3=Rx? The standard computer DE9 is Rx=2 and Tx=3.
> >
> >
> >
> > I am confused to say the least. It doesn't help that DCE device the
> > terminology is backwards, i.e. the Tx pin is incoming data and outgoing
> > over
> > the network. My Z3801A and my Z3805A both communicate with my Startech
> > adapter. Currently I use a null cable, then a 9pin gender changer, then
> a
> > 9pin to 25 pin adapter. This adapter looks like null, with a crossover,
> > but
> > the crossover is normal for a 9 to 25pin adapter. This only works if the
> > Startech manual is wrong. I have posted a question on their website. We
> > often slap cables and adapters until the stuff works, and then claim
> > success!
> >
> >
> >
> >
> >
> https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pd
> > f
> > <
> https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pdf
> >
> >
> >
> >
> >
> >
> https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-
> > aa7b6acca0d4
> > <
> https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-aa7b6acca0d4
> >
> >
> >
> >
> >
> >
> > Any comments?
> >
> > Bob
> >
> > _______________________________________________
> > time-nuts mailing list -- time-nuts@lists.febo.com
> > To unsubscribe send an email to time-nuts-leave@lists.febo.com
> >
> _______________________________________________
> time-nuts mailing list -- time-nuts@lists.febo.com
> To unsubscribe send an email to time-nuts-leave@lists.febo.com
>
MH
Mahlon Haunschild
Mon, Dec 30, 2024 7:58 PM
This is why I maintain an HP 4952A and a wide assortment of gender
changers, BOBs, DB9/25 converters, etc. I can sort out anything.
Best regards
Mahlon - N4ZK
On Mon, Dec 30, 2024, 1:50 PM Stephen Tompsett via time-nuts <
time-nuts@lists.febo.com> wrote:
Welcome to the crazy world of RS232.
A modem is DCE, a teleprinter/terminal is DTE.
Anything else is uncertain.
Get yourself a link tester/ breakout/patch box, and a set of 9/25 pin
adapters, and have fun!
These days identify TX and RX pins and connectors appropriately.
Hopefully you won't have to deal with full RS232 hardware handshaking,
(CD,DTR,DSR,TTS,CTS)
Stephen Tompsett
On Mon, 30 Dec 2024, 18:29 rbenward--- via time-nuts, <
time-nuts@lists.febo.com> wrote:
Hi All,
This is a general question regarding RS232 ports, DTE, vs DCE, and DE9,
DB25.
Some background:
It has been common to refer to a computer as a DTE device, and a modem
DCE device. Many peripherals were also DTE. A DE9 serial DTE port on a
computer used male pins. A 9pin female was generally a DCE device, AKA a
modem. Often, the DCE end used a DB25 connector. This is from the days
used plain terminals and modems. These connections required a straight
through cable, female pins on one side and male pins on the other (for
same size connector). A male to male or female to female generally
indicated NULL "modem" cable. Null cables are required to connect a DTE
a DTE and DCE to DCE. Gender changers are a confusing lot, as they can
a
null modem adapter or simply a male to male adapter with straight pins.
complicate things, simply going from a DE9 DTE to a DB25 DTE, reversed
2&3.
So, here are my questions:
device, and the GPSDO as the DTE device? Common sense dictates the
opposite.
and pin3=Rx? The standard computer DE9 is Rx=2 and Tx=3.
I am confused to say the least. It doesn't help that DCE device the
terminology is backwards, i.e. the Tx pin is incoming data and outgoing
over
the network. My Z3801A and my Z3805A both communicate with my Startech
adapter. Currently I use a null cable, then a 9pin gender changer, then
9pin to 25 pin adapter. This adapter looks like null, with a crossover,
but
the crossover is normal for a 9 to 25pin adapter. This only works if the
Startech manual is wrong. I have posted a question on their website. We
often slap cables and adapters until the stuff works, and then claim
success!
This is why I maintain an HP 4952A and a wide assortment of gender
changers, BOBs, DB9/25 converters, etc. I can sort out anything.
Best regards
Mahlon - N4ZK
On Mon, Dec 30, 2024, 1:50 PM Stephen Tompsett via time-nuts <
time-nuts@lists.febo.com> wrote:
> Welcome to the crazy world of RS232.
> A modem is DCE, a teleprinter/terminal is DTE.
> Anything else is uncertain.
> Get yourself a link tester/ breakout/patch box, and a set of 9/25 pin
> adapters, and have fun!
> These days identify TX and RX pins and connectors appropriately.
> Hopefully you won't have to deal with full RS232 hardware handshaking,
> (CD,DTR,DSR,TTS,CTS)
> Stephen Tompsett
>
> On Mon, 30 Dec 2024, 18:29 rbenward--- via time-nuts, <
> time-nuts@lists.febo.com> wrote:
>
> > Hi All,
> >
> > This is a general question regarding RS232 ports, DTE, vs DCE, and DE9,
> vs
> > DB25.
> >
> >
> >
> > Some background:
> >
> > It has been common to refer to a computer as a DTE device, and a modem
> as a
> > DCE device. Many peripherals were also DTE. A DE9 serial DTE port on a
> > computer used male pins. A 9pin female was generally a DCE device, AKA a
> > modem. Often, the DCE end used a DB25 connector. This is from the days
> we
> > used plain terminals and modems. These connections required a straight
> > through cable, female pins on one side and male pins on the other (for
> the
> > same size connector). A male to male or female to female generally
> > indicated NULL "modem" cable. Null cables are required to connect a DTE
> to
> > a DTE and DCE to DCE. Gender changers are a confusing lot, as they can
> be
> > a
> > null modem adapter or simply a male to male adapter with straight pins.
> To
> > complicate things, simply going from a DE9 DTE to a DB25 DTE, reversed
> pins
> > 2&3.
> >
> >
> >
> > So, here are my questions:
> >
> > * Why does the Z3801A manual (pg1-7) call out a computer as a DCE
> > device, and the GPSDO as the DTE device? Common sense dictates the
> > opposite.
> > * Why is my Startech USB to RS232 adapter use MALE pins, but
> pin2=Tx
> > and pin3=Rx? The standard computer DE9 is Rx=2 and Tx=3.
> >
> >
> >
> > I am confused to say the least. It doesn't help that DCE device the
> > terminology is backwards, i.e. the Tx pin is incoming data and outgoing
> > over
> > the network. My Z3801A and my Z3805A both communicate with my Startech
> > adapter. Currently I use a null cable, then a 9pin gender changer, then
> a
> > 9pin to 25 pin adapter. This adapter looks like null, with a crossover,
> > but
> > the crossover is normal for a 9 to 25pin adapter. This only works if the
> > Startech manual is wrong. I have posted a question on their website. We
> > often slap cables and adapters until the stuff works, and then claim
> > success!
> >
> >
> >
> >
> >
> https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pd
> > f
> > <
> https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pdf
> >
> >
> >
> >
> >
> >
> https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-
> > aa7b6acca0d4
> > <
> https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-aa7b6acca0d4
> >
> >
> >
> >
> >
> >
> > Any comments?
> >
> > Bob
> >
> > _______________________________________________
> > time-nuts mailing list -- time-nuts@lists.febo.com
> > To unsubscribe send an email to time-nuts-leave@lists.febo.com
> >
> _______________________________________________
> time-nuts mailing list -- time-nuts@lists.febo.com
> To unsubscribe send an email to time-nuts-leave@lists.febo.com
>
AK
Andrew Kalman
Mon, Dec 30, 2024 8:23 PM
Bob:
- I have several Z3805As with Synergy SSR-VP-UT+ receivers #
16U54523G-B1 (having replaced the original Motorola ones).
- I have an eBay-sourced "Serial Port Adapter D9/D25" on each Z3805A's
rear-panel female DB25. This adapter is male DB9/male DB25 with only 9 pins
populated on the DB25 side.
- I avoid 25-pin cables wherever possible, and stick with 9-pinners.
- Whenever I design something that requires / has an RS232 port, I pin
it out as DTE, with male DB9s.This means that serial out (SO) is on pin 3,
and serial in (SI) is on pin 2.
- Hence, whenever I need to connect something (typically to a PC or to
a USB-to-serial adapter), I use a null-modem cable (DB9 female on each end,
functioning as a "crossover" cable).
- This way, it's all easier than thinking :-)
--Andrew
Andrew E. Kalman, Ph.D.
On Sun, Dec 29, 2024 at 2:09 PM rbenward--- via time-nuts <
time-nuts@lists.febo.com> wrote:
Hi All,
This is a general question regarding RS232 ports, DTE, vs DCE, and DE9, vs
DB25.
Some background:
It has been common to refer to a computer as a DTE device, and a modem as a
DCE device. Many peripherals were also DTE. A DE9 serial DTE port on a
computer used male pins. A 9pin female was generally a DCE device, AKA a
modem. Often, the DCE end used a DB25 connector. This is from the days we
used plain terminals and modems. These connections required a straight
through cable, female pins on one side and male pins on the other (for the
same size connector). A male to male or female to female generally
indicated NULL "modem" cable. Null cables are required to connect a DTE to
a DTE and DCE to DCE. Gender changers are a confusing lot, as they can be
a
null modem adapter or simply a male to male adapter with straight pins. To
complicate things, simply going from a DE9 DTE to a DB25 DTE, reversed pins
2&3.
So, here are my questions:
device, and the GPSDO as the DTE device? Common sense dictates the
opposite.
and pin3=Rx? The standard computer DE9 is Rx=2 and Tx=3.
I am confused to say the least. It doesn't help that DCE device the
terminology is backwards, i.e. the Tx pin is incoming data and outgoing
over
the network. My Z3801A and my Z3805A both communicate with my Startech
adapter. Currently I use a null cable, then a 9pin gender changer, then a
9pin to 25 pin adapter. This adapter looks like null, with a crossover,
but
the crossover is normal for a 9 to 25pin adapter. This only works if the
Startech manual is wrong. I have posted a question on their website. We
often slap cables and adapters until the stuff works, and then claim
success!
https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pd
f
https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pdf
https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-
aa7b6acca0d4
https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-aa7b6acca0d4
Any comments?
Bob
time-nuts mailing list -- time-nuts@lists.febo.com
To unsubscribe send an email to time-nuts-leave@lists.febo.com
Bob:
1. I have several Z3805As with Synergy SSR-VP-UT+ receivers #
16U54523G-B1 (having replaced the original Motorola ones).
2. I have an eBay-sourced "Serial Port Adapter D9/D25" on each Z3805A's
rear-panel female DB25. This adapter is male DB9/male DB25 with only 9 pins
populated on the DB25 side.
3. I avoid 25-pin cables wherever possible, and stick with 9-pinners.
4. Whenever I design something that requires / has an RS232 port, I pin
it out as DTE, with male DB9s.This means that serial out (SO) is on pin 3,
and serial in (SI) is on pin 2.
5. Hence, whenever I need to connect something (typically to a PC or to
a USB-to-serial adapter), I use a null-modem cable (DB9 female on each end,
functioning as a "crossover" cable).
6. This way, it's all easier than thinking :-)
--Andrew
--------------------------------
Andrew E. Kalman, Ph.D.
On Sun, Dec 29, 2024 at 2:09 PM rbenward--- via time-nuts <
time-nuts@lists.febo.com> wrote:
> Hi All,
>
> This is a general question regarding RS232 ports, DTE, vs DCE, and DE9, vs
> DB25.
>
>
>
> Some background:
>
> It has been common to refer to a computer as a DTE device, and a modem as a
> DCE device. Many peripherals were also DTE. A DE9 serial DTE port on a
> computer used male pins. A 9pin female was generally a DCE device, AKA a
> modem. Often, the DCE end used a DB25 connector. This is from the days we
> used plain terminals and modems. These connections required a straight
> through cable, female pins on one side and male pins on the other (for the
> same size connector). A male to male or female to female generally
> indicated NULL "modem" cable. Null cables are required to connect a DTE to
> a DTE and DCE to DCE. Gender changers are a confusing lot, as they can be
> a
> null modem adapter or simply a male to male adapter with straight pins. To
> complicate things, simply going from a DE9 DTE to a DB25 DTE, reversed pins
> 2&3.
>
>
>
> So, here are my questions:
>
> * Why does the Z3801A manual (pg1-7) call out a computer as a DCE
> device, and the GPSDO as the DTE device? Common sense dictates the
> opposite.
> * Why is my Startech USB to RS232 adapter use MALE pins, but pin2=Tx
> and pin3=Rx? The standard computer DE9 is Rx=2 and Tx=3.
>
>
>
> I am confused to say the least. It doesn't help that DCE device the
> terminology is backwards, i.e. the Tx pin is incoming data and outgoing
> over
> the network. My Z3801A and my Z3805A both communicate with my Startech
> adapter. Currently I use a null cable, then a 9pin gender changer, then a
> 9pin to 25 pin adapter. This adapter looks like null, with a crossover,
> but
> the crossover is normal for a 9 to 25pin adapter. This only works if the
> Startech manual is wrong. I have posted a question on their website. We
> often slap cables and adapters until the stuff works, and then claim
> success!
>
>
>
>
> https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pd
> f
> <https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB2324I.pdf>
>
>
>
>
> https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-
> aa7b6acca0d4
> <https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-aa7b6acca0d4>
>
>
>
>
>
> Any comments?
>
> Bob
>
> _______________________________________________
> time-nuts mailing list -- time-nuts@lists.febo.com
> To unsubscribe send an email to time-nuts-leave@lists.febo.com
>
R
rbenward@verizon.net
Tue, Dec 31, 2024 3:50 AM
Adam,
I am not sure what you mean by relevant experience. I am not trouble shooting the RS232. My GPSDOs are working. I am looking to purchase more equipment and looking at manuals to understand what I need. I posted here looking for other's experiences RS232 & DTE,DCE. It seems I am not alone. I am a retired EE by trade and it bothers me that I cannot get consensus from the internet on the pinout and naming convention of a simple RS232 port. I find it disturbing that HP/Symmetricom thinks a computer is DCE. I believe the Z380x are DTE equipment even though the connectors are female like DCE modems. According to the spec, any female DE9 or DB25 female is a DCE. Male pins are DTE. They don't provide the cable, and hopefully you buy a null cable, because chances are your computer is DTE, not DCE (fig1-2 in the manual). Unless of course they got it backwards. Do you see what I am getting at?
I also find it disturbing that Startech can't get the pin numbers right on their serial port adapter manual (I did more research). Adapters is all they do. Their other RS232 adapter manuals got it right. I picked up the wrong manual.
Simply, old habits are hard to kill. I look at data sheets and then design. I don't like buying things and then try and slap them together. I've been burned to many times that way. It seems like after all this time there is still no convention.
My take from all of this: anything that appears to convert one signal into another, RS232 to PSTN (our classic phone modem), or a RS232 to RS422 converter, any that extends a signal, is a DCE. Almost everything else is a DTE. Excluded of course is the USB to RS232. Startech makes theirs look like a DTE. Waveshare has both flavors. I actually found one RS232 to RS422 converter that was labeled "DCE".
A nice treatise covering RS232 for those needing a refresher:
https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-aa7b6acca0d4
Bob
-----Original Message-----
From: Adam Kuzych via time-nuts time-nuts@lists.febo.com
Sent: Monday, December 30, 2024 2:58 PM
To: Discussion of precise time and frequency measurement time-nuts@lists.febo.com
Cc: Adam Kuzych akuzych@gmail.com
Subject: [time-nuts] Re: RS232
Importance: High
Bob,
I expect there's easier sample projects you can try and succeed on before diving into your larger Z3801A problem without enough relevant experience.
I vaguely recall setting up a parallel cable DB-25 connection between two Windows 3.1 computers for file transfer, as one ancient example.
We use various radios for SCADA at work, and all of the older ones used serial and we had significant DTE-DCE challenges on larger networks and on varied applications.
Perhaps you can volunteer your time to inspect your local club's APRS digipeater setup, offering to refine it, and learning along the way too.
Applying those findings might make your own troubleshooting a bit easier.
Adam VE6WMR
On Mon, Dec 30, 2024, 12:49 p.m. Stephen Tompsett via time-nuts < time-nuts@lists.febo.com> wrote:
Welcome to the crazy world of RS232.
A modem is DCE, a teleprinter/terminal is DTE.
Anything else is uncertain.
Get yourself a link tester/ breakout/patch box, and a set of 9/25 pin
adapters, and have fun!
These days identify TX and RX pins and connectors appropriately.
Hopefully you won't have to deal with full RS232 hardware handshaking,
(CD,DTR,DSR,TTS,CTS)
Stephen Tompsett
On Mon, 30 Dec 2024, 18:29 rbenward--- via time-nuts, <
time-nuts@lists.febo.com> wrote:
Hi All,
This is a general question regarding RS232 ports, DTE, vs DCE, and
DE9,
DB25.
Some background:
It has been common to refer to a computer as a DTE device, and a
modem
DCE device. Many peripherals were also DTE. A DE9 serial DTE port
on a computer used male pins. A 9pin female was generally a DCE
device, AKA a modem. Often, the DCE end used a DB25 connector.
This is from the days
used plain terminals and modems. These connections required a
straight through cable, female pins on one side and male pins on the
other (for
same size connector). A male to male or female to female generally
indicated NULL "modem" cable. Null cables are required to connect a
DTE
a DTE and DCE to DCE. Gender changers are a confusing lot, as they
can
a
null modem adapter or simply a male to male adapter with straight pins.
complicate things, simply going from a DE9 DTE to a DB25 DTE,
reversed
2&3.
So, here are my questions:
device, and the GPSDO as the DTE device? Common sense dictates the
opposite.
and pin3=Rx? The standard computer DE9 is Rx=2 and Tx=3.
I am confused to say the least. It doesn't help that DCE device the
terminology is backwards, i.e. the Tx pin is incoming data and
outgoing over the network. My Z3801A and my Z3805A both communicate
with my Startech adapter. Currently I use a null cable, then a 9pin
gender changer, then
9pin to 25 pin adapter. This adapter looks like null, with a
crossover, but the crossover is normal for a 9 to 25pin adapter.
This only works if the Startech manual is wrong. I have posted a
question on their website. We often slap cables and adapters until
the stuff works, and then claim success!
Adam,
I am not sure what you mean by relevant experience. I am not trouble shooting the RS232. My GPSDOs are working. I am looking to purchase more equipment and looking at manuals to understand what I need. I posted here looking for other's experiences RS232 & DTE,DCE. It seems I am not alone. I am a retired EE by trade and it bothers me that I cannot get consensus from the internet on the pinout and naming convention of a simple RS232 port. I find it disturbing that HP/Symmetricom thinks a computer is DCE. I believe the Z380x are DTE equipment even though the connectors are female like DCE modems. According to the spec, any female DE9 or DB25 female is a DCE. Male pins are DTE. They don't provide the cable, and hopefully you buy a null cable, because chances are your computer is DTE, not DCE (fig1-2 in the manual). Unless of course they got it backwards. Do you see what I am getting at?
I also find it disturbing that Startech can't get the pin numbers right on their serial port adapter manual (I did more research). Adapters is all they do. Their other RS232 adapter manuals got it right. I picked up the wrong manual.
Simply, old habits are hard to kill. I look at data sheets and then design. I don't like buying things and then try and slap them together. I've been burned to many times that way. It seems like after all this time there is still no convention.
My take from all of this: anything that appears to convert one signal into another, RS232 to PSTN (our classic phone modem), or a RS232 to RS422 converter, any that extends a signal, is a DCE. Almost everything else is a DTE. Excluded of course is the USB to RS232. Startech makes theirs look like a DTE. Waveshare has both flavors. I actually found one RS232 to RS422 converter that was labeled "DCE".
A nice treatise covering RS232 for those needing a refresher:
https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848-96d1-aa7b6acca0d4
Bob
-----Original Message-----
From: Adam Kuzych via time-nuts <time-nuts@lists.febo.com>
Sent: Monday, December 30, 2024 2:58 PM
To: Discussion of precise time and frequency measurement <time-nuts@lists.febo.com>
Cc: Adam Kuzych <akuzych@gmail.com>
Subject: [time-nuts] Re: RS232
Importance: High
Bob,
I expect there's easier sample projects you can try and succeed on before diving into your larger Z3801A problem without enough relevant experience.
I vaguely recall setting up a parallel cable DB-25 connection between two Windows 3.1 computers for file transfer, as one ancient example.
We use various radios for SCADA at work, and all of the older ones used serial and we had significant DTE-DCE challenges on larger networks and on varied applications.
Perhaps you can volunteer your time to inspect your local club's APRS digipeater setup, offering to refine it, and learning along the way too.
Applying those findings might make your own troubleshooting a bit easier.
Adam VE6WMR
On Mon, Dec 30, 2024, 12:49 p.m. Stephen Tompsett via time-nuts < time-nuts@lists.febo.com> wrote:
> Welcome to the crazy world of RS232.
> A modem is DCE, a teleprinter/terminal is DTE.
> Anything else is uncertain.
> Get yourself a link tester/ breakout/patch box, and a set of 9/25 pin
> adapters, and have fun!
> These days identify TX and RX pins and connectors appropriately.
> Hopefully you won't have to deal with full RS232 hardware handshaking,
> (CD,DTR,DSR,TTS,CTS)
> Stephen Tompsett
>
> On Mon, 30 Dec 2024, 18:29 rbenward--- via time-nuts, <
> time-nuts@lists.febo.com> wrote:
>
> > Hi All,
> >
> > This is a general question regarding RS232 ports, DTE, vs DCE, and
> > DE9,
> vs
> > DB25.
> >
> >
> >
> > Some background:
> >
> > It has been common to refer to a computer as a DTE device, and a
> > modem
> as a
> > DCE device. Many peripherals were also DTE. A DE9 serial DTE port
> > on a computer used male pins. A 9pin female was generally a DCE
> > device, AKA a modem. Often, the DCE end used a DB25 connector.
> > This is from the days
> we
> > used plain terminals and modems. These connections required a
> > straight through cable, female pins on one side and male pins on the
> > other (for
> the
> > same size connector). A male to male or female to female generally
> > indicated NULL "modem" cable. Null cables are required to connect a
> > DTE
> to
> > a DTE and DCE to DCE. Gender changers are a confusing lot, as they
> > can
> be
> > a
> > null modem adapter or simply a male to male adapter with straight pins.
> To
> > complicate things, simply going from a DE9 DTE to a DB25 DTE,
> > reversed
> pins
> > 2&3.
> >
> >
> >
> > So, here are my questions:
> >
> > * Why does the Z3801A manual (pg1-7) call out a computer as a DCE
> > device, and the GPSDO as the DTE device? Common sense dictates the
> > opposite.
> > * Why is my Startech USB to RS232 adapter use MALE pins, but
> pin2=Tx
> > and pin3=Rx? The standard computer DE9 is Rx=2 and Tx=3.
> >
> >
> >
> > I am confused to say the least. It doesn't help that DCE device the
> > terminology is backwards, i.e. the Tx pin is incoming data and
> > outgoing over the network. My Z3801A and my Z3805A both communicate
> > with my Startech adapter. Currently I use a null cable, then a 9pin
> > gender changer, then
> a
> > 9pin to 25 pin adapter. This adapter looks like null, with a
> > crossover, but the crossover is normal for a 9 to 25pin adapter.
> > This only works if the Startech manual is wrong. I have posted a
> > question on their website. We often slap cables and adapters until
> > the stuff works, and then claim success!
> >
> >
> >
> >
> >
> https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB23
> 24I.pd
> > f
> > <
> https://sgcdn.startech.com/005329/media/sets/ICUSB2324I_Manual/ICUSB23
> 24I.pdf
> >
> >
> >
> >
> >
> >
> https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848
> -96d1-
> > aa7b6acca0d4
> > <
> https://www.advantech.com/en/resources/white-papers/e7e269e7-78b9-4848
> -96d1-aa7b6acca0d4
> >
> >
> >
> >
> >
> >
> > Any comments?
> >
> > Bob
> >
> > _______________________________________________
> > time-nuts mailing list -- time-nuts@lists.febo.com To unsubscribe
> > send an email to time-nuts-leave@lists.febo.com
> >
> _______________________________________________
> time-nuts mailing list -- time-nuts@lists.febo.com To unsubscribe send
> an email to time-nuts-leave@lists.febo.com
>
_______________________________________________
time-nuts mailing list -- time-nuts@lists.febo.com To unsubscribe send an email to time-nuts-leave@lists.febo.com
TN
time-nuts@stonerecording.art
Tue, Dec 31, 2024 10:46 AM
Hi Bob. Here is my comments.
I've used serial port things since around 1980 and all this stuff is
simply funny. Between male and female connectors, DB9 and DB25,
sometimes other kinds of connectors like RJ45, hardware or software
handshaking, stop bits (1, 1.5, 2 bits), parity, speeds, and so on.
Your question is interesting. But in the end, technically, what is
important is that you connect the required signals to get it work.
According to me, DCE and DTR are simply words to try to give a better
shape to a technical document or to a manual. Not more. Because some
peripherals can be both DCE and DTR at the same time, in the end, DCE /
DTE words add to the confusion.
A good point, serial ports have been simplified a lot since their
introduction with the DB25 full sync mode implementation.
Nowadays, but even since around 1980, sync mode has been abandoned,
keeping only async mode that can fit a 9 pins connector or even a 8 pins
one like a RJ45, because the RI signal (Ring Indicator) is so rarely used.
More, because computers became faster and faster, thanks to the serial
port integrated buffers, thanks to a better multitasking, hardware and
software handshaking has been abandoned too. In most cases today, those
signals could be used, but more for GPIO I/O signal.
In the end, since many years, we see mainly only 3 pins in use, TX, RX
and ground. Some hardware could still need a bit more, or for some DIY
project. And 9600 8N1 are the most common settings. With speed auto
detection for most recent devices. Then most of the time the only thing
you have to do nowadays, is to find the right pins for TX, RX, and
ground, connect that, and you should be fine. Eventually adjust speed
and rarely parity.
In the end sometimes it is very possible to find some old hardware that
is using a female or male connector that will need a custom wiring to
connect to something else.
I've read recently that DB9 ports for serial RS232 has never been
standardized. Only the DB25 is.
This did add probably to the confusion and could explain the funny
things we can see there and there.
In my toolbox, i have a set of RS232 adapters, with most commonly used
pinouts. I did that by myself using RJ45 to DB9 male and female custom
wiring adapters. Like this, using RJ45 Ethernet cables, i can fastly
connect between most devices.
As a side note, serial DB9 is 3 outputs (TX, DTR, RTS) and 5 inputs
(RX, DCD, DSR, CTS, RI).
DTR RTS DCD DSR CTS RI can be used for GPIO.
TX is a special case, because it can be used as a data line, or as a
GPIO output line (using break set / break unset functions that will set
this line high or low).
Nevertheless i've never seen somebody or a manufacturer that did use
that TX line as a GPIO one. But i wanted to report it here, it is
something that is doable if three GPIO outs are needed.
Best regards,
Olivier.
Hi Bob. Here is my comments.
I've used serial port things since around 1980 and all this stuff is
simply funny. Between male and female connectors, DB9 and DB25,
sometimes other kinds of connectors like RJ45, hardware or software
handshaking, stop bits (1, 1.5, 2 bits), parity, speeds, and so on.
Your question is interesting. But in the end, technically, what is
important is that you connect the required signals to get it work.
According to me, DCE and DTR are simply words to try to give a better
shape to a technical document or to a manual. Not more. Because some
peripherals can be both DCE and DTR at the same time, in the end, DCE /
DTE words add to the confusion.
A good point, serial ports have been simplified a lot since their
introduction with the DB25 full sync mode implementation.
Nowadays, but even since around 1980, sync mode has been abandoned,
keeping only async mode that can fit a 9 pins connector or even a 8 pins
one like a RJ45, because the RI signal (Ring Indicator) is so rarely used.
More, because computers became faster and faster, thanks to the serial
port integrated buffers, thanks to a better multitasking, hardware and
software handshaking has been abandoned too. In most cases today, those
signals could be used, but more for GPIO I/O signal.
In the end, since many years, we see mainly only 3 pins in use, TX, RX
and ground. Some hardware could still need a bit more, or for some DIY
project. And 9600 8N1 are the most common settings. With speed auto
detection for most recent devices. Then most of the time the only thing
you have to do nowadays, is to find the right pins for TX, RX, and
ground, connect that, and you should be fine. Eventually adjust speed
and rarely parity.
In the end sometimes it is very possible to find some old hardware that
is using a female or male connector that will need a custom wiring to
connect to something else.
I've read recently that DB9 ports for serial RS232 has never been
standardized. Only the DB25 is.
This did add probably to the confusion and could explain the funny
things we can see there and there.
In my toolbox, i have a set of RS232 adapters, with most commonly used
pinouts. I did that by myself using RJ45 to DB9 male and female custom
wiring adapters. Like this, using RJ45 Ethernet cables, i can fastly
connect between most devices.
As a side note, serial DB9 is 3 outputs (TX, DTR, RTS) and 5 inputs
(RX, DCD, DSR, CTS, RI).
DTR RTS DCD DSR CTS RI can be used for GPIO.
TX is a special case, because it can be used as a data line, or as a
GPIO output line (using break set / break unset functions that will set
this line high or low).
Nevertheless i've never seen somebody or a manufacturer that did use
that TX line as a GPIO one. But i wanted to report it here, it is
something that is doable if three GPIO outs are needed.
Best regards,
Olivier.
BC
Bob Camp
Tue, Dec 31, 2024 4:33 PM
Hi
I guess I’d add to that ….
If you head back into the early 1960’s indeed the terms for which end was which made sense. This end was your modem. That end was your Teletype machine. The idea that a computer would attach to this sort of stuff at the “user end” of things …. nope not part of the picture.
By the end of the 1960’s that had all changed. Like a lot of terms, they have hung around for quite a while. Roughly since about 1968, they have simply been a “pinout identifier”. Tying the to a pice of hardware based on rules …. not so much.
The pinout and nomenclature for the DB-25 was effectively “defined” (at least in the US) by Bell / Western Electric when they built up their stand alone “dial up" modems. The same was true for what we call RS-232 signaling (which replaced a current loop interface). As noted, just what that pinout was varied a bit depending on the model and purpose of the specific modem. It was quickly copied by a number of outfits. Eventually a “standard” version was defined and blessed by the appropriate standards organization(s). It was effectively a copy of one of the Bell implementations. Even with that, a lot of “non-standard” implementations came out here and there.
By the time DB-9’s came along, it was pretty obvious that the idea of a definition by a standards organization was not going to be very useful. They simply didn’t bother. That’s not to say that DB-9’s are any more or less standard than DB-25’s. They both have their quirks. With fewer pins to play with the DB-9 seems to have fewer odd derivatives.
Simple answer to any “hook it up” process is going to be to look at the pin definitions and start from there. If the software has documentation, it just might tell you what you can ignore. The further back you go the more likely it is that various odd pins will need to be taken care of. There is no “one size fits all” approach and hasn’t been for close to 60 years. In many cases folks “hack” the interface rather than wire it correctly. There are a lot of instruction manuals that tell you to do just that ….
Lots of fun.
Bob
On Dec 31, 2024, at 5:46 AM, time-nuts--- via time-nuts time-nuts@lists.febo.com wrote:
Hi Bob. Here is my comments.
I've used serial port things since around 1980 and all this stuff is simply funny. Between male and female connectors, DB9 and DB25, sometimes other kinds of connectors like RJ45, hardware or software handshaking, stop bits (1, 1.5, 2 bits), parity, speeds, and so on.
Your question is interesting. But in the end, technically, what is important is that you connect the required signals to get it work.
According to me, DCE and DTR are simply words to try to give a better shape to a technical document or to a manual. Not more. Because some peripherals can be both DCE and DTR at the same time, in the end, DCE / DTE words add to the confusion.
A good point, serial ports have been simplified a lot since their introduction with the DB25 full sync mode implementation.
Nowadays, but even since around 1980, sync mode has been abandoned, keeping only async mode that can fit a 9 pins connector or even a 8 pins one like a RJ45, because the RI signal (Ring Indicator) is so rarely used.
More, because computers became faster and faster, thanks to the serial port integrated buffers, thanks to a better multitasking, hardware and software handshaking has been abandoned too. In most cases today, those signals could be used, but more for GPIO I/O signal.
In the end, since many years, we see mainly only 3 pins in use, TX, RX and ground. Some hardware could still need a bit more, or for some DIY project. And 9600 8N1 are the most common settings. With speed auto detection for most recent devices. Then most of the time the only thing you have to do nowadays, is to find the right pins for TX, RX, and ground, connect that, and you should be fine. Eventually adjust speed and rarely parity.
In the end sometimes it is very possible to find some old hardware that is using a female or male connector that will need a custom wiring to connect to something else.
I've read recently that DB9 ports for serial RS232 has never been standardized. Only the DB25 is.
This did add probably to the confusion and could explain the funny things we can see there and there.
In my toolbox, i have a set of RS232 adapters, with most commonly used pinouts. I did that by myself using RJ45 to DB9 male and female custom wiring adapters. Like this, using RJ45 Ethernet cables, i can fastly connect between most devices.
As a side note, serial DB9 is 3 outputs (TX, DTR, RTS) and 5 inputs (RX, DCD, DSR, CTS, RI).
DTR RTS DCD DSR CTS RI can be used for GPIO.
TX is a special case, because it can be used as a data line, or as a GPIO output line (using break set / break unset functions that will set this line high or low).
Nevertheless i've never seen somebody or a manufacturer that did use that TX line as a GPIO one. But i wanted to report it here, it is something that is doable if three GPIO outs are needed.
Best regards,
Olivier.
time-nuts mailing list -- time-nuts@lists.febo.com
To unsubscribe send an email to time-nuts-leave@lists.febo.com
Hi
I guess I’d add to that ….
If you head back into the early 1960’s indeed the terms for which end was which made sense. This end was your modem. That end was your Teletype machine. The idea that a computer would attach to this sort of stuff at the “user end” of things …. nope not part of the picture.
By the end of the 1960’s that had all changed. Like a lot of terms, they have hung around for quite a while. Roughly since about 1968, they have simply been a “pinout identifier”. Tying the to a pice of hardware based on rules …. not so much.
The pinout and nomenclature for the DB-25 was effectively “defined” (at least in the US) by Bell / Western Electric when they built up their stand alone “dial up" modems. The same was true for what we call RS-232 signaling (which replaced a current loop interface). As noted, just what that pinout was varied a bit depending on the model and purpose of the specific modem. It was quickly copied by a number of outfits. Eventually a “standard” version was defined and blessed by the appropriate standards organization(s). It was effectively a copy of one of the Bell implementations. Even with that, a *lot* of “non-standard” implementations came out here and there.
By the time DB-9’s came along, it was pretty obvious that the idea of a definition by a standards organization was not going to be very useful. They simply didn’t bother. That’s not to say that DB-9’s are any more or less standard than DB-25’s. They both have their quirks. With fewer pins to play with the DB-9 seems to have fewer odd derivatives.
Simple answer to any “hook it up” process is going to be to look at the pin definitions and start from there. If the software has documentation, it just might tell you what you can ignore. The further back you go the more likely it is that various odd pins will need to be taken care of. There is no “one size fits all” approach and hasn’t been for close to 60 years. In many cases folks “hack” the interface rather than wire it correctly. There are a lot of instruction manuals that tell you to do just that ….
Lots of fun.
Bob
> On Dec 31, 2024, at 5:46 AM, time-nuts--- via time-nuts <time-nuts@lists.febo.com> wrote:
>
>
> Hi Bob. Here is my comments.
>
>
> I've used serial port things since around 1980 and all this stuff is simply funny. Between male and female connectors, DB9 and DB25, sometimes other kinds of connectors like RJ45, hardware or software handshaking, stop bits (1, 1.5, 2 bits), parity, speeds, and so on.
>
>
> Your question is interesting. But in the end, technically, what is important is that you connect the required signals to get it work.
>
>
> According to me, DCE and DTR are simply words to try to give a better shape to a technical document or to a manual. Not more. Because some peripherals can be both DCE and DTR at the same time, in the end, DCE / DTE words add to the confusion.
>
>
> A good point, serial ports have been simplified a lot since their introduction with the DB25 full sync mode implementation.
>
>
> Nowadays, but even since around 1980, sync mode has been abandoned, keeping only async mode that can fit a 9 pins connector or even a 8 pins one like a RJ45, because the RI signal (Ring Indicator) is so rarely used.
>
>
> More, because computers became faster and faster, thanks to the serial port integrated buffers, thanks to a better multitasking, hardware and software handshaking has been abandoned too. In most cases today, those signals could be used, but more for GPIO I/O signal.
>
>
> In the end, since many years, we see mainly only 3 pins in use, TX, RX and ground. Some hardware could still need a bit more, or for some DIY project. And 9600 8N1 are the most common settings. With speed auto detection for most recent devices. Then most of the time the only thing you have to do nowadays, is to find the right pins for TX, RX, and ground, connect that, and you should be fine. Eventually adjust speed and rarely parity.
>
>
> In the end sometimes it is very possible to find some old hardware that is using a female or male connector that will need a custom wiring to connect to something else.
>
>
> I've read recently that DB9 ports for serial RS232 has never been standardized. Only the DB25 is.
>
> This did add probably to the confusion and could explain the funny things we can see there and there.
>
>
>
> In my toolbox, i have a set of RS232 adapters, with most commonly used pinouts. I did that by myself using RJ45 to DB9 male and female custom wiring adapters. Like this, using RJ45 Ethernet cables, i can fastly connect between most devices.
>
>
>
> As a side note, serial DB9 is 3 outputs (TX, DTR, RTS) and 5 inputs (RX, DCD, DSR, CTS, RI).
>
> DTR RTS DCD DSR CTS RI can be used for GPIO.
>
>
> TX is a special case, because it can be used as a data line, or as a GPIO output line (using break set / break unset functions that will set this line high or low).
>
> Nevertheless i've never seen somebody or a manufacturer that did use that TX line as a GPIO one. But i wanted to report it here, it is something that is doable if three GPIO outs are needed.
>
>
>
> Best regards,
>
>
> Olivier.
>
> _______________________________________________
> time-nuts mailing list -- time-nuts@lists.febo.com
> To unsubscribe send an email to time-nuts-leave@lists.febo.com