Difference between revisions of "Mark2 Firmware"

From Aus3D Wiki
Jump to navigation Jump to search
Line 9: Line 9:


== Changes to Configuration.h ==
== Changes to Configuration.h ==
  #define MOTHERBOARD BOARD_RAMPS_13_EEB
  #define CUSTOM_MACHINE_NAME "Aus3D Mark2"
  #define TEMP_SENSOR_0 5 #define TEMP_SENSOR_0 1
  #define TEMP_SENSOR_1 0 #define TEMP_SENSOR_1 0
  #define TEMP_SENSOR_2 0 #define TEMP_SENSOR_2 0
  #define TEMP_SENSOR_3 0 #define TEMP_SENSOR_3 0
  #define TEMP_SENSOR_BED 1
  #define ENDSTOPPULLUP_ZMIN
  // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
  const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
  const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
  const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
  const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
  const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
  const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
  const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
  #define INVERT_X_DIR false
  #define INVERT_Y_DIR false
  #define INVERT_Z_DIR false
  #define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
  #define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
  #define LEFT_PROBE_BED_POSITION 60
  #define RIGHT_PROBE_BED_POSITION 140
  #define FRONT_PROBE_BED_POSITION 50
  #define BACK_PROBE_BED_POSITION 150
  // Offsets to the probe relative to the extruder tip (Hotend - Probe)
  // X and Y offsets must be integers
  #define X_PROBE_OFFSET_FROM_EXTRUDER 30    // Probe on: -left  +right
  #define Y_PROBE_OFFSET_FROM_EXTRUDER 0    // Probe on: -front +behind
  #define Z_PROBE_OFFSET_FROM_EXTRUDER -1.95  // -below (always!)
  #define Z_RAISE_BEFORE_PROBING 5  //How much the extruder will be raised before traveling to the first probing point.
  #define Z_RAISE_BETWEEN_PROBINGS 5  //How much the extruder will be raised when traveling from between next probing points
  #define Z_RAISE_AFTER_PROBING 5    //How much the extruder will be raised after the last probing point.
  #define HOMING_FEEDRATE {50*60, 50*60, 10*60, 0}  // set the homing speeds (mm/min)
  #define DEFAULT_AXIS_STEPS_PER_UNIT  {80,80,400,120}  // default steps per unit for Ultimaker
  #define DEFAULT_MAX_FEEDRATE          {300, 300, 10, 25}    // (mm/sec)
  #define DEFAULT_MAX_ACCELERATION      {3000,3000,50,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 EEPROM_SETTINGS


== Changes to Configuration_adv.h ==
== Changes to Configuration_adv.h ==

Revision as of 02:27, 12 October 2015


Mark2 3D Printer


Getting the Firmware

We recommend using the fantastic Marlin firmware with our Mark2 printer kits. A version of Marlin pre-customised for the Mark2 printer is available on GitHub, and we will endeavour to keep it up-to-date with the latest Marlin releases.

Generally, the easiest way to get your printer up and running is to download the pre-customised firmware, and to upload that firmware to your board following the guide here.

However, if you want to use a different firmware version (i.e. a newer development version of Marlin), or just if you want to check the changes for your own reference, the page here details the main changes that need to be made to suit the Mark2 3D printer.

Changes to Configuration.h

 #define MOTHERBOARD BOARD_RAMPS_13_EEB
 #define CUSTOM_MACHINE_NAME "Aus3D Mark2"
 #define TEMP_SENSOR_0 5		#define TEMP_SENSOR_0 1
 #define TEMP_SENSOR_1 0		#define TEMP_SENSOR_1 0
 #define TEMP_SENSOR_2 0		#define TEMP_SENSOR_2 0
 #define TEMP_SENSOR_3 0		#define TEMP_SENSOR_3 0
 #define TEMP_SENSOR_BED 1
 #define ENDSTOPPULLUP_ZMIN
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
 const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
 const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
 const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
 const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
 const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
 const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
 const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
 #define INVERT_X_DIR false
 #define INVERT_Y_DIR false
 #define INVERT_Z_DIR false
 #define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
 #define Z_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
 #define LEFT_PROBE_BED_POSITION 60
 #define RIGHT_PROBE_BED_POSITION 140
 #define FRONT_PROBE_BED_POSITION 50
 #define BACK_PROBE_BED_POSITION 150
 // Offsets to the probe relative to the extruder tip (Hotend - Probe)
 // X and Y offsets must be integers
 #define X_PROBE_OFFSET_FROM_EXTRUDER 30     // Probe on: -left  +right
 #define Y_PROBE_OFFSET_FROM_EXTRUDER 0     // Probe on: -front +behind
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -1.95  // -below (always!)
 #define Z_RAISE_BEFORE_PROBING 5   //How much the extruder will be raised before traveling to the first probing point.
 #define Z_RAISE_BETWEEN_PROBINGS 5  //How much the extruder will be raised when traveling from between next probing points
 #define Z_RAISE_AFTER_PROBING 5    //How much the extruder will be raised after the last probing point.
 #define HOMING_FEEDRATE {50*60, 50*60, 10*60, 0}  // set the homing speeds (mm/min)
 #define DEFAULT_AXIS_STEPS_PER_UNIT   {80,80,400,120}  // default steps per unit for Ultimaker
 #define DEFAULT_MAX_FEEDRATE          {300, 300, 10, 25}    // (mm/sec)
 #define DEFAULT_MAX_ACCELERATION      {3000,3000,50,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 EEPROM_SETTINGS

Changes to Configuration_adv.h

Changes to pins.h

Links

Pre-customised Marlin Firmware

Marlin Page on GitHub

Marlin Homepage