Browse Source

Merge pull request #2131 from thinkyhead/bq_is_ramps_13_efb

Witbox and Hephestos are RAMPS EFB
Scott Lahteine 10 years ago
parent
commit
81c2ca3e10

+ 0
- 2
Marlin/boards.h View File

@@ -51,8 +51,6 @@
51 51
 #define BOARD_5DPRINT           88   // 5DPrint D8 Driver Board
52 52
 #define BOARD_LEAPFROG          999  // Leapfrog
53 53
 #define BOARD_MKS_BASE          40   // MKS BASE 1.0
54
-#define BOARD_WITBOX            41   // bq WITBOX
55
-#define BOARD_HEPHESTOS         42   // bq Prusa i3 Hephestos
56 54
 #define BOARD_BAM_DICE          401  // 2PrintBeta BAM&DICE with STK drivers
57 55
 #define BOARD_BAM_DICE_DUE      402  // 2PrintBeta BAM&DICE Due with STK drivers
58 56
 

+ 9
- 10
Marlin/configurator/config/Configuration.h View File

@@ -401,7 +401,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
401 401
   const bool FIL_RUNOUT_INVERTING = true;  // Should be uncommented and true or false should assigned
402 402
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
403 403
   #define FILAMENT_RUNOUT_SCRIPT "M600"
404
-#endif
404
+#endif 
405 405
 
406 406
 //===========================================================================
407 407
 //=========================== Manual Bed Leveling ===========================
@@ -411,7 +411,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
411 411
 // #define MESH_BED_LEVELING    // Enable mesh bed leveling
412 412
 
413 413
 #ifdef MANUAL_BED_LEVELING
414
-  #define MBL_Z_STEP 0.025
414
+  #define MBL_Z_STEP 0.025  // Step size while manually probing Z axis
415 415
 #endif  // MANUAL_BED_LEVELING
416 416
 
417 417
 #ifdef MESH_BED_LEVELING
@@ -605,7 +605,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
605 605
 
606 606
 #ifdef EEPROM_SETTINGS
607 607
   // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
608
-  #define EEPROM_CHITCHAT // please keep turned on if you can.
608
+  #define EEPROM_CHITCHAT // Please keep turned on if you can.
609 609
 #endif
610 610
 
611 611
 // @section temperature
@@ -646,7 +646,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
646 646
 //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
647 647
 //#define LCD_FEEDBACK_FREQUENCY_HZ 1000         // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
648 648
                                                  // 0 to disable buzzer feedback. Test with M300 S<frequency Hz> P<duration ms>
649
-
650 649
 // PanelOne from T3P3 (via RAMPS 1.4 AUX2/AUX3)
651 650
 // http://reprap.org/wiki/PanelOne
652 651
 //#define PANEL_ONE
@@ -779,13 +778,13 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
779 778
 // Uncomment below to enable
780 779
 //#define FILAMENT_SENSOR
781 780
 
782
-#define FILAMENT_SENSOR_EXTRUDER_NUM	0  //The number of the extruder that has the filament sensor (0,1,2)
783
-#define MEASUREMENT_DELAY_CM			14  //measurement delay in cm.  This is the distance from filament sensor to middle of barrel
781
+#define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2)
782
+#define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel
784 783
 
785
-#define DEFAULT_NOMINAL_FILAMENT_DIA  3.0  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation
786
-#define MEASURED_UPPER_LIMIT          3.30  //upper limit factor used for sensor reading validation in mm
787
-#define MEASURED_LOWER_LIMIT          1.90  //lower limit factor for sensor reading validation in mm
788
-#define MAX_MEASUREMENT_DELAY			20  //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM)
784
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0 //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation
785
+#define MEASURED_UPPER_LIMIT         3.3 //upper limit factor used for sensor reading validation in mm
786
+#define MEASURED_LOWER_LIMIT         1.9 //lower limit factor for sensor reading validation in mm
787
+#define MAX_MEASUREMENT_DELAY       20   //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM)
789 788
 
790 789
 //defines used in the code
791 790
 #define DEFAULT_MEASURED_FILAMENT_DIA  DEFAULT_NOMINAL_FILAMENT_DIA  //set measured to nominal initially

+ 9
- 17
Marlin/configurator/config/Configuration_adv.h View File

@@ -36,6 +36,15 @@
36 36
   #define THERMAL_PROTECTION_BED_HYSTERESIS 2 // Degrees Celsius
