MediaWiki:Sitenotice:
2024-03-02: The wiki ran out of disk space, so things were not working. This has been resolved by adding another 5GB of quota ;-) Thanks to Tim Lindner for reporting the issues. 2020-05-17: If a page gives you an error about some revision not being found, just EDIT the page and the old page should appear in the editor. If it does, just SAVE that and the page should be restored. OS-9 Al (talk) 12:22, 17 May 2020 (CDT)

How to build a DriveWire serial cable: Difference between revisions

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to navigation Jump to search
(Formatting, links)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{NavHardware}}
{{NavHardware}}


These are the parts needed to make a USB to 4-Pin DIN cable that works with DriveWire:
== General cable information ==


* [https://www.amazon.com/FTDI-USB-RS232-WE-1800-BT-5-0-Cable-RS232-Serial/dp/B01HI9CXG4 FTDI USB-RS232-WE-1800-BT_5.0] - Amazon.com
When connecting a CoCo to a DriveWire 3 or 4 server you will need a particular serial cable. Here are two ways to build such a cable. USB to serial adapters generally work well.
* Solderable 4-pin DIN plug


To connect this the FTDI cable wires yellow, orange, and black are used.
Note : '''The physical cable connecting the CoCo to the Server is recommended to be no longer than 10 feet in length.'''.


Yellow is connected to the DIN pin 4, orange is connected to DIN pin 2, and black is connected to DIN pin 3.
== Possible cable combinations ==


* Tested and working in Linux and Windows to 115,200 kpbs
=== Single, direct USB-A male RS232 cable converter to 4-Pin DIN male cable  ===
 
Parts :
 
* FTDU USB-A male RS232 serial adapter ([https://www.amazon.com/FTDI-USB-RS232-WE-1800-BT-5-0-Cable-RS232-Serial/dp/B01HI9CXG4 example])
* Solderable male 4-pin DIN plug ([https://www.aliexpress.com/item/4000133397159.html example])
 
To connect this the FTDI cable wires yellow, orange, and black are used :
 
* Yellow is connected to the DIN pin 4
* Orange is connected to DIN pin 2
* Black is connected to DIN pin 3
 
This has been tested and worked in GNU/Linux and Windows to 115,200 kbps.
 
=== DB-9 or DB-25 female (PC side) to 4-Pin DIN male (CoCo side) cable  ===
 
Parts :
 
* DB-9 or DB-25 male connector
* Solderable 4 pin DIN plug ([https://www.aliexpress.com/item/4000133397159.html example])
* 4 conductor cable
 
At a minimum, the serial line shall carry the following four wires:
 
* Ground
* Vcc
* RD (Receive Data)
* TD (Transmit Data)
 
A 4 pin male DIN connector shall be on one end of the cable which will mate to the jack on the back of the CoCo marked “Serial I/O”. The other end of the cable shall be either a DB-9 or DB-25 female connector which will mate to an appropriate serial port on the Server.
 
The following table shows the connections between the CoCo 4 pin male DIN connector to either a 9-pin DB-9 female serial connector or a 25-pin DB-25 female serial connector :
 
{| class="wikitable"
!CoCo DIN connector
!DB-9
!DB-25
|-
|Pin 1 (CD)
|Pin 3 (TX)
|Pin 2 (TX)
|-
|Pin 2 (RX)
|Pin 3 (TX)
|Pin 2 (TX)
|-
|Pin 3 (GND)
|Pin 5 (GND)
|Pin 7 (GND)
|-
|Pin 4 (TX)
|Pin 2 (RX)
|Pin 3 (RX)
|}
 
{|  class="wikitable"
! Coco DIN connector
! Legend
|-
|
[[File:Coco_din.png]]
|
# CD - status line
# RS-232C IN - serial data input
# GND - ground, zero voltage reference
# RS-232C OUT - serial data output
|}
 
This cable may be built based upon the following diagram :
 
[[File:CoCo-serial-cable.png|500px|center]]
 
==== Optional USB-A male to RS-232 DB9 female serial adapter for modern computers ====
 
'''Note''' : If you don't have access to an older PC with a serial port with a male DB9 connector, you will need an additional serial converter :
 
* USB male to DB-9 female RS232 female serial adapter ([https://www.aliexpress.com/item/4001081237508.html example adapter])
 
Such converters range in price from about $10 - $20 (or less from chinese providers, with longer shipping times) and can be purchased from most electronics stores and online. If they don't have it on the shelf, ask someone and they can most likely order it for you. You will still need the cable above as this is just an adapter to be able to connect it to PC's with no DB-9 male serial port.
 
Alternatively, you can also still purchase an add-on PCI or PCIx serial card. TigerDirect and NewEgg still stock a large selection of these cards. The internal serial cards tend to offer better data transfer rates than the USB to Serial adapters in testing.


== Source ==
== Source ==
* Scott Adams
* Scott Adams (direct FTDI to 4-Pin DIN cable)
* Tandy Service Manual - Color Computer 3 NTSC/Pal Version - p. 47-48
* [https://sourceforge.net/p/drivewireserver/wiki/DriveWire_Specification/#physical-interface-requirements Drivewire physical interface requirements] - from the [DriveWire Specification https://sourceforge.net/p/drivewireserver/wiki/DriveWire_Specification] (DB9 to 4PN-DIN male)

Latest revision as of 03:10, 22 November 2021

WELCOME
Looking for CoCo help? If you are trying to do something with your old Color Computer, read this quick reference. Want to contribute to this wiki? Be sure to read this first. This CoCo wiki project was started on October 29, 2004. --OS-9 Al

See Recent Changes. | About this site. | Join the E-Mail List or Facebook Group. | Contact me with updates/questions.

This page was last updated on 11/22/2021. Total Pages: 744. Total Files: 994.


Home / Hardware - How to build a DriveWire serial cable


General cable information

When connecting a CoCo to a DriveWire 3 or 4 server you will need a particular serial cable. Here are two ways to build such a cable. USB to serial adapters generally work well.

Note : The physical cable connecting the CoCo to the Server is recommended to be no longer than 10 feet in length..

Possible cable combinations

Single, direct USB-A male RS232 cable converter to 4-Pin DIN male cable

Parts :

  • FTDU USB-A male RS232 serial adapter (example)
  • Solderable male 4-pin DIN plug (example)

To connect this the FTDI cable wires yellow, orange, and black are used :

  • Yellow is connected to the DIN pin 4
  • Orange is connected to DIN pin 2
  • Black is connected to DIN pin 3

This has been tested and worked in GNU/Linux and Windows to 115,200 kbps.

DB-9 or DB-25 female (PC side) to 4-Pin DIN male (CoCo side) cable

Parts :

  • DB-9 or DB-25 male connector
  • Solderable 4 pin DIN plug (example)
  • 4 conductor cable

At a minimum, the serial line shall carry the following four wires:

  • Ground
  • Vcc
  • RD (Receive Data)
  • TD (Transmit Data)

A 4 pin male DIN connector shall be on one end of the cable which will mate to the jack on the back of the CoCo marked “Serial I/O”. The other end of the cable shall be either a DB-9 or DB-25 female connector which will mate to an appropriate serial port on the Server.

The following table shows the connections between the CoCo 4 pin male DIN connector to either a 9-pin DB-9 female serial connector or a 25-pin DB-25 female serial connector :

CoCo DIN connector DB-9 DB-25
Pin 1 (CD) Pin 3 (TX) Pin 2 (TX)
Pin 2 (RX) Pin 3 (TX) Pin 2 (TX)
Pin 3 (GND) Pin 5 (GND) Pin 7 (GND)
Pin 4 (TX) Pin 2 (RX) Pin 3 (RX)
Coco DIN connector Legend

  1. CD - status line
  2. RS-232C IN - serial data input
  3. GND - ground, zero voltage reference
  4. RS-232C OUT - serial data output

This cable may be built based upon the following diagram :

Optional USB-A male to RS-232 DB9 female serial adapter for modern computers

Note : If you don't have access to an older PC with a serial port with a male DB9 connector, you will need an additional serial converter :

Such converters range in price from about $10 - $20 (or less from chinese providers, with longer shipping times) and can be purchased from most electronics stores and online. If they don't have it on the shelf, ask someone and they can most likely order it for you. You will still need the cable above as this is just an adapter to be able to connect it to PC's with no DB-9 male serial port.

Alternatively, you can also still purchase an add-on PCI or PCIx serial card. TigerDirect and NewEgg still stock a large selection of these cards. The internal serial cards tend to offer better data transfer rates than the USB to Serial adapters in testing.

Source