The best tools to make your project dreams come true

Login or Signup

By Sparkfun Electronics

Light Up Your 3D Printer's Bed

Courtesy of Sparkfun


 Are you 3D printing in a room at night with barely any light?

That’s the problem that I came across when inspecting prints at SparkFun during odd hours.

The light source behind me created a shadow over the print bed making it hard to see what was going on. In this tutorial, we will be using a LED strip to light up the print bed on a LulzBot 3D printer!


Required Materials

Note: This tutorial uses non-addressable LED strips but you could also customize your lighting by using an addressable LED strip of your choice. This will require additional components to get started.

To follow along with this tutorial, you will need the following materials. You may not need everything, depending on what you already have. Add it to your cart, read through the guide, and adjust the cart as necessary.

Light Up Your 3D Printer's Bed Wish List

Wall Adapter Power Supply - 9VDC 650mA
DC Barrel Jack Adapter - Female
Barrel Jack Power Switch - M-F (3")
LED RGB Strip - Sealed (1M)


You will need a screwdriver, wire strippers, and diagonal cutters.

Light Up Your 3D Printer's Bed Wish List

SparkFun Mini Screwdriver
Wire Strippers - 20-30 Gauge
Diagonal Cutters

You Will Also Need

In addition to the materials listed above, you will need:

  • Electrical Tape
  • Hot Glue Gun and Glue Sticks

Hardware Hookup

Note: While the LED strip is labeled 12V, a 9V power supply was used so that the LEDs were not overwhelmingly bright. At 9V, it also did not dissipate as much heat.

The wiring is simple between the female barrel jack adapter and the non-addressable LED strip. Simply insert the black wire connecting the “12V“ pin to the ”+” of the barrel jack adapter’s screw terminal. Then insert the rest of the wires to the “” screw terminal.


Note: When testing the non-addressable LED strip, the pin labeled "G" was actually blue and the "B" was actually green. Depending on the manufacturer, the label may vary. Try testing the LED strip out with a power supply to determine to see if the letter represents the color.

Hook-up Table

Below is a "hook-up" table that shows the connection between the female barrel jack adapter and non-addressable RGB LED strip.

Image 002a

Connecting and Modifying the LED Strip

Note: This tutorial was written with the Taz 5 3D printer. However, you can use this as a guide to attach any type of LED strip to your 3D printer! You will just need to adjust the length as necessary depending on the size of your 3D printer frame and the density of LEDs on your strip.

We will be attaching the LEDs to the top of the frame. Make sure that the LEDs and wires are not in the way of any moving parts. Determine the length that you need by holding the LED strip up against the 3D printer's frame. The length depends on the size of your printer’s frame. For the Lulzbot TAZ 3D printers, about 16x segments of the LED strip was used. For the Lulzbot Mini, about 12x segments seemed to be sufficient. Each segment consists of 3x LEDs between the exposed copper pads.

iMAGE 003

Cut 4x segments off one end of the 1M non-addressable LED using the diagonal cutter. Relative to the 3D printer that I was using, I decided to remove the 4x segments from the right side of the LED strip.

Image 4

Carefully strip extra wire insulation to expose more wire for the screw terminal. You may need to tin the tips of the wires by adding more solder. Then, insert the wires for R, G, and B, into barrel jack adapter's screw terminal labeled as “”. Then tighten the screw with a Phillips head screwdriver. Repeat for the black wire labeled as 12V on the “+” side.

Image 5

Pull gently to verify that the wires are secure in the socket.

Image 006

Insulate the exposed end of the LED strip with hot glue.

Image 007

Connect a barrel jack power switch between barrel jack adapter and power supply.

Image 008


Now would be a good time to check if the hardware was wired properly. Connect the power supply to a wall outlet. If the LEDs do not light up, flip the switch to the other side to see if the LED strip lights up.

Image 009

Secure the LEDs

Attach the LED strip flush against the top of the 3D printer's frame and ensure that the wires are not in the way of the printable area. Since we want to illuminate the print bed, aim the LEDs toward the printer. While we could use the 3M adhesive that is on the back of the LED strip's clear jacket, I wanted to ensure that the adhesive did not fail during a print. Instead, the wires were secured by using electrical tape and wrapping the strip against the frame. Depending on the width of the tape, you may want to cut it down to prevent the LEDs from being blocked. You could use zip ties as well.

Image 0010

Electrical tape was added as necessary on the enclosure; left, top, and right side of the frame as shown in the image below. Feel free to mount the power switch to another location so that you do not accidentally turn the power off to your 3D printer.

Image 0011a Highlighted Areas with Electrical Tape

Image 0011b LED Strip Mounted to 3D Printer

Enjoy 3D Printing in the Light!

Insert the power supply into a wall outlet and flip the switch to power the lights when you need to check on your print!

Image 0012

Making It Better

Like all projects, you can always make it better and build upon the design. Here are few ideas to make it even more impressive by adding effects or interactive!

  • Add microcontroller and transistors to control each color with the press of a button to add an effect.

Redboard Programmed with Arduino

MOSFET N-Channel 60V 30A TO-220AB

Multicolor Buttons - 4-pack

Resistor 10k Ohm 1/6th Watt 5% Axial

  • Add a motion or heat sensor to light up and change color indicating the print is finished.

SparkFun Grid-EYE Infrared Array Breakout-AMG8833 (Qwiic)

SparkFun OpenPIR

  • Instead of RGB, use cool white for a more natural white. Mixing red, green, and blue may produce a “white light” but it is not a pure white.

LED - 3W Aluminum PCB (5 Pack, Cool White)

White Tri-Color LED Strip - Addressable, Sealed (1M)

Resources and Going Further

Need some inspiration for your next project? Check out some of these related tutorials for ideas:

Using OpenSegment

How LEDs are Made

Boss Alarm

Light UP Silk Flower Corsage


Key Parts and Components

Add all Digi-Key Parts to Cart
  • 1568-1510-ND
  • 1568-1417-ND
  • COM-12023-ND
  • 1691-1281-ND
  • 1691-1037-ND
  • TOL-13880-ND
  • 1568-1768-ND
  • 1568-1757-ND
  • 10KEBK-ND
  • 1568-1859-ND
  • 1568-1598-ND
  • COM-13898-ND
  • FQP30N06L-ND