37 37
 #endif
38 38
 
39
+#ifdef PIDTEMP
40
+  // this adds an experimental additional term to the heating power, proportional to the extrusion speed.
41
+  // if Kc is chosen well, the additional required power due to increased melting should be compensated.
42
+  #define PID_ADD_EXTRUSION_RATE
43
+  #ifdef PID_ADD_EXTRUSION_RATE
44
+    #define  DEFAULT_Kc (1) //heating power=Kc*(e_speed)
45
+  #endif
46
+#endif
47
+
39 48
 /**
40 49
  * Automatic Temperature:
41 50
  * The hotend target temperature is calculated by all the buffered lines of gcode.
@@ -46,23 +55,6 @@
46 55
  * Also, if the temperature is set to a value below mintemp, it will not be changed by autotemp.
47 56
  * On an Ultimaker, some initial testing worked with M109 S215 B260 F1 in the start.gcode
48 57
  */
49
-#ifdef PIDTEMP
50
-  // this adds an experimental additional term to the heating power, proportional to the extrusion speed.
51
-  // if Kc is chosen well, the additional required power due to increased melting should be compensated.
52
-  #define PID_ADD_EXTRUSION_RATE
53
-  #ifdef PID_ADD_EXTRUSION_RATE
54
-    #define  DEFAULT_Kc (1) //heating power=Kc*(e_speed)
55
-  #endif
56
-#endif
57
-
58
-
59
-//automatic temperature: The hot end target temperature is calculated by all the buffered lines of gcode.
60
-//The maximum buffered steps/sec of the extruder motor are called "se".
61
-//You enter the autotemp mode by a M109 S<mintemp> B<maxtemp> F<factor>
62
-// the target temperature is set to mintemp+factor*se[steps/sec] and limited by mintemp and maxtemp
63
-// you exit the value by any M109 without F*
64
-// Also, if the temperature is set to a value <mintemp, it is not changed by autotemp.
65
-// on an Ultimaker, some initial testing worked with M109 S215 B260 F1 in the start.gcode
66 58
 #define AUTOTEMP
67 59
 #ifdef AUTOTEMP
68 60
   #define AUTOTEMP_OLDWEIGHT 0.98

+ 2
- 2
Marlin/configurator/config/boards.h View File

@@ -14,6 +14,7 @@
14 14
 #define BOARD_RAMPS_13_EEB      34   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed)
15 15
 #define BOARD_RAMPS_13_EFF      35   // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)
16 16
 #define BOARD_RAMPS_13_EEF      36   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan)
17
+#define BOARD_RAMPS_13_SF       38   // RAMPS 1.3 / 1.4 (Power outputs: Spindle, Controller Fan)
17 18
 #define BOARD_FELIX2            37   // Felix 2.0+ Electronics Board (RAMPS like)
18 19
 #define BOARD_GEN6              5    // Gen6
19 20
 #define BOARD_GEN6_DELUXE       51   // Gen6 deluxe
@@ -49,8 +50,7 @@
49 50
 #define BOARD_ELEFU_3           21   // Elefu Ra Board (v3)
50 51
 #define BOARD_5DPRINT           88   // 5DPrint D8 Driver Board
51 52
 #define BOARD_LEAPFROG          999  // Leapfrog
52
-#define BOARD_WITBOX            41   // bq WITBOX
53
-#define BOARD_HEPHESTOS         42   // bq Prusa i3 Hephestos
53
+#define BOARD_MKS_BASE          40   // MKS BASE 1.0
54 54
 #define BOARD_BAM_DICE          401  // 2PrintBeta BAM&DICE with STK drivers
55 55
 #define BOARD_BAM_DICE_DUE      402  // 2PrintBeta BAM&DICE Due with STK drivers
56 56
 

+ 14
- 24
Marlin/configurator/config/language.h View File

@@ -32,8 +32,8 @@
32 32
 // kana_utf Japanese
33 33
 // cn       Chinese
34 34
 
35
+// fallback if no language is set, don't change
35 36
 #ifndef LANGUAGE_INCLUDE
36
-  // pick your language from the list above
37 37
   #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
38 38
 #endif
39 39
 
@@ -53,26 +53,14 @@
53 53
   #define FIRMWARE_URL "http://3dprint.elettronicain.it/"
54 54
 #elif MB(K8200)
55 55
   #define MACHINE_NAME "K8200"
