Close

Does this project spark your interest?

Become a member to follow this project and don't miss any updates

AYAB - all yarns are beautiful

Give old hardware a new life. Open source hack for the brother knitting machines KH-9xx

Team

This project was created on 06/26/2014 and last updated 3 months ago.

Description
The goal of the AYAB project is to provide an alternative way to control the famous Brother KH-9xx knitting machines
Details

There are some similar projects on the interwebs, such as Knitic or, of course, ladyada's electro-knit.

The main drawback behind the existing projects is that they make use of the 930/40 series of the knitting machine - which are still pretty expensive. AYAB uses the older KH-910 model, which is cheaper than the other models, mainly because it features an error-prone scanner-mechanism for reading the image data (but we don't care because we won't use the scanner anyway…). The 930/940 series already use some kind of digital programming, which opens even more ways to hack them, other than what this project did.

Normally, the KH-910 is programmed using semi-transparent picture cards which are scanned by the machine line by line. Using this information, the machine sets the needles accordingly to achieve the knitting of the picture shown on the picture card. Probably due to memory restrictions, the machine only supports pictures of max. 60 needles (= pixel) width, although the machine has a total width of 200 needles. At least, it is possible to “copy and paste” the scanned image multiple times to achieve a banner-like usage of the scanned data (useful for norwegian patterns).

With AYAB, you can just supply the knitting machine with an image from your computer. The restriction of 60 pixel image width has been abolished due to the improved control. You can just knit an image with up to 200 pixel width.

The control of the needles and needed identification of the current position and movement of the knitting carriage is substituted by a common Arduino microntroller, combined with a custom developed shield. You need to open one part of your knitting machine (warranty is void anyway…) and simply substitute the existing control board with the AYAB controller. Connect the Arduino with your computer and start knitting!

The API to the Arduino is designed in a straight forward way, so the control of the machine can be conducted by every piece of software which can access the serial port of your computer (or raspberry pi, or …) The API consists only of three commands (request information about the controller firmware, request the start of a new picture, send line[x] to the controller when the controller requests it).

Due to the hardware constraints, it is possible to knit images with 1 bit color depth and a maximum width of 200 pixel. The height of the picture is only constrained by the amount of wool and power in your arms you have.

For test and demonstration purposes we provide two python scripts which enable you to check if the hardware (sensors, needle coils) works correctly and to knit images just from the terminal/commandline. But of course it is also possible to do some more sophisticated things like a GUI software with integrated image preprocessing.

Components

Project logs
  • AYAB GUI Beta 2 released

    3 months ago • 0 comments

    We just released version Beta 2 of the AYAB GUI.

    This version should fix the firmware upload issues of the Beta 1 version.

    More improvements to come in the upcoming versions, feel free to send us feedback!

  • AYAB GUI Beta 1 released

    4 months ago • 0 comments

    Last Monday, we were able to release the first Beta version of the AYAB GUI for Linux and Windows. No fancy pattern designer, yet. But one of our main features, the integrated firmware uploader is already inside. And: The software is able to run standalone, no necessity to install a python environment or compile code yourself.

    This lowers the effort for people who are not so much into Arduino, avrdude, firmwares, hex files and so on to get started with our hack! Feel free to check out ayab-knitting.com for a download!

  • AYAB Teaser also available on youtube

    4 months ago • 0 comments

    To fulfill the requirements for the hackaday contest, the AYAB Teaser video is now also available on youtube:

    https://www.youtube.com/watch?v=caOzyxEe7wQ

View all 5 project logs

Discussions

Afrdt wrote 5 months ago null point

I worked in a similar project last year, but our idea was to create generative textiles. Check out the project http://afroditipsarra.com/index.php?/on-going/oiko-nomic-threads/ and the documentation https://github.com/MarinosK/oiko-nomic-threads

Cheers and good luck!

Are you sure? [yes] / [no]

Adam Fabio wrote 5 months ago null point

Thanks for entering The Hackaday Prize andz! You've got a great intro video there! I've always wanted to get into weaving, but it's one of those projects I haven't found time for yet - this may push me over the edge.
Don't forget to keep the updates coming - and good luck in The Hackaday Prize!

Are you sure? [yes] / [no]

Similar projects