Browse Source

Merge pull request #432 from blddk/Marlin_v1

HTML removed, Rumba added
ErikZalm 11 years ago
parent
commit
aa816ee81c
4 changed files with 2247 additions and 2128 deletions
  1. 1
    0
      Marlin/Configuration.h
  2. 2155
    2126
      Marlin/Marlin_main.cpp
  3. 4
    2
      Marlin/language.h
  4. 87
    0
      Marlin/pins.h

+ 1
- 0
Marlin/Configuration.h View File

@@ -38,6 +38,7 @@
38 38
 // 7  = Ultimaker
39 39
 // 71 = Ultimaker (Older electronics. Pre 1.5.4. This is rare)
40 40
 // 8  = Teensylu
41
+// 80 = Rumba
41 42
 // 81 = Printrboard (AT90USB1286)
42 43
 // 82 = Brainwave (AT90USB646)
43 44
 // 9  = Gen3+

+ 2155
- 2126
Marlin/Marlin_main.cpp
File diff suppressed because it is too large
View File


+ 4
- 2
Marlin/language.h View File

@@ -26,6 +26,9 @@
26 26
 #if MOTHERBOARD == 7 || MOTHERBOARD == 71
27 27
 	#define MACHINE_NAME "Ultimaker"
28 28
 	#define FIRMWARE_URL "http://firmware.ultimaker.com"
29
+#elif MOTHERBOARD == 80
30
+	#define MACHINE_NAME "Rumba"
31
+	#define FIRMWARE_URL "https://github.com/ErikZalm/Marlin/"
29 32
 #else
30 33
 	#define MACHINE_NAME "Mendel"
31 34
 	#define FIRMWARE_URL "http://www.mendel-parts.com"
@@ -1461,5 +1464,4 @@
1461 1464
 	#define MSG_ERR_LONG_EXTRUDE_STOP " liian pitka pursotus estetty"
1462 1465
 
1463 1466
 #endif
1464
-#endif // ifndef LANGUAGE_H
1465
-</pre></body></html>
1467
+#endif // ifndef LANGUAGE_H

+ 87
- 0
Marlin/pins.h View File

@@ -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!

Loading…
Cancel
Save