56
+  #define FIRMWARE_URL "https://github.com/CONSULitAS/Marlin-K8200"
56 57
 #elif MB(5DPRINT)
57 58
   #define MACHINE_NAME "Makibox"
58 59
 #elif MB(SAV_MKI)
59 60
   #define MACHINE_NAME "SAV MkI"
60 61
   #define FIRMWARE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
61
-#elif MB(WITBOX)
62
-  #define MACHINE_NAME "WITBOX"
63
-  #define FIRMWARE_URL "http://www.bq.com/gb/downloads-witbox.html"
64
-#elif MB(HEPHESTOS)
65
-  #define MACHINE_NAME "HEPHESTOS"
66
-  #define FIRMWARE_URL "http://www.bq.com/gb/downloads-prusa-i3-hephestos.html"
67
-#elif MB(BRAINWAVE_PRO)
68
-  #define MACHINE_NAME "Kossel Pro"
69
-  #ifndef FIRMWARE_URL
70
-    #define FIRMWARE_URL "https://github.com/OpenBeamUSA/Marlin/"
71
-  #endif
72
-#else
73
-  #ifndef MACHINE_NAME
74
-    #define MACHINE_NAME "3D Printer"
75
-  #endif
62
+#elif !defined(MACHINE_NAME)
63
+  #define MACHINE_NAME "3D Printer"
76 64
 #endif
77 65
 
78 66
 #ifdef CUSTOM_MENDEL_NAME
@@ -122,6 +110,7 @@
122 110
 #define MSG_FREE_MEMORY                     " Free Memory: "
123 111
 #define MSG_PLANNER_BUFFER_BYTES            "  PlannerBufferBytes: "
124 112
 #define MSG_OK                              "ok"
113
+#define MSG_WAIT                            "wait"
125 114
 #define MSG_FILE_SAVED                      "Done saving file."
126 115
 #define MSG_ERR_LINE_NO                     "Line Number is not Last Line Number+1, Last Line: "
127 116
 #define MSG_ERR_CHECKSUM_MISMATCH           "checksum mismatch, Last Line: "
@@ -221,15 +210,16 @@
221 210
 #define MSG_PID_DEBUG_PTERM                 " pTerm "
222 211
 #define MSG_PID_DEBUG_ITERM                 " iTerm "
223 212
 #define MSG_PID_DEBUG_DTERM                 " dTerm "
224
-#define MSG_HEATING_FAILED                  "Heating failed"
225
-#define MSG_EXTRUDER_SWITCHED_OFF           "Extruder switched off. Temperature difference between temp sensors is too high !"
226
-
227 213
 #define MSG_INVALID_EXTRUDER_NUM            " - Invalid extruder number !"
228
-#define MSG_THERMAL_RUNAWAY_STOP            "Thermal Runaway, system stopped! Heater_ID: "
229
-#define MSG_SWITCHED_OFF_MAX                " switched off. MAXTEMP triggered !!"
230
-#define MSG_MINTEMP_EXTRUDER_OFF            ": Extruder switched off. MINTEMP triggered !"
231
-#define MSG_MAXTEMP_EXTRUDER_OFF            ": Extruder" MSG_SWITCHED_OFF_MAX
232
-#define MSG_MAXTEMP_BED_OFF                 "Heated bed" MSG_SWITCHED_OFF_MAX
214
+
215
+#define MSG_HEATER_BED                      "bed"
216
+#define MSG_STOPPED_HEATER                  ", system stopped! Heater_ID: "
217
+#define MSG_REDUNDANCY                      "Heater switched off. Temperature difference between temp sensors is too high !"
218
+#define MSG_T_HEATING_FAILED                "Heating failed"
219
+#define MSG_T_THERMAL_RUNAWAY               "Thermal Runaway"
220
+#define MSG_T_MAXTEMP                       "MAXTEMP triggered"
221
+#define MSG_T_MINTEMP                       "MINTEMP triggered"
222
+
233 223
 
234 224
 // LCD Menu Messages
235 225
 

+ 5
- 2
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -57,11 +57,14 @@ Here are some standard links for getting your machine calibrated:
57 57
 
58 58
 // The following define selects which electronics board you have.
59 59
 // Please choose the name from boards.h that matches your setup
60
-#define MOTHERBOARD BOARD_HEPHESTOS
60
+#define MOTHERBOARD BOARD_RAMPS_13_EFB
61 61
 
