Browse Source

My custom mods

current
maze 3 months ago
parent
commit
d5de106c57
4 changed files with 70 additions and 32 deletions
  1. +66
    -28
      Marlin/Configuration.h
  2. +1
    -1
      Marlin/Configuration_adv.h
  3. +1
    -1
      Marlin/Version.h
  4. +2
    -2
      platformio.ini

+ 66
- 28
Marlin/Configuration.h View File

@ -67,8 +67,8 @@
/* ONLY ONE CAN BE SELECTED */
//#define STOCK //QQ-S with Stock board and A4988 Drivers
//#define QQS //QQ-S with FLSUN HiSpeed board and A4988 Drivers
//#define QQS_TMC //QQ-S with FLSUN HiSpeed board and TMC2208 in Standalone mode
#define QQS_UART //QQ-S with FLSUN HiSpeed board and TMC2208 modified to support UART
#define QQS_TMC //QQ-S with FLSUN HiSpeed board and TMC2208 in Standalone mode
//#define QQS_UART //QQ-S with FLSUN HiSpeed board and TMC2208 modified to support UART
/* Modules */
//#define ESP_WIFI //WIFI Module ESP8266/ESP12, can not be used with QQS_UART.
@ -83,9 +83,9 @@
//#define HOTEND_E3D_V6 //Preconfigured temperature ranges for a Genuine E3D V6 Hotend, if not used a stock hotend is expected.
/* ONLY ONE CAN BE SELECTED */
//#define EXT_BMG //Preconfigured for a BMG Extruder
#define EXT_BMG //Preconfigured for a BMG Extruder
//#define EXT_E3D_HEMERA //Preconfigured for a Genuine E3D HEMERA Extruder
#define EXT_STOCK //Preconfigured for stock extruder on QQS-PRO
//#define EXT_STOCK //Preconfigured for stock extruder on QQS-PRO
/*-------OPTIONS---(FSMC)-----*/
/* ONLY ONE CAN BE SELECTED */
@ -97,18 +97,20 @@
#define DELTA_CALIBRATION_MENU //Menu Options for starting Delta Configuration
#define PID_EDIT_MENU //Menu Options for PID Configuration
#define PID_AUTOTUNE_MENU //Menu Options for PID Autotune Configuration
//#define PAUSE_BEFORE_DEPLOY_STOW //Message Stow/Remove Probe (Buggy with Marlin UI)
#if ENABLED(FSMC_GRAPHICAL_TFT)
#define PAUSE_BEFORE_DEPLOY_STOW //Message Stow/Remove Probe (Buggy with Marlin UI)
#endif
// Type Calibration (CAL)
/* ONLY ONE CAN BE SELECTED */
//#define AUTO_BED_LEVELING_BILINEAR //Bilinear Bed Leveling
#define AUTO_BED_LEVELING_UBL //UBL Bed Leveling
#define AUTO_BED_LEVELING_BILINEAR //Bilinear Bed Leveling
//#define AUTO_BED_LEVELING_UBL //UBL Bed Leveling
//Many options for Modules:
#define POWER_LOSS_RECOVERY //Power Loss support when printing from SD-Card
//#define FILAMENT_RUNOUT_SENSOR //Enables support for Filament Runout Sensors
#define ADVANCED_PAUSE_FEATURE //Enables Advanced Pause features
#define LIN_ADVANCE //Enables Linear Advance. Possible Bug with BabyStep. When enabled, SPREADCYCLE is automaticlly set for Extruder, otherwise STEALTHCHOP will be used on all drivers.
//#define LIN_ADVANCE //Enables Linear Advance. Possible Bug with BabyStep. When enabled, SPREADCYCLE is automaticlly set for Extruder, otherwise STEALTHCHOP will be used on all drivers.
// Option for Octoprint:
#define HOST_ACTION_COMMANDS //Action Command Prompt support Message on Octoprint
@ -138,7 +140,7 @@
*/
// Show the Marlin bootscreen on startup. ** ENABLE FOR PRODUCTION **
#define SHOW_BOOTSCREEN
//#define SHOW_BOOTSCREEN
// Show the bitmap in Marlin/_Bootscreen.h on startup.
#ifdef FSMC_GRAPHICAL_TFT
@ -526,7 +528,7 @@
#ifdef HOTEND_E3D_V6
#define TEMP_SENSOR_0 5
#else
#define TEMP_SENSOR_0 1
#define TEMP_SENSOR_0 5
#endif
//#define TEMP_SENSOR_0 1
@ -602,8 +604,8 @@
#define PID_K1 0.95 // Smoothing factor within any PID loop
#if ENABLED(PIDTEMP)
//#define PID_EDIT_MENU //At the top Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
//#define PID_AUTOTUNE_MENU //OPT Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
#define PID_EDIT_MENU //At the top Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)
#define PID_AUTOTUNE_MENU //OPT Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)
//#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
// Set/get with gcode: M301 E[extruder number, 0-2]
@ -631,9 +633,44 @@
// (measured after M106 S180 with M303 E0 S230 C8) Memo: M301 P23.24 I1.87 D72.35 (sonde11)
// FLSUN QQ-S, PET 235 C with 70% part cooling
#define DEFAULT_Kp 18.22
#define DEFAULT_Ki 0.93
#define DEFAULT_Kd 88.73
//#define DEFAULT_Kp 18.22
//#define DEFAULT_Ki 0.93
//#define DEFAULT_Kd 88.73
/*
Recv: bias: 202 d: 52 min: 197.81250 max: 202.43056 Ku: 28.67373 Tu: 38.63800
Recv: Classic PID
Recv: Kp: 17.20424 Ki: 0.89053 Kd: 83.09216
Recv: PID Autotune finished! Put the last Kp, Ki and Kd constants from below into Configuration.h
#define CLASSIC_Kp 17.20424
#define CLASSIC_Ki 0.89053
#define CLASSIC_Kd 83.09216
#define DEFAULT_Kp (CLASSIC_Kp * 0.55)
#define DEFAULT_Ki (CLASSIC_Ki)
#define DEFAULT_Kd ((CLASSIC_Kd * 8) / 3)
*/
// FLSUN QQ-S - run 'M106 S255' & 'M303 E0 C10 S200'
//#define DEFAULT_Kp 10.07
//#define DEFAULT_Ki 0.56
//#define DEFAULT_Kd 45.01
//#define CLASSIC_Kp 13.17712
//#define CLASSIC_Ki 0.64211
//#define CLASSIC_Kd 67.60359
/*
#define CLASSIC_Kp 11.22
#define CLASSIC_Ki 0.65
#define CLASSIC_Kd 49.68
#define DEFAULT_Kp (CLASSIC_Kp * 0.55)
#define DEFAULT_Ki (CLASSIC_Ki)
#define DEFAULT_Kd ((CLASSIC_Kd * 8) / 3)
*/
// 24V 50W Amazon cartridge:
#define DEFAULT_Kp 9
#define DEFAULT_Ki 0.65
#define DEFAULT_Kd 60
M301 P10 I0.65 D55
#endif // PIDTEMP
@ -683,9 +720,17 @@
//#define DEFAULT_bedKd 1675.16
// FLSUN QQ-S stock 1.6mm aluminium heater with 4mm lattice glass
#define DEFAULT_bedKp 325.10
#define DEFAULT_bedKi 63.35
#define DEFAULT_bedKd 417.10
//#define DEFAULT_bedKp 325.10
//#define DEFAULT_bedKi 63.35
//#define DEFAULT_bedKd 417.10
/*
Recv: Kp: 95.08074 Ki: 18.53245 Kd: 325.20786
Recv: PID Autotune finished! Put the last Kp, Ki and Kd constants from below into Configuration.h
*/
#define DEFAULT_bedKp 95.08074
#define DEFAULT_bedKi 18.53245
#define DEFAULT_bedKd 325.20786
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
//M303 E-1 C8 S80 =>MEMO M304 P97.282 I18.961 D332.738
@ -696,7 +741,7 @@
//#define PID_DEBUG // Sends debug data to the serial port. Use 'M303 D' to toggle activation.
//#define PID_OPENLOOP // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
//#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay
#define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature \
#define PID_FUNCTIONAL_RANGE 300 // If the temperature difference between the target temperature and the actual temperature \
// is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
#endif
@ -738,7 +783,7 @@
#define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders
#define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed
#define THERMAL_PROTECTION_CHAMBER // Enable thermal protection for the heated chamber
//#define THERMAL_PROTECTION_CHAMBER // Enable thermal protection for the heated chamber
//===========================================================================
//============================= Mechanical Settings =========================
@ -910,7 +955,7 @@
//#define Z2_DRIVER_TYPE A4988
//#define Z3_DRIVER_TYPE A4988
//#define Z4_DRIVER_TYPE A4988
#define E0_DRIVER_TYPE DRIVER_USED
#define E0_DRIVER_TYPE A4988
//#define E0_DRIVER_TYPE A4988
//#define E1_DRIVER_TYPE A4988
//#define E2_DRIVER_TYPE A4988
@ -990,13 +1035,6 @@
} // default steps per unit
#endif
#ifdef EITHER(STOCK, EXT_STOCK)
#define DEFAULT_AXIS_STEPS_PER_UNIT \
{ \
DEFAULT_XYZ_STEPS_PER_UNIT, DEFAULT_XYZ_STEPS_PER_UNIT, DEFAULT_XYZ_STEPS_PER_UNIT, 397 \
} // default steps per unit
#endif
//The next line below calculates the staps value and the 800 value is my E-Steps calculation (400 doubled for 32 steps, if 16 steps then its 400 for me, meaure this with Extrusion test)
//#define DEFAULT_AXIS_STEPS_PER_UNIT { DEFAULT_XYZ_STEPS_PER_UNIT, DEFAULT_XYZ_STEPS_PER_UNIT, DEFAULT_XYZ_STEPS_PER_UNIT, 800 } // default steps per unit


