Skip to content

Commit

Permalink
Setup for Prusa i3 Hephestos with Rumba and mixing extruder
Browse files Browse the repository at this point in the history
Also Removed extruder 2 & 3 from the display
  • Loading branch information
RepRapMe committed Mar 31, 2015
1 parent 4e30e8c commit c356285
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 42 deletions.
32 changes: 16 additions & 16 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
// build by the user have been successfully uploaded into firmware.
#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
#define STRING_CONFIG_H_AUTHOR "ma@reprap.me" // Who made the changes.

// SERIAL_PORT selects which serial port should be used for communication with the host.
// This allows the connection of wireless adapters (for instance) to non-default port pins.
Expand All @@ -41,7 +41,7 @@
// The following define selects which electronics board you have.
// Please choose the name from boards.h that matches your setup
#ifndef MOTHERBOARD
#define MOTHERBOARD BOARD_ULTIMAKER
#define MOTHERBOARD BOARD_RUMBA
#endif

// Define this to set a custom name for your generic Mendel,
Expand All @@ -52,7 +52,7 @@
// #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"

// This defines the number of extruders
#define EXTRUDERS 1
#define EXTRUDERS 3

//// The following define selects which power supply you have. Please choose the one that matches your setup
// 1 = ATX
Expand Down Expand Up @@ -101,10 +101,10 @@
// 147 is Pt100 with 4k7 pullup
// 110 is Pt100 with 1k pullup (non standard)

#define TEMP_SENSOR_0 -1
#define TEMP_SENSOR_1 -1
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 0
#define TEMP_SENSOR_0 6
#define TEMP_SENSOR_1 6
#define TEMP_SENSOR_2 6
#define TEMP_SENSOR_BED 6

// This makes temp sensor 1 a redundant sensor for sensor 0. If the temperatures difference between these sensors is to high the print will be aborted.
//#define TEMP_SENSOR_1_AS_REDUNDANT
Expand Down Expand Up @@ -314,7 +314,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled

#define INVERT_X_DIR true // for Mendel set to false, for Orca set to true
#define INVERT_Y_DIR false // for Mendel set to true, for Orca set to false
#define INVERT_Y_DIR true // for Mendel set to true, for Orca set to false
#define INVERT_Z_DIR true // for Mendel set to false, for Orca set to true
#define INVERT_E0_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E1_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false
Expand All @@ -330,7 +330,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#define max_software_endstops true // If true, axis won't move to coordinates greater than the defined lengths below.

// Travel limits after homing
#define X_MAX_POS 205
#define X_MAX_POS 215
#define X_MIN_POS 0
#define Y_MAX_POS 205
#define Y_MIN_POS 0
Expand Down Expand Up @@ -474,9 +474,9 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of

// default settings

#define DEFAULT_AXIS_STEPS_PER_UNIT {78.7402,78.7402,200.0*8/3,760*1.1} // default steps per unit for Ultimaker
#define DEFAULT_MAX_FEEDRATE {500, 500, 5, 25} // (mm/sec)
#define DEFAULT_MAX_ACCELERATION {9000,9000,100,10000} // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot.
#define DEFAULT_AXIS_STEPS_PER_UNIT {80, 80, 4000, (200*16)/21} // default steps per unit for Ultimaker
#define DEFAULT_MAX_FEEDRATE {200, 200, 2, 25} // (mm/sec)
#define DEFAULT_MAX_ACCELERATION {4000,4000,50,1000} // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot.

#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for printing moves
#define DEFAULT_RETRACT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for retracts
Expand Down Expand Up @@ -517,12 +517,12 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
//#define EEPROM_CHITCHAT

// Preheat Constants
#define PLA_PREHEAT_HOTEND_TEMP 180
#define PLA_PREHEAT_HPB_TEMP 70
#define PLA_PREHEAT_HOTEND_TEMP 200
#define PLA_PREHEAT_HPB_TEMP 60
#define PLA_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255

#define ABS_PREHEAT_HOTEND_TEMP 240
#define ABS_PREHEAT_HPB_TEMP 100
#define ABS_PREHEAT_HPB_TEMP 110
#define ABS_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255

//LCD and SD support
Expand All @@ -544,7 +544,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of

// The RepRapDiscount Smart Controller (white PCB)
// http://reprap.org/wiki/RepRapDiscount_Smart_Controller
//#define REPRAP_DISCOUNT_SMART_CONTROLLER
#define REPRAP_DISCOUNT_SMART_CONTROLLER

// The GADGETS3D G3D LCD/SD Controller (blue PCB)
// http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel
Expand Down
4 changes: 2 additions & 2 deletions Marlin/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -1668,7 +1668,7 @@
#if (TEMP_SENSOR_1==-1)
#define TEMP_1_PIN 5 // ANALOG NUMBERING - connector *K2* on RUMBA thermocouple ADD ON is used
#else
#define TEMP_1_PIN 14 // ANALOG NUMBERING - default connector for thermistor *T1* on rumba board is used
#define TEMP_1_PIN 15//14 // ANALOG NUMBERING - default connector for thermistor *T1* on rumba board is used
#endif
#endif

