stormtrooper-nightlight-fi

Nightlight Late-Night Edition

Stormtroopers were evil until Episodes I-III. That was the advent of a gazillion Stormtrooper things. Let's add a Stormtrooper nightlight to that assemblage!

tl;dr A nightlight based on a reworked Thingiverse design with Arduino-controlled LED light effects, touch sensors, and a piezo buzzer humming the first notes from the Imperial march. Watch the video to see it in action. Detailed instructions start below video.

Project Description

You can find a great design for a LED nightlight with various emblems or logos like Stormtrooper, Superman, Punisher, etc. on Thingiverse. This design is based on a 3D printed case with a transparent and extruded inlay of the emblem/logo in the lid. The case has a hole on the backside to have an external power supply feed the internal light source, e.g., an RGB light stripe or similar.

I reworked this design to create a nightlight that

  • does not need an external power supply, i.e., has a plug and can be directly plugged into a wall socket
  • has touch switches to easily adjust the brightness, light effects (or modes), colors etc.
  • uses a piezo buzzer to acknowledge touch switch triggers and to play the first notes from the Imperial March when plugged into a socket (a little annoying, but can be switched off;-)
  • utilizes a mounting platform for six RGB LEDs that can be easily inserted into the case
  • fixes some minor issues in the original design (displaced inlay and mounting hole)
  • comes with a variety of light effects like fixed colors, strobe, or cyclone chase

Payload

1 x Arduino Pro Mini 5V 16MHz // Merchants on eBay offer a plethora of pro minis. Take care when ordering: The pro mini is available as 3,3V and 5V as well as 8MHz and 16MHz versions. Moreover: Many vendors are located in China; shipping may take a long time to your home country.
1 x Piezo buzzer // One of these (eBay) should work.
1 x Power supply // I used this EMSA050120, 5 V-/1,2 A from Pollin to harvest the mains supply circuit and the plug.
4 x 3D printed part // These comprise a case, an LED holder, a plate and a lid with the emblem/logo. You will find the 3D templates as STL files on Thingiverse.
6 x RGB LED // The WS2812b have a nice color range and are usually cheapest when bought as an LED stripe. I had some spare LEDs from another project. You can order them on eBay or here (1m stripe, Roboter Bausatz Shop).
4 x M5, 16mm counter-sunk screw
1 x Software // The software for the Arduino is available in my Nightlight Late-Night Edition repository on GitHub.

Moreover a Dremel or similar to cut open the mains adapter, pliers, rasps, wires, some metal splints for the touch sensors, and, of course, a soldering iron.

Nightlight 3D Parts

The nightlight consists of four 3D printed parts; cf. the sandwich picture showing the different layers.

nightlight layer view

From bottom to top: 1) Case to host the mains supply circuit, Arduino pro mini, piezo buzzer, LEDs, touch switches, cables, and the plug. 2) LED holder. 3) The top plate and 4) the extruded emblem inlay.

3D Part 1: The Case

The case from the original design was only 13mm high (inner height) and, thus, not tall enough to host the electronic parts. I had to import the STL file into SketchUp and stretch the case on the z-axis to an inner height of 25mm. That gave me just enough space to squeeze the LED holder above the mains supply circuit into the case and still have 2 or 3mm distance from the top plate. The more space you have between the LEDs and the plate, the better the light will be diffused. But I did not want the nightlight to be more bulky than necessary so 25mm inner height had to suffice.

Increasing the height was the easy part. Designing the plug holder on the backside of the case was more difficult. I first measured the dimensions of the plug as precise as possible, then started to design a plug holder with SketchUp.

stormtrooper-nightlight-plug-measurementstormtrooper-nightlight-plug-holderstormtrooper-nightlight-plug-holder-prototyping

It took a couple of iterations and an according number of test prints until, finally, the plug snapped into the plug holder with a satisfying “click”. The plug fits so tight that I consider it to be unremovable without destroying the case. And I may add that this is by design since we are dealing with 230V AC power and the nightlight must be impenetrable by adventurous kid’s hands.

stormtrooper-nightlight-printed-case-mediumstormtrooper-nightlight-plug-holder-ready-medium

The case was printed with black REC PLA at 210°, bed temperature 60°, no support, 0.16mm height, 1.2mm wall thickness, and 66% infill. It depends on your 3D printer’s bridging abilities if the plug holder will be ok without support. If unsure, print the case with support turned on.

3D Part 2: The LED Holder

I wanted the LEDs in the nightlight to be on a planar surface to get an even illumination. The idea was to construct an LED holder in SketchUp that tightly fits into the case without glueing, is rather stable, and has legs to stand on. The images show what I came up with.

nightlight-led-holderstormtrooper-nightlight-led-holder-backsidestormtrooper-no-nightlight-led-holder-in-case2

Luckily, the LED holder nearly immediately matched all of the above mentioned criteria. I chose white innofil3D PLA for the print since a white background looked best behind the semi-transparent inlay.

3D Part 3: The Lid

Only after I printed the lid I noticed that the relief for the Stormtrooper head was not exactly centered but offset to the left. Additionally, the bottom-right mounting hole was offset to the top. Click the images to get bigger versions of the images with readable measurements.

stormtrooper-nightlight-original-lidstormtrooper-nightlight-lid-fixed

To fix theses issues I imported the STL into SketchUp and moved the parts to their designated positions. Which is easier said than done. But in the end it was a question of mind over matter, or mind over bits, and the mind won. Yukk!

