Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.32 KB | None | 0 0
  1. /**
  2. * ************** How to use this firmware - READ THIS, yes actually read this. *********************************
  3. *
  4. * Uncomment means removing the 2 // in front of #define.
  5. *
  6. * FLASHING NOTES:
  7. * ALL slicers (Simplify3D, Cura, Slic3r, etc) or anything else that connects to the COM port must be CLOSED for the firmware to be flash.
  8. * If anything is connected to the COM port when flashing it will fail, typically "access denied" is listed in the error section of the Arduino IDE.
  9. * You MUST use the Included Arduino IDE to flash the firmware if on Windows and if you are on a Mac or Linux follow the guide in our knowledgebase to setup your IDE to work with the firmware.
  10. *
  11. * EZABL SETUP NOTES:
  12. * If you have EZABL uncomment the mount you are using with the printer.
  13. * If you have a custom/unsupported mount uncomment #define CUSTOM_MOUNT and enter your offsets
  14. * below in the CUSTOM MOUNT section. Refer to the EZABL guide to get your offsets.
  15. *
  16. * STEP 1:
  17. * Select the correct board from the tools menu for the printer you are flashing.
  18. * Read the printer title for the model you are flashing, it will show what board to select.
  19. *
  20. * STEP 2:
  21. * Uncomment the printer you want to flash. The printers are sorted A-Z by brand name.
  22. * If you are using the Creality Dual board with the Ender 3/Ender 5/CR-20 then read the specific section below in that printer section on how to do this.
  23. *
  24. * STEP 3:
  25. * Select the COM port your printer is on from the Tools menu. If you do not see the COM port try
  26. * downloading the latest drivers from the manufacturer or TH3D site on our knowledgebase.
  27. *
  28. * STEP 4:
  29. * Verify you have the correct board selected, printer model uncommented, and if you are using EZOUT and/or EZABL
  30. * the lines you need to use them are also uncommented.
  31. *
  32. * STEP 5:
  33. * Once you have your settings verified click the arrow in the upper left to upload to the board.
  34. *
  35. * STEP 6:
  36. * Reset your eeprom. You can send M502 then M500 to reset the EEPROM OR on the printer LCD go to
  37. * Control > Reset EEPROM to clear out the EEPROM to defaults.
  38. *
  39. * BOOTLOADER FLASHING NOTES:
  40. * For flashing your bootloader with an Uno make sure to select Arduino as ISP for the programmer
  41. *
  42. * There are other features in the TH3D Extras section so look there for V6 Hotend,
  43. * Bootscreen settings, Titan Extruder and more. You only need to edit this file.
  44. *
  45. * ERROR NOTES:
  46. * If you get errors flashing READ the message it gives you and double check that you selected
  47. * the correct board from the Tools menu in Arduino. Turn off any AV systems and reboot the computer.
  48. *
  49. * COMMUNITY REQUESTED FEATURES NOTE:
  50. * All features in the community requested features section are provided as-is with no support from TH3D.
  51. */
  52.  
  53. #ifndef CONFIGURATION_H
  54. #define CONFIGURATION_H
  55. #define CONFIGURATION_H_VERSION 010109
  56.  
  57. //===========================================================================
  58. //============================ TH3D Configuration ===========================
  59. //===========================================================================
  60.  
  61. // ONLY UNCOMMENT THINGS IN ONE PRINTER SECTION!!! IF YOU HAVE MULTIPLE MACHINES FLASH THEM ONE AT A TIME.
  62.  
  63. //===========================================================================
  64. // ************************* TH3D PRINTERS *************************
  65. //===========================================================================
  66.  
  67. //===========================================================================
  68. // TH3D Alpha EZ300 Options - Select Arduino Mega 2560 from Tools > Board
  69. //===========================================================================
  70. //#define TH3D_EZ300
  71.  
  72. // EZABL Probe Mounts
  73. //#define EZ300_OEM_MOUNT
  74.  
  75. // The Alpha X Carriage is 100% compatible with the Creality printer mounts.
  76. //#define CR10_OEM
  77. //#define CR10_VOLCANO
  78. //#define CR10_V6HEAVYDUTY
  79. //#define CR10_FANG
  80. //#define TM3DAERO
  81. //#define TM3DAERO_EXTENDED
  82. //#define PETSFANG //This is the RIGHT mounted version - if using the left mount please use the CUSTOM_PROBE option.
  83. //#define CUSTOM_PROBE
  84.  
  85. //===========================================================================
  86. // ************************* ADIMLab PRINTERS *************************
  87. //===========================================================================
  88.  
  89. //===========================================================================
  90. // ADIMLab Gantry i3 Plus Options - Select Arduino Mega 2560 from Tools > Board
  91. //===========================================================================
  92. //#define ADIM_GANTRY_I3_PLUS
  93.  
  94. // EZABL Probe Mounts
  95. //#define ADIM_I3P_OEM
  96. //#define CUSTOM_PROBE
  97.  
  98. //===========================================================================
  99. // ************************* AIBECY PRINTERS *************************
  100. //===========================================================================
  101.  
  102. //===========================================================================
  103. // Aibecy DY-H9 Options - Select Arduino Mega 2560 from Tools > Board
  104. //===========================================================================
  105. //#define DY_H9
  106.  
  107. // EZABL Probe Mounts
  108. //#define CUSTOM_PROBE
  109.  
  110. //===========================================================================
  111. // ************************* ALFAWISE PRINTERS *************************
  112. //===========================================================================
  113.  
  114. //===========================================================================
  115. // Alfawise U10 Options - Select 'Arduino Mega 2560' from Tools > Board
  116. //===========================================================================
  117. //#define ALFAWISE_U10
  118.  
  119. // EZABL Probe Mounts
  120. //#define ALFAWISEU10_OEM
  121. //#define ALFAWISEU10_PETSFANG
  122. //#define CUSTOM_PROBE
  123.  
  124. //===========================================================================
  125. // ************************* ANET PRINTERS *************************
  126. //===========================================================================
  127.  
  128. //===========================================================================
  129. // ANET Printers Options - Select 'ANET V1.0' from Tools > Board
  130. //===========================================================================
  131. // Uncomment the ANET Model you are using
  132. //#define ANET_A2 //** please see option below to choose bed size for the A2 only!!
  133. //#define ANET_A6
  134. //#define ANET_A8
  135. //#define ANET_E10
  136. //#define ANET_E12
  137.  
  138. // Choose bed size for A2 only
  139. // IGNORE THESE OPTIONS FOR MACHINES OTHER THAN THE A2
  140. //#define A2_SMALL_BED //(220x220)
  141. //#define A2_LARGE_BED //(220x270)
  142.  
  143. // Choose which type of LCD you have (Select One option)
  144. //#define ANET_LCD12864 //This is the larger LCD with the rotary controller found on most ANET machines
  145. //#define ANET_LCD2004 //This is the LCD with the 5 button keypad usually found on A8 and some A2 machines
  146.  
  147. // EZABL Probe Mounts - Bootscreen will be disabled when enabling EZABL on the Anet Boards due to space issues
  148. //#define ANET_OEM
  149. //#define CUSTOM_PROBE
  150.  
  151. //===========================================================================
  152. // ************************* CREALITY PRINTERS *************************
  153. //===========================================================================
  154.  
  155. //===========================================================================
  156. // Creality CR-10 Options - Select 'Sanguino 1284P' from Tools > Board
  157. //===========================================================================
  158. //#define CR10
  159. //#define CR10_MINI
  160. //#define CR10_S4
  161. //#define CR10_S5
  162.  
  163. // If you are using our EZOut V1/V2 (connects to LCD header) filament sensor kit please follow the install guide
  164. // and then uncomment the #define EZOUT_ENABLE line below.
  165. // Do NOT ever connect our filament sensor without the supplied adapter board.
  166. //#define EZOUT_ENABLE
  167.  
  168. // EZABL Probe Mounts
  169. //#define CR10_OEM
  170. //#define CR10_VOLCANO
  171. //#define CR10_V6HEAVYDUTY
  172. //#define CR10_FANG
  173. //#define TM3DAERO
  174. //#define TM3DAERO_EXTENDED
  175. //#define PETSFANG //This is the RIGHT mounted version - if using the left mount please use the CUSTOM_PROBE option.
  176. //#define CUSTOM_PROBE
  177.  
  178. // TMC2208 Creality Board Setting - uncomment this to set the driver type if you are using the TMC Creality board
  179. //#define TMC_CREALITY_BOARD
  180.  
  181. //===========================================================================
  182. // Creality CR-10S Options - Select 'Arduino Mega 2560' from Tools > Board
  183. //===========================================================================
  184. //#define CR10S
  185. //#define CR10S_MINI
  186. //#define CR10S_S4
  187. //#define CR10S_S5
  188.  
  189. // This disables the stock CR-10S Filament Sensor
  190. // DO NOT ENABLE THIS IF YOU ARE USING THE EZOUT.
  191. //#define CR10S_NOFILAMENTSENSOR
  192.  
  193. // Use this to use the CR-10 LCD with the CR-10S Board. Rotate the LCD plug 180
  194. // and plug into EXP1. You will have to force it in but it will fit and work.
  195. //#define CR10LCD_CR10S
  196.  
  197. // If you are using our EZOut V1 (connects to LCD header) filament sensor kit please follow the install guide
  198. // and then uncomment the #define EZOUT_ENABLE line below. Do NOT ever connect our filament sensor without the supplied adapter board.
  199. //#define EZOUT_ENABLE
  200.  
  201. // If you are using our EZOut V2 (connects to X+ connector) filament sensor kit please follow the install guide
  202. // and then uncomment the #define EZOUTV2_ENABLE line below. Do NOT ever connect our filament sensor without the supplied adapter board.
  203. //#define EZOUTV2_ENABLE
  204.  
  205. // EZABL Probe Mounts
  206. //#define CR10_OEM
  207. //#define CR10_VOLCANO
  208. //#define CR10_V6HEAVYDUTY
  209. //#define TM3DAERO
  210. //#define TM3DAERO_EXTENDED
  211. //#define PETSFANG //This is the RIGHT mounted version - if using the left mount please use the CUSTOM_PROBE option.
  212. //#define CUSTOM_PROBE
  213.  
  214. // Touch LCD Setting - Enable this if you have the touch LCD are are getting a "paused for user" message in the terminal window.
  215. //#define TOUCH_LCD_FIX
  216.  
  217. // Dual Extruder Board Options - The below options are for use with the TH3D CR-10S Board with dual extruder support.
  218.  
  219. // If you are using a single hotend with the 2 into 1 adapter OR mixing nozzle uncomment the below line
  220. //#define DUAL_EXTRUDER_SINGLE_HOTEND
  221.  
  222. // If you are using a dual hotend with dual nozzles uncomment the below line
  223. //#define DUAL_HOTEND_DUAL_NOZZLES
  224.  
  225. // If you are using a 2nd EZOut V2 (connects to Y+ connector) filament sensor kit please follow the install guide
  226. // and then uncomment the #define EZOUTV2_DUAL_ENABLE line below. Do NOT ever connect our filament sensor without the supplied adapter board.
  227. //#define EZOUTV2_DUAL_ENABLE
  228.  
  229. //===========================================================================
  230. // Creality CR-20 Options - Select 'Arduino Mega 2560' from Tools > Board
  231. //===========================================================================
  232. //#define CR20
  233.  
  234. // If you are using our EZOut V2 (connects to X+ connector) filament sensor kit please follow the install guide
  235. // and then uncomment the #define EZOUTV2_ENABLE line below. Do NOT ever connect our filament sensor without the supplied adapter board.
  236. //#define EZOUTV2_ENABLE
  237.  
  238. // EZABL Probe Mounts (CR-20 uses the same mounts as CR-10)
  239. //#define CR10_OEM
  240. //#define CR10_VOLCANO
  241. //#define CR10_V6HEAVYDUTY
  242. //#define TM3DAERO
  243. //#define TM3DAERO_EXTENDED
  244. //#define PETSFANG //This is the RIGHT mounted version - if using the left mount please use the CUSTOM_PROBE option.
  245. //#define CUSTOM_PROBE
  246.  
  247. // Dual Extruder Board Options - The below options are for use with the TH3D CR-10S Board with dual extruder support.
  248.  
  249. // If you are using a single hotend with the 2 into 1 adapter OR mixing nozzle uncomment the below line
  250. //#define DUAL_EXTRUDER_SINGLE_HOTEND
  251.  
  252. // If you are using a dual hotend with dual nozzles uncomment the below line
  253. //#define DUAL_HOTEND_DUAL_NOZZLES
  254.  
  255. // If you are using a 2nd EZOut V2 (connects to Y+ connector) filament sensor kit please follow the install guide
  256. // and then uncomment the #define EZOUTV2_DUAL_ENABLE line below. Do NOT ever connect our filament sensor without the supplied adapter board.
  257. //#define EZOUTV2_DUAL_ENABLE
  258.  
  259. //===========================================================================
  260. // Creality Ender 2 Options - Select 'Sanguino 1284p' from Tools > Board
  261. //===========================================================================
  262. //#define ENDER2
  263.  
  264. // If you are using our EZOut V2 (connects to the LCD header & connect the 2 pin connector to the "Check" header to the right of the LCD connection) filament sensor kit please follow the install guide
  265. // and then uncomment the #define EZOUTV2_ENABLE line below. Do NOT ever connect our filament sensor without the supplied adapter board.
  266. //#define EZOUTV2_ENABLE
  267.  
  268. // EZABL Probe Mounts (Ender 2 can use the same mounts as CR-10, Ender 2 Specific mounts minimize distance from probe to nozzle for max probing area)
  269. // If you have issues with the non-Ender 2 mounts then please print them off and switch to one of them before contacting support.
  270. // This is because the probeable area on the non-Ender 2 mounts is too small typically to get a good result.
  271. //#define ENDER2_OEM
  272. //#define ENDER2_V6
  273. //#define CR10_OEM
  274. //#define CR10_VOLCANO
  275. //#define CR10_V6HEAVYDUTY
  276. //#define TM3DAERO
  277. //#define TM3DAERO_EXTENDED
  278. //#define PETSFANG //This is the RIGHT mounted version - if using the left mount please use the CUSTOM_PROBE option.
  279. //#define CUSTOM_PROBE
  280.  
  281. //===========================================================================
  282. // Creality Ender 3 Options - Select 'Sanguino 1284p' from Tools > Board
  283. //===========================================================================
  284. #define ENDER3
  285.  
  286. // If you are using our EZOut V1/V2 (connected to LCD header) filament sensor kit please follow the install guide
  287. // and then uncomment the #define EZOUT_ENABLE line below.
  288. // Do NOT ever connect our filament sensor without the supplied adapter board.
  289. //#define EZOUT_ENABLE
  290.  
  291. // EZABL Probe Mounts (Ender 3 uses the same mounts as CR-10)
  292. //#define CR10_OEM
  293. //#define CR10_VOLCANO
  294. //#define CR10_V6HEAVYDUTY
  295. //#define TM3DAERO
  296. //#define TM3DAERO_EXTENDED
  297. //#define PETSFANG //This is the RIGHT mounted version - if using the left mount please use the CUSTOM_PROBE option.
  298. #define CUSTOM_PROBE
  299.  
  300. // TMC2208 Creality Board Setting - uncomment this to set the driver type if you are using the TMC Creality board
  301. //#define TMC_CREALITY_BOARD
  302.  
  303. //=================================================================================================
  304. // README - THE BELOW SETTINGS ARE ONLY FOR USING THE CR-10S DUAL BOARD WITH THE ENDER 3
  305. // DO NOT UNCOMMENT THE ABOVE #define ENDER3 LINE IF USING THE DUAL BOARD
  306. // Select 'Arduino Mega 2560' from Tools > Board - NOT Sanguino
  307. //
  308. // To use the Ender 3 LCD with the CR-10S dual board board connect the LCD cable to EXP1 on the
  309. // CR-10S board but rotate it 180 degrees. The LCD end of the cable goes to EXP3 on the Ender 3 LCD.
  310. // You will have to force it into the EXP1 but it will fit and work.
  311. //
  312. // EZABL and EZOut support are still supported just use the lines above this comment section.
  313. //=================================================================================================
  314. //#define ENDER3_DUALBOARD
  315.  
  316. // Dual Extruder Board Options - The below options are for use with the TH3D CR-10S Board with dual extruder support.
  317.  
  318. // If you are using a single hotend with the 2 into 1 adapter OR mixing nozzle uncomment the below line
  319. //#define DUAL_EXTRUDER_SINGLE_HOTEND
  320.  
  321. // If you are using a dual hotend with dual nozzles uncomment the below line
  322. //#define DUAL_HOTEND_DUAL_NOZZLES
  323.  
  324. // If you are using a 2nd EZOut V2 (connects to Y+ connector) filament sensor kit please follow the install guide
  325. // and then uncomment the #define EZOUTV2_DUAL_ENABLE line below. Do NOT ever connect our filament sensor without the supplied adapter board.
  326. //#define EZOUTV2_DUAL_ENABLE
  327.  
  328. //===========================================================================
  329. // Creality Ender 4 Options - Select 'Arduino Mega 2560' from Tools > Board
  330. //===========================================================================
  331. //#define ENDER4
  332.  
  333. // If you have the filament sensor from Creality uncomment the below line
  334. //#define ENDER4_FIL
  335.  
  336. // If you are using our EZOut V2 (connected to X+ connector) filament sensor kit please follow the install guide
  337. // and then uncomment the #define EZOUT_ENABLE line below.
  338. // Do NOT ever connect our filament sensor without the supplied adapter board.
  339. //#define EZOUTV2_ENABLE
  340.  
  341. // EZABL Probe Mounts
  342. //#define ENDER4_OEM_LEFT
  343. //#define ENDER4_OEM_RIGHT //need to design
  344. //#define CUSTOM_PROBE
  345.  
  346. //===========================================================================
  347. // Creality Ender 5 Options - Select 'Sanguino 1284p' from Tools > Board
  348. //===========================================================================
  349. //#define ENDER5
  350.  
  351. // If you are using our EZOut V1/V2 (connected to LCD header) filament sensor kit please follow the install guide
  352. // and then uncomment the #define EZOUT_ENABLE line below.
  353. // Do NOT ever connect our filament sensor without the supplied adapter board.
  354. //#define EZOUT_ENABLE
  355.  
  356. // EZABL Probe Mounts (Ender 5 uses the same mounts as CR-10)
  357. //#define CR10_OEM
  358. //#define CR10_VOLCANO
  359. //#define CR10_V6HEAVYDUTY
  360. //#define TM3DAERO
  361. //#define TM3DAERO_EXTENDED
  362. //#define PETSFANG //This is the RIGHT mounted version - if using the left mount please use the CUSTOM_PROBE option.
  363. //#define CUSTOM_PROBE
  364.  
  365. // TMC2208 Creality Board Setting - uncomment this to set the driver type if you are using the TMC Creality board
  366. //#define TMC_CREALITY_BOARD
  367.  
  368. //=================================================================================================
  369. // README - THE BELOW SETTINGS ARE ONLY FOR USING THE CR-10S DUAL BOARD WITH THE ENDER 5
  370. // DO NOT UNCOMMENT THE ABOVE #define ENDER5 LINE IF USING THE DUAL BOARD
  371. // Select 'Arduino Mega 2560' from Tools > Board - NOT Sanguino
  372. //
  373. // To use the Ender 5 LCD with the CR-10S dual board board connect the LCD cable to EXP1 on the
  374. // CR-10S board but rotate it 180 degrees. The LCD end of the cable goes to EXP3 on the Ender 5 LCD.
  375. // You will have to force it into the EXP1 but it will fit and work.
  376. //
  377. // EZABL and EZOut support are still supported just use the lines above this comment section.
  378. //=================================================================================================
  379. //#define ENDER5_DUALBOARD
  380.  
  381. // Dual Extruder Board Options - The below options are for use with the TH3D CR-10S Board with dual extruder support.
  382.  
  383. // If you are using a single hotend with the 2 into 1 adapter OR mixing nozzle uncomment the below line
  384. //#define DUAL_EXTRUDER_SINGLE_HOTEND
  385.  
  386. // If you are using a dual hotend with dual nozzles uncomment the below line
  387. //#define DUAL_HOTEND_DUAL_NOZZLES
  388.  
  389. // If you are using a 2nd EZOut V2 (connects to Y+ connector) filament sensor kit please follow the install guide
  390. // and then uncomment the #define EZOUTV2_DUAL_ENABLE line below. Do NOT ever connect our filament sensor without the supplied adapter board.
  391. //#define EZOUTV2_DUAL_ENABLE
  392.  
  393. //===========================================================================
  394. // ************************* FOLGERTECH PRINTERS *************************
  395. //===========================================================================
  396.  
  397. //===========================================================================
  398. // Folgertech FT-5 Options - Select 'Arduino Mega 2560' from Tools > Board
  399. //===========================================================================
  400. //#define FT5
  401.  
  402. // If you are using a 12864 LCD instead of the stock LCD 2004 display uncomment the below line.
  403. //#define FT5_12864LCD
  404.  
  405. // If you are using our EZOut V2 (connects to X+ connector) filament sensor kit please follow the install guide
  406. // and then uncomment the #define EZOUTV2_ENABLE line below.
  407. // Do NOT ever connect our filament sensor without the supplied adapter board.
  408. //#define EZOUTV2_ENABLE
  409.  
  410. // EZABL Probe Mounts
  411. //#define CUSTOM_PROBE
  412.  
  413. //===========================================================================
  414. // ************************* GEEETECH PRINTERS *************************
  415. //===========================================================================
  416.  
  417. //===========================================================================
  418. // Geeetech A10 Options - Select 'Arduino Mega 2560' from Tools > Board
  419. //===========================================================================
  420. // A10 V1 has the 40mm Fan on the left side of the hotend and NO filament sensor
  421. // A10 V2 has a filament sensor and no 40mm fan on the left side of the hotend
  422. //#define GEEETECH_A10_V1
  423. //#define GEEETECH_A10_V2
  424.  
  425. // EZABL Probe Mounts
  426. //#define GEE_A10_V1_OEM
  427. //#define GEE_A10_V2_OEM
  428. //#define CUSTOM_PROBE
  429.  
  430. //===========================================================================
  431. // Geeetech A10M Options - Select 'Arduino Mega 2560' from Tools > Board
  432. //===========================================================================
  433. //#define GEEETECH_A10M
  434.  
  435. // EZABL Probe Mounts - uses the same mounts as the Geetech A10 V2
  436. //#define GEE_A10_V2_OEM
  437. //#define CUSTOM_PROBE
  438.  
  439. //===========================================================================
  440. // Geeetech A20 Options - Select 'Arduino Mega 2560' from Tools > Board
  441. //===========================================================================
  442. //#define GEEETECH_A20
  443.  
  444. // EZABL Probe Mounts - uses the same mounts as the Geetech A10 V2
  445. //#define GEE_A10_V2_OEM
  446. //#define CUSTOM_PROBE
  447.  
  448. //===========================================================================
  449. // Geeetech A20M Options - Select 'Arduino Mega 2560' from Tools > Board
  450. //===========================================================================
  451. //#define GEEETECH_A20M
  452.  
  453. // EZABL Probe Mounts - uses the same mounts as the Geetech A10 V2
  454. //#define GEE_A10_V2_OEM
  455. //#define CUSTOM_PROBE
  456.  
  457. //===========================================================================
  458. // ************************* LULZBOT PRINTERS *************************
  459. //===========================================================================
  460.  
  461. //===========================================================================
  462. // Lulzbot TAZ5 Options - Select 'Arduino Mega 2560' from Tools > Board
  463. //===========================================================================
  464. //#define TAZ5
  465.  
  466. // EZABL Probe Mounts
  467. //#define TAZ5_OEM
  468. //#define CUSTOM_PROBE
  469.  
  470. //===========================================================================
  471. // ************************* TEVO PRINTERS *************************
  472. //===========================================================================
  473.  
  474. //===========================================================================
  475. // TEVO Tornado Options - Select 'Arduino Mega 2560' from Tools > Board
  476. //===========================================================================
  477. //#define TORNADO
  478.  
  479. // If you are using our EZOut V2 (connects to X+ connector) filament sensor kit please follow the install guide
  480. // and then uncomment the #define EZOUTV2_ENABLE line below.
  481. // Do NOT ever connect our filament sensor without the supplied adapter board.
  482. //#define EZOUTV2_ENABLE
  483.  
  484. // EZABL Probe Mounts
  485. //#define TORNADO_OEM
  486. //#define TORNADO_VOLCANO
  487. //#define TORNADO_V6HEAVYDUTY
  488. //#define TM3DAERO
  489. //#define TM3DAERO_EXTENDED
  490. //#define PETSFANG //This is the RIGHT mounted version - if using the left mount please use the CUSTOM_PROBE option.
  491. //#define CUSTOM_PROBE
  492.  
  493. // Use Tornado Bootscreen instead of TH3D
  494. //#define TORNADO_BOOT
  495.  
  496. // Slow down the hotend fan and control box fans to reduce noise
  497. //#define TORNADO_QUIET
  498.  
  499. //===========================================================================
  500. // ************************* TRONXY PRINTERS *************************
  501. //===========================================================================
  502.  
  503. //===========================================================================
  504. // TronXY X3S Options - Select 'Sanguino 1284p' from Tools > Board
  505. //===========================================================================
  506. //#define TRONXY_X3S
  507.  
  508. // EZABL Probe Mounts
  509. //#define CUSTOM_PROBE
  510.  
  511. //===========================================================================
  512. // TronXY X5S Options - Select 'Sanguino 1284p' from Tools > Board
  513. //===========================================================================
  514. //#define TRONXY_X5S
  515.  
  516. // EZABL Probe Mounts
  517. //#define CUSTOM_PROBE
  518.  
  519. //===========================================================================
  520. // ************************* WANHAO PRINTERS *************************
  521. //===========================================================================
  522.  
  523. //===========================================================================
  524. // Wanhao i3 Options - Select 'Sanguino 1284p' from Tools > Board
  525. //===========================================================================
  526. //#define WANHAO_I3
  527.  
  528. // If you are using our EZOut V2 (connected to LCD header) filament sensor kit please follow the install guide
  529. // and then uncomment the #define EZOUTV2_ENABLE line below.
  530. // Do NOT ever connect our filament sensor without the supplied adapter board.
  531. //#define EZOUTV2_ENABLE
  532.  
  533. // If your thermistor temperatures are off please uncomment the 10K option below to fix temps being off
  534. //#define WANHAO_10K_THERMISTOR
  535.  
  536. // EZABL Probe Mounts
  537. //#define WANHAO_I3_OEM
  538. //#define WANHAO_I3_DIIICOOLER
  539. //#define CUSTOM_PROBE
  540.  
  541. //===========================================================================
  542. // Wanhao i3 MINI Options - Select 'Arduino Mega 2560' from Tools > Board
  543. //===========================================================================
  544. //#define WANHAO_I3MINI
  545.  
  546. // EZABL Probe Mounts
  547. //#define WANHAO_I3MINI_OEM
  548. //#define WANHAO_I3MINI_OEM_EZABLMINI
  549. //#define CUSTOM_PROBE
  550.  
  551. //===========================================================================
  552. // Wanhao D6 Options - Select 'Arduino Mega 2560' from Tools > Board
  553. //===========================================================================
  554. //#define WANHAO_D6
  555.  
  556. // If you are using our EZOut V2 (connects to ANALOG/J9 connector) filament sensor kit please follow the install guide
  557. // and then uncomment the #define EZOUTV2_ENABLE line below.
  558. // Do NOT ever connect our filament sensor without the supplied adapter board.
  559. //#define EZOUTV2_ENABLE
  560.  
  561. // EZABL Probe Mounts
  562. //#define WANHAO_D6_OEM
  563. //#define CUSTOM_PROBE
  564.  
  565. //===========================================================================
  566. // *********************** MKS Gen L Based Printer ***********************
  567. // ************* Select 'Arduino Mega 2560' from Tools > Board *************
  568. // **** Please refer to the TH3D MKS Gen L Documentation Guide for Setup ****
  569. // *Endstop/Motors/Homing: changing from 0 to 1 inverts the logic/direction *
  570. // ****** We have a detailed guide here: http://mksguide.th3dstudio.com *****
  571. // ******** Use the code GENLGUIDEHALFOFF for 50% off our PDF Guide *********
  572. //===========================================================================
  573.  
  574. //#define MKS_PRINTER
  575.  
  576. // Build Area Size Settings
  577. #define MKS_X_SIZE 300
  578. #define MKS_Y_SIZE 300
  579. #define MKS_Z_SIZE 300
  580.  
  581. // Endstop Logic Settings
  582. #define MKS_X_ENDSTOP 0
  583. #define MKS_Y_ENDSTOP 0
  584. #define MKS_Z_ENDSTOP 0
  585.  
  586. // Homing Settings
  587. #define X_HOME_LOCATION 0
  588. #define Y_HOME_LOCATION 0
  589.  
  590. // Steps per MM Settings
  591. #define MKS_X_STEPS 80
  592. #define MKS_Y_STEPS 80
  593. #define MKS_Z_STEPS 400
  594. #define MKS_E0_STEPS 95
  595. #define MKS_E1_STEPS 95
  596.  
  597. // Motor Direction Settings
  598. #define MKS_X_DIRECTION 0
  599. #define MKS_Y_DIRECTION 0
  600. #define MKS_Z_DIRECTION 0
  601. #define MKS_E0_DIRECTION 0
  602. #define MKS_E1_DIRECTION 0
  603.  
  604. // Stepper Driver Settings
  605. #define MKS_X_DRIVER TMC2208_STANDALONE
  606. #define MKS_Y_DRIVER TMC2208_STANDALONE
  607. #define MKS_Z_DRIVER A4988
  608. #define MKS_E0_DRIVER A4988
  609. #define MKS_E1_DRIVER A4988
  610.  
  611. // Thermistor Settings (uses standard Marlin Thermistor numbers)
  612. #define MKS_E_THERMISTOR 1
  613. #define MKS_BED_THERMISTOR 1
  614.  
  615. // EZOut V2 Filament Sensor Settings
  616. //#define MKS_EZOUT_V2_X_PLUS
  617. //#define MKS_EZOUT_V2_Y_PLUS
  618.  
  619. // EZABL & ABL Probe Settings
  620. // If you are using a pre-supported mount that is available already then uncomment it above in that printer section.
  621. // For example if you are using CR-10 with the OEM mount then scroll up and uncomment the #define CR10_OEM line like you would normally.
  622. // If you are using a probe mount that is not supported then use the CUSTOM_PROBE option and enter in your probe offsets below.
  623. //#define CUSTOM_PROBE
  624.  
  625. // If you are using a single hotend with the 2 into 1 adapter OR mixing nozzle uncomment the below line
  626. //#define DUAL_EXTRUDER_SINGLE_HOTEND
  627.  
  628. // If you are using a dual hotend with dual nozzles uncomment the below line
  629. //#define DUAL_HOTEND_DUAL_NOZZLES
  630.  
  631. // While recommend the 12864 LCD we carry as it has a SD slot you can use a CR-10/Ender 3/Ender 5 LCD connected to EXP1 (rotate 180 degrees instead of aligning the pin)
  632. // Uncomment the below line to use the single cable Creality (Melzi) LCD instead of a standard 12864 LCD
  633. //#define CR10_STOCKDISPLAY
  634.  
  635. // If your lcd knob moves the wrong direction uncomment the below line to reverse it
  636. //#define MKS_KNOB_REVERSE
  637.  
  638. //===========================================================================
  639. // ************************* END PRINTER SECTION *************************
  640. //===========================================================================
  641.  
  642. //===========================================================================
  643. // EZABL Advanced Settings
  644. //===========================================================================
  645.  
  646. // If you want more or less EZABL probe points change the number below (only used if EZABL enabled)
  647. // Default is 3 which gives you 3x3 grid for a total of 9 points. STICK WITH ODD NUMBERS
  648. #define EZABL_POINTS 3
  649.  
  650. // If you want to probe in on the bed more than 15mm change this below.
  651. // Do not use 30mm for the Standard CR-10/s or the S4 as you will be on the bed screws.
  652. // Try 50mm to avoid the binder clips if you use them. Do NOT go under 15mm here.
  653. // You can do down to 10mm on the Wanhao i3 since it cannot print on the entire bed.
  654. // You can do down to 5mm on the Wanhao i3 Mini since it cannot print on the entire bed.
  655. // (only used if EZABL enabled)
  656. #define EZABL_PROBE_EDGE 15
  657.  
  658. // If you have issues with your machine running the faster probe setting disable the #define EZABL_FASTPROBE below.
  659. // DO NOTE: Most machines will work with the fast probe enabled. Use M48 to verify accuracy.
  660. #define EZABL_FASTPROBE
  661.  
  662. // This will disable the XYE motors during probing. Can be useful if you have stepper motors causing interference issues with the EZABL sensor.
  663. //#define PROBING_MOTORS_OFF
  664.  
  665. // Heaters will stay on during probing - only use if directed to by support. Do not use on AC beds.
  666. //#define HEATERS_ON_DURING_PROBING
  667.  
  668. // Letting the bed heat recover between probes can increase accuracy due to the bed warping during cooling/heating
  669. // Enabling the below option will let the bed get back to temperature during probing but will increase probing times.
  670. //#define WAIT_FOR_BED_HEATER
  671.  
  672. // If you want a more granular control over the babystepping uncomment the below line.
  673. // This will make the adjustment finer than the standard setting.
  674. //#define FINE_BABYSTEPPING
  675.  
  676. // This will extrapolate the implied tilt of the bed outside of the probe area. Do not comment out unless directed by support.
  677. #define EZABL_OUTSIDE_GRID_COMPENSATION
  678.  
  679. // Does your machine make weird noises/vibrations when it is probing the mesh? Enable this to slow down the speed between probe points.
  680. //#define SLOWER_PROBE_MOVES
  681.  
  682. //================================================================================
  683. // IF YOU HAVE A CUSTOM PROBE MOUNT OR ONE THAT IS NOT PRE-SUPPORTED UNCOMMENT THE
  684. // CUSTOM_PROBE OPTION IN YOUR PRINTER SECTION AND ENTER YOUR PROBE LOCATION BELOW
  685. //================================================================================
  686. #if ENABLED(CUSTOM_PROBE)
  687. /**
  688. * Z Probe to nozzle (X,Y) offset, relative to (0, 0).
  689. * X and Y offsets must be whole numbers.
  690. *
  691. * In the following example the X and Y offsets are both positive:
  692. * #define X_PROBE_OFFSET_FROM_EXTRUDER 10
  693. * #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
  694. *
  695. * +-- BACK ---+
  696. * | |
  697. * L | (+) P | R <-- probe (10,10)
  698. * E | | I
  699. * F | (-) N (+) | G <-- nozzle (0,0)
  700. * T | | H
  701. * | (-) | T
  702. * | |
  703. * O-- FRONT --+
  704. * (0,0)
  705. */
  706. #define X_PROBE_OFFSET_FROM_EXTRUDER -44 // X offset: -left +right [of the nozzle]
  707. #define Y_PROBE_OFFSET_FROM_EXTRUDER -7 // Y offset: -front +behind [the nozzle]
  708. #endif
  709.  
  710. //===========================================================================
  711. //******************** EXTRA FEATURES AND TWEAKS ****************************
  712. //===========================================================================
  713.  
  714. // TH3D RGB LED STRIP ------------------------------
  715. // If you are using the TH3D RGB strip connect to the Z+ endstop connection, power supply connection, and uncomment the below line
  716. //#define TH3D_RGB_STRIP
  717. // If you cut the strip shorter please count the LEDs that are left, uncomment the line below, and change the number below to how many LEDs you have.
  718. #define TH3D_RGB_STRIP_LED_COUNT 20
  719.  
  720. // EXTRUDER SETTINGS -------------------------------
  721.  
  722. // If you want to change the Esteps for your printer you can uncomment the below line and set CUSTOM_ESTEPS_VALUE to what you want - USE WHOLE NUMBERS ONLY
  723. //#define CUSTOM_ESTEPS
  724. #define CUSTOM_ESTEPS_VALUE 999
  725.  
  726. // If you are using an TH3D Tough Extruder, Bondtech BMG (set steps below to 415), or E3D Titan Extruder
  727. // uncomment the below line to setup the firmware to the correct steps and direction. Also applicable to Titan/Tough Aero setups.
  728. //#define TITAN_EXTRUDER
  729. #define TITAN_EXTRUDER_STEPS 463
  730.  
  731. // DUAL HOTEND SETTINGS ----------------------------
  732.  
  733. // This is the distance between each nozzle tip when using a dual hotend like the TH3D Tough Dual Hotend or the E3D Chimera or Dual hotends.
  734. // This setting only applies to printers using a dual extruder board.
  735. #define DUAL_HOTEND_X_DISTANCE 18.0
  736.  
  737. // THERMISTOR SETTINGS -----------------------------
  738.  
  739. // If you are using an E3D V6 Hotend with their cartridge thermistor (not glass version) uncomment the below line.
  740. //#define V6_HOTEND
  741.  
  742. // If you are using a Tough Hotend from TH3D or any thermistors TH3D sells for your hotend uncomment the below line.
  743. //#define TH3D_HOTEND_THERMISTOR
  744.  
  745. // If you are using a thermistor TH3D sells for your bed uncomment the below line.
  746. //#define TH3D_BED_THERMISTOR
  747.  
  748. // If you are using a Keenovo with SSR and the Keenovo temperature sensor uncomment the below line.
  749. //#define KEENOVO_TEMPSENSOR
  750.  
  751. // If you are using a known hotend thermistor value uncomment the below 2 lines and enter the thermistor number replacing the X after the #define KNOWN_HOTEND_THERMISTOR_VALUE
  752. //#define KNOWN_HOTEND_THERMISTOR
  753. //#define KNOWN_HOTEND_THERMISTOR_VALUE X
  754.  
  755. // If you are using a known bed thermistor value uncomment the below 2 lines and enter the thermistor number replacing the X after the #define KNOWN_BED_THERMISTOR_VALUE
  756. //#define KNOWN_BED_THERMISTOR
  757. //#define KNOWN_BED_THERMISTOR_VALUE X
  758.  
  759. // If you want to make thermal protection periods less or more adjust below. The number is in seconds.
  760. // If you are getting false thermal runaway then increase the protection time. Do not make it over 300 for either setting.
  761. #define HOTEND_THERMAL_PROTECTION_TIME 60
  762. #define BED_THERMAL_PROTECTION_TIME 180
  763.  
  764. // BED SETTINGS ------------------------------------
  765.  
  766. // If you want PID tuning on your bed you can enable the below line. But PID on a bed is not typically needed. By default BED PID is disabled.
  767. // This will be disabled when using automatic or manual mesh leveling with a 1284p board due to memory limitations.
  768. //#define PIDBED_ENABLE
  769.  
  770. // If you are using an AC bed with a standalone controller (Keenovo) uncomment the below line to disable the heated bed in the firmware
  771. //#define AC_BED
  772.  
  773. // Stock bed max is 120C for this firmware. Enable this to allow temps up to 150C. Your bed must support this temp for it to achieve the higher temperatures.
  774. //#define BED_HIGHTEMP
  775.  
  776. // MISC --------------------------------------------
  777.  
  778. // If you have a 5015 fan that whines when under 100% speed uncomment the below line.
  779. //#define FAN_FIX
  780.  
  781. // Use your own printer name
  782. //#define USER_PRINTER_NAME "CHANGE ME"
  783.  
  784. // If your printer is homing to the endstops hard uncomment this to change the homing speed/divisor to make it less aggressive.
  785. //#define SLOWER_HOMING
  786.  
  787. // BOOT SCREEN OPTIONS -----------------------------
  788.  
  789. // Use TinyMachines Bootscreen instead of TH3D
  790. //#define TM3D_BOOT
  791.  
  792. // Use Ender Bootscreeen instead of TH3D
  793. //#define ENDER_BOOT
  794.  
  795. // Disable Bootscreen completely
  796. //#define DISABLE_BOOT
  797.  
  798. //===========================================================================
  799. //****************** COMMUNITY REQUESTED FEATURES ***************************
  800. //===========================================================================
  801.  
  802. // HOME OFFSET ADJUSTMENT --------------------------
  803. // If you need to adjust your XY home offsets from defaults then you can uncomment the HOME_ADJUST_LOCATION line below and enter your
  804. // custom XY offsets. This is provided for convenience and is unsupported with included product support.
  805. // How to use - measure (home XY then jog using the LCD 1mm at a time) the X and Y distance the nozzle is off
  806. // the build plate and then put those as NEGATIVE values below, positive values will NOT work (move your endstops to fix a positve offset).
  807. //#define HOME_ADJUST
  808. #define X_HOME_ADJUST_LOCATION -10
  809. #define Y_HOME_ADJUST_LOCATION -10
  810.  
  811. // LINEAR ADVANCE ----------------------------------
  812. // See here on how to use Linear Advance: http://marlinfw.org/docs/features/lin_advance.html
  813. //
  814. //#define LINEAR_ADVANCE
  815. // Change the K Value here or use M900 KX.XX in your starting code (recommended).
  816. #define LINEAR_ADVANCE_K 0
  817. // NOTE: If using linear advance along with EZABL on a printer with 1284p some Control > Motion menus will not be displayed due to space restrictions.
  818. // You can still change these via GCode commands.
  819.  
  820. // BL TOUCH ----------------------------------------
  821. // If you want to use the BL-Touch install your EZOut Board, uncomment the 2 lines below, uncomment the CUSTOM_PROBE option in your printer section,
  822. // and then enter your probe offsets in the CUSTOM_PROBE section above. The Pin 27 boards on eBay are clones of our original EZOut. If you want to
  823. // support the people that originally came up with the board you can get our EZOut breakout board here: http://EZOut.TH3DStudio.com
  824. // Sales from our shop allow us to allocate time for community firmware development at no charge to you. <3
  825. // If you have a V3 BL Touch also uncomment the BLTOUCH_V3 line to fix issues with the new V3 probe.
  826. //
  827. #define BLTOUCH
  828. #define BLTOUCH_V3
  829. // Here is where you set your servo pin. EZOut Servo Pin Numbers: Ender3/5/CR-10 - 27, Ender 2 - 29. For 2560 boards look for the pin you connected the servo wire to and enter below.
  830. #define SERVO0_PIN 27
  831. //
  832. // NOTE: On 1284p boards due to space limitations and the large amount of code the BLTouch requires for the LCD Menus
  833. // the Bootscreen and some Control > Motion menus will not be displayed due to space restrictions
  834.  
  835. // MANUAL MESH LEVELING ----------------------------
  836. // If you want to use manual mesh leveling you can enable the below option. This is for generating a MANUAL mesh WITHOUT a probe.
  837. // Mesh Bed Leveling Documentation: http://marlinfw.org/docs/gcode/G029-mbl.html If used with a 1284P board the bootscreen will be disabled to save space.
  838. // NOTE: If you want to automate the leveling process our EZABL kits do this for you. Check them out here: http://EZABL.TH3DStudio.com
  839. //#define MANUAL_MESH_LEVELING
  840.  
  841. // POWER LOSS RECOVERY -----------------------------
  842. // Continue after Power-Loss feature will store the current state to the SD Card at the start of each layer
  843. // during SD printing. If this is found at bootup it will ask you if you want to resume the print.
  844. //
  845. // NOTE: This feature causes excessive wear on your SD card. This will disable junction jerk, SCurve Acceleration, and Linear Advance due to RAM limitations.
  846. //#define POWER_LOSS_RECOVERY
  847.  
  848. // MOTION SETTINGS ---------------------------------
  849. // There are 2 new acceleration/jerk controls available in this firmware that can result is better print quality and
  850. // smoother movement. To try each out just enable them below.
  851. // Due to Anet board restrictions this is always disabled on those machines.
  852. //#define JUNCTION_DEVIATION_ON
  853. //#define S_CURVE_ACCELERATION_ON
  854.  
  855. //================================================================================================
  856. // Language - This is provided for convenience and is unsupported with included product support.
  857. // We only test compile with English language. If you run into space issues disable some features.
  858. //================================================================================================
  859.  
  860. /**
  861. * LCD LANGUAGE
  862. *
  863. * Select the language to display on the LCD. These languages are available:
  864. *
  865. * en, an, bg, ca, cn, cz, cz_utf8, de, el, el-gr, es, eu, fi, fr, fr_utf8, gl,
  866. * hr, it, kana, kana_utf8, nl, pl, pt, pt_utf8, pt-br, pt-br_utf8, ru, sk_utf8,
  867. * tr, uk, zh_CN, zh_TW, test
  868. */
  869.  
  870. #define LCD_LANGUAGE en
  871.  
  872. #include "Configuration_beta.h"
  873. #include "Configuration_backend.h"
  874.  
  875. #define UNIFIED_VERSION "TH3D U1.R2.14"
  876.  
  877. #endif // CONFIGURATION_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement