Tuesday, October 20, 2015

Bicycle Storage Box

Bicycles Again.

One of the other things I've been wanting for a long time is a covered, lockable storage box for bicycling around town. I have Givi cases for my motorcycles, and I find it indispensable to be able to store things securely while away from the vehicle. It's something I miss when biking.

So, I went to my local hardware store and found this small-ish plastic toolbox for about $15.

 The first thing noticed is that the lid doesn't stay up on it's own. Very annoying.

The culprit turned out to be these plastic tabs intentionally appended to the hinges. What the hell? So, I shaved those off with a wood rasp, and now the lid will at least stay open when the box is level. But I may need to revisit that down the road.

So, on to the mounting. The Idea I came up with was to put key-hole slots into a plate, so that #6 sheet metal screws could be inserted, the whole box would then slide to lock the screws in place, and then the screws tightened down. The idea is that this way, it'll be easy to remove the box when necesary, but you have to be able open the box to remove it from the bike rack.

I'm doing this kindof quick-and dirty. So I kinda eyeballed the alignment of my bike rack (your typical aluminum rack). I drew the outline of the rack on the bottom of the box with a sharpie to help with this.
The top plate screws into the box with screws inserted from the bottom. I counter-sunk the screw holes so that the bottom of the box will be flush with the bottom plate. In hindsight, it would have been easier to put slots into the bottom plate. But, I didn't think of it.
 Some pictures of the bottom plate, finally mounted.

The next challenge was to cut out the slots. If I were in less of a hurry, I'd have done all this on a mill or router. But then I'd have to deal with figuring out how to clamp or fixture on this box, which just seemed like kindof a pain in the ass. So I did it by hand: using the mounting plate as a template, I drilled holes along the slot, then filed and sanded to clean up the result.
Yeah, it's a little rough, but it should work for my purposes.
See? The bottom plate fits right on there. Next step was to mount the bottom plate onto the rack. Eyballed again. The bottom plate is secured with M6 bolts. I drilled a hole for one, and got it finger tight, and then just went for it with the 6mm drill for the second hole.
Well, that's enough progress for one afternoon. I have already printed a second set of mounting plates, so I should be able to finish this one up tomorrow. But I am out of M6 nuts / washers, so I need to at least make a trip to the hardware store.

The nice thing about this particular project, is that it's its own storage own box :)

Wednesday, October 14, 2015

Bike Lights

I've been without bicycle lights since loaning my bike out to one of the interns at my former employer. Unfortunately, this makes riding at night somewhat illegal. As autumn wears on, the daylight is going, and the likelihood of being caught without lights after dark increases dramatically, so I decided to fix this problem.

Not long ago, I was at Cole Valley Hardware, and they had some really cheap bike lights. But then I loaned these to a friend, and it's not worth the trouble to get them back. And then I went back to the hardware store to get the lights, and all they had was the rear light. The headlights weren't available.

So rather than shell out $20 for an expensive headlight, I decided to adapt this cheapo LED flashlight I don't use very much. It came as part of a set which included too many flashlights. I had tried to do this once before using a product called "Shapelock" (also sold at Radioshack as U-Shape). But the result was super ugly. I took it off and recycled the Shapelock.

So the first step was to make a clamp which would grab the flashlight itself. This was my first attempt. I got the internal dimensions of the channel correct on the first try. The flashlight handle is basically a tapered cylinder, which I modeled using a loft operation in 123d.

 It looked reasonable on the computer screen, but when I printed out just seemed way too bulky and ugly.
So, I made a slimmed-down version. It took a couple of tries to print this correctly. The first time, I tried to print both pieces simultaneously, but the filament jammed near the end of the print. I was able to fix the jam, but the goof weakened the print and it snapped when I tried to assemble it. This motivated the previous post on preventing filament jams.

Today, I re-printed the pieces separately, and this  time they printed beautifully. To get the best finish, I printed the top piece face up with support. The support comes off easily with pliers, but leaves a jagged edge which must be filed / sanded down. I'd rather you not see that on the top-side, but it doesn't matter if it's on the interior.

