Questions tagged [marlin]

Questions about the 3D printer firmware Marlin.

Filter by
Sorted by
Tagged with
13
votes
1answer
32k views

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

In setting up a probe for automatic bed leveling, the limits of the probing area must be entered in the firmware of a 3D printer. When using a sensor, how do you define the bed limits for the sensor ...
16
votes
2answers
25k views

What is Thermal Runaway Protection?

What is Thermal Runaway Protection (TRP) and why should I enable it? How does one do so in Marlin?
9
votes
3answers
95k views

Recalibrating Home-position

I got myself the Ender 3. The Home position is about 1 mm left and 2 mm in front of the front left corner. Now, the hotend center axis is 11 mm from the carrier plate with the "Mk 10" cooler ...
1
vote
1answer
10k views

Updating Marlin Firmware - Step by Step Guide

Note: This question is meant as a wiki to include all steps that are needed to update your printer with a self configured Marlin firmware version. The answer is a wiki that is currently in development ...
1
vote
2answers
3k views

M502 will reset all configurable settings to their “factory defaults”, which settings are those?

From the M502 documentation page can be read that M502: Reset all configurable settings to their factory defaults. Please ...
10
votes
4answers
24k views

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

Where is the correct Marlin firmware file and location to add code that I want to shop up in the LCD menu of my printer, and then execute the function I write when the button is pressed? For example ...
7
votes
6answers
16k views

BLTouch Probing Fails Intermittently

I just installed my (v3) BLTouch with a vanilla version of Marlin (1.1.9) on my Ender 3 and everything seems to work fine (including auto home) except the probing. It repeatedly does the first three ...
6
votes
2answers
9k views

Nozzle jumps off the bed when using Marlin Mesh Bed Leveling

I am using Marlin firmware with a RAMPS board on an Anet A8 printer. The bed size for the printer is 220 x 220 mm and that is stated in the configuration.h file. ...
3
votes
2answers
7k views

How to switch motor outputs and use E1 as X, in Marlin firmware?

I broke up my electronics and now the output for X is not working. The stepper is OK. There is any simple solution to remap the output pins? I want the E1 output to act as the X output.
7
votes
1answer
7k views

Controlling more fans with RAMPS board

I am using RAMPS 1.4 with Marlin. With Marlin, you can control a large number of fans with the M106 P<fan index> command. I'd like RAMPS to control some ...
6
votes
1answer
9k views

Anet A6 Firmware

I've just finished putting my new Anet A6 together. Very nice build all together as everything fits really well. I've tried a test print and I noticed something weird: as I try to home ONLY the Z ...
4
votes
1answer
1k views

MKS 12864OLED Display setup

I've bought MKS 12864OLED and connected to my DIY 3d printer with Mega/RAMPS combination. In Marlin's configuration.h file there are these lines to uncomment: ...
9
votes
3answers
33k views

How to set the Z home offset

I have what I thought would be a simple question. I don't have an auto leveling probe, I do my leveling manually with 4 screws and a piece of paper (I measured the thickness to 0.1 mm). For the ...
7
votes
5answers
18k views

How can I add auto bed leveling before print?

I want to add auto bed leveling before each print. When I enable auto bed level in configuration.h, it only shows auto bed in menu. I found this code in ...
5
votes
1answer
18k views

Specifying Z offset in Marlin firmware

I need to set a Z offset for the Flying bear P902. I calculated the offset (-2.98). But, every time when I try to input this using the LCD screen of my 3D printer, the value jumps to either -2.99 or -...
9
votes
1answer
8k views

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

I have successfully assembled my custom-built 3D printer and configured Marlin for two extruders and one heated bed. Here is a picture of the printer. My heated bed runs on a linear axis with ball ...
0
votes
1answer
2k views

I can set the voltage and current of the TMC2130 driver manually. But, in which cases some of the components could burn up?

I need to know if something will burn up beforehand I plug all the circuits: Ramps 1.6+ Arduino Mega 2560 PSU 12 V, 15 A 2 TMC2130 V3.0 Stepper motor driver 2 Stepper motors 17hs3401 ...
5
votes
3answers
8k views

