Marlin VS Sanguino

Compare Marlin vs Sanguino and see what are their differences.

Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine. (by MarlinFirmware)

Sanguino

Sanguino add-on for the Arduino IDE, based on http://code.google.com/p/sanguino/ (by Lauszus)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Marlin Sanguino
755 6
15,888 178
1.1% -
9.8 0.0
6 days ago 8 months ago
C++ C
GNU General Public License v3.0 only -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Marlin

Posts with mentions or reviews of Marlin. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-26.
  • Why Prusa is floundering, and how you can avoid their fate
    4 projects | news.ycombinator.com | 26 Dec 2023
    There is _a lot_ wrong with Marlin. It is a complex codebase, full with ancient artefacts, litterred with preprocessor ifdefs every 2-3 lines of code, dynamic includes in the middle of CPP files, etc[1]. It's about as unreadable as C++ code gets--well, I guess it's not template metaprogramming.

    Klipper by contrast is a breeze to read through[2].

    I am very grateful for Marlin, for all of reprap, and everyone who has contributed to it. But saying there is nothing wrong with it is straight up misguided.

    [1]: https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.1.x/M...

    [2]: https://github.com/Klipper3d/klipper/blob/master/src/lcd_hd4...

  • E steps way off.
    1 project | /r/ender3 | 6 Dec 2023
    I think you are mistaken. I can't speak for implementations preceding the Ender 3 V2, so what you're saying may have been true at some point for other machines. However, here you can see Marlin developers confirm that there is an EEPROM on the stock E2V2 board using diagrams from Creality and photographic confirmation. Here is the datasheet for the EEPROM. Here is a thread discussing this Marlin release, and also the then-recent release of official Creality firmware which resolved the same issue. Since the stock firmware is based on Marlin, and at the time Marlin did not support this type of EEPROM, the EEPROM was not usable at launch. Any mainstream firmware (official or third-party) from the last three years will be using the onboard EEPROM unless the user intentionally specified otherwise.
  • FYI: Marlin 2.1.2.1 on Sapphire plus v2
    1 project | /r/TwoTrees | 26 Sep 2023
    pull latest Marlin from github: https://github.com/MarlinFirmware/Marlin
  • Ender 3 Pro + Octoprint = Thermal Malfunction, system stopped! Heater_ID: E0
    1 project | /r/Ender3Pro | 25 Aug 2023
    Also, checked the following discussion but seems like I need to update the firmware to be able to comment that like right? Temperature variance monitor tweaks by zeleps · Pull Request #23571 · MarlinFirmware/Marlin · GitHub
  • Marlin DACAI Screen Bug
    1 project | /r/ender3v2 | 6 Jul 2023
  • Anycubic Kobra Marlin 2.1+ based custom firmware
    4 projects | /r/anycubic | 30 Jun 2023
    i spent some time and successfully rebased Kobra 2.8.2 OG firmware from an unknown Marlin ~2.0.8 frankenstein to a clean latest (as of now) release (not bugfix) 2.1.x -- v2.1.2.1 + 1 commit
  • Digraphs and Trigraphs
    3 projects | /r/arduino | 28 Jun 2023
    As an example, check the macropocalypse in Marlin - but the actual trigger for me to start was Reprap firmware doing a floating point divide in interrupt context while targeting AVR8 core…
  • Need advice on intermittent thermal runaway (Ender 3 V2)
    1 project | /r/FixMyPrint | 27 Jun 2023
    Any change of thermistor or to a PT100/PT1000 will require recompiling the firmware, because every type has different characteristics. Marlin uses an internal table to calculate the temperature for whatever reading it gets from the CPU's analogue-to-digital converter. It has many tables for different thermistors, but only one is ever incorporated at compile time. So you have to specify which type you're using. You can see the commonly-used types in the list in Marlin's Configuration.h file, in the section headed // @section temperature. The tables themselves are in Marlin/src/module/thermistor.
  • Marlin ramps1.4
    1 project | /r/AnetA8 | 23 Jun 2023
  • Has anyone actually edited Marlin source code and added a new feature?
    1 project | /r/MarlinFirmware | 22 Jun 2023
    FWIW It IS open source but the GNU General Public License v3.0 rules apply. https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.1.x/LICENSE

Sanguino

