Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all 12089 articles
Browse latest View live

Re: Marlin PID Autotune

$
0
0
I have also noticed that there does not seem to be a way to compute the PID values for the bed from the LCD. At least, I have not yet found lines in the Configuration files which control this.

However, I believe that you need to set
#define PID_PARAMS_PER_HOTEND
in the PID section of Configuration.h in order to see PID settings for both E0 and E1.

Marlin 2.0 compille problems for a custom controller board

$
0
0
Hi everybody. I have a problem with Marlin 2.0 in PlatformIO. I try to compile it for a STM32F103RET on a custom build board (the pinout is similar to the bigtree skr mini v1.1, but one pin is different and the pins for the sd-card slot on the board are free so I can use them for the stepperdriver when using when I want to upgrade to tmc driver and some other stuff I did), but I always get errors like e0 pins and heater_0_pin are not defined. I just modified the bigtree skr mini v1.1 pin file and added it to pins.h and board.h (https://marlinfw.org/docs/hardware/boards.html). I don't know why.

Can't set BLTouch probe offset in Marlin TH3D V1.R2.10d

$
0
0
Can't set BLTouch probe offset in Marlin TH3D V1.R2.10d
When I go into Control -> motion -> probe z offset the maximum negative value I'm allowed to input is -4.975 but this still leave the print nozzle approximately 8mm from the bed.

Does anyone know what's going on?
Why can't I set the probe z offset?

Everything else with the BLTouch installation is working. I'm not sure this is the correct forum so if not apologies and please direct me to the correct forum.

Thanks all in advance.

Re: Can't set BLTouch probe offset in Marlin TH3D V1.R2.10d

Re: Marlin 2.0 compille problems for a custom controller board

$
0
0
In your Configuration.h you have "#define MOTHERBOARD BOARD_DRAGON_CONTROLLER"

but in boards.h you have

#define BOARD_CUSTOM_CONTROLLER 4024 // Dragon Controller

So when you define MOTHERBOARD as BOARD_DRAGON_CONTROLLER, MOTHERBOARD is set to 0 as the string BOARD_DRAGON_CONTROLLER is not defined as a number

Next in the file pins.h is the macro MB() this takes the MOTHERBOARD name and drops the BOARD_ prefix

It then tries to match "DRAGON_CONTROLLER" to load the correct board pins.h files.

But in pins.h you don't have that. you have

"#elif MB(BOARD_CUSTOM_CONTROLLER)
#include "stm32f1/pins_CUSTOM_controller.h" // STM32F1 env:custom_controller"

So to recap.

chose a name, either BOARD_CUSTOM_CONTROLLER or BOARD_DRAGON_CONTROLLER or make both work.

I will presume you want BOARD_DRAGON_CONTROLLER

So Configuration.h is good.

Update boards.h from #define BOARD_CUSTOM_CONTROLLER 4024 // Dragon Controller
To #define BOARD_DRAGON_CONTROLLER 4024 // Dragon Controller

update pins.h from
"#elif MB(BOARD_CUSTOM_CONTROLLER)
#include "stm32f1/pins_CUSTOM_controller.h" // STM32F1 env:custom_controller"
to
"#elif MB(DRAGON_CONTROLLER)
#include "stm32f1/pins_CUSTOM_controller.h" // STM32F1 env:custom_controller"

NOTE the dropped BOARD_ prefix when using the MB() macro


Two things to note:
1) you should probably update the file name from stm32f1/pins_CUSTOM_controller.h to stm32f1/pins_DRAGON_CONTROLLER.h"
2) env: sets the name of the platformio environment for auto build. You either need to add a custom environment of the name custom_controller or set it to STM32F103RE or create a DRAGON environment

Re: Can't set BLTouch probe offset in Marlin TH3D V1.R2.10d

Re: Marlin 2.0 compille problems for a custom controller board

$
0
0
Looks like I mixed in the export two marlin-files together. I wanted to put the one custom_controller here, but the entire marlin files in zip-format didn't fit here and so I wanted just put the files up here, which I changed, but I mixed it up with some other Marlin files. I have to much files.
I tested some other boards with configuration. bigtree skr mini v1.1 didn't work and gave the same errors and with a mks robin (which I don't know) the same. But when I tested it with the Fysetc cheetah, it compiled just fine.

