|
@@ -979,6 +979,93 @@
|
979
|
979
|
|
980
|
980
|
#endif
|
981
|
981
|
|
|
982
|
+
|
|
983
|
+/****************************************************************************************
|
|
984
|
+* RUMBA pin assignment
|
|
985
|
+*
|
|
986
|
+****************************************************************************************/
|
|
987
|
+#if MOTHERBOARD == 80
|
|
988
|
+#define KNOWN_BOARD 1
|
|
989
|
+
|
|
990
|
+#ifndef __AVR_ATmega2560__
|
|
991
|
+ #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
|
|
992
|
+#endif
|
|
993
|
+
|
|
994
|
+#define X_STEP_PIN 17
|
|
995
|
+#define X_DIR_PIN 16
|
|
996
|
+#define X_ENABLE_PIN 48
|
|
997
|
+#define X_MIN_PIN 37
|
|
998
|
+#define X_MAX_PIN 36
|
|
999
|
+
|
|
1000
|
+#define Y_STEP_PIN 54
|
|
1001
|
+#define Y_DIR_PIN 47
|
|
1002
|
+#define Y_ENABLE_PIN 55
|
|
1003
|
+#define Y_MIN_PIN 35
|
|
1004
|
+#define Y_MAX_PIN 34
|
|
1005
|
+
|
|
1006
|
+#define Z_STEP_PIN 57
|
|
1007
|
+#define Z_DIR_PIN 56
|
|
1008
|
+#define Z_ENABLE_PIN 62
|
|
1009
|
+#define Z_MIN_PIN 33
|
|
1010
|
+#define Z_MAX_PIN 32
|
|
1011
|
+
|
|
1012
|
+#define E0_STEP_PIN 23
|
|
1013
|
+#define E0_DIR_PIN 22
|
|
1014
|
+#define E0_ENABLE_PIN 24
|
|
1015
|
+
|
|
1016
|
+#define E1_STEP_PIN 26
|
|
1017
|
+#define E1_DIR_PIN 25
|
|
1018
|
+#define E1_ENABLE_PIN 27
|
|
1019
|
+
|
|
1020
|
+#define E2_STEP_PIN 29
|
|
1021
|
+#define E2_DIR_PIN 28
|
|
1022
|
+#define E2_ENABLE_PIN 39
|
|
1023
|
+
|
|
1024
|
+#define LED_PIN 13
|
|
1025
|
+
|
|
1026
|
+#define FAN_PIN 7
|
|
1027
|
+//additional FAN1 PIN (e.g. useful for electronics fan or light on/off) on PIN 8
|
|
1028
|
+
|
|
1029
|
+#define PS_ON_PIN 45
|
|
1030
|
+#define KILL_PIN 46
|
|
1031
|
+
|
|
1032
|
+#define HEATER_0_PIN 2 // EXTRUDER 1
|
|
1033
|
+#define HEATER_1_PIN 3 // EXTRUDER 2
|
|
1034
|
+#define HEATER_2_PIN 6 // EXTRUDER 3
|
|
1035
|
+//optional FAN1 can be used as 4th heater output: #define HEATER_3_PIN 8 // EXTRUDER 4
|
|
1036
|
+#define HEATER_BED_PIN 9 // BED
|
|
1037
|
+
|
|
1038
|
+#define TEMP_0_PIN 15 // ANALOG NUMBERING
|
|
1039
|
+#define TEMP_1_PIN 14 // ANALOG NUMBERING
|
|
1040
|
+#define TEMP_2_PIN 13 // ANALOG NUMBERING
|
|
1041
|
+//optional for extruder 4 or chamber: #define TEMP_2_PIN 12 // ANALOG NUMBERING
|
|
1042
|
+#define TEMP_BED_PIN 11 // ANALOG NUMBERING
|
|
1043
|
+
|
|
1044
|
+#define SDPOWER -1
|
|
1045
|
+#define SDSS 53
|
|
1046
|
+#define SDCARDDETECT 49
|
|
1047
|
+#define BEEPER 44
|
|
1048
|
+#define LCD_PINS_RS 19
|
|
1049
|
+#define LCD_PINS_ENABLE 42
|
|
1050
|
+#define LCD_PINS_D4 18
|
|
1051
|
+#define LCD_PINS_D5 38
|
|
1052
|
+#define LCD_PINS_D6 41
|
|
1053
|
+#define LCD_PINS_D7 40
|
|
1054
|
+#define BTN_EN1 11
|
|
1055
|
+#define BTN_EN2 12
|
|
1056
|
+#define BTN_ENC 43
|
|
1057
|
+//encoder rotation values
|
|
1058
|
+#define BLEN_C 2
|
|
1059
|
+#define BLEN_B 1
|
|
1060
|
+#define BLEN_A 0
|
|
1061
|
+#define encrot0 0
|
|
1062
|
+#define encrot1 2
|
|
1063
|
+#define encrot2 3
|
|
1064
|
+#define encrot3 1
|
|
1065
|
+
|
|
1066
|
+#endif //MOTHERBOARD==80
|
|
1067
|
+
|
|
1068
|
+
|
982
|
1069
|
/****************************************************************************************
|
983
|
1070
|
* Teensylu 0.7 / Printrboard pin assignments (AT90USB1286)
|
984
|
1071
|
* Requires the Teensyduino software with Teensy++ 2.0 selected in Arduino IDE!
|