stormtrooper-nightlight-printed-lid The lid was printed with black REC PLA and the same print parameters as for the case (210°, bed temperature 60°, no support, 0.16mm height, 1.2mm wall thickness) except that infill was set to 100%. I did not want any light to escape through the lid. With a proper number of top and bottom layers, i.e. thickness, 100% infill with black PLA might be an extreme overkill but I played it safe. With 100% infill the lid came out rock solid which has another advantage: Some of the “loose” parts will have to be sanded later to fit into their counterpart positions of the Stormtrooper head. You will see what I mean when we get to this step. The more solid the small parts are, the better they can be sanded.

3D Part 4: The Stormtrooper Head

stormtrooper-nightlight-head The Stormtrooper head was printed with transparent innofil3D PLA. You will notice that “transparent” is in no way comparable to acrylic glass or alike. Moreover, parts printed with this PLA look yellowed; like they have been exposed for too long in the sun. Nonetheless, this kind of transparency is the best you can get with current fused deposition modelling (FDM) based desktop 3D printers and PLA. Nylon and other filament materials might yield better results but they are more difficult to print and handle.
Back to the print. Infill was set to 22%. The honeycomb pattern is clearly visible. The more infill you use, the less obvious the infill pattern will be. But more infill also means losing transparency. I was fine with 22%.

Avengers assemble!

Let’s put the hardware together.

Complete the Lid

stormtrooper-nightlight-lid-assembleWe have to insert the loose parts from the printed lid into the Stormtrooper head. Rasps and sanding paper are your best friend in this step since the parts will most likely not fit straight off the 3D printer. While 3D prints are usually pretty nice, there are limits to the precision you can expect from FDM prints. Sand and rasp the black parts carefully until they all neatly fit into the Stormtrooper head. The picture above shows five parts (from eight) that have already been inserted into the head. More rasping, more parts, and finally, you can insert the whole head into the lid. It should look like in the picture below. Please note that the original design on Thingiverse uses a dual extrusion 3D printer to print the (black) parts of the lid together with the (transparent) head at the same time.stormtrooper-nightlight-lid-finished That surely saves some time, but does not render all people with single extrusion printers helpless. Just use the method described here and you will end up with a nice Stormtrooper lid. A final note: Do not apply to much pressure to the small parts. I wanted to save some rasping time and tried to use a heavy duty tool (=hammer) to get them in. I’ll leave it to your imagination what finally happened to the part and the head. Sand more and try often. The same goes for the completed head. Carefully push that thing into the lid with medium pressure. Don’t hurry. The head should go in easier than the small parts but don’t rush it. If in doubt use sand paper on the rims and try again.

Disassemble the Power Supply

As mentioned in the Payload-section I used a very cheap EMSA050120 power supply from Pollin to harvest the mains supply circuit and the plug. The case turned out to be very intractable and successfully resisted my attempts to pry it open it with a screw driver or pliers. I could have tried to pop it open in the vise but did not want to risk damaging the PCB/electronics inside. Well, let’s mill it open – Dremel time!

stormtrooper-nightlight-power-supply-dremelstormtrooper-nightlight-power-supply-openstormtrooper-nightlight-power-supply-backside

Caveat: Always mill with safety glasses and use protective gloves. The picture is just for demonstration purposes. Milling plastic induces foul-smelling, and most likely toxic, fumes. Do it outdoors. The picture in the middle shows the mains supply circuit along with the plug. In the next picture you can see the backside of the supply circuit with the big L- and N-conductance pads on the right-hand side of the PCB.

Solder Wires on Plug

The plug will be connected with solid copper cables to the L- and N-conductance pads of the mains supply circuit. Before we can solder the cables two small plastic bars have to be removed from the plug. I use pliers to simply break them off. After that I start to solder the cables on the plug’s connection pads (to the left and right of the middle screw). Or I tried because this turns out to be an epic soldering fail. I try a dozen times but can’t get the, sorry, GODDAMMIT cables to solder-join with the pads. The pads literally refuse to be soldered! But resistance is futile and a couple of search engine queries later I seem to be wiser: The pads are made of stainless steel which is pretty hard to solder with normal tin-solder. If not impossible at all. What I need is soldering fluid, something like this (Conrad).

stormtrooper-nightlight-plug-stegestormtrooper-nightlight-loetwasserstormtrooper-nightlight-pads-soldered

If you read the soldering fluid’s hazard notes, well, you do not really want to use this stuff: Serious chemical burns of skin and eyes, irritating to the respiratory system, and so on and so forth. Zinc chloride is no fun. Keep away from children! After some more failed attempts even with the soldering fluid I learned that the pads need much more heat to join forces with the cables than I was used from soldering usual electronics stuff. So, finally, I got two nice solder joints. FTW!

Drill Holes for Touch Sensors

stormtrooper-nightlight-drill-holes It is always a good idea to think before you act. And I wish I’d done that before printing the case since I forgot to add two 4mm holes for the touch sensors on the right-hand side of the case! Facepalm! Printing the case again just because two holes were missing was not an option. But we are not only apt with additive but also with subtractive manufacturing: I drill the holes with a 3mm wood drill and get a perfect diameter after some minor rasping. PLA is fairly easy to drill, e.g. compared to acrylic glass. But you may have to lift the drill from time to time to remove excess plastic. Wood drills are designed to automatically forward the excess wood to the top of the drill and out of the drill hole. When you drill PLA or other plastic materials it tends to melt and get stuck on the drill. The slower you drill, the better. Applying some drops of water or sewing-machine oil is said to help (not tried so far).

Connect Mains Supply Circuit to Plug