How to change E0 to E1 on Marlin 1.1?

I have the same problem as this person but I don't have those lines in my RAMPS.h file as seen here. I've recently burnt my potentiometer on E0 so the motor isn't ...
5
votes
2answers
9k views

Ender 3 extrudes plastic whilst at standstill, and while moving to start of print

I have a small problem where plastic comes out of the nozzle while the printer is at a standstill (normally towards the end of heating the nozzle for a print), and whilst it moves from the line for ...
5
votes
1answer
459 views

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

After uncommenting the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER, the display is blinking and no characters are shown on the screen, I have already switched the ...
4
votes
2answers
2k views

Can G-code scripts be run automatically on inserting an SD card when using Marlin Firmware?

When running Marlin Firmware, is it possible to run G-code scripts/series of commands automatically when you insert the SD card? I'm running Marlin on a 3D printer board using an ATmega 2560 based ...
4
votes
1answer
868 views

Connecting OLED 128x64 LCD; dogm_lcd_implementation.h is missing for patching

I'm trying to install a MKS 12864 0.96 OLED for my DIY 3D printer (see this other question). It's not listed in Marlin's LCD section of configuration.h and ...
3
votes
1answer
993 views

My Prusa i3's Z-axis will only go up

If I send it commands to go up, the steppers rotate things up. If I tell the Z-axis to go down, nothing happens. I inverted the Z-axis in the firmware (by setting the value to true instead of false), ...
1
vote
1answer
2k views

PID tuning 50 W cartridge in Marlin

Recently I decided to upgrade my Geeetech A10 (GT2560 v3.0 board) with E3D Chimera, Marlin 2.0.3 and more powerful 50 W heater cartridge. I wired everything up and tried to PID tune the hot end, ...
1
vote
1answer
13k views

How to activate Power Loss Recovery in Marlin?

Standard Marlin has one problem: when the power suddenly is gone, the print is gone. Prusa and many china printers however come with "Power Loss Recovery" or "Power Out Protection" or similar. But ...
1
vote
2answers
329 views

How do I set my Z offset?

After watching every possible YouTube video on the subject and reading any source available, and although I'm a PhD and quite computer savvy, I still can't make my Anet A6 (no probe) behave in terms ...
4
votes
2answers
1k views

Anet A6 Z-axis min endstop not triggering

I had a Z probe installed but the wires came out of the header so I am trying to use software endstops, but any time I G28 the nozzle will always ram into the bed. ...
3
votes
2answers
2k views

Tevo Tarantula I3 firmware

I've been trying to get something decent printed for days but nothing works! I have a Tarantula Tevo i3 MKS Base V1.4 and have done a lot of trial & plenty of ...
2
votes
2answers
229 views

Issue with Z homing on Ender 3 Pro with Marlin

I've just changed the motherboard on my Ender 3 Pro with a MKS GEN_L v1.0 and flashed the latest Marlin version on it. I've calibrated my bed manually using the default XY and Z auto home commands on ...
2
votes
1answer
89 views

Extruder motor does spin - but not while printing

I hope someone can poke me in the right direction, I´ve been failing to find a way around this problem and trying for about a week. My setup is pretty custom, I am using a BTT SKR 1.4 Turbo with ...
1
vote
1answer
3k views

Weird temperature reading using thermistor on MKS GEN L v1.0 AUX-2 analog pins

Temperature is showing about 680 °C at room temperature. When I make it "hotter" by holding my thumb and index finger on it, the temperature does increase. So it is responding to temperature ...
10
votes
3answers
39k views

Marlin Adjusting feedrate

I'm using the Marlin firmware (1.1.0-RC7 - 31 July 2016) for a 3d printer. Currently the printing is not perfect due to slight inaccuracies in movements along the x and y axis. I'm trying to change ...
7
votes
1answer
4k views

Issues with Auto Bed Leveling

I have enabled auto bed leveling on my 3D printer. I have used a 6-36 V inductive sensor with a 7805 voltage regulator running the sensor at 10.78 V. I am using Marlin 1.1.9. This is my configuration ...
6
votes
1answer
11k views

