SHARE
TWEET

Untitled

a guest Dec 16th, 2015 865 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.     This file is part of Repetier-Firmware.
  3.  
  4.     Repetier-Firmware is free software: you can redistribute it and/or modify
  5.     it under the terms of the GNU General Public License as published by
  6.     the Free Software Foundation, either version 3 of the License, or
  7.     (at your option) any later version.
  8.  
  9.     Repetier-Firmware is distributed in the hope that it will be useful,
  10.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.     GNU General Public License for more details.
  13.  
  14.     You should have received a copy of the GNU General Public License
  15.     along with Repetier-Firmware.  If not, see <http://www.gnu.org/licenses/>.
  16.  
  17. */
  18.  
  19. #ifndef CONFIGURATION_H
  20. #define CONFIGURATION_H
  21.  
  22. /**************** READ FIRST ************************
  23.  
  24.    This configuration file was created with the configuration tool. For that
  25.    reason, it does not contain the same informations as the original Configuration.h file.
  26.    It misses the comments and unused parts. Open this file file in the config tool
  27.    to see and change the data. You can also upload it to newer/older versions. The system
  28.    will silently add new options, so compilation continues to work.
  29.  
  30.    This file is optimized for version 0.92
  31.    generator: http://www.repetier.com/firmware/v092/
  32.  
  33.    If you are in doubt which named functions use which pins on your board, please check the
  34.    pins.h for the used name->pin assignments and your board documentation to verify it is
  35.    as you expect.
  36.  
  37. */
  38.  
  39. #define NUM_EXTRUDER 1
  40. #define MOTHERBOARD 8
  41. #include "pins.h"
  42.  
  43. // ################## EDIT THESE SETTINGS MANUALLY ################
  44. // ################ END MANUAL SETTINGS ##########################
  45.  
  46. #define FAN_PIN ORIG_FAN_PIN
  47. #undef FAN_BOARD_PIN
  48. #define FAN_BOARD_PIN 40
  49.  
  50. //#define EXTERNALSERIAL  use Arduino serial library instead of build in. Requires more ram, has only 63 byte input buffer.
  51. // Uncomment the following line if you are using arduino compatible firmware made for Arduino version earlier then 1.0
  52. // If it is incompatible you will get compiler errors about write functions not beeing compatible!
  53. //#define COMPAT_PRE1
  54. #define BLUETOOTH_SERIAL  -1
  55. #define BLUETOOTH_BAUD  115200
  56. #define MIXING_EXTRUDER 0
  57.  
  58. #define DRIVE_SYSTEM 0
  59. #define XAXIS_STEPS_PER_MM 160
  60. #define YAXIS_STEPS_PER_MM 160
  61. #define ZAXIS_STEPS_PER_MM 5120
  62. #define EXTRUDER_FAN_COOL_TEMP 50
  63. #define PDM_FOR_EXTRUDER 0
  64. #define PDM_FOR_COOLER 0
  65. #define DECOUPLING_TEST_MAX_HOLD_VARIANCE 20
  66. #define DECOUPLING_TEST_MIN_TEMP_RISE 1
  67. #define KILL_IF_SENSOR_DEFECT 0
  68. #define RETRACT_ON_PAUSE 1
  69. #define PAUSE_START_COMMANDS ""
  70. #define PAUSE_END_COMMANDS ""
  71. #define EXT0_X_OFFSET 0
  72. #define EXT0_Y_OFFSET 0
  73. #define EXT0_Z_OFFSET 0
  74. #define EXT0_STEPS_PER_MM 942.912
  75. #define EXT0_TEMPSENSOR_TYPE 1
  76. #define EXT0_TEMPSENSOR_PIN TEMP_0_PIN
  77. #define EXT0_HEATER_PIN HEATER_0_PIN
  78. #define EXT0_STEP_PIN ORIG_E0_STEP_PIN
  79. #define EXT0_DIR_PIN ORIG_E0_DIR_PIN
  80. #define EXT0_INVERSE 1
  81. #define EXT0_ENABLE_PIN ORIG_E0_ENABLE_PIN
  82. #define EXT0_ENABLE_ON 0
  83. #define EXT0_MAX_FEEDRATE 50
  84. #define EXT0_MAX_START_FEEDRATE 20
  85. #define EXT0_MAX_ACCELERATION 3000
  86. #define EXT0_HEAT_MANAGER 1
  87. #define EXT0_WATCHPERIOD 1
  88. #define EXT0_PID_INTEGRAL_DRIVE_MAX 230
  89. #define EXT0_PID_INTEGRAL_DRIVE_MIN 40
  90. #define EXT0_PID_PGAIN_OR_DEAD_TIME 18.99
  91. #define EXT0_PID_I 1.24
  92. #define EXT0_PID_D 72.68
  93. #define EXT0_PID_MAX 255
  94. #define EXT0_ADVANCE_K 0
  95. #define EXT0_ADVANCE_L 0
  96. #define EXT0_ADVANCE_BACKLASH_STEPS 0
  97. #define EXT0_WAIT_RETRACT_TEMP 150
  98. #define EXT0_WAIT_RETRACT_UNITS 0
  99. #define EXT0_SELECT_COMMANDS ""
  100. #define EXT0_DESELECT_COMMANDS ""
  101. #define EXT0_EXTRUDER_COOLER_PIN -1
  102. #define EXT0_EXTRUDER_COOLER_SPEED 255
  103. #define EXT0_DECOUPLE_TEST_PERIOD 0
  104. #define EXT0_JAM_PIN -1
  105. #define EXT0_JAM_PULLUP 0
  106.  
  107. #define FEATURE_RETRACTION 0
  108. #define AUTORETRACT_ENABLED 0
  109. #define RETRACTION_LENGTH 3
  110. #define RETRACTION_LONG_LENGTH 13
  111. #define RETRACTION_SPEED 40
  112. #define RETRACTION_Z_LIFT 0
  113. #define RETRACTION_UNDO_EXTRA_LENGTH 0
  114. #define RETRACTION_UNDO_EXTRA_LONG_LENGTH 0
  115. #define RETRACTION_UNDO_SPEED 20
  116. #define FILAMENTCHANGE_X_POS 0
  117. #define FILAMENTCHANGE_Y_POS 0
  118. #define FILAMENTCHANGE_Z_ADD  2
  119. #define FILAMENTCHANGE_REHOME 1
  120. #define FILAMENTCHANGE_SHORTRETRACT 5
  121. #define FILAMENTCHANGE_LONGRETRACT 50
  122. #define JAM_STEPS 220
  123. #define JAM_SLOWDOWN_STEPS 320
  124. #define JAM_SLOWDOWN_TO 70
  125. #define JAM_ERROR_STEPS 500
  126. #define JAM_MIN_STEPS 10
  127. #define JAM_ACTION 0
  128.  
  129. #define RETRACT_DURING_HEATUP true
  130. #define PID_CONTROL_RANGE 20
  131. #define SKIP_M109_IF_WITHIN 2
  132. #define SCALE_PID_TO_MAX 0
  133. #define TEMP_HYSTERESIS 1
  134. #define EXTRUDE_MAXLENGTH 160
  135. #define NUM_TEMPS_USERTHERMISTOR0 0
  136. #define USER_THERMISTORTABLE0 {}
  137. #define NUM_TEMPS_USERTHERMISTOR1 0
  138. #define USER_THERMISTORTABLE1 {}
  139. #define NUM_TEMPS_USERTHERMISTOR2 0
  140. #define USER_THERMISTORTABLE2 {}
  141. #define GENERIC_THERM_VREF 5
  142. #define GENERIC_THERM_NUM_ENTRIES 33
  143. #define HEATER_PWM_SPEED 0
  144.  
  145. // ############# Heated bed configuration ########################
  146.  
  147. #define HAVE_HEATED_BED 1
  148. #define HEATED_BED_MAX_TEMP 120
  149. #define SKIP_M190_IF_WITHIN 3
  150. #define HEATED_BED_SENSOR_TYPE 1
  151. #define HEATED_BED_SENSOR_PIN TEMP_1_PIN
  152. #define HEATED_BED_HEATER_PIN HEATER_1_PIN
  153. #define HEATED_BED_SET_INTERVAL 5000
  154. #define HEATED_BED_HEAT_MANAGER 1
  155. #define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
  156. #define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
  157. #define HEATED_BED_PID_PGAIN_OR_DEAD_TIME   296.94
  158. #define HEATED_BED_PID_IGAIN   131.80
  159. #define HEATED_BED_PID_DGAIN 167.25
  160. #define HEATED_BED_PID_MAX 255
  161. #define HEATED_BED_DECOUPLE_TEST_PERIOD 300000
  162. #define MIN_EXTRUDER_TEMP 150
  163. #define MAXTEMP 247
  164. #define MIN_DEFECT_TEMPERATURE -10
  165. #define MAX_DEFECT_TEMPERATURE 248
  166.  
  167. // ##########################################################################################
  168. // ##                             Laser configuration                                      ##
  169. // ##########################################################################################
  170.  
  171. /*
  172. If the firmware is in laser mode, it can control a laser output to cut or engrave materials.
  173. Please use this feature only if you know about safety and required protection. Lasers are
  174. dangerous and can hurt or make you blind!!!
  175.  
  176. The default laser driver only supports laser on and off. Here you control the eĆ­ntensity with
  177. your feedrate. For exchangeable diode lasers this is normally enough. If you need more control
  178. you can set the intensity in a range 0-255 with a custom extension to the driver. See driver.h
  179. and comments on how to extend the functions non invasive with our event system.
  180.  
  181. If you have a laser - powder system you will like your E override. If moves contain a
  182. increasing extruder position it will laser that move. With this trick you can
  183. use existing fdm slicers to laser the output. Laser width is extrusion width.
  184.  
  185. Other tools may use M3 and M5 to enable/disable laser. Here G1/G2/G3 moves have laser enabled
  186. and G0 moves have it disables.
  187.  
  188. In any case, laser only enables while moving. At the end of a move it gets
  189. automatically disabled.
  190. */
  191.  
  192. #define SUPPORT_LASER 0
  193. #define LASER_PIN -1
  194. #define LASER_ON_HIGH 1
  195.  
  196. // ##                              CNC configuration                                       ##
  197.  
  198. /*
  199. If the firmware is in CNC mode, it can control a mill with M3/M4/M5. It works
  200. similar to laser mode, but mill keeps enabled during G0 moves and it allows
  201. setting rpm (only with event extension that supports this) and milling direction.
  202. It also can add a delay to wait for spindle to run on full speed.
  203. */
  204.  
  205. #define SUPPORT_CNC 0
  206. #define CNC_WAIT_ON_ENABLE 300
  207. #define CNC_WAIT_ON_DISABLE 0
  208. #define CNC_ENABLE_PIN -1
  209. #define CNC_ENABLE_WITH 1
  210. #define CNC_DIRECTION_PIN -1
  211. #define CNC_DIRECTION_CW 1
  212.  
  213.  
  214. #define DEFAULT_PRINTER_MODE 0
  215.  
  216. // ################ Endstop configuration #####################
  217.  
  218. #define ENDSTOP_PULLUP_X_MIN true
  219. #define ENDSTOP_X_MIN_INVERTING false
  220. #define MIN_HARDWARE_ENDSTOP_X true
  221. #define ENDSTOP_PULLUP_Y_MIN true
  222. #define ENDSTOP_Y_MIN_INVERTING false
  223. #define MIN_HARDWARE_ENDSTOP_Y true
  224. #define ENDSTOP_PULLUP_Z_MIN true
  225. #define ENDSTOP_Z_MIN_INVERTING false
  226. #define MIN_HARDWARE_ENDSTOP_Z false
  227. #define ENDSTOP_PULLUP_X_MAX true
  228. #define ENDSTOP_X_MAX_INVERTING true
  229. #define MAX_HARDWARE_ENDSTOP_X false
  230. #define ENDSTOP_PULLUP_Y_MAX true
  231. #define ENDSTOP_Y_MAX_INVERTING false
  232. #define MAX_HARDWARE_ENDSTOP_Y false
  233. #define ENDSTOP_PULLUP_Z_MAX true
  234. #define ENDSTOP_Z_MAX_INVERTING false
  235. #define MAX_HARDWARE_ENDSTOP_Z true
  236. #define max_software_endstop_r true
  237.  
  238. #define min_software_endstop_x false
  239. #define min_software_endstop_y false
  240. #define min_software_endstop_z true
  241. #define max_software_endstop_x true
  242. #define max_software_endstop_y true
  243. #define max_software_endstop_z false
  244. #define ENDSTOP_X_BACK_MOVE 5
  245. #define ENDSTOP_Y_BACK_MOVE 5
  246. #define ENDSTOP_Z_BACK_MOVE 5
  247. #define ENDSTOP_X_RETEST_REDUCTION_FACTOR 3
  248. #define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 3
  249. #define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 3
  250. #define ENDSTOP_X_BACK_ON_HOME 1
  251. #define ENDSTOP_Y_BACK_ON_HOME 1
  252. #define ENDSTOP_Z_BACK_ON_HOME 1
  253. #define ALWAYS_CHECK_ENDSTOPS 0
  254.  
  255. // ################# XYZ movements ###################
  256.  
  257. #define X_ENABLE_ON 0
  258. #define Y_ENABLE_ON 0
  259. #define Z_ENABLE_ON 0
  260. #define DISABLE_X 0
  261. #define DISABLE_Y 0
  262. #define DISABLE_Z 0
  263. #define DISABLE_E 0
  264. #define INVERT_X_DIR 0
  265. #define INVERT_Y_DIR 0
  266. #define INVERT_Z_DIR 1
  267. #define X_HOME_DIR -1
  268. #define Y_HOME_DIR -1
  269. #define Z_HOME_DIR 1
  270. #define X_MAX_LENGTH 178
  271. #define Y_MAX_LENGTH 200
  272. #define Z_MAX_LENGTH 392.3
  273. #define X_MIN_POS 0
  274. #define Y_MIN_POS 0
  275. #define Z_MIN_POS 0
  276. #define DISTORTION_CORRECTION 0
  277. #define DISTORTION_CORRECTION_POINTS 5
  278. #define DISTORTION_CORRECTION_R 100
  279. #define DISTORTION_PERMANENT 1
  280. #define DISTORTION_UPDATE_FREQUENCY 15
  281. #define DISTORTION_START_DEGRADE 0.5
  282. #define DISTORTION_END_HEIGHT 1
  283. #define DISTORTION_EXTRAPOLATE_CORNERS 0
  284.  
  285. // ##########################################################################################
  286. // ##                           Movement settings                                          ##
  287. // ##########################################################################################
  288.  
  289. #define FEATURE_BABYSTEPPING 0
  290. #define BABYSTEP_MULTIPLICATOR 1
  291.  
  292. #define DELTA_SEGMENTS_PER_SECOND_PRINT 180 // Move accurate setting for print moves
  293. #define DELTA_SEGMENTS_PER_SECOND_MOVE 70 // Less accurate setting for other moves
  294. #define EXACT_DELTA_MOVES 1
  295.  
  296. // Delta settings
  297. #define DELTA_HOME_ON_POWER 0
  298.  
  299. #define DELTASEGMENTS_PER_PRINTLINE 24
  300. #define STEPPER_INACTIVE_TIME 360L
  301. #define MAX_INACTIVE_TIME 0L
  302. #define MAX_FEEDRATE_X 266
  303. #define MAX_FEEDRATE_Y 266
  304. #define MAX_FEEDRATE_Z 4.7
  305. #define HOMING_FEEDRATE_X 50
  306. #define HOMING_FEEDRATE_Y 50
  307. #define HOMING_FEEDRATE_Z 0.84
  308. #define HOMING_ORDER HOME_ORDER_ZXY
  309. #define ZHOME_MIN_TEMPERATURE 0
  310. #define ZHOME_HEAT_ALL 1
  311. #define ZHOME_HEAT_HEIGHT 20
  312. #define ZHOME_X_POS 999999
  313. #define ZHOME_Y_POS 999999
  314. #define ENABLE_BACKLASH_COMPENSATION 0
  315. #define X_BACKLASH 0
  316. #define Y_BACKLASH 0
  317. #define Z_BACKLASH 0
  318. #define RAMP_ACCELERATION 1
  319. #define STEPPER_HIGH_DELAY 0
  320. #define DIRECTION_DELAY 0
  321. #define STEP_DOUBLER_FREQUENCY 12000
  322. #define ALLOW_QUADSTEPPING 1
  323. #define DOUBLE_STEP_DELAY 0 // time in microseconds
  324. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_X 3000
  325. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Y 3000
  326. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100
  327. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_X 7000
  328. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Y 7000
  329. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100
  330. #define INTERPOLATE_ACCELERATION_WITH_Z 0
  331. #define ACCELERATION_FACTOR_TOP 100
  332. #define MAX_JERK 5
  333. #define MAX_ZJERK 0.3
  334. #define PRINTLINE_CACHE_SIZE 16
  335. #define MOVE_CACHE_LOW 10
  336. #define LOW_TICKS_PER_MOVE 250000
  337. #define FEATURE_TWO_XSTEPPER 0
  338. #define X2_STEP_PIN   ORIG_E1_STEP_PIN
  339. #define X2_DIR_PIN    ORIG_E1_DIR_PIN
  340. #define X2_ENABLE_PIN ORIG_E1_ENABLE_PIN
  341. #define FEATURE_TWO_YSTEPPER 0
  342. #define Y2_STEP_PIN   ORIG_E1_STEP_PIN
  343. #define Y2_DIR_PIN    ORIG_E1_DIR_PIN
  344. #define Y2_ENABLE_PIN ORIG_E1_ENABLE_PIN
  345. #define FEATURE_TWO_ZSTEPPER 0
  346. #define Z2_STEP_PIN   ORIG_E1_STEP_PIN
  347. #define Z2_DIR_PIN    ORIG_E1_DIR_PIN
  348. #define Z2_ENABLE_PIN ORIG_E1_ENABLE_PIN
  349. #define FEATURE_THREE_ZSTEPPER 0
  350. #define Z3_STEP_PIN   ORIG_E2_STEP_PIN
  351. #define Z3_DIR_PIN    ORIG_E2_DIR_PIN
  352. #define Z3_ENABLE_PIN ORIG_E2_ENABLE_PIN
  353. #define FEATURE_DITTO_PRINTING 0
  354. #define USE_ADVANCE 0
  355. #define ENABLE_QUADRATIC_ADVANCE 0
  356.  
  357.  
  358. // ################# Misc. settings ##################
  359.  
  360. #define BAUDRATE 115200
  361. #define ENABLE_POWER_ON_STARTUP 1
  362. #define POWER_INVERTING 0
  363. #define KILL_METHOD 1
  364. #define ACK_WITH_LINENUMBER 1
  365. #define WAITING_IDENTIFIER "wait"
  366. #define ECHO_ON_EXECUTE 1
  367. #define EEPROM_MODE 1
  368. #undef PS_ON_PIN
  369. #define PS_ON_PIN -1
  370. #define JSON_OUTPUT 0
  371.  
  372. /* ======== Servos =======
  373. Control the servos with
  374. M340 P<servoId> S<pulseInUS>   / ServoID = 0..3  pulseInUs = 500..2500
  375. Servos are controlled by a pulse width normally between 500 and 2500 with 1500ms in center position. 0 turns servo off.
  376. WARNING: Servos can draw a considerable amount of current. Make sure your system can handle this or you may risk your hardware!
  377. */
  378. #define FEATURE_SERVO 0
  379. #define SERVO0_PIN 41
  380. #define SERVO1_PIN -1
  381. #define SERVO2_PIN -1
  382. #define SERVO3_PIN -1
  383. #define SERVO0_NEUTRAL_POS  700
  384. #define SERVO1_NEUTRAL_POS  -1
  385. #define SERVO2_NEUTRAL_POS  -1
  386. #define SERVO3_NEUTRAL_POS  -1
  387. #define UI_SERVO_CONTROL 0
  388. #define FAN_KICKSTART_TIME  200
  389.  
  390.         #define FEATURE_WATCHDOG 1
  391.  
  392. // #################### Z-Probing #####################
  393.  
  394. #define Z_PROBE_Z_OFFSET 0
  395. #define Z_PROBE_Z_OFFSET_MODE 0
  396. #define UI_BED_COATING 1
  397. #define FEATURE_Z_PROBE 1
  398. #define Z_PROBE_BED_DISTANCE 20
  399. #define Z_PROBE_PIN 36
  400. #define Z_PROBE_PULLUP 1
  401. #define Z_PROBE_ON_HIGH 1
  402. #define Z_PROBE_X_OFFSET 0
  403. #define Z_PROBE_Y_OFFSET 0
  404. #define Z_PROBE_WAIT_BEFORE_TEST 0
  405. #define Z_PROBE_SPEED 2.5
  406. #define Z_PROBE_XY_SPEED 25
  407. #define Z_PROBE_SWITCHING_DISTANCE 1
  408. #define Z_PROBE_REPETITIONS 5
  409. #define Z_PROBE_HEIGHT -0.531
  410. #define Z_PROBE_START_SCRIPT ""
  411. #define Z_PROBE_FINISHED_SCRIPT ""
  412. #define FEATURE_AUTOLEVEL 1
  413. #define Z_PROBE_X1 1
  414. #define Z_PROBE_Y1 100
  415. #define Z_PROBE_X2 178
  416. #define Z_PROBE_Y2 26
  417. #define Z_PROBE_X3 178
  418. #define Z_PROBE_Y3 186
  419. #define BENDING_CORRECTION_A 0
  420. #define BENDING_CORRECTION_B 0
  421. #define BENDING_CORRECTION_C 0
  422. #define FEATURE_AXISCOMP 0
  423. #define AXISCOMP_TANXY 0
  424. #define AXISCOMP_TANYZ 0
  425. #define AXISCOMP_TANXZ 0
  426.  
  427. #ifndef SDSUPPORT  // Some boards have sd support on board. These define the values already in pins.h
  428. #define SDSUPPORT 0
  429. #undef SDCARDDETECT
  430. #define SDCARDDETECT -1
  431. #define SDCARDDETECTINVERTED 0
  432. #endif
  433. #define SD_EXTENDED_DIR 1 /** Show extended directory including file length. Don't use this with Pronterface! */
  434. #define SD_RUN_ON_STOP ""
  435. #define SD_STOP_HEATER_AND_MOTORS_ON_STOP 1
  436. #define ARC_SUPPORT 1
  437. #define FEATURE_MEMORY_POSITION 1
  438. #define FEATURE_CHECKSUM_FORCED 0
  439. #define FEATURE_FAN_CONTROL 1
  440. #define FEATURE_CONTROLLER 0
  441. #define LANGUAGE_EN_ACTIVE 1
  442. #define LANGUAGE_DE_ACTIVE 1
  443. #define LANGUAGE_NL_ACTIVE 1
  444. #define LANGUAGE_PT_ACTIVE 1
  445. #define LANGUAGE_IT_ACTIVE 1
  446. #define LANGUAGE_ES_ACTIVE 1
  447. #define LANGUAGE_SE_ACTIVE 1
  448. #define LANGUAGE_FR_ACTIVE 1
  449. #define LANGUAGE_CZ_ACTIVE 1
  450. #define LANGUAGE_PL_ACTIVE 1
  451. #define UI_PRINTER_NAME "RepRap"
  452. #define UI_PRINTER_COMPANY "Home made"
  453. #define UI_PAGES_DURATION 4000
  454. #define UI_ANIMATION 0
  455. #define UI_SPEEDDEPENDENT_POSITIONING 0
  456. #define UI_DISABLE_AUTO_PAGESWITCH 1
  457. #define UI_AUTORETURN_TO_MENU_AFTER 30000
  458. #define FEATURE_UI_KEYS 0
  459. #define UI_ENCODER_SPEED 1
  460. #define UI_REVERSE_ENCODER 0
  461. #define UI_KEY_BOUNCETIME 10
  462. #define UI_KEY_FIRST_REPEAT 500
  463. #define UI_KEY_REDUCE_REPEAT 50
  464. #define UI_KEY_MIN_REPEAT 50
  465. #define FEATURE_BEEPER 0
  466. #define CASE_LIGHTS_PIN -1
  467. #define CASE_LIGHT_DEFAULT_ON 1
  468. #define UI_START_SCREEN_DELAY 1000
  469. #define UI_DYNAMIC_ENCODER_SPEED 1
  470.         /**
  471. Beeper sound definitions for short beeps during key actions
  472. and longer beeps for important actions.
  473. Parameter is delay in microseconds and the secons is the number of repetitions.
  474. Values must be in range 1..255
  475. */
  476. #define BEEPER_SHORT_SEQUENCE 2,2
  477. #define BEEPER_LONG_SEQUENCE 8,8
  478. #define UI_SET_PRESET_HEATED_BED_TEMP_PLA 60
  479. #define UI_SET_PRESET_EXTRUDER_TEMP_PLA   190
  480. #define UI_SET_PRESET_HEATED_BED_TEMP_ABS 110
  481. #define UI_SET_PRESET_EXTRUDER_TEMP_ABS   240
  482. #define UI_SET_MIN_HEATED_BED_TEMP  30
  483. #define UI_SET_MAX_HEATED_BED_TEMP 120
  484. #define UI_SET_MIN_EXTRUDER_TEMP   170
  485. #define UI_SET_MAX_EXTRUDER_TEMP   260
  486. #define UI_SET_EXTRUDER_FEEDRATE 2
  487. #define UI_SET_EXTRUDER_RETRACT_DISTANCE 3
  488.  
  489.  
  490. #define NUM_MOTOR_DRIVERS 0
  491.  
  492.  
  493.  
  494. #endif
  495.  
  496. /* Below you will find the configuration string, that created this Configuration.h
  497.  
  498. ========== Start configuration string ==========
  499. {
  500.     "editMode": 2,
  501.     "processor": 0,
  502.     "baudrate": 115200,
  503.     "bluetoothSerial": -1,
  504.     "bluetoothBaudrate": 115200,
  505.     "xStepsPerMM": 160,
  506.     "yStepsPerMM": 160,
  507.     "zStepsPerMM": 5120,
  508.     "xInvert": "0",
  509.     "xInvertEnable": 0,
  510.     "eepromMode": 1,
  511.     "yInvert": 0,
  512.     "yInvertEnable": 0,
  513.     "zInvert": 0,
  514.     "zInvertEnable": 0,
  515.     "extruder": [
  516.         {
  517.             "id": 0,
  518.             "heatManager": 1,
  519.             "pidDriveMin": 40,
  520.             "pidDriveMax": 230,
  521.             "pidMax": 255,
  522.             "sensorType": 1,
  523.             "sensorPin": "TEMP_0_PIN",
  524.             "heaterPin": "HEATER_0_PIN",
  525.             "maxFeedrate": 50,
  526.             "startFeedrate": 20,
  527.             "invert": "0",
  528.             "invertEnable": "0",
  529.             "acceleration": 3000,
  530.             "watchPeriod": 1,
  531.             "pidP": 14.48,
  532.             "pidI": 0.84,
  533.             "pidD": 62.4,
  534.             "advanceK": 0,
  535.             "advanceL": 0,
  536.             "waitRetractTemp": 150,
  537.             "waitRetractUnits": 0,
  538.             "waitRetract": 0,
  539.             "stepsPerMM": 942.912,
  540.             "coolerPin": -1,
  541.             "coolerSpeed": 255,
  542.             "selectCommands": "",
  543.             "deselectCommands": "",
  544.             "xOffset": 0,
  545.             "yOffset": 0,
  546.             "zOffset": 0,
  547.             "xOffsetSteps": 0,
  548.             "yOffsetSteps": 0,
  549.             "zOffsetSteps": 0,
  550.             "stepper": {
  551.                 "name": "Extruder 0",
  552.                 "step": "ORIG_E0_STEP_PIN",
  553.                 "dir": "ORIG_E0_DIR_PIN",
  554.                 "enable": "ORIG_E0_ENABLE_PIN"
  555.             },
  556.             "advanceBacklashSteps": 0,
  557.             "decoupleTestPeriod": 12,
  558.             "jamPin": -1,
  559.             "jamPullup": "0"
  560.         }
  561.     ],
  562.     "uiLanguage": 0,
  563.     "uiController": 0,
  564.     "xMinEndstop": 1,
  565.     "yMinEndstop": 1,
  566.     "zMinEndstop": 0,
  567.     "xMaxEndstop": 0,
  568.     "yMaxEndstop": 0,
  569.     "zMaxEndstop": 1,
  570.     "motherboard": 8,
  571.     "driveSystem": 0,
  572.     "xMaxSpeed": 266,
  573.     "xHomingSpeed": 50,
  574.     "xTravelAcceleration": 7000,
  575.     "xPrintAcceleration": 3000,
  576.     "yMaxSpeed": 266,
  577.     "yHomingSpeed": 50,
  578.     "yTravelAcceleration": 7000,
  579.     "yPrintAcceleration": 3000,
  580.     "zMaxSpeed": 4.7,
  581.     "zHomingSpeed": 0.84,
  582.     "zTravelAcceleration": 100,
  583.     "zPrintAcceleration": 100,
  584.     "xMotor": {
  585.         "name": "X motor",
  586.         "step": "ORIG_X_STEP_PIN",
  587.         "dir": "ORIG_X_DIR_PIN",
  588.         "enable": "ORIG_X_ENABLE_PIN"
  589.     },
  590.     "yMotor": {
  591.         "name": "Y motor",
  592.         "step": "ORIG_Y_STEP_PIN",
  593.         "dir": "ORIG_Y_DIR_PIN",
  594.         "enable": "ORIG_Y_ENABLE_PIN"
  595.     },
  596.     "zMotor": {
  597.         "name": "Z motor",
  598.         "step": "ORIG_Z_STEP_PIN",
  599.         "dir": "ORIG_Z_DIR_PIN",
  600.         "enable": "ORIG_Z_ENABLE_PIN"
  601.     },
  602.     "enableBacklash": "0",
  603.     "backlashX": 0,
  604.     "backlashY": 0,
  605.     "backlashZ": 0,
  606.     "stepperInactiveTime": 360,
  607.     "maxInactiveTime": 0,
  608.     "xMinPos": 0,
  609.     "yMinPos": 0,
  610.     "zMinPos": 0,
  611.     "xLength": 178,
  612.     "yLength": 200,
  613.     "zLength": 393.092,
  614.     "alwaysCheckEndstops": "0",
  615.     "disableX": "0",
  616.     "disableY": "0",
  617.     "disableZ": "0",
  618.     "disableE": "0",
  619.     "xHomeDir": "-1",
  620.     "yHomeDir": "-1",
  621.     "zHomeDir": "1",
  622.     "xEndstopBack": 1,
  623.     "yEndstopBack": 1,
  624.     "zEndstopBack": 1,
  625.     "deltaSegmentsPerSecondPrint": 180,
  626.     "deltaSegmentsPerSecondTravel": 70,
  627.     "deltaDiagonalRod": 445,
  628.     "deltaHorizontalRadius": 209.25,
  629.     "deltaAlphaA": 210,
  630.     "deltaAlphaB": 330,
  631.     "deltaAlphaC": 90,
  632.     "deltaDiagonalCorrA": 0,
  633.     "deltaDiagonalCorrB": 0,
  634.     "deltaDiagonalCorrC": 0,
  635.     "deltaMaxRadius": 150,
  636.     "deltaFloorSafetyMarginMM": 15,
  637.     "deltaRadiusCorrA": 0,
  638.     "deltaRadiusCorrB": 0,
  639.     "deltaRadiusCorrC": 0,
  640.     "deltaXOffsetSteps": 0,
  641.     "deltaYOffsetSteps": 0,
  642.     "deltaZOffsetSteps": 0,
  643.     "deltaSegmentsPerLine": 24,
  644.     "stepperHighDelay": 0,
  645.     "directionDelay": 0,
  646.     "stepDoublerFrequency": 12000,
  647.     "allowQuadstepping": "1",
  648.     "doubleStepDelay": 0,
  649.     "maxJerk": 5,
  650.     "maxZJerk": 0.3,
  651.     "moveCacheSize": 16,
  652.     "moveCacheLow": 10,
  653.     "lowTicksPerMove": 250000,
  654.     "enablePowerOnStartup": "1",
  655.     "echoOnExecute": "1",
  656.     "sendWaits": "1",
  657.     "ackWithLineNumber": "1",
  658.     "killMethod": 1,
  659.     "useAdvance": "0",
  660.     "useQuadraticAdvance": "0",
  661.     "powerInverting": 0,
  662.     "mirrorX": 0,
  663.     "mirrorXMotor": {
  664.         "name": "Extruder 1",
  665.         "step": "ORIG_E1_STEP_PIN",
  666.         "dir": "ORIG_E1_DIR_PIN",
  667.         "enable": "ORIG_E1_ENABLE_PIN"
  668.     },
  669.     "mirrorY": 0,
  670.     "mirrorYMotor": {
  671.         "name": "Extruder 1",
  672.         "step": "ORIG_E1_STEP_PIN",
  673.         "dir": "ORIG_E1_DIR_PIN",
  674.         "enable": "ORIG_E1_ENABLE_PIN"
  675.     },
  676.     "mirrorZ": 0,
  677.     "mirrorZMotor": {
  678.         "name": "Extruder 1",
  679.         "step": "ORIG_E1_STEP_PIN",
  680.         "dir": "ORIG_E1_DIR_PIN",
  681.         "enable": "ORIG_E1_ENABLE_PIN"
  682.     },
  683.     "mirrorZ3": "0",
  684.     "mirrorZ3Motor": {
  685.         "name": "Extruder 2",
  686.         "step": "ORIG_E2_STEP_PIN",
  687.         "dir": "ORIG_E2_DIR_PIN",
  688.         "enable": "ORIG_E2_ENABLE_PIN"
  689.     },
  690.     "dittoPrinting": "0",
  691.     "featureServos": "0",
  692.     "servo0Pin": 41,
  693.     "servo1Pin": -1,
  694.     "servo2Pin": -1,
  695.     "servo3Pin": -1,
  696.     "featureWatchdog": "1",
  697.     "hasHeatedBed": "1",
  698.     "enableZProbing": "1",
  699.     "extrudeMaxLength": 160,
  700.     "homeOrder": "HOME_ORDER_ZXY",
  701.     "featureController": 0,
  702.     "uiPrinterName": "RepRap",
  703.     "uiPrinterCompany": "Home made",
  704.     "uiPagesDuration": 4000,
  705.     "uiAnimation": "0",
  706.     "uiDisablePageswitch": "1",
  707.     "uiAutoReturnAfter": 30000,
  708.     "featureKeys": "0",
  709.     "uiEncoderSpeed": 1,
  710.     "uiReverseEncoder": "0",
  711.     "uiKeyBouncetime": 10,
  712.     "uiKeyFirstRepeat": 500,
  713.     "uiKeyReduceRepeat": 50,
  714.     "uiKeyMinRepeat": 50,
  715.     "featureBeeper": "0",
  716.     "uiPresetBedTempPLA": 60,
  717.     "uiPresetBedABS": 110,
  718.     "uiPresetExtruderPLA": 190,
  719.     "uiPresetExtruderABS": 240,
  720.     "uiMinHeatedBed": 30,
  721.     "uiMaxHeatedBed": 120,
  722.     "uiMinEtxruderTemp": 170,
  723.     "uiMaxExtruderTemp": 260,
  724.     "uiExtruderFeedrate": 2,
  725.     "uiExtruderRetractDistance": 3,
  726.     "uiSpeeddependentPositioning": "0",
  727.     "maxBedTemperature": 120,
  728.     "bedSensorType": 1,
  729.     "bedSensorPin": "TEMP_1_PIN",
  730.     "bedHeaterPin": "HEATER_1_PIN",
  731.     "bedHeatManager": 1,
  732.     "bedUpdateInterval": 5000,
  733.     "bedPidDriveMin": 80,
  734.     "bedPidDriveMax": 255,
  735.     "bedPidP": 382.41,
  736.     "bedPidI": 62.93,
  737.     "bedPidD": 580.97,
  738.     "bedPidMax": 255,
  739.     "bedDecoupleTestPeriod": 300,
  740.     "caseLightPin": -1,
  741.     "caseLightDefaultOn": "1",
  742.     "bedSkipIfWithin": 3,
  743.     "gen1T0": 25,
  744.     "gen1R0": 100000,
  745.     "gen1Beta": 4036,
  746.     "gen1MinTemp": -20,
  747.     "gen1MaxTemp": 300,
  748.     "gen1R1": 0,
  749.     "gen1R2": 4700,
  750.     "gen2T0": 25,
  751.     "gen2R0": 100000,
  752.     "gen2Beta": 4036,
  753.     "gen2MinTemp": -20,
  754.     "gen2MaxTemp": 300,
  755.     "gen2R1": 0,
  756.     "gen2R2": 4700,
  757.     "gen3T0": 25,
  758.     "gen3R0": 100000,
  759.     "gen3Beta": 4036,
  760.     "gen3MinTemp": -20,
  761.     "gen3MaxTemp": 300,
  762.     "gen3R1": 0,
  763.     "gen3R2": 4700,
  764.     "userTable0": {
  765.         "r1": 0,
  766.         "r2": 4700,
  767.         "temps": [],
  768.         "numEntries": 0
  769.     },
  770.     "userTable1": {
  771.         "r1": 0,
  772.         "r2": 4700,
  773.         "temps": [],
  774.         "numEntries": 0
  775.     },
  776.     "userTable2": {
  777.         "r1": 0,
  778.         "r2": 4700,
  779.         "temps": [],
  780.         "numEntries": 0
  781.     },
  782.     "tempHysteresis": 1,
  783.     "pidControlRange": 20,
  784.     "skipM109Within": 2,
  785.     "extruderFanCoolTemp": 50,
  786.     "minTemp": 150,
  787.     "maxTemp": 247,
  788.     "minDefectTemp": -10,
  789.     "maxDefectTemp": 248,
  790.     "arcSupport": "1",
  791.     "featureMemoryPositionWatchdog": "1",
  792.     "forceChecksum": "0",
  793.     "sdExtendedDir": "1",
  794.     "featureFanControl": "1",
  795.     "fanPin": -1,
  796.     "scalePidToMax": 0,
  797.     "zProbePin": 36,
  798.     "zProbeBedDistance": 20,
  799.     "zProbePullup": "1",
  800.     "zProbeOnHigh": "1",
  801.     "zProbeXOffset": 0,
  802.     "zProbeYOffset": 0,
  803.     "zProbeWaitBeforeTest": "0",
  804.     "zProbeSpeed": 2.5,
  805.     "zProbeXYSpeed": 100,
  806.     "zProbeHeight": -0.51,
  807.     "zProbeStartScript": "",
  808.     "zProbeFinishedScript": "",
  809.     "featureAutolevel": "1",
  810.     "zProbeX1": 100,
  811.     "zProbeY1": 1,
  812.     "zProbeX2": 26,
  813.     "zProbeY2": 180,
  814.     "zProbeX3": 184,
  815.     "zProbeY3": 180,
  816.     "zProbeSwitchingDistance": 1,
  817.     "zProbeRepetitions": 2,
  818.     "sdSupport": "0",
  819.     "sdCardDetectPin": -1,
  820.     "sdCardDetectInverted": "0",
  821.     "uiStartScreenDelay": 1000,
  822.     "xEndstopBackMove": 5,
  823.     "yEndstopBackMove": 5,
  824.     "zEndstopBackMove": 5,
  825.     "xEndstopRetestFactor": 3,
  826.     "yEndstopRetestFactor": 3,
  827.     "zEndstopRetestFactor": 3,
  828.     "xMinPin": "ORIG_X_MIN_PIN",
  829.     "yMinPin": "ORIG_Y_MIN_PIN",
  830.     "zMinPin": "ORIG_Z_MIN_PIN",
  831.     "xMaxPin": "ORIG_X_MAX_PIN",
  832.     "yMaxPin": "ORIG_Y_MAX_PIN",
  833.     "zMaxPin": "ORIG_Z_MAX_PIN",
  834.     "deltaHomeOnPower": "0",
  835.     "fanBoardPin": 40,
  836.     "heaterPWMSpeed": 0,
  837.     "featureBabystepping": "0",
  838.     "babystepMultiplicator": 1,
  839.     "pdmForHeater": "0",
  840.     "pdmForCooler": "0",
  841.     "psOn": -1,
  842.     "mixingExtruder": "0",
  843.     "decouplingTestMaxHoldVariance": 20,
  844.     "decouplingTestMinTempRise": 1,
  845.     "featureAxisComp": "0",
  846.     "axisCompTanXY": 0,
  847.     "axisCompTanXZ": 0,
  848.     "axisCompTanYZ": 0,
  849.     "retractOnPause": 1,
  850.     "pauseStartCommands": "",
  851.     "pauseEndCommands": "",
  852.     "distortionCorrection": "0",
  853.     "distortionCorrectionPoints": 5,
  854.     "distortionCorrectionR": 100,
  855.     "distortionPermanent": "1",
  856.     "distortionUpdateFrequency": 15,
  857.     "distortionStartDegrade": 0.5,
  858.     "distortionEndDegrade": 1,
  859.     "distortionExtrapolateCorners": "0",
  860.     "sdRunOnStop": "",
  861.     "sdStopHeaterMotorsOnStop": "1",
  862.     "featureRetraction": "0",
  863.     "autoretractEnabled": "0",
  864.     "retractionLength": 3,
  865.     "retractionLongLength": 13,
  866.     "retractionSpeed": 40,
  867.     "retractionZLift": 0,
  868.     "retractionUndoExtraLength": 0,
  869.     "retractionUndoExtraLongLength": 0,
  870.     "retractionUndoSpeed": 20,
  871.     "filamentChangeXPos": 0,
  872.     "filamentChangeYPos": 0,
  873.     "filamentChangeZAdd": 2,
  874.     "filamentChangeRehome": 1,
  875.     "filamentChangeShortRetract": 5,
  876.     "filamentChangeLongRetract": 50,
  877.     "fanKickstart": 200,
  878.     "servo0StartPos": "700",
  879.     "servo1StartPos": -1,
  880.     "servo2StartPos": -1,
  881.     "servo3StartPos": -1,
  882.     "uiDynamicEncoderSpeed": "1",
  883.     "uiServoControl": 0,
  884.     "killIfSensorDefect": "0",
  885.     "jamSteps": 220,
  886.     "jamSlowdownSteps": 320,
  887.     "jamSlowdownTo": 70,
  888.     "jamErrorSteps": 500,
  889.     "jamMinSteps": 10,
  890.     "jamAction": 0,
  891.     "primaryPort": 0,
  892.     "numMotorDrivers": 0,
  893.     "motorDrivers": [
  894.         {
  895.             "t": "None",
  896.             "s": "",
  897.             "invertEnable": "0",
  898.             "invertDirection": "0",
  899.             "stepsPerMM": 100,
  900.             "speed": 10,
  901.             "dirPin": -1,
  902.             "stepPin": -1,
  903.             "enablePin": -1
  904.         },
  905.         {
  906.             "t": "None",
  907.             "s": "",
  908.             "invertEnable": "0",
  909.             "invertDirection": "0",
  910.             "stepsPerMM": 100,
  911.             "speed": 10,
  912.             "dirPin": -1,
  913.             "stepPin": -1,
  914.             "enablePin": -1
  915.         },
  916.         {
  917.             "t": "None",
  918.             "s": "",
  919.             "invertEnable": "0",
  920.             "invertDirection": "0",
  921.             "stepsPerMM": 100,
  922.             "speed": 10,
  923.             "dirPin": -1,
  924.             "stepPin": -1,
  925.             "enablePin": -1
  926.         },
  927.         {
  928.             "t": "None",
  929.             "s": "",
  930.             "invertEnable": "0",
  931.             "invertDirection": "0",
  932.             "stepsPerMM": 100,
  933.             "speed": 10,
  934.             "dirPin": -1,
  935.             "stepPin": -1,
  936.             "enablePin": -1
  937.         },
  938.         {
  939.             "t": "None",
  940.             "s": "",
  941.             "invertEnable": "0",
  942.             "invertDirection": "0",
  943.             "stepsPerMM": 100,
  944.             "speed": 10,
  945.             "dirPin": -1,
  946.             "stepPin": -1,
  947.             "enablePin": -1
  948.         },
  949.         {
  950.             "t": "None",
  951.             "s": "",
  952.             "invertEnable": "0",
  953.             "invertDirection": "0",
  954.             "stepsPerMM": 100,
  955.             "speed": 10,
  956.             "dirPin": -1,
  957.             "stepPin": -1,
  958.             "enablePin": -1
  959.         }
  960.     ],
  961.     "manualConfig": "",
  962.     "zHomeMinTemperature": 0,
  963.     "zHomeXPos": 999999,
  964.     "zHomeYPos": 999999,
  965.     "zHomeHeatHeight": 20,
  966.     "zHomeHeatAll": "1",
  967.     "zProbeZOffsetMode": 0,
  968.     "zProbeZOffset": 0,
  969.     "uiBedCoating": "1",
  970.     "langEN": "1",
  971.     "langDE": "1",
  972.     "langNL": "1",
  973.     "langPT": "1",
  974.     "langIT": "1",
  975.     "langES": "1",
  976.     "langSE": "1",
  977.     "langFR": "1",
  978.     "langCZ": "1",
  979.     "langPL": "1",
  980.     "interpolateAccelerationWithZ": 0,
  981.     "accelerationFactorTop": 100,
  982.     "bendingCorrectionA": 0,
  983.     "bendingCorrectionB": 0,
  984.     "bendingCorrectionC": 0,
  985.     "preventZDisableOnStepperTimeout": "0",
  986.     "supportLaser": "0",
  987.     "laserPin": -1,
  988.     "laserOnHigh": "1",
  989.     "defaultPrinterMode": 0,
  990.     "supportCNC": "0",
  991.     "cncWaitOnEnable": 300,
  992.     "cncWaitOnDisable": 0,
  993.     "cncEnablePin": -1,
  994.     "cncEnableWith": "1",
  995.     "cncDirectionPin": -1,
  996.     "cncDirectionCW": "1",
  997.     "startupGCode": "",
  998.     "jsonOutput": "0",
  999.     "hasMAX6675": false,
  1000.     "hasMAX31855": false,
  1001.     "hasGeneric1": false,
  1002.     "hasGeneric2": false,
  1003.     "hasGeneric3": false,
  1004.     "hasUser0": false,
  1005.     "hasUser1": false,
  1006.     "hasUser2": false,
  1007.     "numExtruder": 1,
  1008.     "version": 92.6,
  1009.     "primaryPortName": ""
  1010. }
  1011. ========== End configuration string ==========
  1012.  
  1013. */
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