In this step we connect the mains supply circuit to the plug and fix the circuit in the case. First pop the plug into the case’s plug holder. Since the copper wires are pretty rigid it is a good idea to shorten and bend them properly before soldering the wires to the mains supply circuit.

stormtrooper-nightlight-plug-in-casestormtrooper-nightlight-plug-to-mainsstormtrooper-nightlight-mains-supply-attached

Solder the mains supply circuit’s L-conductance pad to the brown copper wire. Repeat with the N-conductance pad and the blue wire. Finally, hot glue the mains supply circuit to the bottom of the case. You can see the black and red 5V power supply cables on the left-hand side of the mains supply circuit. We will use these later power the LEDs and the Arduino microcontroller.

Attach LEDs to LED Holder

stormtrooper-nightlight-attach-ledsI decided to use six WS2812b LEDs and arranged them on the holder in a pattern that showed the most even illumination level during my tests. In case you’re a Lumen junkie there is enough room to cramp more LEDs on the holder. The LED strips usually come with sticky tape on their backside so glueing them on the holder is easy. After that I used 0.15mm enamelled copper wire to solder the connections between the +5V, GND and DOut->DIn pads. Keep the soldering time short to avoid melting the LED holder! The enamelled copper wire is a little tricky to solder because of the enamel coating. I suggest to first remove the enamel, e.g., by applying some tin solder, and then solder the wire to the LED pads. It’s more difficult the other way round.

Prepare the Touch Sensors

stormtrooper-nightlight-touch-sensors This Stormtrooper nightlight requires two touch sensors to control its various functions. The Arduino library ADCTouch makes it very easy to add touch sensors to a project. You can connect nearly everything that changes its capacity when touched to an arbitrary analogue pin of the microcontroller and have that thing act like a touch sensor. In this project I use two small metal splints that will be stuck and glued in the drilled holes on the right-hand side of the case. To connect the splints to the Arduino I have to solder wires to them. Since they are made of stainless steel, I am happy to have the (toxic, örchz) soldering fluid. One drop on each splint, plenty of heat, a little tin solder, and some heat shrink tubing later the two touch sensors are ready.

Wire it up!

The Fritzing breadboard view shows how the electronic components are wired up to the Arduino pro mini.

stormtrooper-nightlight-breadboard-view

You can choose different pins on the Arduino by adjusting the Arduino Sketch accordingly.

  • +5V from the power mains supply circuit goes to the VCC pin while ground is connected to the GND pin on the Arduino.
  • The piezo buzzer’s negative pole is connected to the GND pin, the positive pole to pin 12.
  • The upper touch sensor goes to pin A0.
  • The lower touch sensor goes to pin A2.
  • The view shows symbolically only one LED, not the wiring of all six LEDs. The first LED’s Din is connected via a 220 Ohm resistor to pin 10. It is usually advised to use a resistor to cover power spikes that could harm the LEDs. VSS or +5V on the LED is connected to the VCC pin on the Arduino. VDD or ground on the LED is wired to the a GND pin.

That’s how it looks like when all components have been soldered and the stuff is cramped in the case.

stormtrooper-nightlight-everything-wiredstormtrooper-nightlight-led-holder-inserted

I used hot glue to paste the Arduino and the piezo buzzer on the case. The touch sensors were easier to attach with super glue.

Light and Diffusion

stormtrooper-nightlight-lid-with-diffusor We need to diffuse the light that is emitted by the LEDs so that the Stormtrooper head gets an even illumination. I already had some experience with diffusion materials from another project where I tried normal paper with different grammages, frosted acrylic glass, and Ripstop. The results were ok, but not perfect. I followed a hint that white baking paper yields good diffusion results. Unfortunately, I was not able to find white baking paper; only the usual brown one. Next I tried sandwich paper and that’s what I found to work best when it comes to LED light diffusion. Of course, it depends on what you are building and especially, how much space there is between the LEDs and the material of the boundary layer. Try different materials and find the one that best suits your needs. However, I like the sandwich paper and, thus, taped a double layer on the backside of the lid. After that, the lid is screwed to the case with four black M5x16mm counter-sunk screws. I wanted screws with no imprint on the screw head but did not pay (enough) attention to the seller’s pictures on eBay. So, always take a very close look on what you buy. 😉 NB: The screws have to cut their way through the holes in the case so it can get tedious to get them in. Use appropriate force. Moreover, the screw heads were bigger than expected so I had to widen the reception holes on the lid’s front side with a hand countersink.

Code is Poetry

All that hardware does not do anything without the proper software. We need a sketch (aka program) for the Arduino pro mini so the nightlight will do the things described in the project description. Two of the used libraries are worth mentioning: The awesome FastLED library to control the RGB LEDs. And the ADCTouch library to easily turn a cable or a splint into a touch sensor. The sketch makes use of the Arduino’s inbuild non-volatile EEPROM to store modes, colors, and other stuff that can be reloaded the next time the nighlight is powered up. The most complicated part of the code is handling the touch sensors. Both sensors react to short (1st function), middle-long (2nd function) and long touches (3rd function) and trigger different functions depending on the touch durations. Sounds complicated, but is not. Or is it?

Upper sensor

  • Short touch. Increase brightness of LEDs until maximum is reached (17 steps). Then turn LEDs off.
  • Middle-long touch. Immediately return brightness to lowest setting, i.e., one step above zero.
  • Long touch. Toggle playing Imperial March on power-up on/off.