On which board can 32 bit Marlin run?

Does anyone know on which board that can be bought today is possible to run current Marlin x32 ?
6
votes
5answers
9k views

Hot end temperature varies during print

If I set temperature say 220 °C, printer heats up to it and it only varies +/- 0.5 °C under non operating condition. But if I start a print, there's a shift of +/- 15 °C. I've already auto tuned PID ...
6
votes
2answers
3k views

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

During printing, my printer occasionally makes some mystery moves: it will very slowly move either the X or Y axis all the way to the left/front, before very slowly moving back to its original ...
6
votes
1answer
1k views

Marlin menu navigation slow while printing

My Kossel Mini printer (delta) has RAMPS1.4/Arduino Mega electronics configured to use a standard 20x4 LCD display with Marlin during printing. Often, navigating the menus during print can be ...
6
votes
2answers
803 views

How to make physical buttons send G-code?

I want to hook up an Arduino to my Creality printer running Marlin firmware, such that I can have a few physical buttons mounted on the machine that will execute commands such as preheat, home, ...
6
votes
1answer
2k views

Change hotend thermistor input in Marlin

I have a Marlin driven Prusa i3 clone, by accident I cut through both thermistor wires for the hotend while it was powered on. The Arduino reset and the hotend thermistor no longer work. Since there ...
5
votes
2answers
2k views

Setting Junction Deviation in firmware has no effect

I have built a 3D printer with Marlin bugfix-2.0.x forked from github. I am attempting to set the default value for junction deviation so that I don't have to change it through the printer's screen/...
5
votes
1answer
3k views

Adding custom M Codes to Marlin

If I wanted to add my own custom M Codes in Marlin - in which source code file would I do that?
4
votes
1answer
483 views

Cura 4.3.0 does not pause on Renkforce RF100 V2.2

Cura (version 4.3.0) has the ability to insert a post processing script to your print. I tried this for printing a key cover around my door key (similar to this question). I designed the STL file with ...
4
votes
1answer
2k views

White blocks on LCD screen after Anet A8 power up

I just completed assembly of the Anet A8 and powered it up. Powering up shows white blocks on LED and a series of clicking noise for about three seconds with flashing red LED. During power-up, the ...
4
votes
1answer
287 views

Connecting Sain Smart Mechanical End Stops to Ramps 1.4?

I have Sainsmart Mechanical End Stops, and I'm building a Prusa i3 Rework. I've recently gotten the x-axis to move, but it needs to stop when it gets to the end and it does not do that; I end up ...
4
votes
1answer
994 views

SkyNet3D firmware home settings

I recently installed SkyNet3D V1.1 on my Anet A8 printer. When I prepare the printer and select "auto home" it moves the head close to the upper right hand side of the bed. How do I change these ...
4
votes
1answer
834 views

Marlin, end stops, and position report - possible bug?

Am seeing the following behavior in Marlin: When moving the printhead, if an end stop is hit, a position report (M114) erroneously reports the print head position as where it was trying to go, as ...
4
votes
3answers
8k views

After some time stepper motor is hot

I have three stepper motors. One Nema 17 - 2.4 ohm, the second smaller noname from color printer - 9.5 ohm and third the smallest noname from cdrom - 10.5 ohm. I have connected them to arduino mega ...
4
votes
1answer
11k views

Error:Printer halted. kill() called!

When printing cube.gcode using Pronterface I get: Print started at: 23:07:31 After 8 seconds I get: ...
4
votes
1answer
2k views

ANet A8 running Marlin v1.1.9 Auto Bedlevel with ROKO SN04-N

I'm trying to get the ROKO (SN04-N) sensor to work with my Anet A8. First of all, while trying to screw it to the extruder, I tightened it too much and sort of broke the acrylic plate... sort of. I ...
3
votes
1answer
421 views

Chamber heating using hysteresis in Marlin

Is anyone using hysteresis with their chamber in Marlin? I have read bang-bang with hysteresis is possible when using a bed heater. I would like to do that for chamber heating. I have some lamps that ...