The TwitterKnitter

2 August, 2013

Back in the mists of time, Paul brought his knitting machine into TOG. We had a play with it, examined the punchcards and the reader, and had a conversation along the lines of “hey, wouldn’t it be cool if* we could knit our own patterns instead of using these cards? We could even knit tweets and stuff**.”

Oh look, it *was* made in Japan.

Empisal Knitmaster 321 with punchcard.

Fast forward to the Friday night before the Dublin Mini Maker Faire. The knitting machine now has a contraption bolted to it. There are 24 servos, wood, laser cut plastic, string, electronics, an Arduino and a laptop. The machine has just knitted the letter A for the first time in its 40 years, and I am dancing around the hackerspace with glee. It works! It actually works!

Not shown: laptop and wool.

A contraption bolted to another contraption.

What’s going on here? The laptop is running some Python that searches for tweets with a particular hashtag, and lists them. When you choose one, it creates a black and white image of the text and sends the image data to the Arduino. The Arduino detects when the knitting carriage is pulled across (via a cunning microswitch wedged into the punchcard advancing mechanism), reads the next row of image data, and operates the servos to pull the plastic dibblers up or let them drop. In essence, the hardware is just simulating the punchcard and the knitting machine knits the pattern as usual.

Shonky, yet surprisingly reliable.


We took the TwitterKnitter to Dublin Mini Maker Faire along with many other TOG projects. At the start of the day, the knitting still had a few glitches: stitches here and there stuck on the wrong colour. Some of them were caused by a loose string, others by stuck parts on the machine itself, but by the end of the day the text was coming out perfectly. I was delighted. We knitted all day until we ran out of wool…

Hello World!

Knitted tweets, still glitching a little.

Also, check out the crafters' quilt in the background.

Invitation to tweet at the TOG stand. (Photo by @MariaBiruela)

Swapped the colours too late, ran out of black wool.

Ah, that’s better.

The great thing about the hackerspace is that if your project is blocked by a missing part or some problem, chances are someone can help you out.

  • Paul brought in the machine in the first place.
  • Tríona showed me how to work it (and how to unjam it).
  • Paul brainstormed ideas to control the pattern.
  • Robert lent me some servos to test the idea.
  • Tríona laser cut*** 24 dibblers and bought half of the servos.
  • Gary and Paul provided electronics advice.
  • Jeffrey lent me an Arduino Mega.
  • Cheryl lent me a laptop to use at the Maker Faire.

Each of these represent something that would normally have held up progress; waiting for parts, or shopping, or bashing at a poorly understood problem. Instead, someone wandered over and offered parts or expertise, and suddenly the project was moving again (and I was a little wiser, too). Thanks all!

Now then. Wouldn’t it be cool if we could knit pictures?

* This is a dangerous start to a sentence.

** Unbeknown to us, there was another Twitter Knitter project in 2010. And as usual when I have a project idea, I find that my nemesis Becky Stern has already implemented it, but her machine was already electronic.

*** Took a look at the wooden prototype, went to work the next day, designed them by eye from memory, and handed me the laser cut bits a few days later. I thought, there’s no way these are going to fit, and they were perfect. Clearly she missed her calling as an engineer.


  1. Great blog, Becca. Glad the video came in useful. Cheers to everyone at TOG – never been to a barbeque behind a waterfall before…

  2. Stunning!

  3. Great project, To even out the amount of wool you use, why not switch colours after each tweet and try and even out the use of black and white.

    • Alas, we switched colours too late on the day 😦 Hey, wouldn’t it be cool if the software was measuring the amounts of wool used so we could optimise the colour switching…

  4. […] week, TOG had an exhibition of projects in the gallery at Exchange Dublin. I wanted to include the hacked knitting machine, so Sinead took a set of photos and I created a couple of displays on the […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: