Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
reprap:anet:a8:firmware:adaptingmarlin [2016/12/21 23:52] – created lukeskymuh | reprap:anet:a8:firmware:adaptingmarlin [2018/12/02 02:27] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Addapting Marlin to the A8 ==== | + | ==== Addapting Marlin to the A8 & Ramps 1.4==== |
+ | In configuration.h | ||
+ | |||
+ | #define BAUDRATE 115200 // | ||
+ | |||
+ | #define TEMP_SENSOR_0 5 | ||
+ | #define TEMP_SENSOR_1 0 | ||
+ | #define TEMP_SENSOR_2 0 | ||
+ | #define TEMP_SENSOR_3 0 | ||
+ | #define TEMP_SENSOR_BED 5 | ||
+ | |||
+ | |||
+ | #define BED_MAXTEMP 130 | ||
+ | |||
+ | #if DISABLED(ENDSTOPPULLUPS) | ||
+ | // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined | ||
+ | #define ENDSTOPPULLUP_XMAX | ||
+ | #define ENDSTOPPULLUP_YMAX | ||
+ | #define ENDSTOPPULLUP_ZMAX | ||
+ | #define ENDSTOPPULLUP_XMIN | ||
+ | #define ENDSTOPPULLUP_YMIN | ||
+ | // #define ENDSTOPPULLUP_ZMIN | ||
+ | // #define ENDSTOPPULLUP_ZMIN_PROBE | ||
+ | #endif | ||
+ | |||
+ | // Mechanical endstop with COM to ground and NC to Signal uses " | ||
+ | #define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. | ||
+ | #define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. | ||
+ | #define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. | ||
+ | #define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||
+ | #define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||
+ | #define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. | ||
+ | #define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. | ||
+ | |||
+ | // Travel limits after homing (units are in mm) | ||
+ | #define X_MIN_POS 0 | ||
+ | #define Y_MIN_POS 0 | ||
+ | #define Z_MIN_POS 0 | ||
+ | #define X_MAX_POS 220 | ||
+ | #define Y_MAX_POS 220 | ||
+ | #define Z_MAX_POS 240 | ||
+ | |||
+ | #define DEFAULT_AXIS_STEPS_PER_UNIT | ||
+ | #define DEFAULT_AXIS_STEPS_PER_UNIT | ||
+ | #define DEFAULT_MAX_FEEDRATE | ||
+ | #define DEFAULT_MAX_ACCELERATION | ||
+ | |||
+ | #define DEFAULT_ACCELERATION | ||
+ | #define DEFAULT_RETRACT_ACCELERATION | ||
+ | #define DEFAULT_TRAVEL_ACCELERATION | ||
+ | |||
+ | #define FIX_MOUNTED_PROBE | ||
+ | |||
+ | #define AUTO_BED_LEVELING_LINEAR | ||
+ | |||
+ | #define LEFT_PROBE_BED_POSITION | ||
+ | #define RIGHT_PROBE_BED_POSITION | ||
+ | #define BACK_PROBE_BED_POSITION | ||
+ | #define FRONT_PROBE_BED_POSITION | ||
+ | |||
+ | |||
+ | select the display: | ||
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER | #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER | ||
+ | |||
+ | // Disables axis when it's not being used. | ||
+ | #define DISABLE_X false | ||
+ | #define DISABLE_Y false | ||
+ | #define DISABLE_Z false | ||
+ | #define DISABLE_E false // For all extruders | ||
+ | #define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled | ||
+ | |||
+ | #define INVERT_X_DIR false // 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_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 | ||
+ | #define INVERT_E2_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false | ||
+ | |||
+ | #if DISABLED(ENDSTOPPULLUPS) | ||
+ | // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined | ||
+ | #define ENDSTOPPULLUP_XMAX | ||
+ | #define ENDSTOPPULLUP_YMAX | ||
+ | #define ENDSTOPPULLUP_ZMAX | ||
+ | #define ENDSTOPPULLUP_XMIN | ||
+ | #define ENDSTOPPULLUP_YMIN | ||
+ | #define ENDSTOPPULLUP_ZMIN | ||
+ | #define ENDSTOPPULLUP_ZMIN_PROBE | ||
+ | #endif | ||
+ | |||
+ | // Mechanical endstop with COM to ground and NC to Signal uses " | ||
+ | #define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. | ||
+ | #define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. | ||
+ | #define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. | ||
+ | #define X_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. | ||
+ | #define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. | ||
+ | #define Z_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. | ||
+ | #define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. | ||
+ | |||
+ | |||
+ | // Travel limits after homing | ||
+ | #define X_MAX_POS 225 | ||
+ | #define X_MIN_POS -33 | ||
+ | #define Y_MAX_POS 225 | ||
+ | #define Y_MIN_POS -10 | ||
+ | #define Z_MAX_POS 245 | ||
+ | #define Z_MIN_POS 0 |