Networked knitting machine: not your average knit one, purl one
The moment we saw Sarah Spencer‘s knitted Stargazing tapestry, we knew we needed to know more. A couple of emails later, and here’s Sarah with a guest blog post telling you all you need to know about her hacking adventure with a 1980s knitting machine and a Raspberry Pi.
Here’s Sarah…
Raspberry Pi: what’s there not to like? It’s powerful, compact, and oh so affordable! I used one as a portable media box attached to a pico projector for years. Setting one up as a media box is one of the most popular uses for them, but there’s so much more you can do.
Cue a 1980s Brother domestic knitting machine. Yep, you read that right. A knitting machine – to knit jumpers, hats, scarves, you name it. They don’t make domestic knitting machines any more, so a machine from the 1980s is about as modern as you can get. It comes with an onboard scanner to scan knitting patterns and a floppy drive port to back up your scans to an old floppy disk. Aah, the eighties – what a time to be alive!
Building a networked knitting machine
But this is an article about Raspberry Pi, right? So what does a 30-year-old knitting machine have to do with that? Well, I hacked my domestic knitting machine and turned it into a network printer with the help of a Raspberry Pi. By using a floppy drive emulator written in Python and a web interface, I can send an image to the Raspberry Pi over the network, preview it in a knitting grid, and tell it to send the knitting pattern to the knitting machine via the floppy drive port.
OctoKnit
I call this set-up OctoKnit in honour of a more famous and widely used tool, OctoPrint for 3D printers, another popular application for Raspberry Pi.
I’ve made the OctoKnit web interface open source. You can find it on GitHub.
This project has been in the works for several years, and there’s been a few modifications to the knitting machine over that time. With the addition of a motor arm and an automatic colour changer, my knitting is getting very close to being hands-free. Here’s a photo of the knitting machine today, although the Raspberry Pi is hiding behind the machine in this shot:
I’ve specialised in knitting multicolour work using a double-layered technique called double Jacquard, which requires two beds of needles. Hence the reason the machine has doubled in size from when I first started.
Knitting for Etsy
I made a thing that can make things, so I need to make something with it, right? Here are a few custom orders I’ve completed through my Etsy store:
Stargazing
However, none of my previous works quite compares to my latest piece, Stargazing: a knitted tapestry. Knitted in seven panels stitched together by hand, the pattern on the Raspberry Pi is 21 times bigger than the memory available on the vintage knitting machine, so it’s knitted in 21 separate but seamless file transfers. It took over 100 hours of work and weighs 15kg.
Stargazing is a celestial map of the night sky, featuring all 88 constellations across both Northern and Southern hemispheres. The line through the center is the Earth’s equator, projected out into space, with the sun, moon and planets of our solar system featured along it. The grey cloud is a representation of our galaxy, the Milky Way.
Happy 6pm, Fri 31st Aug 2018 ? The tapestry is installed and the planets in the sky have now aligned with those in the knitting pic.twitter.com/uOe9w5WHnO
— Heart of Pluto (@HeartOfPluto_) August 31, 2018
When I first picked up a Raspberry Pi and turned it over in my hand, marvelling at the computing power in such a small, affordable unit, I never imagined in my wildest dreams what I’d end up doing with it.
What will you do with your Raspberry Pi?
11 comments
Orlando
Simple Lovely. Thanks for sharing!
M Daniels
Who said girl’s can’t do tech? This is simply the most amazing Pi project ever, in the history of computing! That tapestry is incredible. 11 out of 10 for that project!
A Kupries
Reminded me of … Searching … Found:
https://shop.evilmadscientist.com/productsmenu/835
To quote: AYAB — All Yarns Are Beautiful — is an open source hardware and software project that provides an alternative way to control the widely-loved Brother KH-9xx range of knitting machines using a computer
Norman Dunbar
Absolutely brilliant.
Cheers,
Norm.
Aussie Susan
Go the Tigers – pity they can’t duplicate the result this year
AndrewS
Interknit of Things :)
Helen Lynn
:-)
Jeff Findley
I saw the star map made with the knitting machine on Twitter because I follow a lot of “space” people. I’m now doubly impressed that it includes the use of a Raspberry Pi.
exitbrexit
Just Awesome
Joelle Godfrey
Super cool. I saw the Star Map on another page, but I didn’t realize it was Raspberry PI enabled. Very cool. Thanks for sharing!
Ronda House
This is so cool, I wonder if I can make this work on my DM80.