Archives

All posts for the month March, 2015

Instead of finding a lathe and taking a stab at making replacement parts for the 19th century Canadian production spinning wheel Kit picked up last year, I figured I’d take a stab trying to make the parts on the Lulzbot.  Normally, for a typical wheel that’s around now it’s just a 20 dollar or so purchase to pick up bobbins, but these wheels were never built to any real standard.  So after an hour with a caliper, I’ve come up with this bobbing and the tapered drive pulley.

New Parts Old and New Drive Pulley Comparison Bobbin Comparison

 

I still need to smooth the ABS and bond the bobbin together (it is designed as a center shaft and two end pieces.)  Once it’s all done I plan to put up the STLs on my github.  Having not actually measured another wheel in person I don’t know exactly how different they are, but hopefully it’ll help someone in the future.

I picked up a LulzBot Mini this week.  The printer’s specs and price point finally pushed me into getting one.  It requires a computer with USB to be able to drive it (there is no screen or SD slot.)  I rather like this because it means the interface can be what I want. After using it enough with my laptop that I was confident in taking the next step, I went looking around for smaller systems.

I had an Arndale Octa with Linaro laying about being unused.  The Octa is a really interesting board that I originally got for playing around with OpenCL and USB 3 on an ARM Cortex-A15. While it only has 1 USB port, it has a lot more computing power than the Pis that are usually used.  I followed the guide to install OctoPrint on Raspian (since it is similar enough to a generic Debian install,) but when all was told, I plugged the printer in, connected to the web interface, went to select the serial port….and nothing.

Here it turns out the bog standard Linaro builds don’t include the CDC-ACM module.

No problem, it’s easy enough to build a kernel module.

First find the kernel version you’re using with the command “uname -r”

I was on 3.15, which is fairly recent, so I went straight to the Linux kernel repo on github and found the folder that contained the module of interest.

Make a new folder on the Arndale and wget cdc-acm.c cdc-acm.m from the repo.  Then create a Makefile that contains:

obj-m += cdc-acm.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

(Cut and paste may make things fail.  If you get errors in the next step, just type it out)

Make sure you have the needed packages to build from apt (they were already on mine)

apt-get install linux-headers-$(uname -r) build-essential

Then you should just be able to type “make” and things should go.  Once it’s done there should be a cdc-acm.ko in the folder. Try to use “sudo insmod cdc-acm.ko” and the printer should show up!