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

Re: Weird position after homing with marlin 2.0

$
0
0
Ok, nevermind I found the problem.

it was #define Z_MIN_POS which was set to -10 somehow.

Re: heated chamber

$
0
0
... to avoid struggles with different electronics/firmware I'm mostly doing the temp. with separate "standalone" controllers -- either Arduino-based or industrial TC-modules B)-

Re: Problem z axis

$
0
0
I may have slightly misunderstood when reading this the first time but, I believe it sounds like you may still need to adjust your home position after you figure out the offset issue.
It seems you've been reading advice assuming you had a probe and your chasing your tail with offsets, I'd recommend starting with a clean pallet.

1: Comment out any instances of probe or auto bed level in Marlin. Fresh copy of Marlin is ideal.
2: Set all Marlin offsets to 0
3: Double check you aren't applying any offsets in the slicer, including start g-code

After that, home the z axis and level the bed. Be sure the z axis is at 0 when performing bed level. There is possibility z is driving up a few mm after homing and your leveling from the incorrect z height, double check to insure it's really ay 0.

Junction Deviation or Linear Advance?

$
0
0
I've been working on trying to start using some of the latest features in Marlin. A few weeks ago, I implemented Junction Deviation and thought I had a pretty good value of .03 with an acceleration of 600. Yesterday, I started working on linear advance. I printed several iterations of the test pattern and settled on a K setting of 1.35. This is with LA 1.5 and using TPU filament.

The printer is my redesigned i3 cartesian with a Titan direct drive extruder using 1.75mm filament.

I am printing a single wall test object that has 90 deg corners as well as rounded corners. It's the object located here.

After configuring the junction deviation, the object printed mostly ok, except the spot where it was starting a new layer would end up with a pretty big blob of filament. That's when I went to attempting to work with linear advance. After setting the linear advance and unretract values that gave me what I would call almost perfect test patterns, I went back and printed the object above again. As you can see from the photos, the 90 deg corner barely has any filament and you can see right through it. Same with the entrance to the big rounded side. There are no retracts/unretracts happening at those locations and the wall widths are correct at ~0.45mm. So that begs my question, does that seem to be a problem with the junction deviation settings, or the linear advance settings?

This is using Marlin 2.0.5.3. The printer is using a MKS-Gen-L board with DRV8825 stepper drivers. I should also mention that I'm using Volumetric Extrusion. I did the linear advance test pattern both with VE turned on and off and didn't see any real difference.




Re: heated chamber

$
0
0
hi
itrying do do same with skr 1.3
couple week stock on it please help.

Configuration.h
#define TEMP_SENSOR_CHAMBER 1 (try 999 set to 60c)

Configuration_adv.h
#if TEMP_SENSOR_CHAMBER
#define CHAMBER_MINTEMP 0
#define CHAMBER_MAXTEMP 60
#define TEMP_CHAMBER_HYSTERESIS 1 // (°C) Temperature proximity considered "close enough" to the target
//#define CHAMBER_LIMIT_SWITCHING
#define HEATER_CHAMBER_PIN P1_26 // Chamber heater on/off pin
#define HEATER_CHAMBER_INVERTING FALSE
#endif

#if ENABLED(THERMAL_PROTECTION_CHAMBER)
#define THERMAL_PROTECTION_CHAMBER_PERIOD 20 // Seconds
#define THERMAL_PROTECTION_CHAMBER_HYSTERESIS 2 // Degrees Celsius

/**

Heated chamber watch settings (M141/M191).
*/
#define WATCH_CHAMBER_TEMP_PERIOD 60 // Seconds
#define WATCH_CHAMBER_TEMP_INCREASE 2 // Degrees Celsius
#endif

pins_BTT_SKR_common.h
after:
#ifndef TEMP_BED_PIN
#define TEMP_BED_PIN P0_23_A0 // A0 (T0) - (67) - TEMP_BED_PIN
#endif
add:
#ifndef TEMP_CHAMBER_PIN
#define TEMP_CHAMBER_PIN P1_24
#endif

after update always got:
Err: MAXTEMP: Enclosun
PRINTER HALTED
please reset.

using skr 1.3v
used pin
2 extruders P2_04, P2_07.
1 head bed P2_05
1 chamber heater P1_26
1 chamber temp P1_24 (try Thermistor 100k Ohm B 3950, NTC thermistor 10k, DHT21)
neopixel P2_00
inside led P1_28

please help who done it.

Re: heated chamber

$
0
0
try your pins.h file for the board you're using, make sure the enclosure pin is defined correctly

Re: heated chamber

Marlin 2.0.5.3 - Z_DUAL_STEPPER_DRIVERS

$
0
0
Hello,

Could you tell me what has become of # define Z_DUAL_STEPPER_DRIVERS in Marlin 2.0.5.3?
This option is no available in configuration_adv.h :( .

I have a SKR 1.4 motherboard that I would like to use with 5 TMC2209 (X, Y, Z1, Z2).
Z1 on pcb pin Z.
Z2 on pcb pin E1.

I can't find any information, but on the first versions of MARLIN 2.0.x.x the option was still present ...

Thank you for your help, have a nice day :).

Re: Marlin 2.0.5.3 - Z_DUAL_STEPPER_DRIVERS

$
0
0
It was renamed, as you can now have up to 4 Z steppers

//
// For Z set the number of stepper drivers
//
#define NUM_Z_STEPPER_DRIVERS 1   // (1-4) Z options change based on how many

Z2 will automatically be on the next free E axis. ie if you have #define EXTRUDERS 1 it will use E1
But say your tring to make a CNC with #define EXTRUDERS 0, Z2 will be on E0

Re: TMC2130 Extremely loud

$
0
0
Hallo, I have the same problem as MatusMisiak with my Artillery Sidewinder X1 and TMC2208 drivers on X and Y.