Posts with mentions or reviews of Sanguino. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-13.
  • Trouble with burning Bootloader onto Creality V1.1.4 Board
    1 project | /r/ender3 | 16 May 2023
    The first time I programmed my v1.1.4 board, I set up an Arduino Uno to use as the programmer, in ArduinoIDE 1.8.9. Then I used the board manager to install https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json to the "Additional Boards Manager URLs" field as per the instructions at https://github.com/Lauszus/Sanguino/tree/master, and installed the bootloader. That was in early 2019, and I didn't have any problems, but I believe that later versions of ArduinoIDE 2.x may be slightly different. Maybe worth trying an older version?
  • Help with Marlin 2.1.2 on my Sanguino ATmega1284P processor
    1 project | /r/arduino | 21 Apr 2023
  • Hot End Temp Issue
    2 projects | /r/CR10 | 13 Jul 2022
    /** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * */ #pragma once /** * Sanguinololu board pin assignments */ /** * Rev B 26 DEC 2016 * * 1) added pointer to a current Arduino IDE extension * 2) added support for M3, M4 & M5 spindle control commands * 3) added case light pin definition */ /** * A useable Arduino IDE extension (board manager) can be found at * https://github.com/Lauszus/Sanguino * * This extension has been tested on Arduino 1.6.12 & 1.8.0 * * Here's the JSON path: * https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json * * When installing select 1.0.2 * * Installation instructions can be found at https://learn.sparkfun.com/pages/CustomBoardsArduino * Just use the above JSON URL instead of Sparkfun's JSON. * * Once installed select the Sanguino board and then select the CPU. */ #define ALLOW_MEGA644P #include "env_validate.h" #ifndef BOARD_INFO_NAME #define BOARD_INFO_NAME "Sanguinololu <1.2" #endif // // Limit Switches // #define X_STOP_PIN 18 #define Y_STOP_PIN 19 #define Z_STOP_PIN 20 // // Steppers // #define X_STEP_PIN 15 #define X_DIR_PIN 21 #define Y_STEP_PIN 22 #define Y_DIR_PIN 23 #define Z_STEP_PIN 3 #define Z_DIR_PIN 2 #define E0_STEP_PIN 1 #define E0_DIR_PIN 0 // // Temperature Sensors // #define TEMP_0_PIN 7 // Analog Input (pin 33 extruder) #define TEMP_BED_PIN 6 // Analog Input (pin 34 bed) // // Heaters / Fans // #define HEATER_0_PIN 13 // (extruder) #if ENABLED(SANGUINOLOLU_V_1_2) #define HEATER_BED_PIN 12 // (bed) #define X_ENABLE_PIN 14 #define Y_ENABLE_PIN 14 #define Z_ENABLE_PIN 26 #define E0_ENABLE_PIN 14 #if !defined(FAN_PIN) && ENABLED(LCD_I2C_PANELOLU2) #define FAN_PIN 4 // Uses Transistor1 (PWM) on Panelolu2's Sanguino Adapter Board to drive the fan #endif #else #define HEATER_BED_PIN 14 // (bed) #define X_ENABLE_PIN 4 #define Y_ENABLE_PIN 4 #define Z_ENABLE_PIN 4 #define E0_ENABLE_PIN 4 #endif #if !defined(FAN_PIN) && (MB(AZTEEG_X1, STB_11) || IS_MELZI) #define FAN_PIN 4 // Works for Panelolu2 too #endif
  • How to Upgrade stock CR10 V1 to Marlin 2.0
    3 projects | /r/CR10 | 9 May 2022
    Grab the Sanguino Board plugin here - https://github.com/Lauszus/sanguino/zipball/master and extract to Desktop
  • Do you know of any ATMegas with approximately 40 pins, that are programmable through the INO-language?
    2 projects | /r/AskElectronics | 22 Mar 2021
  • BLtouch Install
    1 project | /r/ender3 | 13 Mar 2021
    I believe it's the Sanguino 1284P. Have a look at the Github: https://github.com/Lauszus/Sanguino

What are some alternatives?

When comparing Marlin and Sanguino you can also consider the following projects:

MKS-TinyBee - MKS TinyBee is a mainboard for 3d printing, based on ESP32 module

Configurations - Configurations for Marlin Firmware

SKR-2

arduino-esp32 - Arduino core for the ESP32

klipper - Klipper is a 3d-printer firmware

u8g2 - U8glib library for monochrome displays, version 2

Marlin-2.0.X-MKS-Robin-Nano - Marlin 2.0.X for the MKS Robin Nano 1.1/1.2

Arduino - Arduino IDE 1.x

BIGTREETECH-SKR-mini-E3 - BIGTREETECH SKR-mini-E3 motherboard is a ultra-quiet, low-power, high-quality 3D printing machine control board. It is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.

Tasmota - Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at

Ender-3 - The Creality3D Ender-3, a fully Open Source 3D printer perfect for new users on a budget.

Arduino_Core_STM32 - STM32 core support for Arduino