Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bkw777/tpdd_cable
TTL-RS232 level-shifting cable for Tandy Portable Disk Drive
https://github.com/bkw777/tpdd_cable
Last synced: 25 days ago
JSON representation
TTL-RS232 level-shifting cable for Tandy Portable Disk Drive
- Host: GitHub
- URL: https://github.com/bkw777/tpdd_cable
- Owner: bkw777
- License: cc-by-sa-4.0
- Created: 2020-08-08T01:31:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-03T17:42:11.000Z (2 months ago)
- Last Synced: 2024-11-03T18:27:56.602Z (2 months ago)
- Language: OpenSCAD
- Size: 121 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cable for [Tandy Portable Disk Drive](http://tandy.wiki/TPDD)
![](PCB/out/TPDD_Cable.tr.jpg)
![](PCB/out/TPDD_Cable.br.jpg)
![](PCB/out/TPDD_Cable.exploded.jpg)
![](PCB/out/TPDD_Cable.assembled.jpg)
![](PCB/out/TPDD_Cable.top.jpg)
![](PCB/out/TPDD_Cable.bottom.jpg)
![](PCB/out/TPDD_Cable.svg)
![](build_pics/1540_complete.jpg)
![](TPDD_Cable_use.jpg)
![](TPDD_Cable_running.jpg)# Parts
PCB & Housing (and solder jig): [PCBWAY](https://www.pcbway.com/project/shareproject/TANDY_Portable_Disk_Drive_Cable.html)
BOM: [DigiKey](https://www.digikey.com/short/87q1nv0f)The BOM includes a grey cable. This [black cable](https://www.digikey.com/short/wbpp81nt) can be substituted if you want.
# Directions
[pictures of build process](build_pics/build_pics.md)
If you want to make 2 cables, one for Model 100 and one for PC/WP-2, then double the BOM components except for the cable, and cut the cable in half right in the middle.
Otherwise just cut off the 9-pin plug to make one longer cable for Model 100 and other KC-85 clones.## prepare the cable
Cut the unwanted plug off the cable.
If building a Model 100 cable, cut off the 9-pin plug.
If building a PC/WP-2 cable, cut off the 25-pin plug.
If building both cables, cut the cable in half in the middle.Strip off about 1 inch or 25mm of the cable jacket.
Also cut the foil shield and the bare wire short right at the end of the jacket.Apply a bit of flux to the ends of the loose wires.
Load up the soldering iron with a ball of solder and touch the soldering iron to the end of each wire long enough for the insulation to shrink itself back about 1-2mm and tin the end of the wire at the same time. You only need about 1mm of wire exposed and it's not worth trying to actually strip the insulation the normal way. Just heat the very tip end and it will melt and shrink itself back the perfect amount and the wire will end up tinned as well.
Insert the cable into the round opening on the housing and push the cable all the way through the housing and slide the housing about a foot back from the end of the cable.
Thread a 1 to 1-1/2 inch (25-30mm) piece of heatshrink onto the cable and slide back to the housing.
Don't shrink it.## Map the wire colors to the plug pin numbers
Print the wire color worksheet.
Put a DMM into continuity mode.
Use a jumper wire or meter lead with an alligator clip to grab one of the wires and connect to one lead of the DMM.
Probe with the other meter lead to touch each pin on the DB25 to find which pin that wire goes to.
Write the color of the wire for that pin number on the worksheet.
Repeat for all wires.
Cut the un-used wires short.
For the exact cable in the BOM and probably most cables, there will be 3 wires with no place on the PCB: a bare wire connected to both the DB25 shell and pin 1, a wire on pin 8, and a wire on pin 22.
Cut all of those as short as possible right at the end of the cable jacket.## prepare the pcb
Sand the edge of the pcb as neccessary to flatten any pointy bits left from the edge routing. The front edge is supposed to be castellated, so don't try to grind those away, but the front edge is supposed to be straight, so sand flat anything that sticks out from the rest.Blunt or chamfer the rim of the drill holes on the bottom side of the pcb (the side with the chips). Use a countersink bit if you have one, or a drill bit. If nothing else a phillips screwdriver will barely work. You just want to blunt the sharp edge of the hole so the zip tie can be pulled through, don't grind a deep chamfer.
## solder the pcb
Solder the transistors onto the pcb.Insert the pcb and the 2x4 connector into the solder jig.
Face up or down doesn't matter.Solder the 4 exposed pins on the 2x4 connector.
Remove the pcb from the jig and solder the other 4 pins on the 2x4 connector.
## solder the wires to the pcb
The signal names on the PCB are relative to the computer, aka the DTE side.
Ex: The pad labelled RTS on the PCB connects to the computers RTS.Follow your worksheet to match wire colors to the pads on the PCB.
Add solder to the 4 oval wire pads first so that you only need to touch the wire to solder it.
Start with the cable pointing the "wrong" way on the pcb, with the ends of the wires pointing towards the zip tie holes, ie the opposite direction from how it must be in the end, and solder the 4 wires that go to the 4 oval pads.
Then fold the cable over and fish the remaining 3 wires in between the 4 soldered wires towards their respective pins on the 2x4 connector. Keep all 3 of these wires inside of the first 4, ie the 2 outside wires of the 1st 4 remain the outermost wires when done. It's annoying but results in the least pinching & crossing of wires later.
Wash all flux from the pcb and wires.
## assemble the housing
Clean the end of the cable with alcohol where the heat-shrink will go if not done already.Slide the heat-shrink 2mm past the end of the end of the cable jacket, just enough to cover the unused cut wires and shielding, and shrink it. Don't leave any more heat shrink in front of the jacket than necessary to cover the cut wires. You need to push the cable into the plug body as far as possible later, and excess heat-shrink will prevent the cable from inserting as far as it could.
**Make sure the transistors face DOWN, and the polarity key points UP**.
Slide the housing up over the pcb, or in other words pull the pcb into the housing.
The heat-shrink will want to catch on the front edge of the housing on the way in, and also on an internal lip at the rear of the housing on the way out.
Squeeze and angle the cable to get the heat-shrink started into front of the housing, and pull the cable on the back 45 degrees up towards the top of the housing before pulling the heat-shrink all the way through so the heat-shrink doesn't catch on a lip at the bottom rear inside the housing.
Regardless, if the heat-shrink gets dug up on the way through, just heat it again and it will smooth back out.Once the pcb is all the way in, push the cable forward into the housing as far as possible while holding the pcb in with a finger over the front.
Make sure the end of the jacket goes past the zip tie area.Use pliers to put a small extra bend at the very tip of the zip tie, just the last 1-2mm right at the tip, in the same direction it's already bent (the direction it will bend to wrap around the cable).
Insert the zip tie pointing down into the one exposed hole in the pcb you can see, and push in with needle nose pliers until the tip comes out the top. Then you should be able to pull the tie out some more, thread it through the head and pull it the rest of the way. Stop before going all the way tight and jam the cable in as far as possible before cinching down tight.
If you didn't chamfer or blunt the bottom side of the drill holes, then you may have to push the zip tie in with pliers the whole way instead of pulling.
The zip tie does double duty. It both clamps the cable to the pcb and is also what locks the pcb into the housing so the pcb can't pull back out the front.
Once you have tested the cable and are sure the connections are correct, it would be best to inject some glue (C-A/super glue, vynil e6000/goop/etc) into the housing to immobilize the wires and to prevent the cable from working back out of the zip tie. If you're careful you could probably use hot glue by applying some just before inserting the cable, but you'll need to be careful to definitely get some on the pcb all the way back between the holes so that it grabs the heat shrink well, yet not plug up the holes where you will need to push the zip tie through.
## DONE
# Cable Wiring Options
For convenience, the tables below show the wire colors for the specific cables linked here.
If you buy one of these exact specific cables, then your cable should match one of the tables below, but still double-check the wire colors to pin numbers before soldering.If you use any other cable that isn't specifically from one of the links here, then ignore the colors in the tables below and map out your cables wire colors yourself with a DMM continuity beeper and one of the printable worksheets below.
The grey cable in the BOM, and the alternative black cable, has both a DB25M on one end and a DE9F on the other end, so you can use the same BOM to make either a "Model T" cable, or a PC cable, or one of each if you double up the other components.
## DB25 Male cable for TRS-80 Model 100 and other KC-85 clones
![](build_pics/1540_complete.jpg)
![](build_pics/1590_complete.jpg)
![](build_pics/1580_complete.jpg)This is the standard version of the cable that replicates the cable that originally shipped with the TPDD and TPDD2.
The cable in the BOM supports this option.
It supports at least the following machines:
Kyotronic KC-85
TRS-80/TANDY Model 100, 102, 200, 600
NEC PC-8201, PC-8300, PC-8401, PC-8500
Olivetti M10
Any other machine with a *female* DB25 DTE RS-232 port. The female part is unusual but some other early machines besides these did have it this way also.
[PRINTABLE WIRE COLOR WORKSHEET for KC-85 CLONES](DB25M_DTE_Wire_Chart.pdf)
TPDD to Model 100
PCB PAD
GREY CABLE
BLACK CABLE
DB25 PIN
TX
Orange
Red
2
RXRedBrown3
RTSPurpleBlue4
CTSGreyPurple5
DSRBlueGreen6
GNDGreenYellow7
DTRYellowOrange20
To verify the final result, check the following with a DMM in Continuity and Diode modes.
BLACKCONTDIODERED
1BEEP7
2BEEP4
31.7v6
41.7v5
5BEEP20
61.7v3
7BEEP2
## DE9 Female cable for Standard PC 9-pin COM port
![](build_pics/1600_pc_wp2_complete.jpg)
![](build_pics/1610_wp2.jpg)
![](build_pics/1620_wp2.jpg)
![](build_pics/1700_pc.jpg)
This version supports:
Most PCs with 9-pin com ports
usb-serial adapters
TANDY WP-2
Atari Portfolio
Anything else with a standard male DE9 DTE RS-232 port
IE this is for connecting the TPDD directly to a PC, which is not something you usually need to do.
This cable is useful for using [pdd.sh](https://githup.com/bkw777/pdd.sh) to take a raw disk image of a commercial disk or to re-create a disk from a disk image. You don't need this merely to copy normal files, but disks like the utility disks and the sardine dictionary disk are special and can't be copied any other way.
This is also useful if you have a Tandy WP-2 and want to use it's built-in TPDD support.
The cable in the BOM supports this option.
[PRINTABLE WIRE COLOR WORKSHEET for PC/WP-2](DE9F_DTE_Wire_Chart.pdf)
TPDD to PC
PCB PAD
DE9 PIN
RX
2
TX3
DTR4
GND5
DSR6
RTS7
CTS8
To verify the final result, check the following with a DMM in Continuity and Diode modes.
BLACKCONTDIODERED
1BEEP5
2BEEP7
31.7v6
41.7v8
5BEEP4
61.7v2
7BEEP3
## Cambridge Z88
**UNTESTED**
*The Cambridge Z88 RS-232 port has a non-standard pinout.*
*Do not connect this cable to anything but a Cambridge Z88.*
The cable in the BOM does NOT support this option.
Delete the cable from the pre-loaded DigiKey cart, and add [this one](https://www.digikey.com/short/mrf9n7nh) instead.
TPDD to Z88
PCB PAD
DE9 PIN
TX
2
RX3
RTS4
CTS5
GND7
DSR8
DTR9
# Credits / History
In the beginning, there was the [Marty Goodman Document](https://raw.githubusercontent.com/LivingM100SIG/Living_M100SIG/main/M100SIG/Lib-09-PERIFERALS/TPDD.DO), and it was good.
More recently, Rick Shear has taken a new and very careful look at a real cable, and the Marty Goodman doc, and has probably identified the "mystery" components that Marty Goodman talks about. It looks right, and the circuit does indeed work.
[Rick's initial post](https://rsmicro.wordpress.com/2018/08/26/tpdd-cable/)
[Rick's follow-up](https://rsmicro.wordpress.com/2018/09/08/built-tpdd-cable-comparison-to-oem/)
This cable uses the same transistors, but a different physical construction.