Lower sensor

  • Short touch. Change color, speed, or whatever of current lighting mode.
  • Middle-long touch. Switch to next light mode.
  • Long touch. Immediately switch to first light mode, i.e., fixed color.

You can find the code in my Nightlight Late-Night Edition repository on GitHub.

Ready Player One

That was a real fun project and the Stormtrooper nightlight turned out to be a full success!

stormtrooper-nightlight-finished-backsidestormtrooper-nightlight-finished-front

stormtrooper-nightlight-finished-side-view

Here is another, shorter video available with nearly no incomprehensible bad pigeon english but some kewl music instead placed at 0:59. Watch this to see the nightlight in action!

Sep 2016, i.f.

rake-repair-fi

Lord Overhaul fixes a rake’s missing wing nut

A lost wing nut is no reason to buy a new rake. Neither is an evil coarse pitched screw. Swap the screw, print a wing nut, and fix it!

Our rake lost its wing nut that is used to fix the pusher for the blades.

Rake repair lost wing nut

On first inspection I thought, that I just take any other M5 wing nut and that thing is good for another ten years of gardening service. But far wrong. The ISO metric screw threads (Wikipedia) come in different pitches: fine, middle, and coarse (at least in Germany). The thread in the rake must be either middle or coarse. At least none of my fine nuts fits on the thread.

So what now? Make or buy? Buy a couple of wing nuts? Buy a new rake? Of course not. Let’s replace the screw with a M5 fine pitched one.

the screws

First step: Pry open the lid. Done. Second step: Remove the old screw. Not an easy task since the manufacturer first drilled a hole and then pushed or hammered the screw through the hole so it stuck really, really tight. After a couple of miserable attempts to remove it with pliers I realized that there is only one appropriate tool for this job: A hammer. The evil screw is out.

Lid and evil screw

Let’s see how we get the new screw attached to the lid. Soldering stainless steel is difficult. Welding would surely work but is somewhat impossible without weldering equipment. Last resort: Glue! Hot glue, not durable enough. The same might apply to super glue. But two-component power putty should be fine.

rake-repair-power-puttyrake-repair-putty-toprake-repair-putty-bottom

Funny thing: I do have nuts, but no wing nuts! Duh! So let’s print a wing nut using the awesome Ultimate Nut Knob Generator (Thingiverse) by wstein. Here it is.

rake-repair-wing-nut-toprake-repair-wing-nut-bottomrake-repair-wing-nut-with-washer

I super glued a washer on the outer side so the PLA will not be squashed or damaged when the wing nut is tightened. Now it’s time to put the pieces back together.

rake repair - all parts ready to be assembled

Avengers assemble!

Rake repair done

All set and done. Let the gardening begin!

Spool holder attached to Ultimaker

Ultimaker 2+ Low Friction Spool Holder with Bearings

Stop squeaking, jamming, and under-extrusion! Use this Ultimaker low friction bearing based spool holder to cancel noises and add real Jesus gliding action!

Original spool holderThe spool holder shipped with the Ultimaker2+ is ok and with the new extruder there should be no issues with underextrusion. Depending on the size and type of the filament spool you might encounter squeaking noises from time to time. Surely not serious enough an issue to substitute the spool holder. But what if a spool does not fit on the spool holder and gets completely jammed? That’s what exactly happened with a spool from REC. Time for a new spool holder!

sneakypoo designed a nice bearing based Low friction spool holder and put it on Thingiverse. Thank you! The spool holder requires five 3D printed parts together with two bearings, a threaded rod and a couple of nuts. It comes in two different lengths for big and not so big spools as well as two different diameters to either fit 626 or 608 bearings.

I printed the short 608 version which is sufficient for standard 750g filament spools. The holder is very well designed and everything fit perfectly. Except the spacer which was too long so I had to rasp it down by approximately 4-5mm. A couple of commenters already pointed that out on Thingiverse. So trust them (or me, or all of us) and shrink the spacer in your slicer prior to printing!

The following picture shows the order in which the parts have to be assembled.

Spool Holder all parts

The assembled spool holder.

Assembled spool holder

And the new spool holder attached to the Ultimaker.

spool-holder-all-new

Check sneakypoo’s video to see what low friction looks like in real life. Awesome!

That thing is virtually noiseless and gives real Jesus gliding action. Luv it!

topcraft-elektrotacker-fi

TopCraft Elektro-Tacker tackert wieder

Ein alter TopCraft-Tacker tat nicht mehr. Wenn man genügend viele Gene aus der Danger-Seeker-Sektion besitzt, kann man am Sicherheitskontakt rumpfuschen.

Requisiten-Typ: “Hey Scrooge! Ich krieg’ das Geweih an der Maus nicht fest!”
Scrooge: “Hast du’s schonmal mit ‘nem Tacker versucht?”

Herrlich böse!

topcraft elektrotackerAber zur Sache: Der alte Voltcraft-Elektrotacker wollte nicht mehr so richtig. Nach kurzer Inspektion war der zu schwergängige Sicherheitskontakt am Tackernadel-Ausgang als Übeltäter identifiziert. Das Gerät schoss nur noch manchmal und ohne erkennbares Muster. Sehr nervig, wenn man 100 mal drücken muß, bis endlich eine Nadel rauskommt.
Erstmal aufschrauben und schauen, was sich da machen lässt. Ergebnis: Zu wenig mit überschaubarem Aufwand. Also kurzerhand den Sicherheitskontakt entfernt, Kabel zusammengelötet und Gerät zusammengeschraubt. Jetzt ist wieder jeder Schuß ein Treffer. Ach ja, hundsgefährlich ist das natürlich auch. Aber gut für die Zombie-Apokalypse geeignet (solange Strom in der Nähe ist).

