Subversion Repositories MK-Marlin

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 ron 1
/**
2
 * CartesioV11 pin assignments
3
 */
4
 
5
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
6
  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
7
#endif
8
 
9
#define BOARD_NAME "CN Controls V11"
10
 
11
//
12
// Limit Switches
13
//
14
#define X_STOP_PIN         43
15
#define Y_STOP_PIN         45
16
#define Z_STOP_PIN         42
17
 
18
//
19
// Steppers
20
//
21
#define X_STEP_PIN         34
22
#define X_DIR_PIN          36
23
#define X_ENABLE_PIN       35
24
 
25
#define Y_STEP_PIN         37
26
#define Y_DIR_PIN          39
27
#define Y_ENABLE_PIN       38
28
 
29
#define Z_STEP_PIN         40
30
#define Z_DIR_PIN          48
31
#define Z_ENABLE_PIN       41
32
 
33
#define E0_STEP_PIN        29
34
#define E0_DIR_PIN         28
35
#define E0_ENABLE_PIN       3
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        15
42
#define E2_DIR_PIN         14
43
#define E2_ENABLE_PIN      16
44
 
45
#define E3_STEP_PIN        44
46
#define E3_DIR_PIN         49
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          3   // Analog Input.  3 for tool2 -> 2 for chambertemp
54
#define TEMP_2_PIN          2   // Analog Input.  9 for tool3 -> 2 for chambertemp
55
#define TEMP_3_PIN         11   // Analog Input. 11 for tool4 -> 2 for chambertemp
56
#define TEMP_BED_PIN        1   // Analog Input
57
//#define TEMP_CHAMBER_PIN    2   // Analog Input
58
 
59
//
60
// Heaters / Fans
61
//
62
#define HEATER_0_PIN        5
63
#define HEATER_1_PIN       58
64
#define HEATER_2_PIN       64
65
#define HEATER_3_PIN       46
66
#define HEATER_BED_PIN      2
67
 
68
#ifndef FAN_PIN
69
  //#define FAN_PIN         7   // common PWM pin for all tools
70
#endif
71
 
72
#define ORIG_E0_AUTO_FAN_PIN 7
73
#define ORIG_E1_AUTO_FAN_PIN 7
74
#define ORIG_E2_AUTO_FAN_PIN 7
75
#define ORIG_E3_AUTO_FAN_PIN 7
76
 
77
//
78
// Misc. Functions
79
//
80
#define SDSS               53
81
#define SD_DETECT_PIN      13
82
 
83
// Tools
84
 
85
//#define TOOL_0_PIN           4
86
//#define TOOL_1_PIN          59
87
//#define TOOL_2_PIN           8
88
//#define TOOL_3_PIN          30
89
//#define TOOL_PWM_PIN         7   // common PWM pin for all tools
90
 
91
// Common I/O
92
 
93
//#define FIL_RUNOUT_PIN      -1
94
//#define PWM_1_PIN           11
95
//#define PWM_2_PIN           10
96
//#define SPARE_IO            12
97
 
98
//
99
// LCD / Controller
100
//
101
#define BEEPER_PIN          6
102
 
103
// Pins for DOGM SPI LCD Support
104
#define DOGLCD_A0          26
105
#define DOGLCD_CS          24
106
#define DOGLCD_MOSI        -1
107
#define DOGLCD_SCK         -1
108
 
109
#define BTN_EN1            23
110
#define BTN_EN2            25
111
#define BTN_ENC            27
112
 
113
// Hardware buttons for manual movement of XYZ
114
#define SHIFT_OUT          19
115
#define SHIFT_LD           18
116
#define SHIFT_CLK          17
117
 
118
//#define UI1                31
119
//#define UI2                22
120
 
121
#define STAT_LED_BLUE_PIN  -1
122
#define STAT_LED_RED_PIN   31