Posts

Cura for Ubuntu 16.04

I started writing a post about building Cura for Ubuntu from source. It turned into an Epic. I suppose I should have checked that it had sane python packaging before I started. It doesn't. The maintainers have resorted to one of those horrible check it and all it's dependencies and build then all scripts, that are always completely impenetrable when they don't work. Thankfully, someone with much more patience than me has done it already. It's here .

Building a Prusa i3 Mk2

Image
I'm quite a long way though the build. I spent about 2 hours on it on Tuesday night and another 2 hours last night. I have the extruder mounted on the X-Axis, so basically all the mechanical parts are done. I've messed up a few things: I couldn't get the rods fully into the X-Axis motor mount, until I resorted to using a hammer. Also, when I slid the X-Axis on, I wrecked one of the bearings. Fortunately I had a spare lying around. Here are some of the sub-assemblies: the Y-Axis: The troublesome, too long X-Axis: I think I have the hang of the instructions now. It's pretty easy to not get everything oriented correctly: for example, the cable management depends on the correct orientation of the motors and fans. I still managed to put the extruder fan in the wrong way the first time. It's an annoying mistake, because where the screws are tapped into plastic parts they are very stiff! I have to say, I feel the whole thing is a bit flimsy, and I'l...

3D Printers

After printing a few more parts, and being a bit frustrated at the latency, I've decided I probably could get some value out of a 3D printer. I don't want to have to fiddle around too much with the build, so I've decided I want auto levelling, or a levelling sensor. I also want a heated bed, and a high temperature hot end so I can experiment with different materials. I decided to weigh one of my parts, and found it was about 30 grams. At £16 a kg, that's about 50p worth of PLA, so I guess a 1Kg spool would go a long way. It cost me £6 to get the part printed. Possible contenders: Ooznest Prusa i3 kit  £399 Prusa i3 Mk2 kit  £629 Orballo Prusa i3 Steel £368 The Orballo has a few negative reviews, which they claim to have addressed. They also seem to attract complaints for slow shipping. It doesn't have auto levelling. On the positive side: they have an option for no-maintenance bearings which is appealing. The steal frame is well regarded. If you choose ...

Temperature and humidity

Image
Recently the down pipes in my block of flats got blocked. The roof is flat, and a foot of water collected on it before it started to come in. Not just a bit: the flat upstairs flooded, with 2 inches of water on the floor. Our flat was the least worst affected. Anyway, I now want to monitory the humidity in each room in the house. A colleague of mine had written this , basically to settle an office dispute about air conditioning :). It's been through various iterations but it's using an ESP8266. Since someone else has done the hard work, I figure I'll use it. I've simplified it for home use , which is to say I just send data to Graphite over UDP, rather than MQTT. Even this modest change caused some pain: you have to copy the host name into memory before you can pass it to the UDP library? Anyway, I figured that out by reading the MQTT library. I also used a different sensor - an AM2321 which seems to be regarded as generally superior to the DHT22. I didn't ha...

Rotary encoders

I have some micro metal gear motors I've soldered Pololu 3.3V optical rotary encoders onto micro metal gear motors. These have a direct analog output. I thought from a quick read of the instructions they might be tuned to work on digital inputs. If you read all the way to the bottom it suggests using comparators. That's going to be a pain, because what you compare to is going to have to be adjustable. I can't get anywhere near the output voltage Pololu claim, and the two signals have quite different voltages on the one I've experimented with so far. A rotary encoder generates two signals. Going forward, one signal will be 90 degrees forward of the other, and going in reverse, the opposite. The rising edge of one signal can be used to trigger a capture of the other signal which can be used to determine the direction. The capture needs to happen within 1/8th of the period of the encoder signal to be reliable. The motor could run up to 30K RPM, The encoders have 3...

Cheap digital caliper DRO

Image
I can't remember how I stumbled on this idea. I think I noticed the connector on a set I had, and thought I'd Google it. I was thinking this would make building a CNC mill easier: no need to worry about backlash in the hardware: just measure where you are. Anyway, a long time later, I asked myself the question: how can I use the mill to accurately cut a square hole. My X-Y table doesn't have stops, and it has terrible backlash. I found a youtube video which used a DRO to do it, and was reminded. There are lots of articles on this. I've used this one at nerdkits.com as a starting point for the adapter. It provides an easy power supply circuit. I bought some sets of stainless steel callipers on ebay which turn out to be complete rubbish. I've just soldered some wires onto the terminals so I can play with them using a breadboard: On reassembly, they mostly work after some screw re-tightening, but are a bit jittery. I think I won't do that again: I'll...

3D Printing

Image
I've been a little dismissive of 3D printing. Mostly, it seemed to me the result wasn't all that strong. Anyway,  3dhubs  came along, and that's persuaded me to give it a try: no big upfront investment, so why not? It's a great user experience - upload your STL file and it lists services with a price next to each one. I picked a place a few minutes walk from my office so I could go and pick it up. So I designed and printed this little robot chassis: After thinking about it for a while they gave me a voucher, so it cost me £3. Otherwise this costs about £12, which is not bad either. The top fits on it pretty neatly, after trimming off some excess filaments. I have made a few mistakes, which I think I can fix with the milling machine easily enough. I'll put that down as a learning experience. I don't have time to fit the components just now (actually a bunch of soldering needs to be done as well).