Liebe Kinder. Macht sowas nicht! Niemals. Ich darf das, weil ich ein, äh, erfahrener Maker bin und insbesondere, äh, weiß was ich tue. Aber ihr dürft das nicht. So ein Elektro-Tacker ist schon ohne Mod ziemlich gefährlich.

Ultimaker 2+ Noise Dampening Foot

Noise dampening feet for Ultimaker2

Your Ultimaker is too noisy? Bring peace and harmony back in your living room with 3D printed noise dampening feet.

3D printers can be quite noisy. Besides a full encapsulation that might also proof valuable if printing ABS there are other ways to lower the volume. One is to reduce the vibration that is transferred from the moving parts of the printer to its case and from there to the table which resonates and, depending on size and material, is likely to subsequently work like a noise amplifier.

This effect can be reduced with noise dampening feet. There are a already lot of dampening feet designs available on Thingiverse or YouMagine so there is no need to design a new one. The Damping foot UM original by Kees de Ligt looks promising.

Dampening foot ok The first foot printed well with black REC filament using 0.15mm layer height, 0.8mm shell thickness, 35% infill, support, and with the square side facing the print bed. I use “hotter than normal” settings for the REC PLA: 215° noozle and 70° bed temperature. These temperatures provide nice prints and good platform adhesion with the REC filament. After that I got lightheaded and tried to print the remaining three feet all at the same time. While this is usually not a big deal, the REC PLA filament consistently turns out to be somewhat picky. Too much cooling time between the layers and the prints tend to fail.

This is how the three-at-the-same-time fail looks like.

Failed print Heavily warped edges on the bottom-most print. The first layers of the dampening foot in the middle look ok. But the top-most foot has been utterly destroyed. You’re on the lucky side if you notice such failures early enough to abort the print and, thus, avoid wasting material.

As I took a closer look at the dampening foot that was printed first, I realized that I would need two of the feet “as is” and another two feet mirrored at the y-axis. Only this way all four feet would face the same direction when attached to the printer. So, I should be thankful that the simultaneous print of three feet failed since that would have produced two unmirrored feet. You can easily mirror objects at all axes in Cura: Click the object then hit the mirror button on the bottom left and click on of the Mirror X/Y/Z buttons.

The remaining one foot as well as the y-mirrored two feet print like a charm. Attaching the feet is easy: Lift one corner of the printer and push the corresponding foot underneath this corner. Repeat with all other corners. Done.

All feet. All is good.

Rear foot compressed[Update] There is definitely a damping effect resulting in a less noisy soundscape. Good! But after a couple of prints the two rear feet have been tightly compressed so the curvatures of the snake-like construct touch each other. Hence, the damping characteristics of the rear feet are lost. Reason: The 35% infill and 0.8mm outer shell thickness are to weak to support the heavy rear part of the Ultimaker. Solution: Using 1.2mm outer shell thickness and 90% infill yields a new “as is” rear-left foot, and a new y-mirrored rear-right foot that are of heavy duty quality and now easily support the Ultimaker’s rear side.

Resistor box on wall mount

3D printed resistor storage box with wall mount

Bring order and stability to your Maker country and get those lounging around resistors into an appropriate 3D printed nifty little resistor storage box.

Quite some time ago I ordered five E12 series resistors that I received in a plethora of plastic bags. One plastic bag for every resistor value. And since there are 12 resistors in each series, I had 60 plastic bags with resistors ranging from 10 Ohm to 820 kOhm lying around. That is the antitheses of orderliness and usability.

Browsing Thingiverse I came across this nice little resistor storage box.

Storage box and drawer STL

Each box has 12 drawers to hold all resistors from one E12 series. Printing five (actually six with a test print) boxes and 60(!) drawers was a lengthy process.

Resistor storage boxes and drawers

The result is ok. Though deliberately choosing a low print quality for the drawers (=less printing time) combined with warped backsides of the boxes required some reworking with a cutter blade and sanding paper. I use super glue to stack the boxes on top of each other and put the resistors into their drawers.

Putting resistors into their drawers

The drawers have a 17x6mm cavity at the front that can be used as a label field. Labeling the drawers is mandatory since there is not much sense in putting resistors into drawers without knowing which resistor has which resistance… Drawer label fieldUnless, of course, you like to compare the color rings with a resistor color table. It would be an interesting idea to build a simple Arduino-based auto-ranging ohmmeter and attach it to the top or bottom of the storage box phalanx; note to self for a later project. A label writer with 6mm tapes helps in creating and easily attaching the labels. Another solution would be to print, cut, and glue the labels. Hand writing might be an option, or you could even 3D print the labels which would be yet another fine Sisyphean task.

Now that the drawers have been labeled and all resistors are stored in their according drawer we have to think about where to place the resistors. When simply put on a table it will be hard to read the resistances of the drawers at the bottom of the stack of boxes. Moreover, the drawers can easily be pushed and pulled which is good for accessing the resistors but bad if the stack of boxes is jerked and the drawers start to slide out by themselves. Or, even worse, the box gets knocked over and spills all resistors on the table and floor. In order to properly read the labels I would like to attach the stack of boxes to the wall at eye level. And I want the boxes to be slightly tilted upwards so the drawers will not slide out by themselves.

Let’s create a wall mount with SketchUp!

Resistor box wall mount 1

Resistor box wall mount 2

You can download the STL file here. The next picture shows the box holder screwed to the wall. The holder looks distorted but this is due to the chosen perspective for the photography.