My second printer (RAMPS@12V) works fine with TMC2130 drivers since years. In StealthChop mode the TMC2130 are even quieter than in SpreadCycle (as it should be). The Marlin firmware has the same version on both printers (2.0.5).

I changed to TMC5160 drivers but the problem was still there. Then I took the TMC2130 from the second printer and they work fine! WEIRD :S

In my opinion the problem has something to do with the autotune feature of StealthChop at the beginning of motor movements. The TMC2208/2209/5160 with StealthChop2 use an other technique as the older TMC2130. Perhaps the drivers set to high values for the PWM regulation which causes to high coil currents and noise. Also cheap stepper motors and long capacitive wires could gain the effect.

I tryed to investigate the behaviour of the drivers but have no solution so far. I stay tuned!

@printer_dave
Which drivers do you have? Are you using SteathChop or SpreadCycle? The CHOPPER_TIMINGS only influence SpreadCycle.

Re: Marlin 2.0.5.3 - Z_DUAL_STEPPER_DRIVERS

$
0
0
Thank you very much for your answer, it's OK for me now (:D.

Looking in Marlin I see a line that I had not seen "This section will allow you to use extra E drivers to drive a second motor for X, Y, or Z axes.".

It is a 3d printer ;).

Re: Marlin 2.0 - Enable Serial3 port

$
0
0
The code is Marlin firmware. Older versions than 2.0 would be acceptable because the problem is that UART communications are strictly limited to one port (I think).

My intention is, with an Mega2560 custom board, maintain USB communication and open another port (Serial3) to communicate with an external module.

Maybe somebody had this problem before to use Serial1 or Serial2 and knows how to do it.
Also I was thinking to create an additional source code file and trying to use Arduino standard Hardware Serial for Serial 3 but I'm not pretty sure if this disable the Marlin Hardware Serial.

Re: Marlin 2.0 - Enable Serial3 port

$
0
0
marlin 2 support 2 serial ports, can be uart or real serial over usb (on modern 32 bit controllers)
and it has support for a 3rd serial for some smart screens...
Yes it still run on RAMPS

No further development is going into marlin older than version 2..

Y moves when only X is comanded

$
0
0
Hi guys,

I have a printer that I've modified to a different type of printing for my school work (basically I'm just using the movement part of Marlin), but i'm having an issue.

See the Gcode sample bellow. The commands are sent just for one axis at a time and when X is moving, Y also moves tiny bits... I would like to have this completely independent.

Also the representations look good, that is why I'm assuming that is a marlin configuration. I use cura 4.5.0 to slice and repetier-hos V2.1.6 to send gcode and command.

Thanks

Cheers



__________Gcode example_____
G28 X
G28 Y

G0 F3000 X205 Y193.5
G1 F1474 X89.999
G0 F3000 Y192.5
G1 F1474 X205
G0 F3000 Y191.5
G1 F1474 X89.999
G0 F3000 Y190.5
G1 F1474 X205
G0 F3000 Y189.5
G1 F1474 X89.999
G0 F3000 Y188.5
G1 F1474 X205
G0 F3000 Y187.5
G1 F1474 X89.999
G0 F3000 Y186.5
G1 F1474 X205
G0 F3000 Y185.5
G1 F1474 X89.999
G0 F3000 Y184.5
G1 F1474 X205
G0 F3000 Y183.5
G1 F1474 X89.999
G0 F3000 Y182.5

"Unload more" in change filament menu

$
0
0
Hi guys. When changing filament, there are two options: Purge more and Continue. I need a third option, "Unload filament", because in my printer sometimes the filament goes the wrong way (long story)... Is there a way to change menu_filament.cpp (or other) to include this option?

I just need a new menu option (together with "purge more" and "continue") to send "M702 U10" and them return to the menu (to purge more, unload more or continue print)

Thanks a lot!

Error meaning

$
0
0
when I compile a new version of Marlin 2.0.x bugfix I get this error multiple times, maybe on all the .CPP files.

Error while detecting libraries included by C:\Users..............

The compile does finish = no fatal errors

It does not occur on a previous build.

Re: Error meaning

$
0
0
how about posting the actual error, not a vague reference to it?

And config files, in case its platform specific..

And build platform..

Doesnt happen to me on current bugfix under platformio for mega2560

Re: Error meaning

$
0
0
It doesn't happen with any Marlin 2 version I've compiled under platformio or Arduino IDE for my Hictop or MPCNC machines.

Re: Error meaning

$
0
0
also cross posted here. [github.com]

With fractionally more information... apparently we are not worthy to know that they used

Windows 10 pro 1909 18363.815
Arduino 1.8.12

Re: Error meaning

$
0
0
Quote
Dust
how about posting the actual error, not a vague reference to it?

And config files, in case its platform specific..

And build platform..

Doesnt happen to me on current bugfix under platformio for mega2560

Edit: just tried another common board LPC1769 based, no issues...

Are you running the compiler in verbose mode? It will compile with these errors so if you are just looking at the bottom line you may not be seeing them.

There are multiple lines of errors and they are all different after \src\ but they are all .CPP files

"Error while detecting libraries included by C:\Users\Bill\AppData\Local\Temp\arduino_build_250903\sketch\src\HAL\AVR\HAL.cpp"

The last build I got in January Marlin-bugfix-2.0.x.b7f8163 does not have errors.
The build from 4 hours ago Marlin-bugfix-2.0.x.219812e does right out of the box. No changes to it.
It also has the errors running my config files.
It also errors with Arduino 1.8.13 nightly build

Apparently, no one knows what the error means since the information I have not supplied you previously really is irrelevant to the error since it works for one build and not for another.
Viewing all 12090 articles
Browse latest View live


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