In this section we will download and install the software that emulates a disk drive to the knitting machine.
Python code
Now that you have the cable running, its time to download the software. Visit the Adafruit github repository and click on Download to download the source code.
This code is based on Steve Conklin's knitting machine code which is totally awesome but doesn't support pattern insertion. Still, check out his site for a lot of detailed information.
Download the file and unzip it into a directory that is easy for you to get to. For windows, we're going to stick the folder in My Documents in a folder called brother but if you are comfortable with command lines put it where-ever you'd like!
Open up a command line (windows) or Terminal (mac) or xterm (linux) and cd to the brother directory and then type in ls (or dir if ls doesnt work) to list all the files.
Determining the serial port
Now we need to figure out what the name of the FTDI cable is. This process differs a little for Mac, Linux and Windows people.
Under Mac, in the Terminal window, type in ls /dev/cu.* which should give the following responses or so.
The name we are looking for is /dev/cu.usbserial-XXXX where the X's are going to be unique for each cable. Copy and paste the name into a text file so you'll remember it for later.
For Linux/Unix type ls /dev/ttyUSB* into a terminal window, you should see a device file called something like ttyUSB0.
Page last edited July 09, 2012
Text editor powered by tinymce.