Resistor box wall mount

Finally, the stack of resistor boxes is super glued to the holder. Major achievement: “order and stability in our [resistor] country.”

Resistor box on wall mount

“Resistance is futile!”
i.f.

Coffee mill 3D printed funnel

Lord Overhaul repairs the coffee grinder’s broken bean hopper

How to repair a bean hopper's broken funnel using a sliding caliper, underdeveloped CAD skills, and a 3D printer. Funnel fun to the extreme!

Broken Coffee Grinder Bean Hopper My coffee grinder’s outlet experienced some sort of non-graceful degradation due to 50% operating error and 50% faulty design: A screw that was intended to fix the bean hopper to the coffee grinder’s base crushed into the outlet and broke it. In the aftermath of this unhappy event pieces started to brake away from the bean hopper’s outlet impairing its functioning.

What now? A new bean hopper would cost about 20,- €. Pretty expensive, and, BTW, where is the fun in that? “Stay back boy! This calls for divine intervention! … I kick ass for the Lord!” – Father McGruder from Brain Dead, 1992. Time for Lord Overhaul’s sliding caliper, some CAD (Computer-Aided Design) Voodoo, and a 3D printer to make a spare funnel for the bean hopper!

I use the caliper to measure a couple of things to get the dimensions of the funnel as exactly as possible. The most measurements are quit simple being either diameters or lengths. There is only one measurement that is a bit trickier: The correct slope of c is crucial for the funnel to neatly adapt to the bean hopper. The length of c can be measured easily, and a is the difference between the diameters of the outmost circle and the one beneath it. Since I can not measure the height b reliably, Pythagoras’ theorem comes to the rescue to calculate b. Confer the picture for an incredibly detailed and clearly arranged sketch. LOL

Bean Hopper Funnel Dimensions

Now for the fun part: I need a 3-dimensional digital representation of the funnel and nearly immediately fail to design an according shape in SketchUp. A fool with a tool is still a fool! In other words: Non-sufficient skills in a) CAD and b) SketchUp. Back to school, YouTube is your friend. After viewing some SketchUp howto videos about funnel drawing I came across this one by Ivor O’Shea.

Ivor describes a method using an outline and the “follow me” tool. After some trial and error I could finally come up with an outline for the bean hopper funnel that looked like it could work.

Coffee grinder sketchup drawing

Picture one shows the outline of my funnel with the dimensioning derived from the hand-drawn sketch (click picture to enlarge). I erased all snap lines drawn with the tape measure tool for clarity. Nonetheless, you definitely need snap lines for this method. In picture two you can see the “follow me” tool in action. The circle on the ground is only needed as a helper for the “follow me” tool and can be erased afterwards. By following the outline around the circle to a full 360° we get a complete funnel; cf. picture three.

Coffee mill 3D printed funnel SketchUp exports to STL which is then loaded into the slicer who in turn produces the *.gcode file that is sent to the 3D printer. After only two failed 3D prints due to wrong slicer settings and issues with warping and elephant foot the third print was successful. A nice black funnel that looks like it could fit perfectly on the bottom of the bean hopper. But before the funnel can be attached the bean hopper needs some precision work: The mortal remains of the old funnel need to be removed.

I first use a ripsaw to cut off the protruding parts of the old funnel from the bean hopper. Then I use a cutter blade to remove bumps and edges to get an even surface. Finally, I remove small ridges with sand paper. Coffee grinder is ready for new funnel There is nothing I can do about the cracks or the gap where a big chunk from the old funnel broke off; click the picture to enlarge, remains of the old funnel can be seen on the right. So, the bean hopper has been sufficiently primed to receive his new funnel!

Many tinkerers swear by either hot glue or superglue. So do I. With hot glue I would run the risk of filling up too much so I decide on superglue since I want the funnel to stick as tight as possible on the bean hopper. The 3D printed funnel fits perfectly and, with the amount of superglue used, will stick for all eternity. I carefully remove any excess superglue since I do not want superglue particles in my ground coffee and let the glued joint dry for some time before applying the repaired bean hopper to the coffee grinder.

coffee-mill-attached-funnel-3coffee-mill-attached-funnel-2coffee-mill-attached-funnel-1

Pushing and pulling the new funnel proves that superglue really lives up to its name. Let’s see if all the measuring was worth it!

coffee-mill-attaching-new-funnel-1coffee-mill-attaching-new-funnel-2coffee-mill-attaching-new-funnel-3

Oh, ah, Alpia. I love it when a plan comes together! The new funnel sits perfectly in the coffee grinder. Let the grinding begin!

i.f.

CD holder featured image

CD storage for kids with acrylic cover and exchangeable background

Looking for a good storage solution for your CDs or DVDs? Then welcome the acrylic glass MDF panel arbitrary background picture CD holder. Not only for kids.

We had a plan: Let us organize all those music and audio book CDs with two CD storage car sun visors. Pull them out, push them in, very easy! The reality: Yes, pulling out is easy. But no, putting them back tidily is complicated. Virtually impossible. Ok, no difference to the other stuff that is taken out of boxes, drawers, or shelves and scattered to the four winds. 😉 So let’s face reality: The plan failed!

It’s time for a different storage solution.

Project Description

Take a wooden panel. Put a nice picture on the panel to increase the CAF (children’s acceptance factor) as well as the CF (coolness factor) alongside the SOF (show off factor). Cover the picture with a 2 mm acrylic glass plate. Stick about two dozen CD glue dots made of rigid foam on the acrylic glass to act as CD holders. Hang the CD holder on the wall in the children’s room. Put the CDs on the glue dots. See what happens.