62 62
 // Optional custom name for your RepStrap or other custom machine
63 63
 // Displayed in the LCD "Ready" message
64
-// #define CUSTOM_MACHINE_NAME "3D Printer"
64
+#define CUSTOM_MACHINE_NAME "HEPHESTOS"
65
+
66
+// Added for BQ
67
+#define FIRMWARE_URL "http://www.bq.com/gb/downloads-prusa-i3-hephestos.html"
65 68
  
66 69
 // Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines)
67 70
 // You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4)

+ 5
- 2
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -57,11 +57,14 @@ Here are some standard links for getting your machine calibrated:
57 57
 
58 58
 // The following define selects which electronics board you have.
59 59
 // Please choose the name from boards.h that matches your setup
60
-#define MOTHERBOARD BOARD_WITBOX
60
+#define MOTHERBOARD BOARD_RAMPS_13_EFB
61 61
 
62 62
 // Optional custom name for your RepStrap or other custom machine
63 63
 // Displayed in the LCD "Ready" message
64
-// #define CUSTOM_MACHINE_NAME "3D Printer"
64
+#define CUSTOM_MACHINE_NAME "WITBOX"
65
+
66
+// Added for BQ
67
+#define FIRMWARE_URL "http://www.bq.com/gb/downloads-witbox.html"
65 68
 
66 69
 // Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines)
67 70
 // You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4)

+ 2
- 15
Marlin/language.h View File

@@ -59,21 +59,8 @@
59 59
 #elif MB(SAV_MKI)
60 60
   #define MACHINE_NAME "SAV MkI"
61 61
   #define FIRMWARE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
62
-#elif MB(WITBOX)
63
-  #define MACHINE_NAME "WITBOX"
64
-  #define FIRMWARE_URL "http://www.bq.com/gb/downloads-witbox.html"
65
-#elif MB(HEPHESTOS)
66
-  #define MACHINE_NAME "HEPHESTOS"
67
-  #define FIRMWARE_URL "http://www.bq.com/gb/downloads-prusa-i3-hephestos.html"
68
-#elif MB(BRAINWAVE_PRO)
69
-  #define MACHINE_NAME "Kossel Pro"
70
-  #ifndef FIRMWARE_URL
71
-    #define FIRMWARE_URL "https://github.com/OpenBeamUSA/Marlin/"
72
-  #endif
73
-#else
74
-  #ifndef MACHINE_NAME
75
-    #define MACHINE_NAME "3D Printer"
76
-  #endif
62
+#elif !defined(MACHINE_NAME)
63
+  #define MACHINE_NAME "3D Printer"
77 64
 #endif
78 65
 
79 66
 #ifdef CUSTOM_MENDEL_NAME

+ 0
- 4
Marlin/pins.h View File

@@ -104,10 +104,6 @@
104 104
   #include "pins_5DPRINT.h"
105 105
 #elif MB(LEAPFROG)
106 106
   #include "pins_LEAPFROG.h"
107
-#elif MB(WITBOX)
108
-  #include "pins_WITBOX.h"
109
-#elif MB(HEPHESTOS)
110
-  #include "pins_HEPHESTOS.h"
111 107
 #elif MB(BAM_DICE)
112 108
   #include "pins_RAMPS_13.h"
113 109
 #elif MB(BAM_DICE_DUE)

+ 0
- 11
Marlin/pins_HEPHESTOS.h View File

@@ -1,11 +0,0 @@
1
-/**
2
- * bq Prusa i3 Hephestos – Arduino Mega with RAMPS v1.3/1.4 pin assignments
3
- */
4
-
5
-#include "pins_RAMPS_13.h"
6
-
7
-#undef FAN_PIN
8
-#define FAN_PIN             9 // (Sprinter config)
9
-
10
-#undef HEATER_1_PIN
11
-#define HEATER_1_PIN       -1

+ 0
- 11
Marlin/pins_WITBOX.h View File

@@ -1,11 +0,0 @@
1
-/**
2
- * bq WITBOX Arduino Mega with RAMPS v1.3/1.4 pin assignments
3
- */
4
-
5
-#include "pins_RAMPS_13.h"
6
-
7
-#undef FAN_PIN
8
-#define FAN_PIN             9 // (Sprinter config)
9
-
10
-#undef HEATER_1_PIN
11
-#define HEATER_1_PIN       -1

Loading…
Cancel
Save