First, the finished project! The LED strip is powered directly from my printer using this $5 voltage ("buck") converter. When I turn the printer on, the lights come on too!
Note: you may want a multimeter for this project. If you don't have one, then check out our best picks for multimeters.
This will vary from printer to printer; simply search for your 3D printer and some "LED" search term on Thingiverse and you'll find a variety of models to print for your printer.
For my Ender 3 LED strip upgrade, I chose to print this model. It slides directly into the aluminum channel at the top of my printer and fits a 5050-style LED strip (more on that later).
There are a few factors to consider when choosing an LED strip:
LED strips come in a few different voltages, with the most common being 5V and 12V. I'm going to use a 12V strip as the LED output will be brighter despite using only a short strip of LEDs.
This is the LED strip I used for this guide. I chose it because it stays cool and has LEDs packed closely together, resulting in brighter LED output.
Type and brightness
You might notice there are different types of LED strips (SMD 3528, SMD 5050, etc.) The difference here is the physical size of the LEDs on the strip.
If you're interested, this is how the SMG measurement translates to LED size:
Another big factor is LED density -- the number of LEDs per meter is a common measure.
Make sure your LED strip doesn't get hot enough to melt the strip holder, which you're probably printing in PLA -- some super high output LED strips can do this. No need to go overboard.
Color temperature refers to how "warm", or "yellow" the light is. You probably want a colder, whiter light for your 3D printer.
I went with a cool color temperature of 6000-6500K.
There are a few ways to power your LED strip:
Power it directly from your printer (recommended)
You can power your LED strip directly from your printer's power supply unit (PSU). This way, the strip will automatically turn on and off with your printer. You can also add a switch to turn it off manually. This method works with either 12V or 5V LEDs.
This is the method I'll cover in this guide.
Plug it into the wall
If you're using a 5V LED strip with a USB cable attached, you can simply plug it into a phone charger in the wall. However, you'll need to connect it each time you want to print. Also, your brightness will be more limited at 5V.
Power it from a Raspberry Pi
If you're running OctoPrint on your 3D printer using a Raspberry Pi, you can connect a 5V LED strip directly to your Pi's USB port. However, you'll need to make sure your strips don't pull too much current or your Pi won't function properly.
To do this, we'll use a simple LM2596 voltage regulator or "buck converter". In a nutshell, this little $5 board will reduce the voltage output by our printer to the voltage required by the LED strip.
The Ender 3 outputs 24V, so I'm going to "step-down" this voltage to 12V.
If your printer already outputs 12V, you don't need to add a buck converter. Some Googling will tell you what outputs your PSU has.
I wrote a separate guide on powering a Raspberry Pi from a 3D printer. That guide lists the steps in great detail for soldering and connecting the LM2596 to your printer and reducing it to the required output.
Use that guide to create your power source and then return here to continue. Of course, don't solder a Micro USB cable to the OUTPUT as listed in that guide; we're going to solder the LED strip there instead!
For my Ender 3, I connected the buck converter to my printer's power supply using this XT60 cable. This method is nice since it makes the buck converter easily removable in case I want to remove or change out the power strip.
You'll need a wire long enough to reach from the PSU to the LED strip. Be sure not to run the wires anywhere near moving parts. You don't want a print ripping your wires out! And then shorting them and also fire perhaps. Fire bad.
I like to manually run my wire along the printer to determine its precise length before cutting and soldering it. For my Ender 3, I was able to run the wire in the extruded aluminum channel behind the power supply. Super neat!
Next, we're going to solder the red positive (+) and black negative (-) wires to our power source. If you're powering the strip directly from your printer, simply solder these to the OUTPUT terminals of the LM2596 step-down converter.
To add a DC power switch, solder it inline with the black negative (-) wire. Make sure the switch is rated for your voltage (12V etc.) Toggling the switch on and off will break the circuit, turning the strip off.
Mount the LED holder to your printer. Then, cut your LED strip to length and use the LED strip's self-adhesive tape to connect the strip to its holder.
This is important. You'll want to secure your strip's wires carefully so that they don't get snagged by your printer moving. You can download and print all kinds of cable clips and mounts from Thingiverse, so get creative with it!