Steps To Setup Marlin Firmware For KE 3DP
Steps To Setup Marlin Firmware For KE 3DP
Table of Contents
KE-VIKAY-555 Page 1 of 10
Steps to setup Marlin firmware for KE 3DP
2. Input: Input the values of bed size in X & Y directions. (for example 500 in both
directions for sac printer)
3. Define: Define the travel limits in X & Y directions. If hotend nozzle is away from the
bed after homing input positive values. If hotend nozzle is into the bed after homing
input negative values. (It is howmuch nozzle head has to move to reach bed edge. If it is
already into bed after homing it has to move in negative direction and if it is away from
the bed it has to move in positive direction to reach the bed edge.)
KE-VIKAY-555 Page 2 of 10
Steps to setup Marlin firmware for KE 3DP
1. Before going to the marlin set up, make sure that it is mounted on specific height. Refer
BL Touch manual for the same.
2. Open: Open configuration.h file.
3. Search: Find the “#define BLTOUCH”. Uncomment it.
4. Change: #define Z_MIN_ENDSTOP_INVERTING to false & #define
Z_MIN_PROBE_ENDSTOP_INVERTING to false.
5. Set Offset values: Set the probe offset values as per actual as shown in figure.
Uncomment the highlighted lines. Set the values according to your bed size. We can
set #define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE to 30 and #define
KE-VIKAY-555 Page 3 of 10
Steps to setup Marlin firmware for KE 3DP
KE-VIKAY-555 Page 4 of 10
Steps to setup Marlin firmware for KE 3DP
1. Go: to configuration.h.
2. Search: #define EEPROM_SETTINGS & #define EEPROM_CHITCHAT >
Uncomment both the commands.
3. Compile & Upload: Upload the marlin firmware to the board.
Once the command is sent to printer, it will start to auto tune PID coefficients. It may
take some time.
5. Go to: Scroll down to last value of PID coefficients i.e Kp, Ki & Kd.
Put in EEPROM: Before we make the changes in configuration.h, put the new
values of PID coefficients in EEPROM using following command. Send the
commands.
M301 P__ I__ D__
And then
M500 (to store the settings)
6. Update: Update the values of PID coefficients in configuration.h file as marked in
figure below. (Don’t need to upload now but in future when one need to re-flash the
firmware.)
KE-VIKAY-555 Page 5 of 10
Steps to setup Marlin firmware for KE 3DP
There is no need to auto tune the PID coefficients of the bed unless bed is controlled by solid
state relay (SSR) or silicon heaters.
1. Make: Hardware connections of Heat bed and SSR.
2. Go: to configuration.h.
3. Search: #define PIDTEMPBED > Uncomment the command.
4. Upload: Upload the marlin firmware to printer.
5. Pre Heat: Heat up the bed up to 70 deg C. (This is done to keep the bed temp
consistent. Because while using SSR and PID on the bed the aim is to maintain
consistent temp).
6. Issue the command: Give the following command in command line interface.
M303 E-1 S70 C10
(M303- Start the auto tune sequence,
E-1 - Bed,
S70- Temperature target of bed,
C10- No of cycles to tune PID. More the cycles more the accurate PID settings would
be. But 10 is supposed to be an optimum value.)
Once the command is sent to printer, it will start to auto tune PID coefficients. It may
take some time.
8. Go to: Scroll down to last value of PID coefficients i.e Kp, Ki & Kd.
Put in EEPROM: Before we make the changes in configuration.h, put the new
values of PID coefficients in EEPROM using following command. Send the
commands.
M304 P__ I__ D__
And then
M500 (to store the settings)
9. Update: Update the values of PID coefficients in configuration.h file as marked in
figure below. (Don’t need to upload now but in future when one need to re-flash the
firmware.)
KE-VIKAY-555 Page 6 of 10
Steps to setup Marlin firmware for KE 3DP
KE-VIKAY-555 Page 7 of 10
Steps to setup Marlin firmware for KE 3DP
4 Settings for PWC 2.0 to Auto power off after print finishes
1. Open: configuration.h file. Go to #define POWER_SUPPLY 0. By default it is 0.
Make it 2 as shown in figure below.
3. Open: pins__RAMPS.h, define the pin via "#define PS_ON_PIN". By default it is 12.
Make it as 11 as shown in figure.
KE-VIKAY-555 Page 8 of 10
Steps to setup Marlin firmware for KE 3DP
KE-VIKAY-555 Page 9 of 10
Steps to setup Marlin firmware for KE 3DP
KE-VIKAY-555 Page 10 of 10