Skip to content

Commit

Permalink
Adiciona Input Shaping altera corrente dos motores
Browse files Browse the repository at this point in the history
Aumenta corrente do Y para 800 e adiciona monitoramento de corrente.
Reduz os buffers para caber o Input Shaping.
  • Loading branch information
luizbgomide committed Mar 19, 2024
1 parent f273f3e commit 94f5729
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@
* M204 T Travel Acceleration
*/
#define DEFAULT_ACCELERATION 1000 // X, Y, Z and E acceleration for printing moves
#define DEFAULT_RETRACT_ACCELERATION 500 // E acceleration for retracts
#define DEFAULT_RETRACT_ACCELERATION 1000 // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves

/**
Expand Down
14 changes: 7 additions & 7 deletions Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1202,8 +1202,8 @@
* X<1> Set the given parameters only for the X axis.
* Y<1> Set the given parameters only for the Y axis.
*/
//#define INPUT_SHAPING_X
//#define INPUT_SHAPING_Y
#define INPUT_SHAPING_X
#define INPUT_SHAPING_Y
#if ANY(INPUT_SHAPING_X, INPUT_SHAPING_Y)
#if ENABLED(INPUT_SHAPING_X)
#define SHAPING_FREQ_X 40 // (Hz) The default dominant resonant frequency on the X axis.
Expand All @@ -1215,7 +1215,7 @@
#endif
//#define SHAPING_MIN_FREQ 20 // By default the minimum of the shaping frequencies. Override to affect SRAM usage.
//#define SHAPING_MAX_STEPRATE 10000 // By default the maximum total step rate of the shaped axes. Override to affect SRAM usage.
//#define SHAPING_MENU // Add a menu to the LCD to set shaping parameters.
#define SHAPING_MENU // Add a menu to the LCD to set shaping parameters.
#endif

// @section motion
Expand Down Expand Up @@ -2604,14 +2604,14 @@
#elif HAS_MEDIA
#define BLOCK_BUFFER_SIZE 32
#else
#define BLOCK_BUFFER_SIZE 64
#define BLOCK_BUFFER_SIZE 32
#endif

// @section serial

// The ASCII buffer for serial input
#define MAX_CMD_SIZE 96
#define BUFSIZE 32
#define BUFSIZE 16

// Transmission to Host Buffer Size
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0.
Expand Down Expand Up @@ -2993,7 +2993,7 @@
#endif

#if AXIS_IS_TMC_CONFIG(Y)
#define Y_CURRENT 750
#define Y_CURRENT 800
#define Y_CURRENT_HOME Y_CURRENT
#define Y_MICROSTEPS 16
#define Y_RSENSE 0.11
Expand Down Expand Up @@ -3342,7 +3342,7 @@
* M912 - Clear stepper driver overtemperature pre-warn condition flag.
* M122 - Report driver parameters (Requires TMC_DEBUG)
*/
//#define MONITOR_DRIVER_STATUS
#define MONITOR_DRIVER_STATUS

#if ENABLED(MONITOR_DRIVER_STATUS)
#define CURRENT_STEP_DOWN 50 // [mA]
Expand Down

0 comments on commit 94f5729

Please sign in to comment.