Developer(s) | Marlin core team + Marlin community |
---|---|
Initial release | December 2011 |
Stable release | 2.1.2 / December 18, 2022 |
Repository | |
Written in | C++ core |
Operating system | Arduino platform |
Platform | 8-bit AVR and 32-bit ARM based microcontroller units |
Type | 3D printing |
License | GPLv3 |
Website | marlinfw |
Marlin is open source firmware originally designed for RepRap project FDM (fused deposition modeling) 3D printers using the Arduino platform. [1] [2] [3]
Once the firmware has been compiled from C++ source code; it is installed and runs on a mainboard with onboard components and general-purpose I/O pins to control and communicate with other components. For control the firmware receives input from a USB port or attached media in the form of G-code commands instructing the machine what to do. For example, the command G1 X10 tells the machine to perform a smooth linear move of the X axis to position 10. The main loop manages all of the machine's real-time activities like commanding the stepper motors through stepper drivers, controlling heaters, sensors, and lights, managing the display and user interface, etc. [4]
Marlin supports many different types of 3D printing robot platforms, including basic Cartesian, Core XY, Delta, and SCARA printers, as well as some other less conventional designs like Hangprinter [2] [5] and Beltprinter.
In addition to 3D printers, Marlin is generally adaptable to any machine requiring control and interaction. It has been used to drive SLA and SLS 3D printers, custom CNC mills, laser engravers (or laser beam machining), laser cutters, vinyl cutters, pick-and-place machines, foam cutters, and egg painting robots. [3] [6] [7]
Marlin was first created in 2011 for the RepRap and Ultimaker printers by combining elements from the open source Grbl and Sprinter projects. Development continued at a slow pace while gaining in popularity and acceptance as a superior alternative to the other available firmware. By 2015, companies were beginning to introduce commercial 3D printers with Marlin pre-installed and contributing their improvements to the project. Early machines included the Ultimaker 1, the TAZ series by Aleph Objects and the Prusa i3 by Prusa Research.
By 2018 manufacturers had begun to favor boards with more powerful and efficient ARM processors, often at a lower cost than the AVR boards they supplant. After extensive refactoring Marlin 2.0 was officially released in late 2019 with full support for 32-bit ARM-based controller boards through a lightweight extensible hardware access layer. [8] [9] While Marlin 1.x had only supported 8-bit AVR (e.g., ATMega) and ATSAM3X8E (Due) platforms, the HAL added ATSAMD51 (Grand Central), Espressif ESP32, NXP LPC176x, and STMicro STM32. Marlin also acquired HAL code to run natively on Linux, Mac, and Windows, but only within a simulation for debugging purposes.
As of October 2022, Marlin is still under active development and continues to be very popular, claiming to be "the most widely used 3D printing firmware in the world." [2] Some of the most successful companies using Marlin today are Ultimaker, LulzBot, Prusa Research, and Creality.
Marlin firmware is not alone in the field of open source 3D printer firmware. Other popular open source firmware offerings include RepRap Firmware by Duet3D, Buddy Firmware by Prusa Research, and Klipper by the Klipper Foundation. These alternatives take advantage of extra processing power to offer advanced features like input shaping, which has only recently been added to Marlin (only limited version; Marlin does not support hardware accelerometers which is the best way to fully take advantage of input shaping). [10]
Marlin firmware is hosted on GitHub, where it is developed and maintained by a community of contributors. Marlin's lead developer is Scott Lahteine (aka Thinkyhead), an independent shareware and former Amiga game developer who joined the project in 2014. [11] [3] His work is entirely supported by crowdfunding.
Marlin is written in optimized C++ for the Arduino API in a mostly embedded-C++ style, which avoids the use of dynamic memory allocation. The firmware can be built with Arduino IDE, PlatformIO, or Auto Build Marlin extension for Visual Studio Code. The latter method is recommended because it is very easy but it only being an Visual Studio Code extension requires Visual Studio Code to be installed on the building system first.
Marlin is distributed under the GPL license which requires that organizations and individuals share their source code if they distribute the firmware in binary form, including firmware that comes pre-installed on the mainboard. Vendors have occasionally failed to comply with the license, leading to some distributors dropping their products.
In 2018 the US distributor Printed Solid ended its relationship with Creality due to GPL violations and quality issues. [12]
As of 2022, some vendors are still spotty in their compliance, deflecting customer requests for the source code for an extended period or in perpetuity after a product release. [13]
Marlin firmware is used by several 3D printer manufacturers, most of which are fully compliant with the license. Compliance is tracked by Tim Hoogland of TH3D Studio, et. al.. The following table may be out of date by the time you read this.
Company | GPL compliance |
---|---|
Aleph Objects' Lulzbot printers [14] [15] | Yes [16] |
Anet [17] | |
Artillery 3D | Yes [18] |
AnyCubic | Yes [19] |
Alphawise [20] | Yes [16] |
Bibo [17] | |
BQ [17] | |
BCN3D [21] | Yes |
BCN3D [22] | Yes |
BIQU/BTT [23] | Yes |
Creality [24] [25] | No: CR-X [26] Yes: CR-10S and Ender3 [27] |
FLSun | Yes [16] |
FolgerTech [17] | |
Geeetech | Yes [16] |
JGAurora [28] | No: A8, A7, Z-603S [16] Yes: A1, A5S, A3S, A5 |
Ideaformer | No |
LMYSTAR | No [16] |
Makerbase | Yes [29] |
Mingda | No |
Printrbot [30] | Yes |
Prusa Research | Yes, and they base their custom firmware on Marlin [31] |
Sunlu | No [16] |
Tevo | No [16] |
TronXY | No [16] |
Ultimaker [32] | Yes [16] |
Wanhao | Yes [16] |
Zonestar | Yes [16] |
Ghostscript is a suite of software based on an interpreter for Adobe Systems' PostScript and Portable Document Format (PDF) page description languages. Its main purposes are the rasterization or rendering of such page description language files, for the display or printing of document pages, and the conversion between PostScript and PDF files.
Open-source hardware consists of physical artifacts of technology designed and offered by the open-design movement. Both free and open-source software (FOSS) and open-source hardware are created by this open-source culture movement and apply a like concept to a variety of components. It is sometimes, thus, referred to as FOSH. The term usually means that information about the hardware is easily discerned so that others can make it – coupling it closely to the maker movement. Hardware design, in addition to the software that drives the hardware, are all released under free/libre terms. The original sharer gains feedback and potentially improvements on the design from the FOSH community. There is now significant evidence that such sharing can drive a high return on investment for the scientific community.
Arduino is an Italian open-source hardware and software company, project, and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices. Its hardware products are licensed under a CC BY-SA license, while the software is licensed under the GNU Lesser General Public License (LGPL) or the GNU General Public License (GPL), permitting the manufacture of Arduino boards and software distribution by anyone. Arduino boards are available commercially from the official website or through authorized distributors.
MakerBot Industries, LLC was an American desktop 3D printer manufacturer company headquartered in New York City. It was founded in January 2009 by Bre Pettis, Adam Mayer, and Zach "Hoeken" Smith to build on the early progress of the RepRap Project. It was acquired by Stratasys in June 2013. As of April 2016, MakerBot had sold over 100,000 desktop 3D printers worldwide. Between 2009 and 2019, the company released 7 generations of 3D printers, ending with the METHOD and METHOD X. It was at one point the leader of the desktop market with an important presence in the media, but its market share declined over the late 2010s. MakerBot also founded and operated Thingiverse, the largest online 3D printing community and file repository. In August 2022, the company completed a merger with its long-time competitor Ultimaker. The combined company is known as UltiMaker, but retains the MakerBot name for its Sketch line of education-focused 3D printers.
Thingiverse is a website dedicated to the sharing of user-created digital design files. Providing primarily free, open-source hardware designs licensed under the GNU General Public License or Creative Commons licenses, the site allows contributors to select a user license type for the designs that they share. 3D printers, laser cutters, milling machines and many other technologies can be used to physically create the files shared by the users on Thingiverse.
Printrbot is a 3D printer company created by Brook Drumm in 2011 and originally funded through Kickstarter. Printrbot printers use fused deposition modelling to manufacture 3-dimensional artifacts.
Fused filament fabrication (FFF), also known as fused deposition modeling, or filament freeform fabrication, is a 3D printing process that uses a continuous filament of a thermoplastic material. Filament is fed from a large spool through a moving, heated printer extruder head, and is deposited on the growing work. The print head is moved under computer control to define the printed shape. Usually the head moves in two dimensions to deposit one horizontal plane, or layer, at a time; the work or the print head is then moved vertically by a small amount to begin a new layer. The speed of the extruder head may also be controlled to stop and start deposition and form an interrupted plane without stringing or dribbling between sections. "Fused filament fabrication" was coined by the members of the RepRap project to give an acronym (FFF) that would be legally unconstrained in its use.
NodeMCU is a low-cost open source IoT platform. It initially included firmware which runs on the ESP8266 Wi-Fi SoC from Espressif Systems, and hardware which was based on the ESP-12 module. Later, support for the ESP32 32-bit MCU was added.
The ESP8266 is a low-cost Wi-Fi microcontroller, with built-in TCP/IP networking software, and microcontroller capability, produced by Espressif Systems in Shanghai, China.
The Prusa i3 is a family of fused deposition modeling 3D printers, manufactured by Czech company Prusa Research under the trademarked name Original Prusa i3. Part of the RepRap project, Prusa i3 printers were called the most used 3D printer in the world in 2016. The first Prusa i3 was designed by Josef Průša in 2012, and was released as a commercial kit product in 2015. The latest model is available in both kit and factory assembled versions. The Prusa i3's comparable low cost and ease of construction and modification made it popular in education and with hobbyists and professionals, with the Prusa i3 model MK2 printer receiving several awards in 2016.
FarmBot is an open source precision agriculture CNC farming project consisting of a Cartesian coordinate robot farming machine, software and documentation including a farming data repository. The project aims to "Create an open and accessible technology aiding everyone to grow food and to grow food for everyone."
Cura is an open source slicing application for 3D printers. It was created by David Braam who was later employed by Ultimaker, a 3D printer manufacturing company, to maintain the software. Cura is available under LGPLv3 license. Cura was initially released under the open source Affero General Public License version 3, but on 28 September 2017 the license was changed to LGPLv3. This change allowed for more integration with third-party CAD applications. Development is hosted on GitHub. Ultimaker Cura is used by over one million users worldwide and handles 1.4 million print jobs per week. It is the preferred 3D printing software for Ultimaker 3D printers, but it can be used with other printers as well.
Hangprinter is an open-source fused deposition modeling delta 3D printer notable for its unique frameless design. It was created by Torbjørn Ludvigsen. The Hangprinter uses relatively low cost parts and can be constructed for around US$250. The printer is part of the RepRap project, meaning many of the parts of the printer are able to be produced on the printer itself. The design files for the printer are available on GitHub for download, modification and redistribution.
OctoPrint is an open source 3D printer controller application, which provides a web interface for the connected printers. It displays printers' status and key parameters and allows user to schedule prints and remotely control the printer.
The Prusa Mini, stylized as the Original Prusa MINI, is an open-source fused deposition modeling 3D printer that is manufactured by the Czech company Prusa Research. The printer is the lowest cost machine produced by Prusa Research and is designed as a first printer or as part of a 'print farm'.
Creality, officially known as Shenzhen Creality 3D Technology Co, Ltd., is a Chinese 3D printer manufacturing company established in 2014, with headquarters located in Shenzhen.
Chinedum (Chi) Okwudire is a Nigerian-American mechanical engineer and a professor of Mechanical Engineering and Miller Faculty Scholar at the University of Michigan, where he directs the Smart and Sustainable Automation Research Lab. He is also the founder and chief technology officer of Ulendo Technologies, Inc. His research is in the area of manufacturing automation, control engineering, and mechatronics.
The Polar Cloud is an American software platform for 3D printers that is owned and operated by Polar3D, LLC. The platform was launched in March 2017 and is now home to over 500,000 users in 160 countries. The platform is home to several programs and initiatives, including the Boys & Girls Club of America, GE's Additive Education Program, and a COVID-19 Mask Making effort.
FatFs is a lightweight software library for microcontrollers and embedded systems that implements FAT/exFAT file system support. Written on pure ANSI C, FatFs is platform-independent and easy to port on many hardware platforms such as 8051, PIC, AVR, ARM, Z80. FatFs is designed as thread-safe and is built into ChibiOS, RT-Thread, ErlendOS, and Zephyr real-time operating systems.
Open-source firmware is firmware that is published under an open-source license. It can be contrasted with proprietary firmware, which is published under a proprietary license or EULA.
{{citation}}
: CS1 maint: numeric names: authors list (link)