Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Files for the Electroknit knitting machine

branch: master

This branch is 0 commits ahead and 0 commits behind master

Merge pull request #1 from codersquid/adds_requirements

add requirements and instructions for pip
latest commit cc91088c07
Steve Conklin sconklin authored
Octocat-spinner-32 app Fixed insert pattern script, fixed emulator putting CUP to 100% when … December 13, 2013
Octocat-spinner-32 experimental initial commit of theirs code July 22, 2013
Octocat-spinner-32 file-analysis initial commit of theirs code July 22, 2013
Octocat-spinner-32 textconversion initial commit of theirs code July 22, 2013
Octocat-spinner-32 .gitignore PDD emulator in tk application July 22, 2013
Octocat-spinner-32 CONTRIBUTORS Add a contributors file, to try to recognize people November 29, 2013
Octocat-spinner-32 Changelog Added some documentation about my changes November 30, 2013
Octocat-spinner-32 PDDemu-debug.py initial commit of theirs code July 22, 2013
Octocat-spinner-32 PDDemulate.py Fixed insert pattern script, fixed emulator putting CUP to 100% when … December 13, 2013
Octocat-spinner-32 README add requirements and instructions for pip December 15, 2013
Octocat-spinner-32 addpattern.py initial commit of theirs code July 22, 2013
Octocat-spinner-32 brother.py Removed rubbish code November 30, 2013
Octocat-spinner-32 dumppattern.py import convenience functions from brother module November 30, 2013
Octocat-spinner-32 guimain.py Display list of patterns in dat file and bitmap for selected pattern. July 27, 2013
Octocat-spinner-32 insertpattern.py Fixed insert pattern script, fixed emulator putting CUP to 100% when … December 13, 2013
Octocat-spinner-32 process_image.py initial commit of theirs code July 22, 2013
Octocat-spinner-32 requirements.txt add requirements and instructions for pip December 15, 2013
Octocat-spinner-32 splitfile2track.py initial commit of theirs code July 22, 2013
README
Please see the Changelog file for the latest changes

=== QUICK START ===


Install python dependencies with pip and execute script guimain.py to start the
graphical application.  If you do not have pip, follow install instructions at
http://www.pip-installer.org/

```
pip install -r requirements.txt
python guimain.py
```

This application can start floppy disk emulator and provides means to download/upload patterns and modify them.
It is based on existing python scripts, which were slightly modified for better user experience in graphical application.

=================

These files are related to the Brother KH-930E knitting machine, and other similar models.

=== NOTE ===

The emulator script was named PDDemulate-1.0.py, and the instructions in a lor of forums for using it have that name.
The script has been renamed, and is now simply PDDemulate.py.

============

The files in the top directory are the ones used for the knitting project that Becky Stern and Limor Fried did:

http://blog.makezine.com/archive/2010/11/how-to_hacking_the_brother_kh-930e.html
http://blog.craftzine.com/archive/2010/11/hack_your_knitting_machine.html

The subdirectories contain the following:

* docs:

  Documentation for the project, including the data file format information and
  scans of old manuals which are hard to find.

* experimental:

  Some never-tested code to talk to a Tandy PDD-1 or Brother disk drive.

* file-analysis:

  Various scripts used to reverse-engineer the brother data format, as well as some spreadsheets used.
  These may or may nor work, but may be useful for some.

* test-data:

  A saved set of data from the PDDemulator, with dicumentation abotu what's saved in each memory location.
  A good way to play with the file analysis tools, and may give some insight into the reverse engineering
  process.

* textconversion

  The beginnings of work to convert text to a knittable banner.

--------------------------

The Brother knitting machines can save data to an external floppy disk drive, which connects to the machine using a serial cable.

These external floppy drives are difficult to find and expensive, and the physical format of the floppy disks is different than 3.25" PC drives.

The program PDDemulate acts like a floppy drive, and runs on linux machines, allowing you to save and restore data from the knitting machine.

Most of the formatting of the saved data files has been figured out, and the tools used to do that are also in this repository.

There is also an example of how to generate a text banner in a .png image file, 
which may be useful to some.

The work that Steve Conklin did was based on earlier work by John R. Hogerhuis.

This extended by Becky and Limor and others, including Travis Goodspeed:

http://travisgoodspeed.blogspot.com/2010/12/hacking-knitting-machines-keypad.html
Something went wrong with that request. Please try again.