Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

This is a new twist on an old style of DIY LED lamp.  Thanks to the use of a script based CAD system I've also included the file for the 3D printed adaptor in the video description on YouTube, so you can theoretically copy, paste and print one of the base adaptors yourself.

https://youtu.be/vNucN3ZW8Vg

The end result is very solid and looks pretty good.

Files

Previews only

3D printed LED test-tube lamp. (with adjustable 3D openSCAD file)

I've previously made lamps like this by gluing a test-tube into a lamp base with two part resin, but it was always tricky keeping the tube straight and fully pressed in against air pressure while waiting for the glue to cure. This approach uses a simple 3D adaptor to make it easy to fit the tube over the electronics, while providing extra insulation that extends down into the base and allowing pressure equalisation if something fails in the tube. (Noting that there's always a possibility of broken glass if something fails as with traditional lamps.) The circuitry is a simple classic capacitive dropper, and I ended up managing to fit in about 26 RGB slow colour changing straw-hat style LEDs. Note that it's better to use the slow change RGB LEDs instead of the fast flashing ones as there will be a high open circuit voltage across a flashing LED while it's not lit and that might damage it. You could also use standard LEDs for continuous illumination. The light only uses about 1W of power, so it's more for decorative use than room lighting. Here's the text file that you should hopefully be able to copy and paste into openSCAD. //Test tube lamp to base adaptor. Big Clive 4th Jan 2020. difference(){ union(){ //We start by adding solid objects to make the overall shape. //Larger upper cylindrical section that goes into base. //25mm (12.5mm radius) to fit existing lamp base. translate([0, 0, 0]) cylinder(h = 10, r1 = 12.5,r2 = 12.5); //Smaller cylindrical section that goes into lower base area. translate([0, 0, -10]) cylinder(h = 8, r1 = 10.5,r2 = 10.5); //Slight taper section between two cylindrical sections. //(Mainly for support during printing.) translate([0, 0, -2]) cylinder(h = 2, r1 = 10.5,r2 = 12.5); // Squashed sphere to create rounded rim. translate([0, 0, 12]) scale([1, 1, 0.33]) sphere(r=15); } //Now we're removing bits from the solid object. //18.5mm (9.25mm radius) hole through middle for test tube. translate([0, 0, -14]) cylinder(h = 50, r1 = 9.25,r2 = 9.25); //Slight inner recess at top to hide oozed glue. translate([0, 0, 9]) cylinder(h = 10, r1 = 10.5,r2 = 10.5); } openSCAD is a script based CAD system that lets you build printable objects based on adding and subtracting just a few solid objects like cubes, cylinders and spheres. It sounds simple, but in reality it can create very complex objects, and because the file is a simple script you can change parameters easily to tweak a model to your own requirements. Half of the script above is comments I've added to make it easier to understand. An excellent starting guide for openSCAD:- https://cubehero.com/2013/11/19/know-only-10-things-to-be-dangerous-in-openscad/ The main openSCAD website for downloading the free software is here:- https://www.openscad.org/ There's a version of openSCAD that can run in a browser, but it's not compatible with the file above. If you enjoy these videos you can help support the channel with a dollar for coffee, cookies and random gadgets for disassembly at:- http://www.bigclive.com/coffee.htm This also keeps the channel independent of YouTube's advertising algorithms allowing it to be a bit more dangerous and naughty.

Comments

Honorary Octopus

I wonder how long it'll take for the video to be demonetized by YouPrudes for your test tube fun there when it goes public, Clive. Hahaha

Anonymous

Great video! I've been making LED tube lamps similar to your design, using plastic "bottle start" tubes as the globes. I cut open and gut the bases of failed CF lamps, and use soda bottle caps epoxied into them as bases that the tubes just screw into. The end result isn't quite as clean as your test tube lamps, but they still look fairly decent. I use OpenSCAD almost exclusively for all of my 3D design work, from simple brackets to functional gearboxes. I've been wondering about modeling up an Edison screw base that would allow me to eliminate the CF lamp based adapter, as even those are starting to get harder to find.

Neil Tonks

Nice video. Nice project. I know you have covered it before but I'd of liked to of seen the power supply being soldered and a few of the LEDs put together.

Neil Tonks

Just wondering, the Edison screw fitting. Couldn't you make a mating thread for the inside?

Richard Boyce

Nice. What 3D printer do you use?

Big Clive

I'm wary of making too many long videos. The shorter ones are often more popular.

Anonymous

I really enjoyed this one maybe the next version could get a flash pattern or a chasing one.

Paul Schuur

Great idea; downloaded OpenScad, pasted the code and it rendered perfectly! The choice for difference() and union() is quite logical; your creating a shape with union and remove parts with difference(). This can (probably) be nested to create more complex shapes...

David Reader

I wonder if you could get a better friction fit by printing ribs inside the insert rather than a smooth cylinder? - is the material soft enough for a narrow rib to deform slightly as the tube is inserted?

Anonymous

One idea, you could make the hole for the tube slightly larger and add an internal groove for an O ring. That way the variation in glass tube diameter could be accommodated and still have a nice friction fit.

Justin Smith

One thing you might try, if your glass tube is just the tiniest too large/printed adapter too small, is to hit the printed adapter with a heat gun for a bit, to soften it up. You'll have to play with the timing, so as not the melt the adapter, obviously.

Big Clive

I like the idea of the O-ring, but wonder how the 3D printing would handle the step back in of the channel for it.

Big Clive

I have subsequently nested multiple unions and differences to allow objects that protrude into hollow shapes.