Expand All @@ -1680,7 +1680,7 @@
#if (TEMP_SENSOR_2==-1)
#define TEMP_2_PIN 7 // ANALOG NUMBERING - connector *K3* on RUMBA thermocouple ADD ON is used <-- this can not be used when TEMP_SENSOR_BED is defined as thermocouple
#else
#define TEMP_2_PIN 13 // ANALOG NUMBERING - default connector for thermistor *T2* on rumba board is used
#define TEMP_2_PIN 15//13 // ANALOG NUMBERING - default connector for thermistor *T2* on rumba board is used
#endif
#endif

Expand Down
49 changes: 25 additions & 24 deletions Marlin/ultralcd_implementation_hitachi_HD44780.h
Original file line number Diff line number Diff line change
Expand Up @@ -490,19 +490,20 @@ static void lcd_implementation_status_screen()
lcd_printPGM(PSTR(LCD_STR_DEGREE " "));
if (tTarget < 10)
lcd.print(' ');

# if EXTRUDERS > 1 || TEMP_SENSOR_BED != 0
//If we have an 2nd extruder or heated bed, show that in the top right corner
//# if EXTRUDERS > 1 || TEMP_SENSOR_BED != 0
// //If we have an 2nd extruder or heated bed, show that in the top right corner //Mixing extruder edit by ma@reprap.me
# if TEMP_SENSOR_BED != 0
//If we have a heated bed, show that in the top right corner
lcd.setCursor(10, 0);
# if EXTRUDERS > 1
tHotend = int(degHotend(1) + 0.5);
tTarget = int(degTargetHotend(1) + 0.5);
lcd.print(LCD_STR_THERMOMETER[0]);
# else//Heated bed
//# if EXTRUDERS > 1
// tHotend = int(degHotend(1) + 0.5);
// tTarget = int(degTargetHotend(1) + 0.5);
// lcd.print(LCD_STR_THERMOMETER[0]);
//# else//Heated bed //Mixing extruder edit by ma@reprap.me
tHotend=int(degBed() + 0.5);
tTarget=int(degTargetBed() + 0.5);
lcd.print(LCD_STR_BEDTEMP[0]);
# endif
//# endif //Mixing extruder edit by ma@reprap.me
lcd.print(itostr3(tHotend));
lcd.print('/');
lcd.print(itostr3left(tTarget));
Expand All @@ -525,26 +526,26 @@ static void lcd_implementation_status_screen()
lcd.print('%');
# endif//SDSUPPORT
# else//LCD_WIDTH > 19
# if EXTRUDERS > 1 && TEMP_SENSOR_BED != 0
//If we both have a 2nd extruder and a heated bed, show the heated bed temp on the 2nd line on the left, as the first line is filled with extruder temps
tHotend=int(degBed() + 0.5);
tTarget=int(degTargetBed() + 0.5);

lcd.setCursor(0, 1);
lcd.print(LCD_STR_BEDTEMP[0]);
lcd.print(itostr3(tHotend));
lcd.print('/');
lcd.print(itostr3left(tTarget));
lcd_printPGM(PSTR(LCD_STR_DEGREE " "));
if (tTarget < 10)
lcd.print(' ');
# else
//# if EXTRUDERS > 1 && TEMP_SENSOR_BED != 0
// //If we both have a 2nd extruder and a heated bed, show the heated bed temp on the 2nd line on the left, as the first line is filled with extruder temps
// tHotend=int(degBed() + 0.5);
// tTarget=int(degTargetBed() + 0.5);
//
// lcd.setCursor(0, 1);
// lcd.print(LCD_STR_BEDTEMP[0]);
// lcd.print(itostr3(tHotend));
// lcd.print('/');
// lcd.print(itostr3left(tTarget));
// lcd_printPGM(PSTR(LCD_STR_DEGREE " "));
// if (tTarget < 10)
// lcd.print(' ');
//# else //Mixing extruder edit by ma@reprap.me
lcd.setCursor(0,1);
lcd.print('X');
lcd.print(ftostr3(current_position[X_AXIS]));
lcd_printPGM(PSTR(" Y"));
lcd.print(ftostr3(current_position[Y_AXIS]));
# endif//EXTRUDERS > 1 || TEMP_SENSOR_BED != 0
//# endif//EXTRUDERS > 1 || TEMP_SENSOR_BED != 0 //Mixing extruder edit by ma@reprap.me
# endif//LCD_WIDTH > 19
lcd.setCursor(LCD_WIDTH - 8, 1);
lcd.print('Z');
Expand Down

0 comments on commit c356285

Please sign in to comment.