Prusa MINI Firmware overview
Main Page
Modules
Classes
Files
File List
File Members
pins_CNCONTROLS_12.h
Go to the documentation of this file.
1
/**
2
* CartesioV12 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 V12"
10
11
//
12
// Limit Switches
13
//
14
#define X_STOP_PIN 19
15
#define Y_STOP_PIN 22
16
#define Z_STOP_PIN 23
17
18
//
19
// Steppers
20
//
21
#define X_STEP_PIN 25
22
#define X_DIR_PIN 27
23
#define X_ENABLE_PIN 26
24
25
#define Y_STEP_PIN 28
26
#define Y_DIR_PIN 30
27
#define Y_ENABLE_PIN 29
28
29
#define Z_STEP_PIN 31
30
#define Z_DIR_PIN 33
31
#define Z_ENABLE_PIN 32
32
33
#define E0_STEP_PIN 57
34
#define E0_DIR_PIN 55
35
#define E0_ENABLE_PIN 58
36
37
#define E1_STEP_PIN 61
38
#define E1_DIR_PIN 62
39
#define E1_ENABLE_PIN 60
40
41
#define E2_STEP_PIN 46
42
#define E2_DIR_PIN 66
43
#define E2_ENABLE_PIN 44
44
45
#define E3_STEP_PIN 45
46
#define E3_DIR_PIN 69
47
#define E3_ENABLE_PIN 47
48
49
//
50
// Temperature Sensors
51
//
52
#define TEMP_0_PIN 0 // Analog Input
53
#define TEMP_1_PIN 9 // Analog Input. 9 for tool2 -> 13 for chambertemp
54
#define TEMP_2_PIN 13 // Analog Input. 10 for tool3 -> 13 for chambertemp
55
#define TEMP_3_PIN 11 // Analog Input. 11 for tool4 -> 13 for chambertemp
56
#define TEMP_BED_PIN 14 // Analog Input
57
58
#ifndef TEMP_CHAMBER_PIN
59
//#define TEMP_CHAMBER_PIN 13 // Analog Input
60
#endif
61
62
//
63
// Heaters / Fans
64
//
65
#define HEATER_0_PIN 11
66
#define HEATER_1_PIN 9
67
#define HEATER_2_PIN 6
68
#define HEATER_3_PIN 3
69
#define HEATER_BED_PIN 24
70
71
#ifndef FAN_PIN
72
#define FAN_PIN 5 // 5 is PWMtool3 -> 7 is common PWM pin for all tools
73
#endif
74
75
#define ORIG_E0_AUTO_FAN_PIN 7
76
#define ORIG_E1_AUTO_FAN_PIN 7
77
#define ORIG_E2_AUTO_FAN_PIN 7
78
#define ORIG_E3_AUTO_FAN_PIN 7
79
80
//
81
// Misc. Functions
82
//
83
#define SDSS 53
84
#define SD_DETECT_PIN 15
85
86
// Tools
87
88
//#define TOOL_0_PIN 56
89
//#define TOOL_0_PWM_PIN 10 // red warning led at dual extruder
90
//#define TOOL_1_PIN 59
91
//#define TOOL_1_PWM_PIN 8 // lights at dual extruder
92
//#define TOOL_2_PIN 4
93
//#define TOOL_2_PWM_PIN 5
94
//#define TOOL_3_PIN 14
95
//#define TOOL_3_PWM_PIN 2
96
97
// Common I/O
98
99
#ifndef FIL_RUNOUT_PIN
100
#define FIL_RUNOUT_PIN 18
101
#endif
102
//#define PWM_1_PIN 12
103
//#define PWM_2_PIN 13
104
//#define SPARE_IO 17
105
106
//
107
// LCD / Controller
108
//
109
#define BEEPER_PIN 16
110
111
// Pins for DOGM SPI LCD Support
112
#define DOGLCD_A0 39
113
#define DOGLCD_CS 35
114
#define DOGLCD_MOSI 48
115
#define DOGLCD_SCK 49
116
#define LCD_SCREEN_ROT_180
117
118
// The encoder and click button
119
#define BTN_EN1 36
120
#define BTN_EN2 34
121
#define BTN_ENC 38
122
123
// Hardware buttons for manual movement of XYZ
124
#define SHIFT_OUT 42
125
#define SHIFT_LD 41
126
#define SHIFT_CLK 40
127
128
//#define UI1 43
129
//#define UI2 37
130
131
#define STAT_LED_BLUE_PIN -1
132
#define STAT_LED_RED_PIN 10 // TOOL_0_PWM_PIN
Prusa-Firmware-Buddy-Private1
lib
Marlin
Marlin
src
pins
mega
pins_CNCONTROLS_12.h
Generated by
1.8.16