Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Hot answers tagged

24 votes
Accepted

How to set Z-probe boundary limits in firmware when using automatic bed leveling?

There are a few questions on this topic, so a more generic solution would be informative and will prevent multiple questions of others when their sensor has a slightly different location. This answer ...
user avatar
  • 30.4k
15 votes
Accepted

What is Thermal Runaway Protection?

What is TRP and how does it work? Thermal runaway protection is basically self-explaining; it is protection against the temperature getting out of control. Essentially, the firmware checks whether ...
user avatar
  • 30.4k
14 votes

How many times can you re-flash the Marlin firmware to a RAMPS 1.4 board before it degrades the ROM?

The EEPROM is not where the program itself is stored, what's relevant for your question is the flash. The flash in the ATmega2560 is rated for 10,000 cycles (i.e. you can reprogram it at least 10,000 ...
user avatar
14 votes
Accepted

Specifying Z offset in Marlin firmware

Z-offset persitently stored in memory? Maybe the value of -2.97 for the Z_PROBE_OFFSET_FROM_EXTRUDER is retained in the EEPROM ...
user avatar
  • 30.4k
12 votes

Is there a way to invert motor direction with G-code instead of Firmware in Marlin

For the X/Y/Z axes, you can use M92 to change the axis steps per unit to a negative value, which causes it to move in the opposite direction. I.e. if normally your ...
user avatar
9 votes

How to increase the amount of probing points for a BLTouch sensor in Marlin firmware?

You need to change the constant value(s) in your Configuration.h file of your Marlin version from: // Set the number of grid points per dimension. #define GRID_MAX_POINTS_X 3 #define ...
user avatar
  • 30.4k
8 votes

How to configure Marlin to enable auto-fans with dual extruder

After trying many different things, I found out that the solution is quite simple and requires only a few lines of code. I'll answer my own question in the hope that this will help someone. First, I ...
user avatar
  • 171
8 votes

Recalibrating Home-position

When homing the printer, the hot end carriage will be instructed to hit the (mechanical or optical) end stops. From this point a well configured firmware knows where to find the origin of the heat bed....
user avatar
  • 30.4k
8 votes
Accepted

How to add menu options to the (Marlin firmware) LCD menu?

The answer to your question (baring in mind that the question is raised for Marlin 1.1.9) is the file ultralcd.cpp. Nowadays, you can also enable extra option through the Configuration_adv.h file, ...
user avatar
  • 30.4k
8 votes
Accepted

After some time stepper motor is hot

The second motor is hot. And the third is very hot. I can not even touch it. This is to some degree, completely normal and expected. From the datasheet for a typical NEMA 17 stepper, the rated ...
user avatar
7 votes
Accepted

How do I set the G-code buffer size on Marlin?

Marlin does allow one to change the size of the buffers, in Configuration_adv.h. In the current version there's an ifdef that switches between two cases, one with ...
user avatar
  • 822
7 votes

Nozzle jumps off the bed when using Marlin Mesh Bed Leveling

None of the answers address your question to solve it! The only sensible contribution comes from a comment of @TomvanderZanden. For the sensor to stay within the limits of the bed (considering the ...
user avatar
  • 30.4k
7 votes
Accepted

3d printer not printing circles correctly

Possible causes for the printer not printing correct dimensions: Incorrect number of steps/mm in firmware settings Belts are not tight enough Pulley slips on the shaft Looking at the picture, I ...
user avatar
  • 858
7 votes
Accepted

Should I be doing PID auto-tuning with my fan at 100% (Anet A8)

You should run the fan at what you expect it to be at the majority of the time it is printing. If you tune at 100% fan and never use a fan then it will be too aggressive, if you tune at 0% fan and ...
user avatar
  • 2,090
7 votes
Accepted

What is the difference between M420 S and M420 S1?

TL;DR Short answer: "There is no difference!". Long answer G-code is parsed line by line. The parser in the firmware reads the command and the options (also called parameters) following it, ...
user avatar
  • 30.4k
7 votes

3D Printing with malicious intent

Ethics and justification: If you have physical access to the device you could just... physically damage the device. Running arbitrary G-code is just more complicated Most printer farms have a strict ...
user avatar
6 votes
Accepted

Printer randomly moves to home during printing, then resumes as normal

The issue was due to a corrupt SD-card, which was occasionally having some garbage read from it. It turns out that Marlin will try interpret a corrupt move command like ...
user avatar
6 votes

Clean or wipe move for delta 3D printers

Slic3r, and all other slicers that I saw, have an option called Skirt that enables your printer to print a number of lines around your object before it starts ...
user avatar
6 votes

How can I add auto bed leveling before print?

Rather than modifying the firmware to handle this, have you considered a pre-processing script on your computer, greping for a G29 in the G-code, then adding a <...
user avatar
  • 178
6 votes

Hot end temperature varies during print

There could be a number of reasons for that behaviour: Please check following items: part blower/fan cools down the nozzle - stop the fan material is extruded at high speed and takes the heat loose ...
user avatar
  • 1,922
6 votes
Accepted

Setting custom x/y bed bounds for Anet A8/marlin

As you just flashed your own Marlin, you probably have the marlin.ino and its associated files in the Arduino IDE set for your Processor and board and know how to ...
user avatar
  • 19.2k
6 votes
Accepted

How to enable EMERGENCY_PARSER in Marlin firmware?

The constant EMERGENCY_PARSER is located in the advanced printer configuration file Marlin/Configuration_adv.h: // Enable an emergency-command parser to intercept ...
user avatar
  • 30.4k
6 votes
Accepted

LCD full graphic smart controller, no character display and screen blinking

this problem can be solved by turning the slots on the display, as in the image below. Some Chinese displays are inverted from factory.
user avatar
6 votes

What does a stand alone "T" index value do?

T stands for "Tool" and has its origin in the origins of .gcode being for other automated machine controls. Depending on the machine, everything could be a tool for ...
user avatar
  • 19.2k
6 votes
Accepted

Configuring of MKS_GEN_L V1.0

The motherboard definition in configuration.h should be written like: #define MOTHERBOARD BOARD_MKS_GEN_L actually the word <...
user avatar
  • 541
6 votes
Accepted

Tronxy Marlin boards (two of them) reboot when asked to heat bed

It sounds like a power-related problem. Always use an external MOSFET to drive a heated bed, and consider investing in a decent power supply. Inevitably, the Tronxy PSU will be barely adequate. Edit: ...
user avatar
  • 2,972
5 votes
Accepted

RCBugFix what is it?

It refers to a specific branch of the current project, named RCBugFix. It's basically the most up-to-date, bleeding edge version of Marlin that contains all of the most recent fixes (it is more up-to-...
user avatar
5 votes
Accepted

Clean or wipe move for delta 3D printers

You can achieve this using the G1 command. I don't know your exact printer, but you should be able to use something like this (add to the start G-code in your ...
user avatar
5 votes

Clean or wipe move for delta 3D printers

A lot of slicers will have a Wipe option. Here are some examples: See Unofficial Simplify3D Documentation. Go to the section talking about Wipe Nozzle, under the heading Extruder Tab Two more ooze-...
user avatar
  • 3,003
5 votes
Accepted

Cloning the Marlin git repo while keeping my configuration.h settings?

Based on this answer, you need the following procedure: Stash your local changes using git stash Pull from remote repository using ...
user avatar
  • 223

Only top scored, non community-wiki answers of a minimum length are eligible