+ 1
- 1
Marlin/Configuration_adv.h View File

@ -182,7 +182,7 @@
* and/or decrease WATCH_TEMP_INCREASE. WATCH_TEMP_INCREASE should not be set
* below 2.
*/
#define WATCH_TEMP_PERIOD 20 // Seconds
#define WATCH_TEMP_PERIOD 45 // Seconds
#define WATCH_TEMP_INCREASE 2 // Degrees Celsius
#endif


+ 1
- 1
Marlin/Version.h View File

@ -46,7 +46,7 @@
/**
* Defines a generic printer name to be output to the LCD after booting Marlin.
*/
#define MACHINE_NAME "QQS-Pro UART"
#define MACHINE_NAME "QQS-Pro"
/**
* The SOURCE_CODE_URL is the location where users will find the Marlin Source


+ 2
- 2
platformio.ini View File

@ -18,7 +18,7 @@
[platformio]
src_dir = Marlin
boards_dir = buildroot/share/PlatformIO/boards
default_envs = mega2560
default_envs = mks_robin_mini
include_dir = Marlin
#
@ -185,7 +185,7 @@ default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
extra_scripts =
pre:buildroot/share/PlatformIO/scripts/common-dependencies.py
pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py
build_flags = -fmax-errors=5 -g -D__MARLIN_FIRMWARE__ -fmerge-all-constants
build_flags = -fmax-errors=5 -g -D__MARLIN_FIRMWARE__ -fmerge-all-constants -Wno-comment
lib_deps =
#


Loading…
Cancel
Save