upgrade to printer ender5 - markniu/PandaPi GitHub Wiki

Since the default configuration is for Ender3, the following 4 points should be changed for ender5 in Configuration.h.

1) the PID for hotend

Ender3:

  #define DEFAULT_Ki 2.0

Ender5:

  #define DEFAULT_Ki 1.08

2) Axis Steps for Z

Ender3:

#define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 400, 93 }    

Ender5:

#define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 800, 93 }   

3) Stepper direction

Ender3:

#define INVERT_X_DIR true
#define INVERT_Y_DIR true
#define INVERT_Z_DIR false  

Ender5:

#define INVERT_X_DIR false
#define INVERT_Y_DIR false
#define INVERT_Z_DIR true

4) The size of the print bed

Ender3:

#define X_BED_SIZE 220
#define Y_BED_SIZE 220 

Ender5:

#define X_BED_SIZE 235
#define Y_BED_SIZE 235

and make sure to enable the noise threshold for the endstop

#define ENDSTOP_NOISE_THRESHOLD 2