Payload

1 x MDF (medium density fiberboard) panel 1188 x 420 x 3 mm
1 x acrylic glass 1188 x 420 x 2 mm
1 x spray paint, white, silk mat
2 x wooden strip 2400 x 14 x 14 mm (used 3104 mm)
1 x sanding surfacer
8 x 3D printed clamp to hold acryl glass on MDF panel

Wood glue, screws, sanding paper.

Howto

Rasterbated figure for CD holder The picture mentioned in the project description will be made up of four printed DIN A3 sheets. The dimensions of one DIN A3 sheet are 42 x 29,7 cm. Putting four sheets beneath each other results in the target size of the MDF panel being 118,8 x 42 cm. We use The Rasterbator to create a PDF photomaster from the picture I’d like to use. The picture to the right shows the resulting four DIN A3 sheets.

Since the CD holder will have to be mounted somewhere it must not be too heavy. Thus, I decide on a 3 mm MDF panel. Thin as it is, the MDF panel is unstable so I will assemble a frame made of 14 x 14 mm wooden strips on the backside. This frame will a) stabilize the construct and b) allow easier installation of the CD holder to a wall or wardrobe.

Take a look at the 3D drawing to see how the frame is attached to the panel; click the picture to enlarge. I also added the exact dimensioning: Since the wooden strips are 14 x 14 mm I decided to indent the frame 14 mm on each side of the panel. That should give some kind of a floating impressions when the CD holder has been mounted.

CD Holder panel and frame

The MDF panel is 118,8 x 42 cm. Thus, we need two wooden strips with a length of 116 cm (118,8-2*1,4) and two with a length of 36,4 cm (42-4*1,4). The four parts are pre-drilled, glued and then screwed together. After that the frame is glued to the backside of the panel and additionally fixed with woodscrews on the front side.
Screw not sunk in I screwed them in without pre-drilling which was a mistake since the MDF is so dense that I was not able to sink the heads of the woodscrews into the MDF. All Screw sunk in screws looked more or less like the one shown in the picture. Steep learning curve. 😉 The screws must not stick out like this since they are on the front side of the panel where we need a planar surface to attach the DIN A3 sheets. Rework: I let the glue dry, remove the screws, post-drill the holes to a diameter roughly the size of the screw’s heads and, finally, sink the screws into the panel. There you go!

Next step: Use surfacer to fill the screw holes and smoothen the visible parts of the frame for spray painting. After applying the first layer of surfacer it has to dry. Afterwards everything gets sanded. One layer was not enough to get a planar surface on the sunk screws so I applied a second layer of surfacer on the screw holes. Sanding again. Since I did not want to win the 1st prize in a surface sanding and smoothness contest I moved on to spray painting the (visible parts of the) panel with silk mat white spray paint. It was a very good decision to do that in the garden! Spray paint everywhere, especially on the grass surrounding the panel. Would have been an even better idea to wear a dust mask… For a first time sanding and spray painting job the result is quite presentable.

CD holder sprayed front and back

When the paint has dried it’s time to hang the panel on the righthand side of our wardrobe. I consider a couple of possibilities to attach the panel and finally decide on the most direct method: Use four screws to screw that thing to the wardrobe (with pre-drilling the holes). Since the frame did not completely stabilize the MDF panel this is the minimally invasive method I can come up with to have the panel stick to the wardrobe as tight and close as possible. As soon as the panel is mounted and I start to attach the rasterbatorized DIN A3 sheets I realize that it would have been much easier to attach them before the panel was mounted. Too late. I use double-faced adhesive tape, usually used for photo books, to stick the sheets one by one to the panel. Here is what it looks like.

CD holder with attached picture

While the 3mm MDF panel was very cheap, just 2,79 € at the local hardware store, I had to search for quiet some time to find a dealer that sells the acrylic glass with dimensions 1188 x 420 x 2 mm for less than 30,- €. Acrylic glass is not that expensive in standard sizes but pre-cutted acrylic parts are, unfortunately, high priced. Now that the acrylic glass had been delivered, how to attach it to the MDF panel? I could drill holes and screw them together. Or I could use glue to tie them together for all eternity. But what if we would like to change the picture? Screwing takes time. Glue sounds to final. I thought that clipping or clamping the MDF and the acrylic panel together should be the best way to go and was, again, scouring the Internet for appropriate parts. After trying the Rapesco Supaclip 40 (too thin, too sharp-edged) and this pretty rare large slide clip (too big) I decided to design and 3D print the clamps on my own.

After exactly measuring the thickness of the acrylic-glass-paper-MDF-panel stack with a sliding calliper I constructed a clamp using SketchUp. Two test prints later I had ten ideal sized clamps that locked the acrylic glass snugly into position on the MDF panel. Here’s the 3D drawing of the clamp and a picture of 8 of the 10 printed clamps (PLA); click to enlarge the 3D drawing. The STL file is available for download.

CD holder clamps

We are ready for the final assembly stage: Glue dots and CDs! You will find a lot of offers for 16mm diameter CD glue dots on eBay, e.g., here. They are available in different colors but black and white prevail. It took a bit of thinking and patience to evenly distribute the glue dots over the acrylic glass plate. The CDs should have the same space between each other and to the sides of the panel. Tricky, since the glue dots stick like hell. No chance for trial and error. The result would not pass remeasurement but it’s ok from a distance.

CD holder glue dots and CDs

