No description
Find a file
Jeff Epler 4d83ea14c4
Merge pull request #5 from jepler/patch-1
Use archive.org for defunct craftzine link
2021-02-12 17:11:47 -06:00
app Fixed insert pattern script, fixed emulator putting CUP to 100% when listening to machine 2013-12-13 16:07:32 -06:00
experimental initial commit of theirs code 2013-07-22 20:37:42 +02:00
file-analysis initial commit of theirs code 2013-07-22 20:37:42 +02:00
textconversion initial commit of theirs code 2013-07-22 20:37:42 +02:00
.gitignore PDD emulator in tk application 2013-07-22 22:26:40 +02:00
addpattern.py initial commit of theirs code 2013-07-22 20:37:42 +02:00
brother.py Removed rubbish code 2013-11-30 01:26:42 +01:00
Changelog Added some documentation about my changes 2013-11-30 02:12:47 +01:00
CONTRIBUTORS Add a contributors file, to try to recognize people 2013-11-29 21:51:13 -06:00
dumppattern.py import convenience functions from brother module 2013-11-30 01:32:35 +01:00
guimain.py Display list of patterns in dat file and bitmap for selected pattern. 2013-07-27 01:05:05 +02:00
insertpattern.py Fixed insert pattern script, fixed emulator putting CUP to 100% when listening to machine 2013-12-13 16:07:32 -06:00
PDDemu-debug.py initial commit of theirs code 2013-07-22 20:37:42 +02:00
PDDemulate.py Fixed insert pattern script, fixed emulator putting CUP to 100% when listening to machine 2013-12-13 16:07:32 -06:00
process_image.py initial commit of theirs code 2013-07-22 20:37:42 +02:00
README.md README: Fix URLs again 2020-08-15 09:03:18 -05:00
requirements.txt add requirements and instructions for pip 2013-12-15 20:07:43 -06:00
splitfile2track.py initial commit of theirs code 2013-07-22 20:37:42 +02:00

Electroknit

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

##Introduction

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.

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.

The emulator script was named PDDemulate-1.0.py, and the instructions in a lot 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://makezine.com/craft/hack_your_knitting_machine/ https://web.archive.org/web/20101111163531/http://blog.craftzine.com/archive/2010/11/hack_your_knitting_machine.html

##Subdirectories

  • 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 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