Introduction: 3D Printed - Low Cost Lightsaber!

About: No matter what your skill level, beginner to expert or anything in between, you'll love our DIY projects. We've got something for everyone. Set the mood with a mood lamp, get your groove on with a DIY disco he…

A low cost, 3D printed and collapsible lightsaber. The RGB LED allows for a choice between red, green and blue shafts which can be selected using the rotary switch located in the hilt of the Lightsaber. The collapsible nature of the shaft makes it easy to store and transport.


All supplies can be purchased as a kit here.

Step 1: 3D Print the Parts

The STL files for this project can be downloaded for the Electromaker kits page.

We'll kick off the project by getting a couple of the 3D printed parts printing.

Start with the handle of the lightsaber. The file you will need to print for this is called 'Hilt - Main.STL'. All off the files for this project can be found at the end of this article.

I printed mine with a 0.15mm layer height and a large brim to help it adhere to the print bed. It took around eight hours to print. To achieve the multi-coloured print effect I changed the filament several times during the print.

If you are using PrusaSlicer it's as simple as adding some filament change prompts whilst slicing your model. To do this, on the screen where you preview the sliced model, slide the preview height slider to the side of the viewport to where you would like to change the filament and then press the '+' symbol to insert a change.

Repeat this for as many times as you would like to change filament. When the printer reaches this point it will stop printing, move the print head to the front of the printer and prompt you to manually change the filament before it resumes.

The second part to print holds the battery case in place and provides us with a surface to mount the rotary switch to later. The file is called 'Hilt - Shuttle.stl'. I printed this with a 0.15mm layer height and brim as before. I chose to print it in black as this part can be glimpsed in the finished project at certain angles.

Step 2: Preparing the LED

For this step you will need to prepare the following lengths of wire:

  • 1x 2.5cm long
  • 3 x 23cm long
  • 1x 17cm long - (this one should be a different colour to the 23cm long ones for easier identification later)

Solder one of the 23cm lengths of wire to the pad labelled 'R' for Red on the LED. You'll need to work quickly for all the connections on the LED component as the aluminium backing on the LED will quickly dissipate the heat from your soldering iron.

Now repeat this with 23cm wires for the green and blue ('G' and 'B') contacts.

We can then attach the 2.5cm wire to the Anode '+'.

All items for this project are included in the Electromaker Kit.

Step 3: Adding the Resistors

Shorten the legs on two of the 4.7 ohm resistors. They can then be soldered together in series.

You can then connect one end of the resistors to the 17cm length of wire you prepared earlier.

The other side of the resistors is then connected to the 2.5cm wire which you have already attached to the anode on the LED.

These four wires can then be threaded down through the top of the sabers printed handle so that the LED can be fitted onto the cross support inside.

Connecting the rotary switch

We can now take the rotary switch and connect the wires coming from the LED.

Solder the three wires coming from the red, green and blue contacts on the LED to any three of the legs on the outer perimeter of the switch.

I've chosen to solder them with one unused leg between each of them, this means I can turn the saber off by rotating the switch just one position in either direction whilst it is in use.

All items for this project are included in the Electromaker Kit.

Step 4: Connecting the Battery Holder

We can shorten the wires coming from the battery holder.

The black wire should be shortened to 12cm in length and the red wire to 4cm long.

They should then be threaded up through the hole in the centre partition of the 3D printed sled.

The plastic casing of the battery holder can then be push fitted into the lower section.

The positive red wire from the battery holder should then be soldered onto the 17cm wire going to the anode via the resistors on the LED. This wire should be a different colour to the others if you did so earlier in the build as suggested.

The black negative wire should be soldered to the central pin on the underside of the rotary switch.

All items for this project are included in the Electromaker Kit.

Step 5: Test the Electronics

We can add four AA batteries into the battery holder and rotate the rotary switch to test our electronics circuit before we finish assembly. Be careful not to touch the LED or resistors as they may become hot during use.

When the switch is rotated you should be able to move between the red, green and blue lighting modes. If not, go back and check through your wiring and solder joints for any problems.

All items for this project are included in the Electromaker Kit.

Step 6: Add Some Insulation

This is a good point to add some insulation tape around the back of the rotary switch and the end of the positive lead coming from the batteries.

Step 7: Insert Internals

The sledge with the batteries in it can then be rotated and slid carefully inside the handle with battery end going in first.

Once it is partway in the roatry switch can be inserted into the end hole from inside the sled (so that the control knob is facing out of the handle). Ensure that the notch on the rotary switch aligns with the notch in the sled.

You can then add the washer and nut on the outside and screw down firmly (but not tight) to hold it in place.

Rotate the sled so that the holes in its side align with the screw holes on the outside of the handle. It can then be carefully inserted whilst being mindful of not trapping any wires.

We can then use the four M3x6 screws to hold it into place. Do not use different screws or overtighten them as we don't want to risk damaging the batteries.

Step 8: Adding the Switchable Base

I printed the bottom of the handle with a 0.15mm layer height, no brim and with supports. As with some of the other prints I changed the filament twice during the print to get the black band for added detail.

Once the print is complete, remove any support material and push-fit it onto the rotary switch.

You should then be able to twist it to toggle through the different colours of the LED.

All items for this project are included in the Electromaker Kit.

Step 9: Creating the Collapsible Blade

As with the rest of the project I printed all four files for the blade with a 015mm layer height. A very large brim was added to secure it to the print bed. I printed this in white so as to easily allow the true colour of the LED to shine through. The files are:

Saber Blade - 1.stl

Saber Blade - 2.stl

Saber Blade - 3.stl

Saber Blade - 4.stl

We can also print the LED spacer in white, but without any brim: 'Saber Blade - Spacer.stl'

Once printed, remove the brim and insert them inside one another from the largest one down the smallest one. With a flick of the wrist, they should extend and then maintain this position with friction. To collapse them down again just push on both ends. Don't extend it too enthusiastically as they will be much harder to collapse again.

The top end of the hilt is printed almost the same as the bottom end but without the need for supports. I used two different colour filaments, no brim, and no support.

Step 10: Final Assembly

Let's finish putting everything together. You will need the 3D printed blade parts, spacer and top of the handle, the LED lens (supplied with the kit) and the main handle you have assembled so far.

Carefully position the concave end of the LED lens directly on top of the LED.

The 3D printed spacer then sits on top of this with the notches in the print face down onto the matching notches on the lens.

The four nested blades then sit on top of this spacer.

Then the screw top is added over the top of the blades and firmly screwed onto the handle holding the assembly together.

All items for this project are included in the Electromaker Kit.

Step 11: Adding Some Extra Detail

There is one more part which I printed in black PLA - 'Hilt - Details2.STL' which is simply push fitted into the indentation on the handle to add some more details to the overall design. It should hold itself in place but you can use some glue if you need to.

Step 12: Project Completed!

Nice, you're finished and now ready to fight for the cause!

If you wanted to, you could further embellish it by adding paint or other materials to weather and age it. Or glue down lengths of wire on the outside to give it a more industrial look.

All items for this project are included in the Electromaker Kit.