In the picture you can see on the left-hand side the CD holder with attached acrylic glass plate using the clamps. Second to left a couple of glue spots. Second to right 15 attached glue spots and 14 CDs. Rightmost picture: This is it! The finished CD holder with a full cast of 27 CDs. Click picture to see a bigger version of the final result.

Yes, you will not be able to gloat over the nice picture in the background. At least not if the CD holder is full to the brim. But design is about form that follows function. Right? 😉

i.f.

zeropage-stop-spam-fi

How to easily use gmail for throwaway mail addresses

Fight spam and mail abuse! Use your existing gmail-address in a tricky way to generate an arbitrary number of throwaway mail addresses.

Spam, phishing, viruses, bots, ransomware… If you use e-mails as a communication method you are inevitably facing countless annoyances and threats. And the volume as well as quality of these threats is increasing. There is no way to use e-mail and completely and utterly avoid any contact with mail junk. Besides being heedful concerning sender, content, links, and, especially, attachments, there is one thing you can do that may help to decrease the amount of spam and other junk you receive via e-mail: Use throwaway e-mail addresses.

Throwaway e-mail addresses

A throwaway e-mail address is a mail address that is generated for a special purpose and discarded when it has done its duty. There are a couple of options to generate throwaway addresses:

  • If you are running your own server or hosting your own domain at an ISP create disposable e-mail addresses by using your mail servers catchall functionality.
  • Use an online service that is specialised on disposable mail addresses like throwawaymail.com, guerrillamail.com, or temp-mail.org.
  • Use gmail to generate throwaway addresses.

Let’s look at how to use gmail to generate disposable mail addresses.

Gmail: Generate arbitrary e-mail recipients with a “+”

A typical gmail address looks like this

abc@gmail.com

Now, to generate a new e-mail recipient you can add an arbitrary string of characters behind abc preceded by a plus “+” sign, e.g.,

abc+xyz@gmail.com

An e-mail sent to abc+xyz@gmail.com is just as well delivered to abc‘s inbox. And that is all there is to generate arbitrary e-mail recipients with gmail!

Fight e-mail abuse

How do you use a throwaway e-mail address to fight spam? If you register to an online store, say cheapcheapercheapest.com, you would no longer use your regular e-mail address abc@gmail.com but instead something like, e.g.,

abc+cheapcheapercheapest@gmail.com

Now, if cheapcheapercheapest.com got hacked or if they sold your e-mail address to spam-lists etc. potential mail abusers might get hold of this e-mail address which they will use to send their crap to. As soon as spam and other annoying stuff has been sent to abc+cheapcheapercheapest@gmail.com there is just one thing you have to do: Lock e-mails out that are sent to this address keeping your abc@gmail.com inbox clean. Let’s see how to do that with gmail.

Lock them out

Gmail is able to apply filter rules to incoming messages. These rules use one or more criteria like sender’s e-mail address, addressee, or specific words in the subject to identify an e-mail and apply one or more actions on it like marking as read, forwarding, moving to a folder, or deleting. Let’s define a deletion rule for an imaginary spam e-mail by the sender Spam-O-Mat that has been sent to foobar.io+antispam@gmail.com. This is the e-mail in foobar’s inbox.

zeropage-spam-1

This e-mail is, obviously, very suspicious. We want to see where it has been sent to, i.e., who the exact recipient is. Show the e-mails content by clicking on it. You would see something like this.

zeropage-spam-2

We do need the details so click the corresponding “show details”-button just below the sender’s name.

zeropage-spam-3

We get a popup window revealing more information about from, to, date, etc. The “to”-field shows who the exact recipient’s address. Here we see that this spam e-mail has been sent to foobar.io+antispam@gmail.com. Apparently, it was a good idea to use a throwaway e-mail address! We will define a filter rule to immediately delete all e-mails sent to foobar.io+antispam@gmail.com. Click the “more” button on the right-hand side of the e-mail header bar.

zeropage-spam-4

You will see a popup window with a couple of options. Choose “Filter messages like this”.

zeropage-spam-5

You will see another popup with the filter criteria. The To-field has already been filled with foobar.io+antispam@gmail.com. Nothing else to do here, just click on “Create filter with this search »”.

zeropage-spam-6

The final step where you choose what to do with the e-mail. Activate the option to “Delete it”. I suggest to activate “Also apply filter to 1 matching conversation” too so this new rule is also applied to the e-mail we started from as soon as the filter rule has been created.

zeropage-spam-7

Click “Create filter” when you are done. And you are done.

This looks and reads more complicated than it is. Once you know what to do it’s just a matter of seconds to have a filter rule in place. Keep your inbox clean!

RSS Feed Symbol

How to add images to your WordPress RSS Feed

Wordpress does not add images to your RSS feed. There are plugins to do the job but here is an alternative by adding some lines of code to functions.php.

I accidentically stumbled upon this unexpected WordPress behaviour. Looking for a solution I came across this post Beitragsbilder im WordPress RSS-Feed einbinden by Tobias Rieder. He explained how to add a few lines of code to the functions.php file to add a post’s featured image to the RSS feed.

Of course, you could install a plugin like “Featured Images in RSS w/ Size and Position” to have the same result. But that would be yet another plugin. And every plugin uses some processing time on your server. Moreover, tinkering the functions.php is how real men do stuff like that. 😉 Add the following lines to your theme’s functions.php. It is advised to use a child theme for modifications like this.

You can choose the picture’s size to be either full, medium, or thumbnail. Using style in the array you can inject CSS styles, e.g. add a margin or a border to your picture.

Have at it!