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

Re: Marlin 2.0 newbie questions

$
0
0
Just an update:

I ended up downloading and setting up marlin 2.0.5 latest release and all the errors went away.

So I'm not sure if I was doing something wrong or there was a problem with the file but 2.0.5 seems to compile just fine so I'll use that

Thank you again for the input.

Re: Newbie problem with Z movement in Hypercube setup

$
0
0
You can find this setting in Configuration.h

/**
 * Default Axis Steps Per Unit (steps/mm)
 * Override with M92
 *                                      X, Y, Z, E0 [, E1[, E2...]]
 */
#define DEFAULT_AXIS_STEPS_PER_UNIT   { 100, 100, 4000, 500 }

Re: TMC2130 Extremely loud

$
0
0
Did you tried to calculate the right values for the spreadCycle chopper parameters in Configuration_adv.h?
Maybe chopper freq. is to low.
{ off_time[1..15], hysteresis_end[-3..12], hysteresis_start[1..8] }
You can calculate it using "TMC2130_Calculations.xlsx" with your Motor Parameters (Coil inductance and resistance). This can be found here: Link (GitHub)
You need to put the calculated parameters into "tmc_util.h".
example:
#define CHOPPER_TEST_TMC2130_24V { 5, -2, 1}
And then use parameter set in Configuration_adv.h.
#define CHOPPER_TIMING CHOPPER_TEST_TMC2130_24V     //42HS19 2A @24V
Maybe this will help. ... please let us know

Homing Inverted after upgrade to Marlin 2.0

$
0
0
Hi Guys

So i have updated to marlin 2.0 and my homing is now inverted?

I coped my configuration.h from 1.1 exactly. If I load 1.1 everything is good again. What gives? anyone had this issue also?

All axis move in the correct direction.

Re: Homing Inverted after upgrade to Marlin 2.0

Re: Homing Inverted after upgrade to Marlin 2.0

Re: Homing Inverted after upgrade to Marlin 2.0

$
0
0
Have you checked if
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1
need to be changed?

Re: Marlin Auto Bed Leveling Reverse Behavior

$
0
0
Update: I got this issue fixed for me.

As I am using sensorless homing with my board the diag pins for x and y are hardwired to x min and y min. For homing etc. this wasnt an issue as marlin seems to be able to recognize this.
I solved this by changing the pins in the pinout file of my board (changed x/y+ to x/y-)..

Now ABL gives repeatable results over pretty much the whole bed.

Get zeto position Gcode in Marlin

$
0
0
I was wondering whether there is a G-code in Marlin that does the same or something similar like the old M117 'Get zero position' command in FiveD? Or whether the old code is still available somewhere?
I want to be able to more my printhead to a point on the build plate and have it report back the number of seps/units from that point to the home position of the X and Y axis.
Hope someone can help out.

Re: Get zeto position Gcode in Marlin

$
0
0
M114 reports current position in marlin. in mm from 0,0

And wow, FiveD, thats going back a bit...

Re: Get zeto position Gcode in Marlin

$
0
0
Does that work when moving the head by hand with motors disabled or only when moving using the jog controls?

Re: Get zeto position Gcode in Marlin

$
0
0
only with jog. there is zero feedback from stepper motors. You would need additional hardware such as a positional encoder and the firmware to understand that.

Re: Marlin 2.x on ReARM - filament width sensor question

$
0
0
I can not help you, but why are you using such a low input voltage for your sensor?
You have an input range of at least 3.3V (ARM) or 5V (AVR) wich gives you more accuracy when using more input volrage.

Re: Get zeto position Gcode in Marlin

$
0
0
My plan was to make it count the steps back to the endstops to measure the distance. If I understand correctly that is how M117 worked in FiveD.

Marlin configuration help

$
0
0
I had been using Repetier firmware on my MKS Gen V1.4. I switched to Marlin because I is supposed to better support the tft35 controller. I have 2 questions. 1. Is there a way to put the status of the 2nd fan on the info. screen of a RepRapdiscount full graphics controller? That brings me to question2. I don't know what happened to the cable for the tft35 and I am having no luck trying to figure out what pins on the controller connect to what pins on aux.1 of the motherboard. Can anyone at least point me in the right direction?

Re: Get zeto position Gcode in Marlin

$
0
0
You should also be aware that moving steppers by hand produces electricity, This can damage stepper drivers.

Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03

$
0
0
Hi all, so this DIY pen plotter is coming a long way but I keep getting slowdowns in some of the gcode files that I feed to it. For example, one file is about 3Mb and it runs fine, but the other file is 87kb and it maxes out the buffer on the Mega2560.

Example video:
[www.youtube.com]

As you can see the speeds vary a lot. It doesn't only slow down, but it also speeds up beyond the max acceleration settings somehow. I suspect it is the G02/G03 commands giving trouble.

The gcode file is also included in here. Maybe someone knows what could be the problem or how to fix it.
This is the file: [attachment 115065 antonio_grass__0001.gcode]

These are my arc support settings:
//
// G2/G3 Arc Support
//
#define ARC_SUPPORT                 // Disable this feature to save ~3226 bytes
#if ENABLED(ARC_SUPPORT)
  #define MM_PER_ARC_SEGMENT      1 // (mm) Length (or minimum length) of each arc segment
  //#define ARC_SEGMENTS_PER_R    1 // Max segment length, MM_PER = Min
  #define MIN_ARC_SEGMENTS       24 // Minimum number of segments in a complete circle
  //#define ARC_SEGMENTS_PER_SEC 50 // Use feedrate to choose segment length (with MM_PER_ARC_SEGMENT as the minimum)
  #define N_ARC_CORRECTION       25 // Number of interpolated segments between corrections
  //#define ARC_P_CIRCLES           // Enable the 'P' parameter to specify complete circles
  //#define CNC_WORKSPACE_PLANES    // Allow G2/G3 to operate in XY, ZX, or YZ planes
#endif

// Support for G5 with XYZE destination and IJPQ offsets. Requires ~2666 bytes.
//#define BEZIER_CURVE_SUPPORT

Anyone has a hint of what to try to improve? Maybe change some arc support settings?

Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03

$
0
0
... could be, it's the segment length or curve/segment-resolution, what's causing this inconsistent speeds -- then normal G1 speed is set to pretty fast (if not too fast) ... but with short segents its drastically reduced by start/stop-acceleration and insufficient jerk ...

Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03

$
0
0
Quote
VDX
... could be, it's the segment length or curve/segment-resolution, what's causing this inconsistent speeds -- then normal G1 speed is set to pretty fast (if not too fast) ... but with short segents its drastically reduced by start/stop-acceleration and insufficient jerk ...

Hello Viktor :)

What would you suggest I can try to change in the settings?

Would enabling and playing with these settings do anything? I am kind of clueless as what could help and trial and error method takes ages because I have to reupload the full sketch and start a drawing every time I want to try it out..

//#define ARC_SEGMENTS_PER_R 1 // Max segment length, MM_PER = Min
//#define ARC_SEGMENTS_PER_SEC 50 // Use feedrate to choose segment length (with MM_PER_ARC_SEGMENT as the minimum)

Re: Marlin 2.0.5.x inconsistent speeds pen plotter with G02/G03

$
0
0
... try to reduce the speed (F-value in the G-code) and rise the jerk value -- so for small angle deviation it won't do fullstop for every segment ...
Viewing all 12112 articles
Browse latest View live


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