talira

Firmware for RepRap 3D printers optimized for both 8 and 32 bit microcontrollers

open sourceGPL-3.0-or-laterfree

Marlin is open source firmware for 3D printers that runs on the printer's control board, from 8-bit AVR boards to 32-bit ARM boards, and also drives CNC machines, lasers and spindles. Many commercial printers ship with it. It's configured by editing Configuration.h and Configuration_adv.h and building for the board with PlatformIO (the Auto Build Marlin extension for VS Code) or the online build service, and is controlled with G-code from a host or the printer's display. Pre-built firmware for popular printers installs by copying it to the SD card and restarting. A hardware abstraction layer supports AVR, STM32, ESP32, LPC176x, SAM3X (Arduino Due), SAMD, GD32, HC32, AT32 and Teensy boards, with an RP2040 HAL in beta.

Problems it solves

  • replace the stock firmware on my Ender 3 to get bed leveling and newer features
  • my 3D printer's firmware doesn't support the BLTouch probe I just installed
  • build custom firmware for the control board in my DIY 3D printer
  • add input shaping and linear advance to my printer without buying a new mainboard
  • turn on thermal runaway protection on an old printer
  • upgrade my printer to a 32-bit board and need firmware that runs on it
  • my printer lost power mid-print and I want it to resume where it stopped
  • configure a printer with two extruders or a tool changer
  • run a laser engraver or spindle from the same firmware as my printer

Features

  • runs on 8-bit AVR and 32-bit ARM boards from a single code base
  • up to 9 coordinated axes and up to 8 extruders
  • automatic, unified and mesh bed leveling
  • input shaping, linear advance and fixed-time motion
  • thermal protection, PID and model predictive temperature control
  • power-loss recovery, filament runout sensors and filament change
  • Cartesian, CoreXY, delta, SCARA and polar printers
  • laser and spindle control for CNC
  • pre-built firmware binaries for many popular printers
  • Auto Build Marlin extension for VS Code and an online build service

Alternatives

The same job

These do what Marlin does.

  1. Prusa Firmware Buddy Firmware for Prusa's 32-bit 3D printers
  2. RepRapFirmware Motion control firmware for 3D printers, CNC and laser machines on 32-bit ARM processors
  3. Klipper Klipper is a 3d-printer firmware
  4. Kalico Klipper, but Limitless

Compare Marlin with the top 3