Browse Source

Added support for Felix 2.0/3.0 printers

chrono 10 years ago
parent
commit
2e172f38bd
3 changed files with 117 additions and 0 deletions
  1. 2
    0
      Marlin/boards.h
  2. 3
    0
      Marlin/pins.h
  3. 112
    0
      Marlin/pins_FELIX2.h

+ 2
- 0
Marlin/boards.h View File

@@ -52,9 +52,11 @@
52 52
 #define BOARD_HEPHESTOS         42   // bq Prusa i3 Hephestos
53 53
 #define BOARD_BAM_DICE          401  // 2PrintBeta BAM&DICE with STK drivers
54 54
 #define BOARD_BAM_DICE_DUE      402  // 2PrintBeta BAM&DICE Due with STK drivers
55
+#define BOARD_FELIX2			101  // Felix 2.0+ Electronics
55 56
 
56 57
 #define BOARD_99                99   // This is in pins.h but...?
57 58
 
58 59
 #define MB(board) (MOTHERBOARD==BOARD_##board)
59 60
 
60 61
 #endif //__BOARDS_H
62
+

+ 3
- 0
Marlin/pins.h View File

@@ -114,6 +114,8 @@
114 114
   #include "pins_RAMPS_13.h"
115 115
 #elif MB(BAM_DICE_DUE)
116 116
   #include "pins_BAM_DICE_DUE.h"
117
+#elif MB(FELIX2)
118
+  #include "pins_FELIX2.h"
117 119
 #elif MB(99)
118 120
   #include "pins_99.h"
119 121
 #else
@@ -185,3 +187,4 @@
185 187
                        }
186 188
 
187 189
 #endif //__PINS_H
190
+

+ 112
- 0
Marlin/pins_FELIX2.h View File

@@ -0,0 +1,112 @@
1
+/****************************************************************************************
2
+* FELIXprinters v2.0/3.0 pin assignment
3
+*
4
+****************************************************************************************/
5
+#if MOTHERBOARD == BOARD_FELIX2
6
+#define KNOWN_BOARD 1
7
+
8
+//////////////////FIX THIS//////////////
9
+#ifndef __AVR_ATmega1280__
10
+#ifndef __AVR_ATmega2560__
11
+#error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
12
+#endif
13
+#endif
14
+
15
+#define LARGE_FLASH        true
16
+
17
+#define X_STEP_PIN         54
18
+#define X_DIR_PIN          55
19
+#define X_ENABLE_PIN       38
20
+#define X_MIN_PIN           3
21
+#define X_MAX_PIN           -1
22
+
23
+#define Y_STEP_PIN         60
24
+#define Y_DIR_PIN          61
25
+#define Y_ENABLE_PIN       56
26
+#define Y_MIN_PIN          14
27
+#define Y_MAX_PIN          -1
28
+
29
+#define Z_STEP_PIN         46
30
+#define Z_DIR_PIN          48
31
+#define Z_ENABLE_PIN       62
32
+#define Z_MIN_PIN          18
33
+#define Z_MAX_PIN          -1
34
+
35
+#define Z2_STEP_PIN        -1
36
+#define Z2_DIR_PIN         -1
37
+#define Z2_ENABLE_PIN      -1
38
+
39
+#define E0_STEP_PIN        26
40
+#define E0_DIR_PIN         28
41
+#define E0_ENABLE_PIN      24
42
+
43
+#define E1_STEP_PIN        36
44
+#define E1_DIR_PIN         34
45
+#define E1_ENABLE_PIN      30
46
+
47
+#define SDPOWER            1
48
+#define SDSS               53
49
+#define LED_PIN            13
50
+
51
+#define FAN_PIN            9 // (Sprinter config)
52
+#define PS_ON_PIN          12
53
+
54
+#define KILL_PIN           -1
55
+
56
+#define HEATER_0_PIN       10   // EXTRUDER 1
57
+#define HEATER_1_PIN       7    // EXTRUDER 2 (FAN On Sprinter)
58
+#define HEATER_2_PIN       -1
59
+#define HEATER_BED_PIN     8    // BED
60
+
61
+#define TEMP_0_PIN         13   // ANALOG NUMBERING
62
+#define TEMP_1_PIN         15   // ANALOG NUMBERING
63
+#define TEMP_2_PIN         -1   // ANALOG NUMBERING
64
+
65
+#define TEMP_BED_PIN       14   // ANALOG NUMBERING
66
+
67
+#ifdef ULTRA_LCD
68
+
69
+#ifdef NEWPANEL
70
+//encoder rotation values
71
+#define encrot0 0
72
+#define encrot1 2
73
+#define encrot2 3
74
+#define encrot3 1
75
+
76
+#define BLEN_A 0
77
+#define BLEN_B 1
78
+#define BLEN_C 2
79
+
80
+#define LCD_PINS_RS 16
81
+#define LCD_PINS_ENABLE 17
82
+#define LCD_PINS_D4 23
83
+#define LCD_PINS_D5 25
84
+#define LCD_PINS_D6 27
85
+#define LCD_PINS_D7 29
86
+
87
+//arduino pin which triggers an piezzo beeper
88
+#define BEEPER 33	 // Beeper on AUX-4
89
+
90
+//buttons are directly attached using AUX-2
91
+#define BTN_EN1 37
92
+#define BTN_EN2 35
93
+#define BTN_ENC 31  //the click
94
+
95
+#define SDCARDDETECT 6  // Ramps does not use this port
96
+#endif //NEWPANEL
97
+#endif //ULTRA_LCD
98
+
99
+// SPI for Max6675 Thermocouple
100
+
101
+#ifndef SDSUPPORT
102
+// these pins are defined in the SD library if building with SD support
103
+#define MAX_SCK_PIN          52
104
+#define MAX_MISO_PIN         50
105
+#define MAX_MOSI_PIN         51
106
+#define MAX6675_SS       53
107
+#else
108
+#define MAX6675_SS       49
109
+#endif
110
+
111
+#endif//MOTHERBOARD == BOARD_FELIX2
112
+

Loading…
Cancel
Save