Skip to content

Commit

Permalink
Personal PID and E-Step settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jokubasver committed Apr 15, 2023
1 parent 3e43557 commit a33ebd9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -523,9 +523,9 @@
#define DEFAULT_Ki_LIST { 1.08, 1.08 }
#define DEFAULT_Kd_LIST { 114.00, 114.00 }
#else
#define DEFAULT_Kp 18.09
#define DEFAULT_Ki 1.14
#define DEFAULT_Kd 71.47
#define DEFAULT_Kp 10.08
#define DEFAULT_Ki 0.39
#define DEFAULT_Kd 65.84
#endif
#endif // PIDTEMP

Expand Down Expand Up @@ -564,9 +564,9 @@

// 120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
// from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
#define DEFAULT_bedKp 97.1
#define DEFAULT_bedKi 1.41
#define DEFAULT_bedKd 1675.16
#define DEFAULT_bedKp 87.84
#define DEFAULT_bedKi 8.51
#define DEFAULT_bedKd 604.50

// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
#endif // PIDTEMPBED
Expand Down Expand Up @@ -767,7 +767,7 @@
* Override with M92
* X, Y, Z, E0 [, E1[, E2...]]
*/
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 390 } //原来是390
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 414.68 } //原来是390

/**
* Default Max Feed Rate (mm/s)
Expand Down

2 comments on commit a33ebd9

@evilinheaven
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @jokubasver , great job!
Thanks alot for your work and for sharting it with us.

I got one question: Can I use the original firmware PID and e-steps values? Or should I install your firmware, get new values and then only flash the personalized version with my values?

@jokubasver
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just flash the pre-compiled firmware and then calibrate PID and e-steps. Editing these values in the source code is not necessary - adding the values in firmware just adds a piece of mind that if your EEPROM was ever cleared - your personal calibrated values will not disappear.

All calibration can be done via USB using Octoprint or Pronterface. PID can be calibrated on the printer itself using the screen. I'm not running Marlin on my Kobra Neo anymore, switched to Klipper, but I think my changes in the firmware allow you to change the e-step values on the screen as well, so it might be possible to do everything via the screen - without Octoprint or Pronterface.

Of course you can choose to not touch those values and just use the factory or my own personal values, but your print quality might suffer a bit because of this.

Please sign in to comment.