I've made versions of this handlebar bracket, but my bicycle handlebars are 1.25" in diameter, rather than .9" like the motorcycles' are. So, I needed to make a slightly larger version. Also, the clamp which holds the bars in place requires that the mount be offset slightly. This one printed beautifully on the first try:

There are two tricks to assembling the clamp: one is that I use brass thread inserts from Yardley products. This allows me to use machine screws to get good clamping force without worrying that the screws will pull out of the plastic. The other trick is to use contact-cement to adhere a thin layer of rubber on the interior of the clamp.

This is both to ensure a good tight grip on the bars, and also to protect the paint on the bars when you rotate the clamp. For rubber, I just used an old bicycle inner tube, which the neighborhood bicycle shop gave me for free. One trick is to trim along the rubber seams, so that you get a nice, flat piece.

For the rear light, I didn't have to work nearly as hard. The light comes with a kindof useless clip mount, but this unscrews very easily.

I reverse-engineered the screw hole / alignment dowel pattern and whipped up this flexture clamp design, which printed beautifully on the first try. Since the seat post comes out completely, this seemed like a good way to go, rather than using a two-piece clamp.

I measured my seat-post diameter as about 1.050", decided to make the outside diameter of the clamp 1.1" just to give a little margin for error. The clamping force is provided by a #6x1/2" sheet metal screw. A 0.1" slot cut into the clamp allows the clamp to flex just enough to tighten around the seat post.

Mounting the clamp onto the light just re-uses the screw it came with. Since the mounting screw goes into the light, I had to add a counter-bore, which I chamfered so that the tapered head would snug nicely onto the light. I made a little bit of a goof, by making the mounting surface too long, but this has been corrected in the model. In order to actually screw the mounting screw on, I had to add a second hole to allow for insertion of the screw driver.

The result looked a lot more professional than I was expecting. I think the bright screw set against the dark, black plastic tends to do that.

Tuesday, October 13, 2015

Tips for avoiding 3D Printer Filament Tangles and Jams

I'm still somewhat new to 3D printing with FDM machines, but what I've come to realize is that filament spools are hateful things. Especially a very full spool.

The fundamental problem is that it's not possible to wind a filament spool perfectly such that the filament never crosses over or under itself. And even if it were, if you don't keep constant tension on the filament, it will unwind and tangle on the spool. Also, the filament seems to have twists which cause it to want to reverse the direction that it coils in, creating a kink or a knot.

The key to avoiding this problem is two-fold:

  • On the one hand, keep the filament path into the printer as short as possible. Try to keep the filament path clear of anything around which the filament might tighten itself.
  • On the other hand, keep the filament loose on the spool.

Loose filament actually wants to to straighten itself out into orderly coils. It's only when the filament is held taught that it wants to kink, knot, and jam. At the same time, unless the filament is contained by the sides of the filament spool, it will still want to snag or constrict around objects along the filament path.

For a New or Full Filament Spool

Don't try to print off a full filament spool. The filament is not adequately contained by the sides of the filament spool, and wants to leap over the sides. It will then wrap itself around the spindle, kink, knot, and all manner of nasty things as it is pulled ever tighter by the extruder.

Instead, after slicing, look at the summary info in your slicer and find out how filament is required. Measure out double that amount, and coil it loosely around an empty filament spool. I.e, don't actually lock it onto the filament spool.

If you don't have an empty spool yet, then the best thing to do is just let it dangle loosely from the printer, and clear the path into the printer as much as possible. You'll need to watch that it hasn't tangled from time to time.

If you hear the filament making noise, better take a look! But, it's much easier to straighten out filament that's not attached to a spool -- especaially a full spool.

For a Used Filament Spool

You can print directly off of a half-used spool. But apply this trick before you start the print, and periodically while the print progresses.

Grab hold of the free end of the filament in your hand, and then back-wind the filament spool. This loosens up the filament. As you back-wind the filament, it will help if you scrape your finger back and forth across the spool, to loosen up tight spots. Keep doing this until you have enough filament loose on the spool to complete the print.

Check on the spool from time to time to make sure that there is still ample filament loose on the spool.