Make your own cable
The kh930e is designed to work with a Tandy PDD1 floppy drive. We don't need it! Make your own cable to communicate between your computer and the machine. You will need:
- FTDI cable - you should be able to use a '3.3v' or '5v' cable.
- 2x4 connector part number WM8036-ND on Digikey
You will need to make some minor mods to get the cable talking to your
knitting machine. Follow the tutorial to get your knitting cable going.
Change 'polarity' of the FTDI cable
FTDI cables have standard 'inverted' TTL (zero is 3-5V and one is 0v) but the KH930E requires the opposite. Luckily its very easy to fix this by reprogramming the software.
You will need a copy of FTDI MProg (windows only) and your FTDI cable. Plug in the FTDI cable into your windows computer and install the driver that matches your computer best
For Windows users, http://www.ftdichip.com/Drivers/CDM/CDM%202.08.28%20WHQL%20Certified.zip is the best choicePlease read our detailed tutorial on installing the driver here then come back when the driver is installed
Now download FTDI MProg (Search for MProg in the page, v3.5 was the latest version last we checked) and run the program
Rewire the connector
Next we need to rewire the FTDI cable to match the pinout of the
knitter. The cable comes with a 1x5 connector, but we need a 2x4
connector. You can also follow Davi Post's excellent rendition of this cable-rewiring section.
Repeat for all the wires.
You'll want to cut away a few inches of the black cable sheathing so you have plenty of 'space' to work with the wires. Cut down the sheathing without cutting the colored wires, use a fine scissors. Cut 1 or 2" away.
Now grab the 2x8 cable connector you bought from Digikey or whatever. You'll need to insert the wires so that they snap into the connector to match the following diagram. Do not insert the red or green wires yet!!! Insert just the orange and yellow wires. Look at the photos below to make sure you have the wires in the right order, they should just snap in. If they don't snap make sure the little lock-tab is facing 'out'
This diagram assumes you're looking at the connector from the end that goes into the machine. Again, check with the photos many times to be sure you get this right!
Pin 1 is black, pin 2 will be red, pin 3 will be green, pin 6 is orange, and pin 7 is yellow.
Next is the one tough part, you'll want to cut the green wire as close as you can to the black sheathing. Use the piece of green wire to branch off from the red wire by stripping a small opening in the red sheathing and soldering the green wire on. This produces one wire with two header inserts - red and green. See the following image:
TODO: We're pretty sure its possible to make this part less difficult by using the RTS (green) wire without splicing it to the 5V (red) wire and using setRTS() in the python code but we already mangled the cable before trying this. If you try and succeed, please post up in the forums!
Text editor powered by tinymce.