Prusa MINI Firmware overview
pins_CNCONTROLS_15.h
Go to the documentation of this file.
1 /**
2  * CNControls V15 for HMS434 pin assignments
3  */
4 
5 #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
6  #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
7 #endif
8 
9 #define BOARD_INFO_NAME "CN Controls V15"
10 
11 //
12 // Servos
13 //
14 #define SERVO0_PIN 6
15 
16 //
17 // Limit Switches
18 //
19 #define X_STOP_PIN 34
20 #define Y_STOP_PIN 39
21 #define Z_STOP_PIN 62
22 
23 #ifndef Z_MIN_PROBE_PIN
24  #define Z_MIN_PROBE_PIN 49
25 #endif
26 
27 //
28 // Steppers
29 //
30 #define X_STEP_PIN 14
31 #define X_DIR_PIN 25
32 #define X_ENABLE_PIN 26
33 
34 #define Y_STEP_PIN 11
35 #define Y_DIR_PIN 12
36 #define Y_ENABLE_PIN 15
37 
38 #define Z_STEP_PIN 24
39 #define Z_DIR_PIN 27
40 #define Z_ENABLE_PIN 28
41 
42 #define E0_STEP_PIN 64
43 #define E0_DIR_PIN 65
44 #define E0_ENABLE_PIN 63
45 
46 //
47 // Temperature Sensors
48 // Analog Inputs
49 //
50 #define TEMP_0_PIN 2 // Analog Input
51 #define TEMP_BED_PIN 4 // Analog Input
52 
53 #ifndef TEMP_CHAMBER_PIN
54  #define TEMP_CHAMBER_PIN 5 // Analog Input
55 #endif
56 
57 //
58 // Heaters
59 //
60 #define HEATER_0_PIN 4
61 #define HEATER_BED_PIN 32
62 #define HEATER_CHAMBER_PIN 33
63 
64 //
65 // Fans
66 //
67 #define FAN0_PIN 8
68 #define ORIG_E0_AUTO_FAN_PIN 30
69 #define ORIG_E1_AUTO_FAN_PIN 30
70 #define ORIG_E2_AUTO_FAN_PIN 30
71 #define ORIG_E3_AUTO_FAN_PIN 30
72 //#define ORIG_CHAMBER_AUTO_FAN_PIN 10
73 
74 //
75 // Misc. Functions
76 //
77 #define SDSS 53
78 #define SD_DETECT_PIN 40
79 
80 // Common I/O
81 
82 #define FIL_RUNOUT_PIN 9
83 //#define FIL_RUNOUT_PIN 29 // encoder sensor
84 //#define PWM_1_PIN 12
85 //#define PWM_2_PIN 13
86 //#define SPARE_IO 17
87 #define BEEPER_PIN 13
88 #define STAT_LED_BLUE_PIN -1
89 #define STAT_LED_RED_PIN 10 // 31