Use Legos to Make Your Own 3D Printer Using Nema 17 Stepper Motors

Share this Article


3D printing and toys often immediately brings to mind the quintessential plastic product often replicated, and often enjoyed by children all over the world on a daily basis: the Lego. Not just for kids, you may be well aware that the uses for these colorful blocks extends far beyond child’s play.

And while there has been a number of other Lego 3D printers on the market, from the build-your-own arena where one 3D printer we reported on previously is actually made from Legos specifically for, of course, the noble task of only printing Legos, to the more homespun DIY 3D printer experiments that are fairly easy to assemble, there’s certainly room on the block for a new design.

FYLJZQ5IA57HXPC.MEDIUMDefinitely not a toy itself, the LEGO 3d printer can actually pump out some credible 3D models for you. Built on the premise of a Prusa i3 rework printer, this machine is paired with Nema 17 stepper motors. It’s built with the ubiquitous plastic squares that leave children delighted–and parents in pain, infamously shouting expletives as they step on them in the dark of night. While most Lego printers employ servos, this build design worked very well with stepper motors.

From Instructables member, Gosse Adema, we’re able to follow assembly of this X, Y and Z axis machine featuring a default Lego brick of 4 by 2 studs at 32 x 16 x 9.6 mm for a solid base. Pointing out that he does not use any Mindstorms products from LEGO, and employs the stepper motors rather than servos, Gosse Adema says this is not a 100 percent Lego machine.

For software, he enjoyed using Marlin for the Atmega 2560 and Pronterface on a laptop to control the machine. It features a heated print bed that reaches temperatures of 110 degrees Celsius.

As for materials, here is a basic list of what you are looking at. (Adema also recommends using m3 x 15 bolts for connecting the steppers to the LEGO.)

Mechanical Parts and rods

  • Smooth rod 8mm (3 x 100 cm)
  • Threaded rod m5 (1 x of 100 cm)
  • LM8UU linear bearing (11 x)
  • Ball bearing 608 (2x)
  • Flexible coupling 5×5 (2x)
  • Nema 17 stepper (4x)
  • GT2 Pulley (2x)
  • GT2 Belt (200 cm)

Heated bed

  • Y-carrier frame (1x, or use LEGO for only PLA printing)FY1VBUAIAF6UBZ7.MEDIUM
  • Heatbed (1x)
  • Glass Plate (1x)
  • Binder clip (1x)
  • Thermistor 100K (1x)


  • Ramps (1x)
  • Atmega 2560 (1x)
  • Stepstick (4x)
  • Endstop (3x)
  • Power supply (1x)
  • Ramps wiring kit (1x)
  • Extruder with Nema stepper (1x)

Once you’ve built the base, you will want to:

  1. Complete the Y Axis with the motor and belt – the Y-carriage places the LM8UU bearing with a distance of 170mm, giving 21.25 studs. Use the technic bricks at the back of the machine to place the motor.
  2. Start building the frame and assembling the Z Axis with the motor and threaded rod. This is where you get to put some of your Lego-building expertise to work. “Build a sturdy L-frame of 36 blocks high,” states Adema. “This determines how high you can print, but do not build too high. The higher, the more unstable the frame. Use a Lego technic brick each 5th brick and use plates for getting a rigid frame. Connect both sides at the top of the frame.”
  3. The Nema steppers are attached with 2×4 and 2×8 plates that have holes.
  4. Complete the X Axis with the motor – instructions must be carefully attended to for this section, as Adema warns it is the most difficult step, and he includes images for each step as you complete the X-axis with the motor, extruder-carriage and belt–beginning with right side and then finishing with the left.
  5. Install extruder carriage and belt – because of the 3D printer’s size, Adema chose to use a Geeetech assembled MK8 extruder, with a default 0.3 mm nozzle that uses 1.75 mm filament. Once installed, he recommends using tie wraps for secure attachment.
  6. Install endstops – there are three, to include one for each axis. All endstops are connected to technical bricks with m3 x 15 mm bolts, and nuts.

For the electronics, see step 7 where Adema refers you to several different resources like RepRap for assembly. Once electronics are ready, it’s time for testing of:

  • Stepperslllll
  • Endstops
  • Heating bed
  • Extruder

Adema notes that you’ll also want to make a note of the fact that before installing the Marlin software to the printer, you will need to make changes to the printer and the configuration which should then allow you to proceed.

“My first print had some problems with the amount of filament but everything worked,” stated Adema. “The main problem was the difference in filament settings and extruder nozzle. This was caused by the Pronterface settings.”

He did have to adjust settings due to the filament and nozzle size. For calibration, Adema once again sends you to RepRap, but as an addendum gives you special instructions on PID-tuning. See here for the special commands required.

“Although the printer needs to be further calibrated everything is working properly,” said Adema. “I probably need to alter the filament settings.”

“By ensuring that all axes move smoothly, no steps are skipped by the stepper motors. This was one of the problems during the first print,” says Adema, stating that he plans to keep working on his 3D printing skills, as well as updating his Instructable for the LEGO 3d printer.

Is this a 3D printer you are interested in building? Have you incorporated Legos into any of your 3D printing activities or builds? Discuss in the Lego 3D Printer forum over at


Share this Article

Recent News

3D Printing Webinar and Event Roundup: August 1st, 2021

3D Printing News Briefs, July 31, 2021: Student Racing and More


3D Design

3D Printed Art

3D Printed Food

3D Printed Guns

You May Also Like

BCN3D Technologies Launches Stratos 3D Print Slicing Software Solution

Barcelona-based 3D printing solutions provider BCN3D Technologies has long been a leader in desktop systems, but also works to provide optimized 3D printing materials as well. Now the international company...

New UL Study Reveals VOC Emission Rates are Higher in SLA vs. FFF 3D Printing

In 2018, Chemical Insights, an institute of safety science company Underwriters Laboratories, released a study about the safety and health impact of 3D printing, which found that emissions released into the...

New Algorithm Improves 3D Body Scanning Precision by 4500%

Together, research scientists from Loughborough University and the University of Manchester in the UK have developed a way to improve the precision and accuracy of 3D body scanning by a...

3D Print the World’s Oldest Neanderthal Art

If you’re anything like me, you’re fascinated by Neanderthals, that species or subspecies of ancient humans that went extinct, likely due to a combination of factors: climactic shifts, disease, and...


View our broad assortment of in house and third party products.