Re: Problem z axis

$
0
0
So talked to Monoprice and they say that the mini has no Z probe. In which case how does manipulating the value of Z_PROBE_OFFSET_FROM_EXTRUDER change the height of the extruder above the bed? I am not trying to be sarcastic, I just would like to know how the firmware deal with the situation when there is no Z probe.

Re: Problem z axis

$
0
0
You need to remove ANY and ALL offsets in Marlin, slicer, g-code and eprom and make the proper mechanical adjustments to your machine.

Re: Marlin 2.0 compille problems for a custom controller board

$
0
0
I reinstaled platformIO and tested it again. Now I can't compile anything. Great

Re: Effector crashes into X tower after Delta Calibration

Re: Problem z axis

$
0
0
Describe what you mean by “proper mechanical adjustments”.

Re: Effector crashes into X tower after Delta Calibration

$
0
0
I changed to Marlin 2.0.x not bugfix. Did not make a difference for me. I can't believe I'm the only one who has run into this problem.

Re: Marlin 2.0 compille problems for a custom controller board

$
0
0
Its utterly pointless telling us this without error logs!

Re: Marlin 2.0 compille problems for a custom controller board

$
0
0
Quote
Dust
Its utterly pointless telling us this without error logs!

The error were the same, but every stm32f1 based (even the fysetc ones too, that compilled), had them. So I reinstalled PlatformIO again, but this time with a different editor, and still nothing. Now I downloaded Marlin again and used for testing the example configurations from here [github.com] and modified the platformio.ini for the boards. Annow it works. Looks like the Marlin Download I used was broken.

Marlin 2.0 - Enable Serial3 port

$
0
0
Greetings!

I want to enable Serial3 port in Marlin 2.0 firmware with different baudrate than Serial0.

I see that Marlin disables standard HWserial and configures the communication with its own methods.
I'm not sure what I have to modify. I have declared a new object as MarlinSerial Mserial3 and I have tried to configure Serial3 port baudrate but it modifies Serial0 baudrate too.

Does it exist the chance of configure Serial3 with standard HWserial separately? Through that port the communication won't be so continuous so I don't really need specified rx/tx buffer setups and other stuff. With the standard is enough.

Thanks in advance for your help.

Re: Marlin 2.0 - Enable Serial3 port

$
0
0
Without posting your code, or url to github... its very hard to make constructive suggestions.

There is no SERIAL_PORT_3 support in marlin, its not just enabling it...

a display for the MKS SBASE

$
0
0
This is my issue. I have an MKS SBASE 1.3v and a MKS TFT3.2 display. I also have a old LCD reprap discount smart controller off the printer I’m re-building. Anyhow I have loaded both Soothieware and Marlin 2.0x and still not able to make either one of them work with the controller board. I’m pretty sure I have everything uncommented as needed. I am using platformio and visual studio code. With both firmwares I have full control with my PC. If anyone has a working firmware that Ican try just to confirm that the board is okay before I just order a new board or any suggestions as to what I may have missed that would be great. Thanks ( going a little nuts )

heated chamber

$
0
0
Hi, I'm building a very large printer for ABS and NYLON that needs an actively heated enclosure, I'm using Marlin so I can drive separate stepper driver modules for bigger motors, I'm in the middle of trying to get the firmware to control an actively heated enclosure and am having some problems.

#1 I have gotten the firmware to return the chamber temperature via M105 command over serial
#2 I have not been able to get the LCD to display the chamber temperature.
#3 the LCD will display two temperatures but they always pull from the E0 reading

This is confusing because clearly the firmware has done the ADC properly for that channel and has stored the result, even more confusing is that both the serial and lcd use the degChamber() and degTargetChamer() methods to return the temperatures, I don't see why the serial output would be there but the lcd would not.

Weird position after homing with marlin 2.0

$
0
0
Hi,

I've been upgrading my RAMPS1.4 to an SKR V1.4 and flashed marlin2.0 on it. Configured it and was pretty content that everything still worked.
Then I executed G28 Z0 and my printer did its homing routine as expected. But afterward its always at Z-10 instead of Z0. I checked my Probe offset, but it is set to Z0 so this can't be it.
Any suggestions what this could be?
Viewing all 12089 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>