SHARE
TWEET

Untitled

a guest Jul 18th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Marlin 3D Printer Firmware
  3.  * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4.  *
  5.  * Based on Sprinter and grbl.
  6.  * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
  7.  *
  8.  * This program is free software: you can redistribute it and/or modify
  9.  * it under the terms of the GNU General Public License as published by
  10.  * the Free Software Foundation, either version 3 of the License, or
  11.  * (at your option) any later version.
  12.  *
  13.  * This program is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.  * GNU General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU General Public License
  19.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  20.  *
  21.  */
  22.  
  23. // DO NOT TOUCH THESE SETTINGS.
  24.  
  25. #ifndef CONFIGURATION_ADV_H
  26. #define CONFIGURATION_ADV_H
  27. #define CONFIGURATION_ADV_H_VERSION 010109
  28.  
  29. #if ENABLED(TH3D_RGB_STRIP)
  30.   #define LED_CONTROL_MENU
  31.   #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
  32.   #define LED_USER_PRESET_RED        130  // User defined RED value
  33.   #define LED_USER_PRESET_GREEN      203  // User defined GREEN value
  34.   #define LED_USER_PRESET_BLUE       225  // User defined BLUE value
  35.   #define LED_USER_PRESET_WHITE      0  // User defined WHITE value
  36.   #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
  37.   #define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
  38. #endif
  39.  
  40. #if DISABLED(PIDTEMPBED)
  41.   #define BED_CHECK_INTERVAL 500
  42.   #if ENABLED(BED_LIMIT_SWITCHING)
  43.     #define BED_HYSTERESIS 2
  44.   #endif
  45. #endif
  46.  
  47. #if ENABLED(THERMAL_PROTECTION_HOTENDS)
  48.   #define THERMAL_PROTECTION_PERIOD HOTEND_THERMAL_PROTECTION_TIME // Seconds
  49.   #define THERMAL_PROTECTION_HYSTERESIS 4     // Degrees Celsius
  50.   #define WATCH_TEMP_PERIOD HOTEND_THERMAL_PROTECTION_TIME                // Seconds
  51.   #define WATCH_TEMP_INCREASE 4               // Degrees Celsius
  52. #endif
  53.  
  54.  
  55. #if ENABLED(THERMAL_PROTECTION_BED)
  56.   #define THERMAL_PROTECTION_BED_PERIOD BED_THERMAL_PROTECTION_TIME    // Seconds
  57.   #define THERMAL_PROTECTION_BED_HYSTERESIS 4 // Degrees Celsius
  58.   #define WATCH_BED_TEMP_PERIOD BED_THERMAL_PROTECTION_TIME                // Seconds
  59.   #define WATCH_BED_TEMP_INCREASE 4               // Degrees Celsius
  60. #endif
  61.  
  62. #define TEMP_SENSOR_AD595_OFFSET 0.0
  63. #define TEMP_SENSOR_AD595_GAIN   1.0
  64.  
  65. #if ENABLED(TAZ5)
  66.   #define USE_CONTROLLER_FAN
  67.   #if ENABLED(USE_CONTROLLER_FAN)
  68.     #define CONTROLLER_FAN_PIN 2  
  69.     #define CONTROLLERFAN_SECS 60          
  70.     #define CONTROLLERFAN_SPEED 255        
  71.   #endif
  72.   #define FAN_KICKSTART_TIME 100
  73.   #define FAN_MIN_PWM 70
  74.   #define DIGIPOT_MOTOR_CURRENT { ((950 -750)/5+135), ((950 -750)/5+135), ((1275 -750)/5+135), ((750 -750)/5+135), ((750 -750)/5+135) }
  75.   #define DIGIPOT_I2C_NUM_CHANNELS 8
  76.   #define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 }  
  77. #endif
  78.  
  79. #if ENABLED(WANHAO_D6)
  80.   #define CASE_LIGHT_ENABLE
  81.   #if ENABLED(CASE_LIGHT_ENABLE)
  82.     #define CASE_LIGHT_PIN 8                  
  83.     #define INVERT_CASE_LIGHT false          
  84.     #define CASE_LIGHT_DEFAULT_ON true        
  85.     #define CASE_LIGHT_DEFAULT_BRIGHTNESS 255
  86.     #define MENU_ITEM_CASE_LIGHT              
  87.   #endif
  88.  
  89.   #define MOTOR_CURRENT_PWM_RANGE 2782
  90.   #define PWM_MOTOR_CURRENT { 1200, 1200, 1000 }
  91.   #define DIGIPOT_I2C_NUM_CHANNELS 8
  92.   #define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 }
  93.  
  94.   #define ENCODER_RATE_MULTIPLIER
  95.   #define ENCODER_10X_STEPS_PER_SEC 75
  96.   #define ENCODER_100X_STEPS_PER_SEC 160
  97.  
  98.   #define CHDK_DELAY 50
  99.  
  100.   #if ENABLED(DOGLCD)
  101.     #define USE_SMALL_INFOFONT
  102.   #endif
  103.  
  104.   #define I2C_SLAVE_ADDRESS  0
  105.  
  106. #endif
  107.  
  108. #if ENABLED(TORNADO)
  109.   #define E0_AUTO_FAN_PIN 7
  110.   #define EXTRUDER_AUTO_FAN_TEMPERATURE 50
  111.   #if ENABLED(TORNADO_QUIET)
  112.     #define EXTRUDER_AUTO_FAN_SPEED  190  
  113.   #else
  114.     #define EXTRUDER_AUTO_FAN_SPEED  255  
  115.   #endif
  116.   #if ENABLED(TIM_TORNADO)
  117.     #define USE_CONTROLLER_FAN
  118.     #if ENABLED(USE_CONTROLLER_FAN)
  119.       #define CONTROLLER_FAN_PIN 11  // Set a custom pin for the controller fan
  120.       #define CONTROLLERFAN_SECS 10          // Duration in seconds for the fan to run after all motors are disabled
  121.       #define CONTROLLERFAN_SPEED 255        // 255 == full speed
  122.     #endif
  123.   #endif
  124. #else
  125.   #if ENABLED(I3MINI_FANCONTROL)
  126.     #define E0_AUTO_FAN_PIN 12
  127.     #define EXTRUDER_AUTO_FAN_TEMPERATURE 50
  128.     #define EXTRUDER_AUTO_FAN_SPEED   255  // == full speed
  129.   #elif ENABLED(TH3D_EZ300)
  130.     #define E0_AUTO_FAN_PIN 7
  131.     #define EXTRUDER_AUTO_FAN_TEMPERATURE 40
  132.     #define EXTRUDER_AUTO_FAN_SPEED   255
  133.   #else  
  134.     #define E0_AUTO_FAN_PIN -1
  135.     #define EXTRUDER_AUTO_FAN_TEMPERATURE 50
  136.     #define EXTRUDER_AUTO_FAN_SPEED   255  
  137.   #endif
  138. #endif
  139. #if ENABLED(TH3D_EZ300)
  140.   #define USE_CONTROLLER_FAN
  141.   #define CONTROLLER_FAN_PIN 5
  142.   #define CONTROLLERFAN_SECS 60
  143.   #define CONTROLLERFAN_SPEED 145
  144. #endif
  145.  
  146. #if ENABLED(DY_H9)
  147.   #define E0_AUTO_FAN_PIN 7
  148.   #define EXTRUDER_AUTO_FAN_TEMPERATURE 50
  149.   #define EXTRUDER_AUTO_FAN_SPEED  255
  150. #endif
  151.  
  152. #define E1_AUTO_FAN_PIN -1
  153. #define E2_AUTO_FAN_PIN -1
  154. #define E3_AUTO_FAN_PIN -1
  155. #define E4_AUTO_FAN_PIN -1
  156.  
  157. #define X_HOME_BUMP_MM 5
  158. #define Y_HOME_BUMP_MM 5
  159. #define Z_HOME_BUMP_MM 2
  160.  
  161. #if ENABLED(SLOWER_HOMING)
  162.   #define HOMING_BUMP_DIVISOR { 5, 5, 4 }
  163. #else
  164.   #define HOMING_BUMP_DIVISOR { 2, 2, 4 }
  165. #endif
  166.  
  167. #define QUICK_HOME                    
  168.  
  169. #define AXIS_RELATIVE_MODES {false, false, false, false}
  170.  
  171. #define INVERT_X_STEP_PIN false
  172. #define INVERT_Y_STEP_PIN false
  173. #define INVERT_Z_STEP_PIN false
  174. #define INVERT_E_STEP_PIN false
  175.  
  176. #define DEFAULT_STEPPER_DEACTIVE_TIME 240
  177. #define DISABLE_INACTIVE_X true
  178. #define DISABLE_INACTIVE_Y true
  179. #define DISABLE_INACTIVE_Z false  
  180. #define DISABLE_INACTIVE_E true
  181.  
  182. #define DEFAULT_MINIMUMFEEDRATE       0.0    
  183. #define DEFAULT_MINTRAVELFEEDRATE     0.0
  184.  
  185. #if ENABLED(ULTIPANEL)
  186.   #define MANUAL_FEEDRATE {70*60, 70*60, 4*60, 60}
  187.   #define ULTIPANEL_FEEDMULTIPLY  
  188. #endif
  189.  
  190. #define DEFAULT_MINSEGMENTTIME        20000
  191. #define SLOWDOWN
  192. #define MINIMUM_PLANNER_SPEED 0.05
  193.  
  194. #if ENABLED(JUNCTION_DEVIATION_ON)
  195.   #if DISABLED(POWER_LOSS_RECOVERY)
  196.     #if DISABLED(ANET_PRINTER)
  197.       #define JUNCTION_DEVIATION
  198.       #define JUNCTION_DEVIATION_MM 0.02
  199.     #endif
  200.   #endif
  201. #endif
  202.  
  203. /**
  204.  * Adaptive Step Smoothing increases the resolution of multi-axis moves, particularly at step frequencies
  205.  * below 1kHz (for AVR) or 10kHz (for ARM), where aliasing between axes in multi-axis moves causes audible
  206.  * vibration and surface artifacts. The algorithm adapts to provide the best possible step smoothing at the
  207.  * lowest stepping frequencies.
  208.  */
  209. //#define ADAPTIVE_STEP_SMOOTHING //test if helps slowdown 254 more bytes - no effect
  210.  
  211. #define MICROSTEP_MODES {16,16,16,16,16} // [1,2,4,8,16]
  212.  
  213. #define ENCODER_RATE_MULTIPLIER      
  214. #define ENCODER_10X_STEPS_PER_SEC 75  
  215. #define ENCODER_100X_STEPS_PER_SEC 160
  216.  
  217. #if DISABLED(SLIM_1284P)
  218.     #define LCD_INFO_MENU
  219.     #define STATUS_MESSAGE_SCROLLING
  220.     #define LCD_DECIMAL_SMALL_XY
  221. #endif
  222.  
  223. #if ENABLED(SDSUPPORT)
  224.  
  225.   #define SD_DETECT_INVERTED
  226.  
  227.   #if DISABLED(SLIM_1284P)
  228.     #define SD_FINISHED_STEPPERRELEASE true        
  229.     #define SD_FINISHED_RELEASECOMMAND "M84 X Y E"
  230.   #endif
  231.  
  232.   #if DISABLED(SLIM_1284P)
  233.       #define SDCARD_SORT_ALPHA
  234.   #endif
  235.  
  236.   #if ENABLED(SDCARD_SORT_ALPHA)
  237.     #define SDSORT_LIMIT       40  
  238.     #define FOLDER_SORTING     -1  
  239.     #define SDSORT_GCODE       false
  240.     #define SDSORT_USES_RAM    true
  241.     #define SDSORT_USES_STACK  true
  242.     #define SDSORT_CACHE_NAMES false
  243.     #define SDSORT_DYNAMIC_RAM false
  244.     #define SDSORT_CACHE_VFATS 2      
  245.   #endif
  246.  
  247.   #if DISABLED(SLIM_1284P)
  248.      #define SCROLL_LONG_FILENAMES
  249.   #endif
  250.  
  251. #endif
  252.  
  253. #if DISABLED(LCD2004)
  254.   #define LCD_SET_PROGRESS_MANUALLY
  255. #else
  256.   #define LCD_PROGRESS_BAR
  257.   #define PROGRESS_BAR_BAR_TIME 2000
  258.   #define PROGRESS_BAR_MSG_TIME 3000
  259.   #define PROGRESS_MSG_EXPIRE   0
  260.   #define LCD_SET_PROGRESS_MANUALLY
  261. #endif
  262.  
  263. #if ENABLED(DOGLCD)
  264.   #define DOGM_SD_PERCENT
  265.   #define XYZ_HOLLOW_FRAME
  266.   #define MENU_HOLLOW_FRAME
  267. #endif
  268.  
  269. #define USE_WATCHDOG
  270.  
  271. #define BABYSTEPPING
  272. #if ENABLED(BABYSTEPPING)
  273.   #define BABYSTEP_INVERT_Z false
  274.   #if ENABLED(FINE_BABYSTEPPING)
  275.     #define BABYSTEP_MULTIPLICATOR 1
  276.   #else
  277.     #define BABYSTEP_MULTIPLICATOR 10
  278.   #endif
  279.   #if ENABLED(EZABL_ENABLE) && DISABLED(LCD2004)  
  280.     #define BABYSTEP_ZPROBE_GFX_OVERLAY
  281.   #endif
  282.   #define DOUBLECLICK_FOR_Z_BABYSTEPPING
  283.   #define DOUBLECLICK_MAX_INTERVAL 2000
  284.  
  285.   #if ENABLED(EZABL_ENABLE)
  286.     #define BABYSTEP_ZPROBE_OFFSET
  287.   #endif
  288. #endif
  289.  
  290. #if ENABLED(LINEAR_ADVANCE) && DISABLED(POWER_LOSS_RECOVERY)
  291.   #define LIN_ADVANCE
  292. #endif
  293. #if ENABLED(LIN_ADVANCE)
  294.   #define LIN_ADVANCE_K LINEAR_ADVANCE_K
  295. #endif
  296.  
  297. #if DISABLED(SLIM_1284P)
  298.     #define ARC_SUPPORT            
  299. #endif
  300. #if ENABLED(ARC_SUPPORT)
  301.   #define MM_PER_ARC_SEGMENT  1  
  302.   #define N_ARC_CORRECTION   25  
  303. #endif
  304.  
  305. #define MIN_STEPS_PER_SEGMENT 6
  306.  
  307. #define BLOCK_BUFFER_SIZE 16
  308. #define MAX_CMD_SIZE 96
  309. #define BUFSIZE 4
  310. #define TX_BUFFER_SIZE 0
  311.  
  312. #define ADVANCED_PAUSE_FEATURE
  313. #if ENABLED(ADVANCED_PAUSE_FEATURE)
  314.   #define PAUSE_PARK_RETRACT_FEEDRATE         60
  315.   #define PAUSE_PARK_RETRACT_LENGTH            2
  316.   #define FILAMENT_CHANGE_UNLOAD_FEEDRATE     10  
  317.   #define FILAMENT_CHANGE_UNLOAD_ACCEL        25  
  318.   #if ENABLED(DIRECT_DRIVE_PRINTER)
  319.     #define FILAMENT_CHANGE_UNLOAD_LENGTH      20  
  320.   #else
  321.     #define FILAMENT_CHANGE_UNLOAD_LENGTH      100
  322.   #endif
  323.   #define FILAMENT_CHANGE_SLOW_LOAD_FEEDRATE   6  
  324.   #define FILAMENT_CHANGE_SLOW_LOAD_LENGTH     0  
  325.   #define FILAMENT_CHANGE_FAST_LOAD_FEEDRATE   6  
  326.   #define FILAMENT_CHANGE_FAST_LOAD_ACCEL     25  
  327.   #define FILAMENT_CHANGE_FAST_LOAD_LENGTH     0  
  328.   #define ADVANCED_PAUSE_PURGE_FEEDRATE        3  
  329.   #define ADVANCED_PAUSE_PURGE_LENGTH         50  
  330.   #define FILAMENT_UNLOAD_RETRACT_LENGTH      13
  331.   #define FILAMENT_UNLOAD_DELAY             2000
  332.   #define FILAMENT_UNLOAD_PURGE_LENGTH         8
  333.   #define PAUSE_PARK_NOZZLE_TIMEOUT           60
  334.   #define FILAMENT_CHANGE_ALERT_BEEPS         10
  335.   #define PAUSE_PARK_NO_STEPPER_TIMEOUT          
  336.   #define PARK_HEAD_ON_PAUSE
  337. #endif
  338.  
  339. #define AUTO_REPORT_TEMPERATURES
  340.  
  341. #if DISABLED(SLIM_1284P)
  342.   #define EXTENDED_CAPABILITIES_REPORT
  343. #endif
  344.  
  345. #define NO_VOLUMETRICS
  346.  
  347. #define PROPORTIONAL_FONT_RATIO 1.0
  348.  
  349. #define FASTER_GCODE_PARSER
  350.  
  351. #endif // CONFIGURATION_ADV_H
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top