SHARE
TWEET

Untitled

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