forked from MarlinFirmware/Marlin
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Prusa_SKR_Configuration.h
284 lines (242 loc) · 11.3 KB
/
Prusa_SKR_Configuration.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
#pragma once
#define CONFIGURATION_H_VERSION 02000902
#define PRUSA_SKR_CONFIGURATION_VERSION 20211003
//===========================================================================
//====================== All-in-One Prusa SKR Firmware ======================
//===========================================================================
/**
* If you find this project helpful, please consider donating:
*
* Chris Warkocki, SKR Bear Project: https://patreon.com/chriswarkocki
* Keith Bennett, Marlin tester/config builder: https://github.com/sponsors/thisiskeithb
* Grégoire Saunier, Prusa Bear Project: https://patreon.com/gregsaun
* Scott Lahteine, lead Marlin dev/maintainer: https://patreon.com/thinkyhead
*
* Here are some standard links for getting your machine setup:
*
* Chris Warkocki's SKR Bear Github: https://github.com/codiac2600/SKR-Bear-Marlin
* Chris Warkocki's SKR Bear wiring guide: https://git.io/JTRGU
* Chris Warkocki's SKR Bear videos: https://youtube.com/c/ChrisWarkocki/search?query=skr+bear
* The FDM Lounge Discord server: https://discord.gg/TSAPfgZZ2F
* Prusa Bear Upgrade Facebook group: https://facebook.com/groups/prusabearupgrade/
* Prusa Community Facebook group: https://facebook.com/groups/675831176090951/
*
* Thank you and Happy Printing!
*/
//===========================================================================
//=========================== Custom Printer Name ===========================
//===========================================================================
// "SKR Bear" or "SKR Caribou" will be used by default. Uncomment to set a custom printer name.
//#define PRUSA_SKR_CUSTOM_NAME "3D Printer"
//===========================================================================
//=========================== Printer/Frame Type ============================
//===========================================================================
// Prusa Bear frame (210mm Z) is enabled by default.
/**
* Options: Bear Frames Caribou Frames
* 1: Bear (210mm Z) 3: Caribou 220 (220mm Z)
* 2: Tall Bear (320mm Z) 4: Caribou 320 (320mm Z)
* 5: Caribou 420 (420mm Z)
*/
#define PRUSA_SKR_FRAME 1
//===========================================================================
//=============================== Motherboard ===============================
//===========================================================================
// SKR 1.4 is enabled by default.
/**
* Options: 1: BigTreeTech SKR 1.4 (LPC1768)
* 2: BigTreeTech SKR 1.4 Turbo (LPC1769)
* 3: BigTreeTech BTT002 1.0 (STM32F407VGT6)
* 4: BigTreeTech SKR 2.0 Rev. B (STM32F407VGT6)
*/
#define PRUSA_SKR_MOTHERBOARD 1
//===========================================================================
//============================= Stepper Motors ==============================
//===========================================================================
/**
* Extruder Stepper Motor
*
* Stock 1.8° extruder stepper is enabled by default.
*
* Options: 1: Stock 1.8°
* 2: Bondtech/Motech 1.8° pancake
* 3: LDO 0.9° pancake
* 4: LDO planetary
*/
#define PRUSA_SKR_E_STEPPER 1
/**
* X/Y Stepper Motors
*
* Stock 1.8° X/Y steppers are enabled by default.
*
* Options: 1: Stock 1.8° X/Y
* 2: LDO 0.9° X/Y
* 3: Moons 0.9° X/Y
*/
#define PRUSA_SKR_XY_STEPPERS 1
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
//#define PRUSA_SKR_INVERT_E_DIR
//#define PRUSA_SKR_INVERT_X_DIR
//#define PRUSA_SKR_INVERT_Y_DIR
//#define PRUSA_SKR_INVERT_Z_DIR
/**
* Sensorless Homing
*
* Customize sensorless (StallGuard) & homing-related settings below.
*/
// If needed, uncomment *_STALL_SENSITIVITY to customize StallGuard sensitivity.
// This can also be customized via LCD under Configuration -> Advanced Settings -> TMC Drivers -> Sensorless Homing
//#define PRUSA_SKR_X_STALL_SENSITIVITY 90
//#define PRUSA_SKR_Y_STALL_SENSITIVITY 100
// If needed, uncomment PRUSA_SKR_HOMING_FEEDRATE_MM_M to customize Homing speeds (mm/min)
//#define PRUSA_SKR_HOMING_FEEDRATE_MM_M { (50*60), (50*60), (4*60) }
//===========================================================================
//================================= Hotend ==================================
//===========================================================================
/**
* Extruder
*
* Bear Extruder is enabled by default.
*
* Options: 1: Bear extruder w/ PINDA V2 or SuperPINDA
* 2: Bear extruder w/ integrated BLTouch mount by Vertigo 235 https://www.prusaprinters.org/prints/6606
* 3: Bondtech BMG extruder w/ PINDA V2 or SuperPINDA https://www.bondtech.se/en/product/prusa-i3-mk3s-extruder-upgrade/
* 4: Bondtech BMG extruder w/ BLTouch mount by Vertigo 235 https://www.prusaprinters.org/prints/6623
*/
#define PRUSA_SKR_EXTRUDER 1
/**
* Pinda Probe
*
* PINDA V2 is enabled by default. This setting is ignored if you are using a BLTouch.
*
* Options: 1: PINDA V2
* 2: SuperPINDA
*/
#define PRUSA_SKR_PINDA_PROBE 1
/*
* Custom Probe Offset
*
* Default probe offsets will be used based on the extruder selection above.
*
* If needed, uncomment to customize probe offset. This can also be customized via LCD
* under Configuration -> Advanced Settings -> Probe Offsets
*/
//#define PRUSA_SKR_NOZZLE_TO_PROBE_OFFSET { 23, 5, 0 }
/**
* Part Cooling Fan
*
* Mechatronics 24V B5015E24B-BSR 5015 fan is enabled by default.
*
* 5V options are for BigTreeTech BTT002 1.0 only.
*
* Options: 1: 24v Mechatronics B5015E24B-BSR // https://www.digikey.com/en/products/detail/mechatronics-fan-group/B5015E24B-BSR/5209731
* 2: 24V Delta BFB0524HH // https://www.digikey.com/en/products/detail/delta-electronics/BFB0524HH/1014447
* 3: 5V LDO DF5015H05S // https://www.printedsolid.com/products/ldo-5015-5v-blower-fan-df5015h05s
* 4: 5V Stock Prusa 5015 // https://shop.prusa3d.com/en/spare-parts/1020-print-fan-mk3s-mini.html
*/
#define PRUSA_SKR_PART_COOLING_FAN 1
//===========================================================================
//========================= Thermal & PID Settings ==========================
//===========================================================================
/**
* Thermistor
*
* Stock E3D Semitec 104NT-4-R025H42G/104GT-2 thermistor is enabled by default.
*
* Options: 1: E3D Semitec 104NT-4-R025H42G/104GT-2
* 2: Slice Engineering's 450°C High Temperature thermistor
* !WARNING! If you plan to print above 295°C, you will need to upgrade from the stock V6 aluminum block or it will soften and/or melt!
*/
#define PRUSA_SKR_THERMISTOR 1
/**
* Custom PID Settings
*
* Stock E3D V6 hotend and Prusa MK52 bed PID settings are enabled by default.
*
* If needed, uncomment PRUSA_SKR_CUSTOM_HOTEND_PID or PRUSA_SKR_CUSTOM_BED_PID to customize PID settings.
*/
//#define PRUSA_SKR_CUSTOM_HOTEND_PID
#if ENABLED(PRUSA_SKR_CUSTOM_HOTEND_PID)
#define PRUSA_SKR_DEFAULT_Kp 16.50
#define PRUSA_SKR_DEFAULT_Ki 1.16
#define PRUSA_SKR_DEFAULT_Kd 58.80
// Find your own by running "M303 E0 C8 S210" via serial to run autotune on the hotend at 210 °C for 8 cycles.
#endif
//#define PRUSA_SKR_CUSTOM_BED_PID
#if ENABLED(PRUSA_SKR_CUSTOM_BED_PID)
#define PRUSA_SKR_DEFAULT_bedKp 28.13
#define PRUSA_SKR_DEFAULT_bedKi 2.09
#define PRUSA_SKR_DEFAULT_bedKd 483.07
// Find your own by running "M303 E-1 C8 S65" via serial to run autotune on the bed at 65 °C for 8 cycles.
#endif
//===========================================================================
//============================== Bed Leveling ===============================
//===========================================================================
// Bilinear is enabled by default.
/**
* Options: 1: Bilinear
* 2: Unified Bed Leveling
*/
#define PRUSA_SKR_BED_LEVELING 1
//===========================================================================
//============================= Sheet Profiles ==============================
//===========================================================================
// Automatically adjust Z Probe Offset with M851 based on selected Sheet Profile.
// Up to 10 are supported without changes.
//#define PRUSA_SKR_SHEET_PROFILES_MENU
#if ENABLED(PRUSA_SKR_SHEET_PROFILES_MENU)
#define PRUSA_SKR_SHEET_1_DESC "Smooth" // Short description of Sheet
#define PRUSA_SKR_SHEET_1_OFFSET -0.00 // Preferred offset. This should be a negative value.
#define PRUSA_SKR_SHEET_2_DESC "Textured"
#define PRUSA_SKR_SHEET_2_OFFSET -0.00
//#define PRUSA_SKR_SHEET_3_DESC "Satin"
//#define PRUSA_SKR_SHEET_3_OFFSET -0.00
#endif
//===========================================================================
//================================= Display =================================
//===========================================================================
// Stock / OLED RepRapDiscount smart controller is enabled by default.
/**
* Options: 1: Stock or OLED RepRapDiscount smart controller. // OLED screen is only compatible with LPC-based boards.
* 2: BigTreeTech Dual Mode TFT (TFT35/TFT50/TFT70,etc.)
*/
#define PRUSA_SKR_DISPLAY 1
/**
* LCD Language
*
* English is enabled by default:
*
* Options: 1: English 12: Finnish 23: Portuguese
* 2: Aragonese 13: French 24: Portuguese (Brazilian)
* 3: Basque-Euskera 14: Galician 25: Romanian
* 4: Bulgarian 15: German 26: Russian
* 5: Catalan 16: Greek 27: Slovak
* 6: Chinese (Simplified) 17: Greek (Greece) 28: Spanish
* 7: Chinese (Traditional) 18: Hungarian 29: Swedish
* 8: Croatian 19: Italian 30: Turkish
* 9: Czech 20: Japanese 31: Ukrainian
* 10: Danish 21: Korean (South Korea) 32: Vietnamese
* 11: Dutch 22: Polish
*/
#define PRUSA_SKR_LCD_LANGUAGE 1
//===========================================================================
//============================= USB Flash Drive =============================
//===========================================================================
// SKR V2 only
//#define PRUSA_SKR_FLASH_DRIVE
//===========================================================================
//================================ NeoPixels ================================
//===========================================================================
// NeoPixels are disabled by default. Uncomment to enable.
//#define PRUSA_SKR_NEOPIXELS
#if ENABLED(PRUSA_SKR_NEOPIXELS)
/**
* NeoPixel Type
*
* Options: 1: Red, Green, Blue (NEO_GRB)
* 2: Red, Green, Blue, White (NEO_GRBW)
*/
#define PRUSA_SKR_NEOPIXEL_TYPE 1
#define PRUSA_SKR_NEOPIXEL_PIXELS 17 // 17 NeoPixels fit in the top 2040 extrusion: https://www.amazon.com/gp/product/B07FVR6W71
#define PRUSA_SKR_NEOPIXEL_BRIGHTNESS 255 // 255 is max brightness
#endif