SHARE
TWEET

Untitled

a guest Jun 30th, 2018 60 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 1.0.2
  31.    generator: http://www.repetier.com/firmware/dev/
  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 63
  41. #include "pins.h"
  42.  
  43. // ################## EDIT THESE SETTINGS MANUALLY ################
  44.  
  45. // ################ END MANUAL SETTINGS ##########################
  46.  
  47. #undef FAN_BOARD_PIN
  48. #define FAN_BOARD_PIN -1
  49. #define BOARD_FAN_SPEED 255
  50. #define BOARD_FAN_MIN_SPEED 0
  51. #define FAN_THERMO_PIN -1
  52. #define FAN_THERMO_MIN_PWM 128
  53. #define FAN_THERMO_MAX_PWM 255
  54. #define FAN_THERMO_MIN_TEMP 45
  55. #define FAN_THERMO_MAX_TEMP 60
  56. #define FAN_THERMO_THERMISTOR_PIN -1
  57. #define FAN_THERMO_THERMISTOR_TYPE 1
  58.  
  59. //#define EXTERNALSERIAL  use Arduino serial library instead of build in. Requires more ram, has only 63 byte input buffer.
  60. // Uncomment the following line if you are using Arduino compatible firmware made for Arduino version earlier then 1.0
  61. // If it is incompatible you will get compiler errors about write functions not being compatible!
  62. //#define COMPAT_PRE1
  63. #define BLUETOOTH_SERIAL  -1
  64. #define BLUETOOTH_BAUD  115200
  65. #define MIXING_EXTRUDER 0
  66.  
  67. #define DRIVE_SYSTEM 0
  68. #define XAXIS_STEPS_PER_MM 100
  69. #define YAXIS_STEPS_PER_MM 100
  70. #define ZAXIS_STEPS_PER_MM 1600
  71. #define EXTRUDER_FAN_COOL_TEMP 50
  72. #define PDM_FOR_EXTRUDER 0
  73. #define PDM_FOR_COOLER 0
  74. #define DECOUPLING_TEST_MAX_HOLD_VARIANCE 20
  75. #define DECOUPLING_TEST_MIN_TEMP_RISE 1
  76. #define KILL_IF_SENSOR_DEFECT 0
  77. #define RETRACT_ON_PAUSE 2
  78. #define PAUSE_START_COMMANDS ""
  79. #define PAUSE_END_COMMANDS ""
  80. #define SHARED_EXTRUDER_HEATER 0
  81. #define EXT0_X_OFFSET 0
  82. #define EXT0_Y_OFFSET 0
  83. #define EXT0_Z_OFFSET 0
  84. #define EXT0_STEPS_PER_MM 85
  85. #define EXT0_TEMPSENSOR_TYPE 1
  86. #define EXT0_TEMPSENSOR_PIN TEMP_0_PIN
  87. #define EXT0_HEATER_PIN HEATER_0_PIN
  88. #define EXT0_STEP_PIN ORIG_E0_STEP_PIN
  89. #define EXT0_DIR_PIN ORIG_E0_DIR_PIN
  90. #define EXT0_INVERSE 0
  91. #define EXT0_ENABLE_PIN ORIG_E0_ENABLE_PIN
  92. #define EXT0_ENABLE_ON 0
  93. #define EXT0_MIRROR_STEPPER 0
  94. #define EXT0_STEP2_PIN ORIG_E0_STEP_PIN
  95. #define EXT0_DIR2_PIN ORIG_E0_DIR_PIN
  96. #define EXT0_INVERSE2 0
  97. #define EXT0_ENABLE2_PIN ORIG_E0_ENABLE_PIN
  98. #define EXT0_MAX_FEEDRATE 50
  99. #define EXT0_MAX_START_FEEDRATE 20
  100. #define EXT0_MAX_ACCELERATION 5000
  101. #define EXT0_HEAT_MANAGER 3
  102. #define EXT0_PREHEAT_TEMP 190
  103. #define EXT0_WATCHPERIOD 1
  104. #define EXT0_PID_INTEGRAL_DRIVE_MAX 230
  105. #define EXT0_PID_INTEGRAL_DRIVE_MIN 40
  106. #define EXT0_PID_PGAIN_OR_DEAD_TIME 7
  107. #define EXT0_PID_I 2
  108. #define EXT0_PID_D 40
  109. #define EXT0_PID_MAX 255
  110. #define EXT0_ADVANCE_K 0
  111. #define EXT0_ADVANCE_L 0
  112. #define EXT0_ADVANCE_BACKLASH_STEPS 0
  113. #define EXT0_WAIT_RETRACT_TEMP 150
  114. #define EXT0_WAIT_RETRACT_UNITS 0
  115. #define EXT0_SELECT_COMMANDS ""
  116. #define EXT0_DESELECT_COMMANDS ""
  117. #define EXT0_EXTRUDER_COOLER_PIN -1
  118. #define EXT0_EXTRUDER_COOLER_SPEED 255
  119. #define EXT0_DECOUPLE_TEST_PERIOD 20000
  120. #define EXT0_JAM_PIN -1
  121. #define EXT0_JAM_PULLUP 0
  122.  
  123. #define FEATURE_RETRACTION 0
  124. #define AUTORETRACT_ENABLED 0
  125. #define RETRACTION_LENGTH 3
  126. #define RETRACTION_LONG_LENGTH 13
  127. #define RETRACTION_SPEED 40
  128. #define RETRACTION_Z_LIFT 0
  129. #define RETRACTION_UNDO_EXTRA_LENGTH 0
  130. #define RETRACTION_UNDO_EXTRA_LONG_LENGTH 0
  131. #define RETRACTION_UNDO_SPEED 20
  132. #define FILAMENTCHANGE_X_POS 0
  133. #define FILAMENTCHANGE_Y_POS 0
  134. #define FILAMENTCHANGE_Z_ADD  2
  135. #define FILAMENTCHANGE_REHOME 1
  136. #define FILAMENTCHANGE_SHORTRETRACT 5
  137. #define FILAMENTCHANGE_LONGRETRACT 50
  138. #define JAM_METHOD 1
  139. #define JAM_STEPS 220
  140. #define JAM_SLOWDOWN_STEPS 320
  141. #define JAM_SLOWDOWN_TO 70
  142. #define JAM_ERROR_STEPS 500
  143. #define JAM_MIN_STEPS 10
  144. #define JAM_ACTION 1
  145.  
  146. #define RETRACT_DURING_HEATUP true
  147. #define PID_CONTROL_RANGE 20
  148. #define SKIP_M109_IF_WITHIN 2
  149. #define SCALE_PID_TO_MAX 1
  150. #define TEMP_HYSTERESIS 0
  151. #define EXTRUDE_MAXLENGTH 160
  152. #define NUM_TEMPS_USERTHERMISTOR0 0
  153. #define USER_THERMISTORTABLE0 {}
  154. #define NUM_TEMPS_USERTHERMISTOR1 0
  155. #define USER_THERMISTORTABLE1 {}
  156. #define NUM_TEMPS_USERTHERMISTOR2 0
  157. #define USER_THERMISTORTABLE2 {}
  158. #define GENERIC_THERM_VREF 5
  159. #define GENERIC_THERM_NUM_ENTRIES 33
  160. #define HEATER_PWM_SPEED 0
  161. #define COOLER_PWM_SPEED 0
  162.  
  163. // ############# Heated bed configuration ########################
  164.  
  165. #define HAVE_HEATED_BED 1
  166. #define HEATED_BED_PREHEAT_TEMP 55
  167. #define HEATED_BED_MAX_TEMP 120
  168. #define SKIP_M190_IF_WITHIN 3
  169. #define HEATED_BED_SENSOR_TYPE 1
  170. #define HEATED_BED_SENSOR_PIN TEMP_1_PIN
  171. #define HEATED_BED_HEATER_PIN 12
  172. #define HEATED_BED_SET_INTERVAL 5000
  173. #define HEATED_BED_HEAT_MANAGER 0
  174. #define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
  175. #define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
  176. #define HEATED_BED_PID_PGAIN_OR_DEAD_TIME   196
  177. #define HEATED_BED_PID_IGAIN   33
  178. #define HEATED_BED_PID_DGAIN 290
  179. #define HEATED_BED_PID_MAX 255
  180. #define HEATED_BED_DECOUPLE_TEST_PERIOD 300000
  181. #define MIN_EXTRUDER_TEMP 150
  182. #define MAXTEMP 275
  183. #define MIN_DEFECT_TEMPERATURE -10
  184. #define MAX_DEFECT_TEMPERATURE 290
  185. #define MILLISECONDS_PREHEAT_TIME 30000
  186.  
  187. // ##########################################################################################
  188. // ##                             Laser configuration                                      ##
  189. // ##########################################################################################
  190.  
  191. /*
  192. If the firmware is in laser mode, it can control a laser output to cut or engrave materials.
  193. Please use this feature only if you know about safety and required protection. Lasers are
  194. dangerous and can hurt or make you blind!!!
  195.  
  196. The default laser driver only supports laser on and off. Here you control the intensity with
  197. your feedrate. For exchangeable diode lasers this is normally enough. If you need more control
  198. you can set the intensity in a range 0-255 with a custom extension to the driver. See driver.h
  199. and comments on how to extend the functions non invasive with our event system.
  200.  
  201. If you have a laser - powder system you will like your E override. If moves contain a
  202. increasing extruder position it will laser that move. With this trick you can
  203. use existing fdm slicers to laser the output. Laser width is extrusion width.
  204.  
  205. Other tools may use M3 and M5 to enable/disable laser. Here G1/G2/G3 moves have laser enabled
  206. and G0 moves have it disables.
  207.  
  208. In any case, laser only enables while moving. At the end of a move it gets
  209. automatically disabled.
  210. */
  211.  
  212. #define SUPPORT_LASER 0
  213. #define LASER_PIN -1
  214. #define LASER_ON_HIGH 1
  215. #define LASER_WARMUP_TIME 0
  216. #define LASER_PWM_MAX 255
  217. #define LASER_WATT 2
  218.  
  219. // ##                              CNC configuration                                       ##
  220.  
  221. /*
  222. If the firmware is in CNC mode, it can control a mill with M3/M4/M5. It works
  223. similar to laser mode, but mill keeps enabled during G0 moves and it allows
  224. setting rpm (only with event extension that supports this) and milling direction.
  225. It also can add a delay to wait for spindle to run on full speed.
  226. */
  227.  
  228. #define SUPPORT_CNC 0
  229. #define CNC_WAIT_ON_ENABLE 300
  230. #define CNC_WAIT_ON_DISABLE 0
  231. #define CNC_ENABLE_PIN -1
  232. #define CNC_ENABLE_WITH 1
  233. #define CNC_DIRECTION_PIN -1
  234. #define CNC_DIRECTION_CW 1
  235. #define CNC_PWM_MAX 255
  236. #define CNC_RPM_MAX 8000
  237. #define CNC_SAFE_Z 150
  238.  
  239. #define DEFAULT_PRINTER_MODE 0
  240.  
  241. // ################ Endstop configuration #####################
  242.  
  243. #define MULTI_ZENDSTOP_HOMING 0
  244. #define ENDSTOP_PULLUP_X_MIN true
  245. #define ENDSTOP_X_MIN_INVERTING true
  246. #define MIN_HARDWARE_ENDSTOP_X true
  247. #define ENDSTOP_PULLUP_Y_MIN true
  248. #define ENDSTOP_Y_MIN_INVERTING true
  249. #define MIN_HARDWARE_ENDSTOP_Y true
  250. #define ENDSTOP_PULLUP_Z_MIN true
  251. #define ENDSTOP_Z_MIN_INVERTING true
  252. #define MIN_HARDWARE_ENDSTOP_Z true
  253. #define ENDSTOP_PULLUP_Z2_MINMAX true
  254. #define ENDSTOP_Z2_MINMAX_INVERTING false
  255. #define MINMAX_HARDWARE_ENDSTOP_Z2 false
  256. #define ENDSTOP_PULLUP_X_MAX true
  257. #define ENDSTOP_X_MAX_INVERTING false
  258. #define MAX_HARDWARE_ENDSTOP_X false
  259. #define ENDSTOP_PULLUP_Y_MAX true
  260. #define ENDSTOP_Y_MAX_INVERTING false
  261. #define MAX_HARDWARE_ENDSTOP_Y false
  262. #define ENDSTOP_PULLUP_Z_MAX true
  263. #define ENDSTOP_Z_MAX_INVERTING false
  264. #define MAX_HARDWARE_ENDSTOP_Z false
  265. #define ENDSTOP_PULLUP_X2_MIN true
  266. #define ENDSTOP_PULLUP_Y2_MIN true
  267. #define ENDSTOP_PULLUP_Z2_MINMAX true
  268. #define ENDSTOP_PULLUP_X2_MAX true
  269. #define ENDSTOP_PULLUP_Y2_MAX true
  270. #define ENDSTOP_X2_MIN_INVERTING false
  271. #define ENDSTOP_Y2_MIN_INVERTING false
  272. #define ENDSTOP_X2_MAX_INVERTING false
  273. #define ENDSTOP_Y2_MAX_INVERTING false
  274. #define MIN_HARDWARE_ENDSTOP_X2 false
  275. #define MIN_HARDWARE_ENDSTOP_Y2 false
  276. #define MAX_HARDWARE_ENDSTOP_X2 false
  277. #define MAX_HARDWARE_ENDSTOP_Y2 false
  278. #define X2_MIN_PIN -1
  279. #define X2_MAX_PIN -1
  280. #define Y2_MIN_PIN -1
  281. #define Y2_MAX_PIN -1
  282. #define Z2_MINMAX_PIN -1
  283.  
  284.  
  285.  
  286. #define max_software_endstop_r true
  287.  
  288. #define min_software_endstop_x false
  289. #define min_software_endstop_y false
  290. #define min_software_endstop_z false
  291. #define max_software_endstop_x true
  292. #define max_software_endstop_y true
  293. #define max_software_endstop_z true
  294. #define DOOR_PIN -1
  295. #define DOOR_PULLUP 1
  296. #define DOOR_INVERTING 0
  297. #define ENDSTOP_X_BACK_MOVE 5
  298. #define ENDSTOP_Y_BACK_MOVE 15
  299. #define ENDSTOP_Z_BACK_MOVE 2
  300. #define ENDSTOP_X_RETEST_REDUCTION_FACTOR 3
  301. #define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 3
  302. #define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 3
  303. #define ENDSTOP_X_BACK_ON_HOME 1
  304. #define ENDSTOP_Y_BACK_ON_HOME 1
  305. #define ENDSTOP_Z_BACK_ON_HOME 0
  306. #define ALWAYS_CHECK_ENDSTOPS 1
  307. #define MOVE_X_WHEN_HOMED 0
  308. #define MOVE_Y_WHEN_HOMED 0
  309. #define MOVE_Z_WHEN_HOMED 0
  310.  
  311. // ################# XYZ movements ###################
  312.  
  313. #define X_ENABLE_ON 0
  314. #define Y_ENABLE_ON 0
  315. #define Z_ENABLE_ON 0
  316. #define DISABLE_X 0
  317. #define DISABLE_Y 0
  318. #define DISABLE_Z 0
  319. #define DISABLE_E 0
  320. #define INVERT_X_DIR 0
  321. #define INVERT_X2_DIR 0
  322. #define INVERT_Y_DIR 1
  323. #define INVERT_Y2_DIR 0
  324. #define INVERT_Z_DIR 1
  325. #define INVERT_Z2_DIR 0
  326. #define INVERT_Z3_DIR 0
  327. #define INVERT_Z4_DIR 0
  328. #define X_HOME_DIR -1
  329. #define Y_HOME_DIR -1
  330. #define Z_HOME_DIR -1
  331. #define X_MAX_LENGTH 200
  332. #define Y_MAX_LENGTH 200
  333. #define Z_MAX_LENGTH 230
  334. #define X_MIN_POS -60
  335. #define Y_MIN_POS -5
  336. #define Z_MIN_POS 0
  337. #define PARK_POSITION_X 0
  338. #define PARK_POSITION_Y 10
  339. #define PARK_POSITION_Z_RAISE 10
  340.  
  341.  
  342. #define DISTORTION_CORRECTION 0
  343. #define DISTORTION_CORRECTION_POINTS 5
  344. #define DISTORTION_LIMIT_TO 2
  345. #define DISTORTION_CORRECTION_R 100
  346. #define DISTORTION_PERMANENT 1
  347. #define DISTORTION_UPDATE_FREQUENCY 15
  348. #define DISTORTION_START_DEGRADE 0.5
  349. #define DISTORTION_END_HEIGHT 1
  350. #define DISTORTION_EXTRAPOLATE_CORNERS 0
  351. #define DISTORTION_XMIN 10
  352. #define DISTORTION_YMIN 10
  353. #define DISTORTION_XMAX 190
  354. #define DISTORTION_YMAX 190
  355.  
  356. // ##########################################################################################
  357. // ##                           Movement settings                                          ##
  358. // ##########################################################################################
  359.  
  360. #define FEATURE_BABYSTEPPING 1
  361. #define BABYSTEP_MULTIPLICATOR 1
  362.  
  363. #define DELTA_SEGMENTS_PER_SECOND_PRINT 180 // Move accurate setting for print moves
  364. #define DELTA_SEGMENTS_PER_SECOND_MOVE 70 // Less accurate setting for other moves
  365. #define EXACT_DELTA_MOVES 1
  366.  
  367. // Delta settings
  368. #define DELTA_HOME_ON_POWER 0
  369.  
  370. #define DELTASEGMENTS_PER_PRINTLINE 24
  371. #define STEPPER_INACTIVE_TIME 360L
  372. #define MAX_INACTIVE_TIME 0L
  373. #define MAX_FEEDRATE_X 400
  374. #define MAX_FEEDRATE_Y 400
  375. #define MAX_FEEDRATE_Z 5
  376. #define HOMING_FEEDRATE_X 100
  377. #define HOMING_FEEDRATE_Y 100
  378. #define HOMING_FEEDRATE_Z 4
  379. #define HOMING_ORDER HOME_ORDER_XYZ
  380. #define ZHOME_PRE_RAISE 2
  381. #define ZHOME_PRE_RAISE_DISTANCE 10
  382. #define RAISE_Z_ON_TOOLCHANGE 0
  383. #define ZHOME_MIN_TEMPERATURE 0
  384. #define ZHOME_HEAT_ALL 1
  385. #define ZHOME_HEAT_HEIGHT 20
  386. #define ZHOME_X_POS 100
  387. #define ZHOME_Y_POS 100
  388. #define ENABLE_BACKLASH_COMPENSATION 0
  389. #define X_BACKLASH 0
  390. #define Y_BACKLASH 0
  391. #define Z_BACKLASH 0
  392. #define RAMP_ACCELERATION 1
  393. #define STEPPER_HIGH_DELAY 0
  394. #define DIRECTION_DELAY 0
  395. #define STEP_DOUBLER_FREQUENCY 12000
  396. #define ALLOW_QUADSTEPPING 1
  397. #define DOUBLE_STEP_DELAY 0 // time in microseconds
  398. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000
  399. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1000
  400. #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100
  401. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_X 2000
  402. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Y 2000
  403. #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Z 100
  404. #define INTERPOLATE_ACCELERATION_WITH_Z 1
  405. #define ACCELERATION_FACTOR_TOP 50
  406. #define MAX_JERK 15
  407. #define MAX_ZJERK 0.3
  408. #define PRINTLINE_CACHE_SIZE 16
  409. #define MOVE_CACHE_LOW 10
  410. #define LOW_TICKS_PER_MOVE 250000
  411. #define EXTRUDER_SWITCH_XY_SPEED 100
  412. #define DUAL_X_AXIS 0
  413. #define DUAL_X_RESOLUTION 0
  414. #define X2AXIS_STEPS_PER_MM 100
  415. #define FEATURE_TWO_XSTEPPER 0
  416. #define X2_STEP_PIN   ORIG_E1_STEP_PIN
  417. #define X2_DIR_PIN    ORIG_E1_DIR_PIN
  418. #define X2_ENABLE_PIN ORIG_E1_ENABLE_PIN
  419. #define FEATURE_TWO_YSTEPPER 0
  420. #define Y2_STEP_PIN   ORIG_E1_STEP_PIN
  421. #define Y2_DIR_PIN    ORIG_E1_DIR_PIN
  422. #define Y2_ENABLE_PIN ORIG_E1_ENABLE_PIN
  423. #define FEATURE_TWO_ZSTEPPER 0
  424. #define Z2_STEP_PIN   ORIG_E1_STEP_PIN
  425. #define Z2_DIR_PIN    ORIG_E1_DIR_PIN
  426. #define Z2_ENABLE_PIN ORIG_E1_ENABLE_PIN
  427. #define FEATURE_THREE_ZSTEPPER 0
  428. #define Z3_STEP_PIN   ORIG_E2_STEP_PIN
  429. #define Z3_DIR_PIN    ORIG_E2_DIR_PIN
  430. #define Z3_ENABLE_PIN ORIG_E2_ENABLE_PIN
  431. #define FEATURE_FOUR_ZSTEPPER 0
  432. #define Z4_STEP_PIN   ORIG_E3_STEP_PIN
  433. #define Z4_DIR_PIN    ORIG_E3_DIR_PIN
  434. #define Z4_ENABLE_PIN ORIG_E3_ENABLE_PIN
  435. #define FEATURE_DITTO_PRINTING 0
  436. #define USE_ADVANCE 0
  437. #define ENABLE_QUADRATIC_ADVANCE 0
  438.  
  439.  
  440. // ################# Misc. settings ##################
  441.  
  442. #define BAUDRATE 115200
  443. #define ENABLE_POWER_ON_STARTUP 0
  444. #define POWER_INVERTING 0
  445. #define AUTOMATIC_POWERUP 0
  446. #define KILL_METHOD 1
  447. #define ACK_WITH_LINENUMBER 0
  448. #define KEEP_ALIVE_INTERVAL 2000
  449. #define WAITING_IDENTIFIER "wait"
  450. #define ECHO_ON_EXECUTE 0
  451. #define EEPROM_MODE 1
  452. #undef PS_ON_PIN
  453. #define PS_ON_PIN ORIG_PS_ON_PIN
  454. #define JSON_OUTPUT 0
  455.  
  456. /* ======== Servos =======
  457. Control the servos with
  458. M340 P<servoId> S<pulseInUS>   / ServoID = 0..3  pulseInUs = 500..2500
  459. Servos are controlled by a pulse width normally between 500 and 2500 with 1500ms in center position. 0 turns servo off.
  460. WARNING: Servos can draw a considerable amount of current. Make sure your system can handle this or you may risk your hardware!
  461. */
  462. #define FEATURE_SERVO 0
  463. #define SERVO0_PIN 11
  464. #define SERVO1_PIN -1
  465. #define SERVO2_PIN -1
  466. #define SERVO3_PIN -1
  467. #define SERVO0_NEUTRAL_POS  -1
  468. #define SERVO1_NEUTRAL_POS  -1
  469. #define SERVO2_NEUTRAL_POS  -1
  470. #define SERVO3_NEUTRAL_POS  -1
  471. #define UI_SERVO_CONTROL 0
  472. #define FAN_KICKSTART_TIME  200
  473. #define MAX_FAN_PWM 255
  474.  
  475.         #define FEATURE_WATCHDOG 1
  476.  
  477. // #################### Z-Probing #####################
  478.  
  479. #define Z_PROBE_Z_OFFSET 0
  480. #define Z_PROBE_Z_OFFSET_MODE 0
  481. #define UI_BED_COATING 0
  482. #define FEATURE_Z_PROBE 1
  483. #define EXTRUDER_IS_Z_PROBE 0
  484. #define Z_PROBE_DISABLE_HEATERS 0
  485. #define Z_PROBE_BED_DISTANCE 10
  486. #define Z_PROBE_PIN ORIG_Z_MIN_PIN
  487. #define Z_PROBE_PULLUP 0
  488. #define Z_PROBE_ON_HIGH 0
  489. #define Z_PROBE_X_OFFSET 0
  490. #define Z_PROBE_Y_OFFSET 0
  491. #define Z_PROBE_WAIT_BEFORE_TEST 0
  492. #define Z_PROBE_SPEED 2
  493. #define Z_PROBE_XY_SPEED 150
  494. #define Z_PROBE_SWITCHING_DISTANCE 1
  495. #define Z_PROBE_REPETITIONS 1
  496. #define Z_PROBE_HEIGHT 0
  497. #define Z_PROBE_DELAY 0
  498. #define Z_PROBE_START_SCRIPT ""
  499. #define Z_PROBE_FINISHED_SCRIPT ""
  500. #define Z_PROBE_RUN_AFTER_EVERY_PROBE ""
  501. #define Z_PROBE_REQUIRES_HEATING 0
  502. #define Z_PROBE_MIN_TEMPERATURE 150
  503. #define FEATURE_AUTOLEVEL 1
  504. #define FEATURE_SOFTWARE_LEVELING 0
  505. #define Z_PROBE_X1 20
  506. #define Z_PROBE_Y1 20
  507. #define Z_PROBE_X2 160
  508. #define Z_PROBE_Y2 20
  509. #define Z_PROBE_X3 100
  510. #define Z_PROBE_Y3 160
  511. #define BED_LEVELING_METHOD 0
  512. #define BED_CORRECTION_METHOD 0
  513. #define BED_LEVELING_GRID_SIZE 5
  514. #define BED_LEVELING_REPETITIONS 5
  515. #define BED_MOTOR_1_X 0
  516. #define BED_MOTOR_1_Y 0
  517. #define BED_MOTOR_2_X 200
  518. #define BED_MOTOR_2_Y 0
  519. #define BED_MOTOR_3_X 100
  520. #define BED_MOTOR_3_Y 200
  521. #define BENDING_CORRECTION_A 0
  522. #define BENDING_CORRECTION_B 0
  523. #define BENDING_CORRECTION_C 0
  524. #define FEATURE_AXISCOMP 0
  525. #define AXISCOMP_TANXY 0
  526. #define AXISCOMP_TANYZ 0
  527. #define AXISCOMP_TANXZ 0
  528.  
  529. #ifndef SDSUPPORT  // Some boards have sd support on board. These define the values already in pins.h
  530. #define SDSUPPORT 1
  531. #undef SDCARDDETECT
  532. #define SDCARDDETECT -1
  533. #define SDCARDDETECTINVERTED 0
  534. #endif
  535. #define SD_EXTENDED_DIR 0 /** Show extended directory including file length. Don't use this with Pronterface! */
  536. #define SD_RUN_ON_STOP ""
  537. #define SD_STOP_HEATER_AND_MOTORS_ON_STOP 1
  538. #define ARC_SUPPORT 0
  539. #define FEATURE_MEMORY_POSITION 0
  540. #define FEATURE_CHECKSUM_FORCED 0
  541. #define FEATURE_FAN_CONTROL 0
  542. #define FEATURE_FAN2_CONTROL 0
  543. #define FEATURE_CONTROLLER 24
  544. #define ADC_KEYPAD_PIN 1
  545. #define LANGUAGE_EN_ACTIVE 1
  546. #define LANGUAGE_DE_ACTIVE 0
  547. #define LANGUAGE_NL_ACTIVE 0
  548. #define LANGUAGE_PT_ACTIVE 0
  549. #define LANGUAGE_IT_ACTIVE 0
  550. #define LANGUAGE_ES_ACTIVE 0
  551. #define LANGUAGE_FI_ACTIVE 0
  552. #define LANGUAGE_SE_ACTIVE 0
  553. #define LANGUAGE_FR_ACTIVE 0
  554. #define LANGUAGE_CZ_ACTIVE 0
  555. #define LANGUAGE_PL_ACTIVE 0
  556. #define LANGUAGE_TR_ACTIVE 0
  557. #define UI_PRINTER_NAME "h"
  558. #define UI_PRINTER_COMPANY "h"
  559. #define UI_PAGES_DURATION 4000
  560. #define UI_SPEEDDEPENDENT_POSITIONING 0
  561. #define UI_DISABLE_AUTO_PAGESWITCH 1
  562. #define UI_AUTORETURN_TO_MENU_AFTER 30000
  563. #define FEATURE_UI_KEYS 0
  564. #define UI_ENCODER_SPEED 1
  565. #define UI_REVERSE_ENCODER 0
  566. #define UI_KEY_BOUNCETIME 20
  567. #define UI_KEY_FIRST_REPEAT 500
  568. #define UI_KEY_REDUCE_REPEAT 50
  569. #define UI_KEY_MIN_REPEAT 50
  570. #define FEATURE_BEEPER 0
  571. #define CASE_LIGHTS_PIN -1
  572. #define CASE_LIGHT_DEFAULT_ON 1
  573. #define UI_START_SCREEN_DELAY 3000
  574. #define UI_DYNAMIC_ENCODER_SPEED 0
  575.         /**
  576. Beeper sound definitions for short beeps during key actions
  577. and longer beeps for important actions.
  578. Parameter is delay in microseconds and the secons is the number of repetitions.
  579. Values must be in range 1..255
  580. */
  581. #define BEEPER_SHORT_SEQUENCE 2,2
  582. #define BEEPER_LONG_SEQUENCE 8,8
  583. #define UI_SET_MIN_HEATED_BED_TEMP  30
  584. #define UI_SET_MAX_HEATED_BED_TEMP 120
  585. #define UI_SET_MIN_EXTRUDER_TEMP   170
  586. #define UI_SET_MAX_EXTRUDER_TEMP   260
  587. #define UI_SET_EXTRUDER_FEEDRATE 2
  588. #define UI_SET_EXTRUDER_RETRACT_DISTANCE 3
  589.  
  590.  
  591. #define NUM_MOTOR_DRIVERS 0
  592.  
  593. //----------------------------------------------------------------------------------
  594. // Sample configuration for Zonestar P802M 3D printer and similar models.
  595. // http://forum.repetier.com/discussion/1105/melzi-v2-0-with-lcd2004-and-5-keys
  596. //----------------------------------------------------------------------------------
  597. // A bit optimized settings for Zonestar 3D printer with Melzi board. Most important
  598. // settings are steps/mm, Z direction inversion, homing order, digital pin 12 for
  599. // bed heater (instead of default 10 set in Melzi configuration), Zonestar display
  600. // controller with analog pin 1 for keypad. This firmware is a bit faster than
  601. // Repetier firmware defaults.
  602. //
  603. // Do not forget to update X/Y/Z min positions for your printer (it homes with
  604. // negative values for X/Y) and then set X/Y/Z max travel so the printer does not
  605. // kick max ends (all set from General tab of web configurator or later via EEPROM
  606. // editor).
  607. //
  608. // Make sure you use this firmware settings and not previously stored ones. M502
  609. // (restore firmware defaults) and M500 (save to EEPROM) commands may help.
  610. //
  611. // By default the Enter/OK (center) key is mapped to the same action
  612. // as the Right one (ACTION_OK). It can be redefined here if desired:
  613. //#define ADC_KEYPAD_CENTER_ACTION UI_ACTION_TOP_MENU
  614. //----------------------------------------------------------------------------------
  615.  
  616. #endif
  617.  
  618. /* Below you will find the configuration string, that created this Configuration.h
  619.  
  620. ========== Start configuration string ==========
  621. {
  622.     "editMode": 2,
  623.     "processor": 0,
  624.     "baudrate": 115200,
  625.     "bluetoothSerial": -1,
  626.     "bluetoothBaudrate": 115200,
  627.     "xStepsPerMM": 100,
  628.     "yStepsPerMM": 100,
  629.     "zStepsPerMM": 1600,
  630.     "xInvert": 0,
  631.     "x2Invert": 0,
  632.     "xInvertEnable": 0,
  633.     "eepromMode": 1,
  634.     "yInvert": "1",
  635.     "y2Invert": 0,
  636.     "yInvertEnable": 0,
  637.     "zInvert": "1",
  638.     "z2Invert": 0,
  639.     "z3Invert": 0,
  640.     "z4Invert": 0,
  641.     "zInvertEnable": 0,
  642.     "extruder": [
  643.         {
  644.             "id": 0,
  645.             "heatManager": 3,
  646.             "pidDriveMin": 40,
  647.             "pidDriveMax": 230,
  648.             "pidMax": 255,
  649.             "sensorType": 1,
  650.             "sensorPin": "TEMP_0_PIN",
  651.             "heaterPin": "HEATER_0_PIN",
  652.             "maxFeedrate": 50,
  653.             "startFeedrate": 20,
  654.             "invert": "0",
  655.             "invertEnable": "0",
  656.             "acceleration": 5000,
  657.             "watchPeriod": 1,
  658.             "pidP": 7,
  659.             "pidI": 2,
  660.             "pidD": 40,
  661.             "advanceK": 0,
  662.             "advanceL": 0,
  663.             "waitRetractTemp": 150,
  664.             "waitRetractUnits": 0,
  665.             "waitRetract": 0,
  666.             "stepsPerMM": 85,
  667.             "coolerPin": -1,
  668.             "coolerSpeed": 255,
  669.             "selectCommands": "",
  670.             "deselectCommands": "",
  671.             "xOffset": 0,
  672.             "yOffset": 0,
  673.             "zOffset": 0,
  674.             "xOffsetSteps": 0,
  675.             "yOffsetSteps": 0,
  676.             "zOffsetSteps": 0,
  677.             "stepper": {
  678.                 "name": "Extruder 0",
  679.                 "step": "ORIG_E0_STEP_PIN",
  680.                 "dir": "ORIG_E0_DIR_PIN",
  681.                 "enable": "ORIG_E0_ENABLE_PIN"
  682.             },
  683.             "advanceBacklashSteps": 0,
  684.             "decoupleTestPeriod": 20,
  685.             "jamPin": -1,
  686.             "jamPullup": "0",
  687.             "mirror": "0",
  688.             "invert2": "0",
  689.             "stepper2": {
  690.                 "name": "Extruder 0",
  691.                 "step": "ORIG_E0_STEP_PIN",
  692.                 "dir": "ORIG_E0_DIR_PIN",
  693.                 "enable": "ORIG_E0_ENABLE_PIN"
  694.             },
  695.             "preheat": 190
  696.         }
  697.     ],
  698.     "uiLanguage": 0,
  699.     "uiController": 0,
  700.     "xMinEndstop": 1,
  701.     "yMinEndstop": 1,
  702.     "zMinEndstop": 1,
  703.     "xMaxEndstop": 0,
  704.     "yMaxEndstop": 0,
  705.     "zMaxEndstop": 0,
  706.     "x2MinEndstop": 0,
  707.     "y2MinEndstop": 0,
  708.     "x2MaxEndstop": 0,
  709.     "y2MaxEndstop": 0,
  710.     "motherboard": 63,
  711.     "driveSystem": 0,
  712.     "xMaxSpeed": 400,
  713.     "xHomingSpeed": 100,
  714.     "xTravelAcceleration": 2000,
  715.     "xPrintAcceleration": 1000,
  716.     "yMaxSpeed": 400,
  717.     "yHomingSpeed": 100,
  718.     "yTravelAcceleration": 2000,
  719.     "yPrintAcceleration": 1000,
  720.     "zMaxSpeed": 5,
  721.     "zHomingSpeed": 4,
  722.     "zTravelAcceleration": 100,
  723.     "zPrintAcceleration": 100,
  724.     "xMotor": {
  725.         "name": "X motor",
  726.         "step": "ORIG_X_STEP_PIN",
  727.         "dir": "ORIG_X_DIR_PIN",
  728.         "enable": "ORIG_X_ENABLE_PIN"
  729.     },
  730.     "yMotor": {
  731.         "name": "Y motor",
  732.         "step": "ORIG_Y_STEP_PIN",
  733.         "dir": "ORIG_Y_DIR_PIN",
  734.         "enable": "ORIG_Y_ENABLE_PIN"
  735.     },
  736.     "zMotor": {
  737.         "name": "Z motor",
  738.         "step": "ORIG_Z_STEP_PIN",
  739.         "dir": "ORIG_Z_DIR_PIN",
  740.         "enable": "ORIG_Z_ENABLE_PIN"
  741.     },
  742.     "enableBacklash": "0",
  743.     "backlashX": 0,
  744.     "backlashY": 0,
  745.     "backlashZ": 0,
  746.     "stepperInactiveTime": 360,
  747.     "maxInactiveTime": 0,
  748.     "xMinPos": -60,
  749.     "yMinPos": -5,
  750.     "zMinPos": 0,
  751.     "xLength": 200,
  752.     "yLength": 200,
  753.     "zLength": 230,
  754.     "alwaysCheckEndstops": "1",
  755.     "disableX": "0",
  756.     "disableY": "0",
  757.     "disableZ": "0",
  758.     "disableE": "0",
  759.     "xHomeDir": "-1",
  760.     "yHomeDir": "-1",
  761.     "zHomeDir": "-1",
  762.     "xEndstopBack": 1,
  763.     "yEndstopBack": 1,
  764.     "zEndstopBack": 0,
  765.     "deltaSegmentsPerSecondPrint": 180,
  766.     "deltaSegmentsPerSecondTravel": 70,
  767.     "deltaDiagonalRod": 445,
  768.     "deltaHorizontalRadius": 209.25,
  769.     "deltaAlphaA": 210,
  770.     "deltaAlphaB": 330,
  771.     "deltaAlphaC": 90,
  772.     "deltaDiagonalCorrA": 0,
  773.     "deltaDiagonalCorrB": 0,
  774.     "deltaDiagonalCorrC": 0,
  775.     "deltaMaxRadius": 150,
  776.     "deltaFloorSafetyMarginMM": 15,
  777.     "deltaRadiusCorrA": 0,
  778.     "deltaRadiusCorrB": 0,
  779.     "deltaRadiusCorrC": 0,
  780.     "deltaXOffsetSteps": 0,
  781.     "deltaYOffsetSteps": 0,
  782.     "deltaZOffsetSteps": 0,
  783.     "deltaSegmentsPerLine": 24,
  784.     "stepperHighDelay": 0,
  785.     "directionDelay": 0,
  786.     "stepDoublerFrequency": 12000,
  787.     "allowQuadstepping": "1",
  788.     "doubleStepDelay": 0,
  789.     "maxJerk": 15,
  790.     "maxZJerk": 0.3,
  791.     "moveCacheSize": 16,
  792.     "moveCacheLow": 10,
  793.     "lowTicksPerMove": 250000,
  794.     "enablePowerOnStartup": "0",
  795.     "echoOnExecute": "0",
  796.     "sendWaits": "1",
  797.     "ackWithLineNumber": "0",
  798.     "killMethod": 1,
  799.     "useAdvance": "0",
  800.     "useQuadraticAdvance": "0",
  801.     "powerInverting": 0,
  802.     "mirrorX": 0,
  803.     "mirrorXMotor": {
  804.         "name": "Extruder 1",
  805.         "step": "ORIG_E1_STEP_PIN",
  806.         "dir": "ORIG_E1_DIR_PIN",
  807.         "enable": "ORIG_E1_ENABLE_PIN"
  808.     },
  809.     "mirrorY": 0,
  810.     "mirrorYMotor": {
  811.         "name": "Extruder 1",
  812.         "step": "ORIG_E1_STEP_PIN",
  813.         "dir": "ORIG_E1_DIR_PIN",
  814.         "enable": "ORIG_E1_ENABLE_PIN"
  815.     },
  816.     "mirrorZ": "0",
  817.     "mirrorZMotor": {
  818.         "name": "Extruder 1",
  819.         "step": "ORIG_E1_STEP_PIN",
  820.         "dir": "ORIG_E1_DIR_PIN",
  821.         "enable": "ORIG_E1_ENABLE_PIN"
  822.     },
  823.     "mirrorZ3": "0",
  824.     "mirrorZ3Motor": {
  825.         "name": "Extruder 2",
  826.         "step": "ORIG_E2_STEP_PIN",
  827.         "dir": "ORIG_E2_DIR_PIN",
  828.         "enable": "ORIG_E2_ENABLE_PIN"
  829.     },
  830.     "mirrorZ4": "0",
  831.     "mirrorZ4Motor": {
  832.         "name": "Extruder 3",
  833.         "step": "ORIG_E3_STEP_PIN",
  834.         "dir": "ORIG_E3_DIR_PIN",
  835.         "enable": "ORIG_E3_ENABLE_PIN"
  836.     },
  837.     "dittoPrinting": "0",
  838.     "featureServos": "0",
  839.     "servo0Pin": 11,
  840.     "servo1Pin": -1,
  841.     "servo2Pin": -1,
  842.     "servo3Pin": -1,
  843.     "featureWatchdog": "1",
  844.     "hasHeatedBed": "1",
  845.     "enableZProbing": "1",
  846.     "extrudeMaxLength": 160,
  847.     "homeOrder": "HOME_ORDER_XYZ",
  848.     "featureController": 24,
  849.     "uiPrinterName": "h",
  850.     "uiPrinterCompany": "h",
  851.     "uiPagesDuration": 4000,
  852.     "uiHeadline": "",
  853.     "uiDisablePageswitch": "1",
  854.     "uiAutoReturnAfter": 30000,
  855.     "featureKeys": "0",
  856.     "uiEncoderSpeed": 1,
  857.     "uiReverseEncoder": "0",
  858.     "uiKeyBouncetime": 20,
  859.     "uiKeyFirstRepeat": 500,
  860.     "uiKeyReduceRepeat": 50,
  861.     "uiKeyMinRepeat": 50,
  862.     "featureBeeper": "0",
  863.     "uiMinHeatedBed": 30,
  864.     "uiMaxHeatedBed": 120,
  865.     "uiMinEtxruderTemp": 170,
  866.     "uiMaxExtruderTemp": 260,
  867.     "uiExtruderFeedrate": 2,
  868.     "uiExtruderRetractDistance": 3,
  869.     "uiSpeeddependentPositioning": "0",
  870.     "maxBedTemperature": 120,
  871.     "bedSensorType": 1,
  872.     "bedSensorPin": "TEMP_1_PIN",
  873.     "bedHeaterPin": 12,
  874.     "bedHeatManager": 0,
  875.     "bedPreheat": 55,
  876.     "bedUpdateInterval": 5000,
  877.     "bedPidDriveMin": 80,
  878.     "bedPidDriveMax": 255,
  879.     "bedPidP": 196,
  880.     "bedPidI": 33,
  881.     "bedPidD": 290,
  882.     "bedPidMax": 255,
  883.     "bedDecoupleTestPeriod": 300,
  884.     "caseLightPin": -1,
  885.     "caseLightDefaultOn": "1",
  886.     "bedSkipIfWithin": 3,
  887.     "gen1T0": 25,
  888.     "gen1R0": 100000,
  889.     "gen1Beta": 4036,
  890.     "gen1MinTemp": -20,
  891.     "gen1MaxTemp": 300,
  892.     "gen1R1": 0,
  893.     "gen1R2": 4700,
  894.     "gen2T0": 25,
  895.     "gen2R0": 100000,
  896.     "gen2Beta": 4036,
  897.     "gen2MinTemp": -20,
  898.     "gen2MaxTemp": 300,
  899.     "gen2R1": 0,
  900.     "gen2R2": 4700,
  901.     "gen3T0": 25,
  902.     "gen3R0": 100000,
  903.     "gen3Beta": 4036,
  904.     "gen3MinTemp": -20,
  905.     "gen3MaxTemp": 300,
  906.     "gen3R1": 0,
  907.     "gen3R2": 4700,
  908.     "userTable0": {
  909.         "r1": 0,
  910.         "r2": 4700,
  911.         "temps": [],
  912.         "numEntries": 0
  913.     },
  914.     "userTable1": {
  915.         "r1": 0,
  916.         "r2": 4700,
  917.         "temps": [],
  918.         "numEntries": 0
  919.     },
  920.     "userTable2": {
  921.         "r1": 0,
  922.         "r2": 4700,
  923.         "temps": [],
  924.         "numEntries": 0
  925.     },
  926.     "tempHysteresis": 0,
  927.     "pidControlRange": 20,
  928.     "skipM109Within": 2,
  929.     "extruderFanCoolTemp": 50,
  930.     "minTemp": 150,
  931.     "maxTemp": 275,
  932.     "minDefectTemp": -10,
  933.     "maxDefectTemp": 290,
  934.     "arcSupport": "0",
  935.     "featureMemoryPositionWatchdog": "0",
  936.     "forceChecksum": "0",
  937.     "sdExtendedDir": "0",
  938.     "featureFanControl": "0",
  939.     "fanPin": "ORIG_FAN_PIN",
  940.     "featureFan2Control": "0",
  941.     "fan2Pin": "ORIG_FAN2_PIN",
  942.     "fanThermoPin": -1,
  943.     "fanThermoMinPWM": 128,
  944.     "fanThermoMaxPWM": 255,
  945.     "fanThermoMinTemp": 45,
  946.     "fanThermoMaxTemp": 60,
  947.     "fanThermoThermistorPin": -1,
  948.     "fanThermoThermistorType": 1,
  949.     "scalePidToMax": "1",
  950.     "zProbePin": "ORIG_Z_MIN_PIN",
  951.     "zProbeBedDistance": 10,
  952.     "zProbeDisableHeaters": "0",
  953.     "zProbePullup": "0",
  954.     "zProbeOnHigh": "0",
  955.     "zProbeXOffset": 0,
  956.     "zProbeYOffset": 0,
  957.     "zProbeWaitBeforeTest": "0",
  958.     "zProbeSpeed": 2,
  959.     "zProbeXYSpeed": 150,
  960.     "zProbeHeight": 0,
  961.     "zProbeStartScript": "",
  962.     "zProbeFinishedScript": "",
  963.     "featureAutolevel": "1",
  964.     "zProbeX1": 20,
  965.     "zProbeY1": 20,
  966.     "zProbeX2": 160,
  967.     "zProbeY2": 20,
  968.     "zProbeX3": 100,
  969.     "zProbeY3": 160,
  970.     "zProbeSwitchingDistance": 1,
  971.     "zProbeRepetitions": 1,
  972.     "zProbeEveryPoint": "",
  973.     "sdSupport": "1",
  974.     "sdCardDetectPin": -1,
  975.     "sdCardDetectInverted": "0",
  976.     "uiStartScreenDelay": 3000,
  977.     "xEndstopBackMove": 5,
  978.     "yEndstopBackMove": 15,
  979.     "zEndstopBackMove": 2,
  980.     "xEndstopRetestFactor": 3,
  981.     "yEndstopRetestFactor": 3,
  982.     "zEndstopRetestFactor": 3,
  983.     "xMinPin": "ORIG_X_MIN_PIN",
  984.     "yMinPin": "ORIG_Y_MIN_PIN",
  985.     "zMinPin": "ORIG_Z_MIN_PIN",
  986.     "xMaxPin": "ORIG_X_MAX_PIN",
  987.     "yMaxPin": "ORIG_Y_MAX_PIN",
  988.     "zMaxPin": "ORIG_Z_MAX_PIN",
  989.     "x2MinPin": -1,
  990.     "y2MinPin": -1,
  991.     "x2MaxPin": -1,
  992.     "y2MaxPin": -1,
  993.     "deltaHomeOnPower": "0",
  994.     "fanBoardPin": -1,
  995.     "heaterPWMSpeed": 0,
  996.     "featureBabystepping": "1",
  997.     "babystepMultiplicator": 1,
  998.     "pdmForHeater": "0",
  999.     "pdmForCooler": "0",
  1000.     "psOn": "ORIG_PS_ON_PIN",
  1001.     "mixingExtruder": "0",
  1002.     "decouplingTestMaxHoldVariance": 20,
  1003.     "decouplingTestMinTempRise": 1,
  1004.     "featureAxisComp": "0",
  1005.     "axisCompTanXY": 0,
  1006.     "axisCompTanXZ": 0,
  1007.     "axisCompTanYZ": 0,
  1008.     "retractOnPause": 2,
  1009.     "pauseStartCommands": "",
  1010.     "pauseEndCommands": "",
  1011.     "distortionCorrection": "0",
  1012.     "distortionCorrectionPoints": 5,
  1013.     "distortionCorrectionR": 100,
  1014.     "distortionPermanent": "1",
  1015.     "distortionUpdateFrequency": 15,
  1016.     "distortionStartDegrade": 0.5,
  1017.     "distortionEndDegrade": 1,
  1018.     "distortionExtrapolateCorners": "0",
  1019.     "distortionXMin": 10,
  1020.     "distortionXMax": 190,
  1021.     "distortionYMin": 10,
  1022.     "distortionYMax": 190,
  1023.     "sdRunOnStop": "",
  1024.     "sdStopHeaterMotorsOnStop": "1",
  1025.     "featureRetraction": "0",
  1026.     "autoretractEnabled": "0",
  1027.     "retractionLength": 3,
  1028.     "retractionLongLength": 13,
  1029.     "retractionSpeed": 40,
  1030.     "retractionZLift": 0,
  1031.     "retractionUndoExtraLength": 0,
  1032.     "retractionUndoExtraLongLength": 0,
  1033.     "retractionUndoSpeed": 20,
  1034.     "filamentChangeXPos": 0,
  1035.     "filamentChangeYPos": 0,
  1036.     "filamentChangeZAdd": 2,
  1037.     "filamentChangeRehome": 1,
  1038.     "filamentChangeShortRetract": 5,
  1039.     "filamentChangeLongRetract": 50,
  1040.     "fanKickstart": 200,
  1041.     "servo0StartPos": -1,
  1042.     "servo1StartPos": -1,
  1043.     "servo2StartPos": -1,
  1044.     "servo3StartPos": -1,
  1045.     "uiDynamicEncoderSpeed": "0",
  1046.     "uiServoControl": 0,
  1047.     "killIfSensorDefect": "0",
  1048.     "jamSteps": 220,
  1049.     "jamSlowdownSteps": 320,
  1050.     "jamSlowdownTo": 70,
  1051.     "jamErrorSteps": 500,
  1052.     "jamMinSteps": 10,
  1053.     "jamAction": 1,
  1054.     "jamMethod": 1,
  1055.     "primaryPort": 0,
  1056.     "numMotorDrivers": 0,
  1057.     "motorDrivers": [
  1058.         {
  1059.             "t": "None",
  1060.             "s": "",
  1061.             "invertEnable": "0",
  1062.             "invertDirection": "0",
  1063.             "stepsPerMM": 100,
  1064.             "speed": 10,
  1065.             "dirPin": -1,
  1066.             "stepPin": -1,
  1067.             "enablePin": -1,
  1068.             "endstopPin": -1,
  1069.             "invertEndstop": "0",
  1070.             "minEndstop": "1",
  1071.             "endstopPullup": "1",
  1072.             "maxDistance": 20
  1073.         },
  1074.         {
  1075.             "t": "None",
  1076.             "s": "",
  1077.             "invertEnable": "0",
  1078.             "invertDirection": "0",
  1079.             "stepsPerMM": 100,
  1080.             "speed": 10,
  1081.             "dirPin": -1,
  1082.             "stepPin": -1,
  1083.             "enablePin": -1,
  1084.             "endstopPin": -1,
  1085.             "invertEndstop": "0",
  1086.             "minEndstop": "1",
  1087.             "endstopPullup": "1",
  1088.             "maxDistance": 20
  1089.         },
  1090.         {
  1091.             "t": "None",
  1092.             "s": "",
  1093.             "invertEnable": "0",
  1094.             "invertDirection": "0",
  1095.             "stepsPerMM": 100,
  1096.             "speed": 10,
  1097.             "dirPin": -1,
  1098.             "stepPin": -1,
  1099.             "enablePin": -1,
  1100.             "endstopPin": -1,
  1101.             "invertEndstop": "0",
  1102.             "minEndstop": "1",
  1103.             "endstopPullup": "1",
  1104.             "maxDistance": 20
  1105.         },
  1106.         {
  1107.             "t": "None",
  1108.             "s": "",
  1109.             "invertEnable": "0",
  1110.             "invertDirection": "0",
  1111.             "stepsPerMM": 100,
  1112.             "speed": 10,
  1113.             "dirPin": -1,
  1114.             "stepPin": -1,
  1115.             "enablePin": -1,
  1116.             "endstopPin": -1,
  1117.             "invertEndstop": "0",
  1118.             "minEndstop": "1",
  1119.             "endstopPullup": "1",
  1120.             "maxDistance": 20
  1121.         },
  1122.         {
  1123.             "t": "None",
  1124.             "s": "",
  1125.             "invertEnable": "0",
  1126.             "invertDirection": "0",
  1127.             "stepsPerMM": 100,
  1128.             "speed": 10,
  1129.             "dirPin": -1,
  1130.             "stepPin": -1,
  1131.             "enablePin": -1,
  1132.             "endstopPin": -1,
  1133.             "invertEndstop": "0",
  1134.             "minEndstop": "1",
  1135.             "endstopPullup": "1",
  1136.             "maxDistance": 20
  1137.         },
  1138.         {
  1139.             "t": "None",
  1140.             "s": "",
  1141.             "invertEnable": "0",
  1142.             "invertDirection": "0",
  1143.             "stepsPerMM": 100,
  1144.             "speed": 10,
  1145.             "dirPin": -1,
  1146.             "stepPin": -1,
  1147.             "enablePin": -1,
  1148.             "endstopPin": -1,
  1149.             "invertEndstop": "0",
  1150.             "minEndstop": "1",
  1151.             "endstopPullup": "1",
  1152.             "maxDistance": 20
  1153.         }
  1154.     ],
  1155.     "manualConfig": "\/\/----------------------------------------------------------------------------------\n\/\/ Sample configuration for Zonestar P802M 3D printer and similar models.\n\/\/ http:\/\/forum.repetier.com\/discussion\/1105\/melzi-v2-0-with-lcd2004-and-5-keys\n\/\/----------------------------------------------------------------------------------\n\/\/ A bit optimized settings for Zonestar 3D printer with Melzi board. Most important\n\/\/ settings are steps\/mm, Z direction inversion, homing order, digital pin 12 for\n\/\/ bed heater (instead of default 10 set in Melzi configuration), Zonestar display\n\/\/ controller with analog pin 1 for keypad. This firmware is a bit faster than\n\/\/ Repetier firmware defaults.\n\/\/\n\/\/ Do not forget to update X\/Y\/Z min positions for your printer (it homes with\n\/\/ negative values for X\/Y) and then set X\/Y\/Z max travel so the printer does not\n\/\/ kick max ends (all set from General tab of web configurator or later via EEPROM\n\/\/ editor).\n\/\/\n\/\/ Make sure you use this firmware settings and not previously stored ones. M502\n\/\/ (restore firmware defaults) and M500 (save to EEPROM) commands may help.\n\/\/\n\/\/ By default the Enter\/OK (center) key is mapped to the same action\n\/\/ as the Right one (ACTION_OK). It can be redefined here if desired:\n\/\/#define ADC_KEYPAD_CENTER_ACTION UI_ACTION_TOP_MENU\n\/\/----------------------------------------------------------------------------------",
  1156.     "zHomeMinTemperature": 0,
  1157.     "zHomeXPos": 100,
  1158.     "zHomeYPos": 100,
  1159.     "zHomeHeatHeight": 20,
  1160.     "zHomeHeatAll": "1",
  1161.     "zProbeZOffsetMode": 0,
  1162.     "zProbeZOffset": 0,
  1163.     "zProbeDelay": 0,
  1164.     "uiBedCoating": "0",
  1165.     "langEN": "1",
  1166.     "langDE": "0",
  1167.     "langNL": "0",
  1168.     "langPT": "0",
  1169.     "langIT": "0",
  1170.     "langES": "0",
  1171.     "langFI": "0",
  1172.     "langSE": "0",
  1173.     "langFR": "0",
  1174.     "langCZ": "0",
  1175.     "langPL": "0",
  1176.     "langTR": "0",
  1177.     "interpolateAccelerationWithZ": 1,
  1178.     "accelerationFactorTop": 50,
  1179.     "bendingCorrectionA": 0,
  1180.     "bendingCorrectionB": 0,
  1181.     "bendingCorrectionC": 0,
  1182.     "preventZDisableOnStepperTimeout": "0",
  1183.     "supportLaser": "0",
  1184.     "laserPin": -1,
  1185.     "laserOnHigh": "1",
  1186.     "laserWarmupTime": 0,
  1187.     "defaultPrinterMode": 0,
  1188.     "laserPwmMax": 255,
  1189.     "laserWatt": 2,
  1190.     "supportCNC": "0",
  1191.     "cncWaitOnEnable": 300,
  1192.     "cncWaitOnDisable": 0,
  1193.     "cncEnablePin": -1,
  1194.     "cncEnableWith": "1",
  1195.     "cncDirectionPin": -1,
  1196.     "cncDirectionCW": "1",
  1197.     "cncPwmMax": 255,
  1198.     "cncRpmMax": 8000,
  1199.     "cncSafeZ": 150,
  1200.     "startupGCode": "",
  1201.     "jsonOutput": "0",
  1202.     "bedLevelingMethod": 0,
  1203.     "bedCorrectionMethod": 0,
  1204.     "bedLevelingGridSize": 5,
  1205.     "bedLevelingRepetitions": 5,
  1206.     "bedMotor1X": 0,
  1207.     "bedMotor1Y": 0,
  1208.     "bedMotor2X": 200,
  1209.     "bedMotor2Y": 0,
  1210.     "bedMotor3X": 100,
  1211.     "bedMotor3Y": 200,
  1212.     "zProbeRequiresHeating": "0",
  1213.     "zProbeMinTemperature": 150,
  1214.     "adcKeypadPin": "1",
  1215.     "sharedExtruderHeater": "0",
  1216.     "extruderSwitchXYSpeed": 100,
  1217.     "dualXAxis": "0",
  1218.     "boardFanSpeed": 255,
  1219.     "keepAliveInterval": 2000,
  1220.     "moveXWhenHomed": "0",
  1221.     "moveYWhenHomed": "0",
  1222.     "moveZWhenHomed": "0",
  1223.     "preheatTime": 30000,
  1224.     "multiZEndstopHoming": "0",
  1225.     "z2MinMaxPin": -1,
  1226.     "z2MinMaxEndstop": 0,
  1227.     "extruderIsZProbe": "0",
  1228.     "boardFanMinSpeed": 0,
  1229.     "doorPin": -1,
  1230.     "doorEndstop": 0,
  1231.     "zhomePreRaise": 2,
  1232.     "zhomePreRaiseDistance": 10,
  1233.     "dualXResolution": "0",
  1234.     "x2axisStepsPerMM": 100,
  1235.     "coolerPWMSpeed": 0,
  1236.     "maxFanPWM": 255,
  1237.     "raiseZOnToolchange": 0,
  1238.     "distortionLimitTo": 2,
  1239.     "automaticPowerup": 0,
  1240.     "hasTMC2130": "0",
  1241.     "TMC2130Sensorless": "0",
  1242.     "TMC2130Steathchop": "1",
  1243.     "TMC2130Interpolate256": "1",
  1244.     "TMC2130StallguardSensitivity": 0,
  1245.     "TMC2130PWMAmpl": 255,
  1246.     "TMC2130PWMGrad": 1,
  1247.     "TMC2130PWMAutoscale": "1",
  1248.     "TMC2130PWMFreq": 2,
  1249.     "TMC2130CSX": -1,
  1250.     "TMC2130CSY": -1,
  1251.     "TMC2130CSZ": -1,
  1252.     "TMC2130CSE0": -1,
  1253.     "TMC2130CSE1": -1,
  1254.     "TMC2130CSE2": -1,
  1255.     "TMC2130CurrentX": 1000,
  1256.     "TMC2130CurrentY": 1000,
  1257.     "TMC2130CurrentZ": 1000,
  1258.     "TMC2130CurrentE0": 1000,
  1259.     "TMC2130CurrentE1": 1000,
  1260.     "TMC2130CurrentE2": 1000,
  1261.     "TMC2130CoolstepTresholdX": 300,
  1262.     "TMC2130CoolstepTresholdY": 300,
  1263.     "TMC2130CoolstepTresholdZ": 300,
  1264.     "microstepX": 16,
  1265.     "microstepY": 16,
  1266.     "microstepZ": 16,
  1267.     "microstepE0": 16,
  1268.     "microstepE1": 16,
  1269.     "microstepE2": 16,
  1270.     "parkPosX": 0,
  1271.     "parkPosY": 0,
  1272.     "parkPosZ": 10,
  1273.     "uiAnimation": "0",
  1274.     "uiPresetBedTempPLA": 60,
  1275.     "uiPresetBedABS": 110,
  1276.     "uiPresetExtruderPLA": 190,
  1277.     "uiPresetExtruderABS": 240,
  1278.     "hasMAX6675": false,
  1279.     "hasMAX31855": false,
  1280.     "hasGeneric1": false,
  1281.     "hasGeneric2": false,
  1282.     "hasGeneric3": false,
  1283.     "hasUser0": false,
  1284.     "hasUser1": false,
  1285.     "hasUser2": false,
  1286.     "numExtruder": 1,
  1287.     "version": 100.2,
  1288.     "primaryPortName": ""
  1289. }
  1290. ========== End configuration string ==========
  1291.  
  1292. */
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