Prusa MINI Firmware overview
wizard_config.h
Go to the documentation of this file.
1 // wizard_config.h
2 #ifndef _WIZARD_CONFIG_H
3 #define _WIZARD_CONFIG_H
4 
5 #include "menu_vars.h"
6 
7 //calculate move time in milliseconds (max is in mm and fr is in mm/min)
8 #define _SELFTEST_AXIS_TIME(max, fr) ((60 * 1000 * max) / fr)
9 
10 #define _SELFTEST_FAN0_TIME 3000 // 3s
11 #define _SELFTEST_FAN0_MIN 100 // 100 pulses
12 #define _SELFTEST_FAN0_MAX 1000 // 1000 pulses
13 
14 #define _SELFTEST_FAN1_TIME 3000 // 3s
15 #define _SELFTEST_FAN1_MIN 100 // 100 pulses
16 #define _SELFTEST_FAN1_MAX 1000 // 1000 pulses
17 
18 #define _SELFTEST_X_MIN (x_axis_len - len_tol_abs)
19 #define _SELFTEST_X_MAX (x_axis_len + len_tol_abs)
20 #define _SELFTEST_X_FR 4000 // 50 mm/s
21 #define _SELFTEST_X_TIME (3 * _SELFTEST_AXIS_TIME(_SELFTEST_X_MAX, _SELFTEST_X_FR))
22 
23 #define _SELFTEST_Y_MIN (y_axis_len - len_tol_abs)
24 #define _SELFTEST_Y_MAX (y_axis_len + len_tol_abs)
25 #define _SELFTEST_Y_FR 4000 // 50 mm/s
26 #define _SELFTEST_Y_TIME (3 * _SELFTEST_AXIS_TIME(_SELFTEST_Y_MAX, _SELFTEST_Y_FR))
27 
28 #define _SELFTEST_Z_MIN (z_axis_len - len_tol_abs)
29 #define _SELFTEST_Z_MAX (z_axis_len + len_tol_abs)
30 #define _SELFTEST_Z_FR 600 // 10 mm/s
31 #define _SELFTEST_Z_TIME (2 * _SELFTEST_AXIS_TIME(_SELFTEST_Z_MAX, _SELFTEST_Z_FR))
32 
33 #define _FIRSTLAY_E_DIST 100
34 #define _FIRSTLAY_Z_DIST 20
35 #define _FIRSTLAY_NOZ_TEMP 210
36 #define _FIRSTLAY_BED_TEMP 60
37 #define _FIRSTLAY_MIN_NOZ_TEMP 190
38 #define _FIRSTLAY_MAX_NOZ_TEMP 220
39 #define _FIRSTLAY_MIN_BED_TEMP 50
40 #define _FIRSTLAY_MAX_BED_TEMP 70
41 #define _FIRSTLAY_MAX_HEAT_TIME 100000
42 
43 #define _CALIB_TEMP_BED 40
44 #define _CALIB_TEMP_NOZ 40
45 #define _COOLDOWN_TIMEOUT 300000
46 #define _START_TEMP_BED 35 //there is a bit overshot on bed PID
47 #define _START_TEMP_NOZ 20 //PID of nozzle is not stable with low temperatures - can be HUDGE overshot
48 #define _MAX_TEMP_BED 100
49 #define _MAX_TEMP_NOZ 280
50 #define _PASS_MAX_TEMP_BED 65
51 #define _PASS_MAX_TEMP_NOZ 190
52 #define _PASS_MIN_TEMP_BED 50
53 #define _PASS_MIN_TEMP_NOZ 130
54 
55 #define _HEAT_TIME_MS_BED 60000
56 #define _HEAT_TIME_MS_NOZ 42000
57 #define _MAX_PREHEAT_TIME_MS_BED 60000
58 #define _MAX_PREHEAT_TIME_MS_NOZ 30000
59 
60 #endif // _WIZARD_CONFIG_H
menu_vars.h