Skip to content

Commit

Permalink
Pid Tuning and some stepper gear changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikezs committed Jan 29, 2024
1 parent e1467ed commit 9d7c44e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -682,9 +682,11 @@
#define DEFAULT_Ki_LIST { 1.08, 1.08 }
#define DEFAULT_Kd_LIST { 114.00, 114.00 }
#else
#define DEFAULT_Kp 22.20
#define DEFAULT_Ki 1.08
#define DEFAULT_Kd 114.00
#define DEFAULT_Kp 32.97
#define DEFAULT_Ki 3.56
#define DEFAULT_Kd 76.35

// FIND YOUR OWN: "M303 E0 C8 S220" to run autotune on the hotend at 220 degreesC for 8 cycles.
#endif
#else
#define BANG_MAX 255 // Limit hotend current while in bang-bang mode; 255=full current
Expand Down Expand Up @@ -1235,7 +1237,7 @@
* Override with M92 (when enabled below)
* X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]]
*/
#define DEFAULT_AXIS_STEPS_PER_UNIT { 100, 100, 400, 415 }
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 415 }

/**
* Enable support for M92. Disable to save at least ~530 bytes of flash.
Expand Down
4 changes: 2 additions & 2 deletions Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@
//#define HOMING_BACKOFF_POST_MM { 2, 2, 2 } // (linear=mm, rotational=°) Backoff from endstops after homing
//#define XY_COUNTERPART_BACKOFF_MM 0 // (mm) Backoff X after homing Y, and vice-versa

//#define QUICK_HOME // If G28 contains XY do a diagonal move first
#define QUICK_HOME // If G28 contains XY do a diagonal move first
//#define HOME_Y_BEFORE_X // If G28 contains XY home Y before X
//#define HOME_Z_FIRST // Home Z first. Requires a real endstop (not a probe).
//#define CODEPENDENT_XY_HOMING // If X/Y can't home without homing Y/X first
Expand Down Expand Up @@ -1117,7 +1117,7 @@
* Fixed-time-based Motion Control -- EXPERIMENTAL
* Enable/disable and set parameters with G-code M493.
*/
//#define FT_MOTION
#define FT_MOTION
#if ENABLED(FT_MOTION)
#define FTM_DEFAULT_MODE ftMotionMode_DISABLED // Default mode of fixed time control. (Enums in ft_types.h)
#define FTM_DEFAULT_DYNFREQ_MODE dynFreqMode_DISABLED // Default mode of dynamic frequency calculation. (Enums in ft_types.h)
Expand Down

0 comments on commit 9d7c44e

Please sign in to comment.