User Tools

Site Tools


tutorials:knittingmachine:ftdicable.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tutorials:knittingmachine:ftdicable.html [2010/11/01 19:06]
ladyada created
tutorials:knittingmachine:ftdicable.html [2016/01/28 18:05] (current)
Line 1: Line 1:
 ====== Make your own cable ====== ====== 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: 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:
-  * [[http://​www.adafruit.com/​index.php?​main_page=product_info&​cPath=18&​products_id=70&​zenid=08edecd591934eebcc4993c01b0259d6|FTDI cable]]+  * [[http://​www.adafruit.com/​index.php?​main_page=product_info&​cPath=18&​products_id=70&​zenid=08edecd591934eebcc4993c01b0259d6|FTDI cable]] ​- you should be able to use a '​3.3v'​ or '​5v'​ cable. ​
   * 2x4 connector part number [[http://​search.digikey.com/​scripts/​DkSearch/​dksus.dll?​vendor=0&​keywords=WM8036-ND|WM8036-ND on Digikey]]   * 2x4 connector part number [[http://​search.digikey.com/​scripts/​DkSearch/​dksus.dll?​vendor=0&​keywords=WM8036-ND|WM8036-ND on Digikey]]
    
Line 62: Line 62:
 {{  http://​www.ladyada.net/​images/​ybox2/​propcableremovewire.jpg?​500 ​ |http://​www.ladyada.net/​images/​ybox2/​propcableremovewire.jpg}} {{  http://​www.ladyada.net/​images/​ybox2/​propcableremovewire.jpg?​500 ​ |http://​www.ladyada.net/​images/​ybox2/​propcableremovewire.jpg}}
  
-Then gently pull out the wires+Then gently pull out the wire
  
 {{  http://​www.ladyada.net/​images/​ybox2/​propcablepullout.jpg?​500 ​ |http://​www.ladyada.net/​images/​ybox2/​propcablepullout.jpg}} {{  http://​www.ladyada.net/​images/​ybox2/​propcablepullout.jpg?​500 ​ |http://​www.ladyada.net/​images/​ybox2/​propcablepullout.jpg}}
  
 {{  http://​www.ladyada.net/​images/​ybox2/​propcableremoved.jpg?​500 ​ |http://​www.ladyada.net/​images/​ybox2/​propcableremoved.jpg}} {{  http://​www.ladyada.net/​images/​ybox2/​propcableremoved.jpg?​500 ​ |http://​www.ladyada.net/​images/​ybox2/​propcableremoved.jpg}}
 +
 +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!
 +
 +{{  :​tutorials:​knittingmachine:​connbott-adafruit-kmt.png ​ |}}
 +
 +{{  :​tutorials:​knittingmachine:​conntop-adafruit-kmt.png ​ |}}
 +
 +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 to the black sheathing. Then cut the red wire about in the middle and solder both green and red wires to the red wire so that you have two wire connections. See the following image:
 +
 +{{  :​tutorials:​knittingmachine:​cablesplice_t.jpg ​ |:​tutorials:​knittingmachine:​cablesplice.jpg}}
 +
 +Wrap it up in electrical tape
 +
 +{{  :​tutorials:​knittingmachine:​cablewrapped_t.jpg ​ |:​tutorials:​knittingmachine:​cablewrapped.jpg}}
 +
 +You're done!
 +
 +{{  :​tutorials:​knittingmachine:​cabledone_t.jpg ​ |:​tutorials:​knittingmachine:​cabledone.jpg}}
 +
 +
 +**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.
  
/home/ladyada/public_html/wiki/data/attic/tutorials/knittingmachine/ftdicable.html.1288638376.txt.gz · Last modified: 2016/01/28 18:05 (external edit)