probonopd / RF100-Firmware

Conrad Electronic Renkforce RF100 Firmware
https://www.conrad.de/de/renkforce-rf100-3d-drucker-starter-kit-inkl-filament-1507428.html
GNU General Public License v3.0
7 stars 5 forks source link

Port to latest Marlin version #1

Open probonopd opened 7 years ago

probonopd commented 7 years ago

Can we port this to the latest version of Marlin?

probonopd commented 7 years ago

The current version cannot even be compiled with the morst recent Arduino IDEs anymore.

probonopd commented 7 years ago

At http://www.renkforce-rf100.ch/firmware/firmware-rf100/index.html someone seems to have made a RF100 firmware based on "Marlin Version of 04.06.2017".

But it may have issues with the three-point calibration.

probonopd commented 7 years ago

The best course of action would be to make a perfect configuration and then submit that to Marlin upstream.

probonopd commented 7 years ago

These seem to be the changes that must be made to a stock Marlin 1.1.x firmware.

In Configuration.h:

#define BAUDRATE 115200
  #define MOTHERBOARD BOARD_RAMPS_13_EFB
#define CUSTOM_MACHINE_NAME "RF100"
  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1
// #define USE_YMIN_PLUG
#define USE_YMAX_PLUG
#define Y_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 Z_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define DEFAULT_AXIS_STEPS_PER_UNIT   { 78.82,78.82,800,106 }
#define DEFAULT_MAX_FEEDRATE          { 300, 300, 20, 25 }
#define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 10000 }
#define DEFAULT_ACCELERATION           500    // X, Y, Z and E acceleration for printing moves
#define DEFAULT_TRAVEL_ACCELERATION    500    // X, Y, Z acceleration for travel (non printing) moves
//#define Z_MIN_PROBE_PIN Z_MAX_PIN
#define PROBE_MANUALLY
#define INVERT_Z_DIR true
#define INVERT_E0_DIR true
#define Y_HOME_DIR  1
#define X_MAX_POS 105
#define Y_MAX_POS 135 // Need to use a larger bed. I use the glass from a 13 x 18 cm picture frame 
#define Z_MAX_POS 100
#define MESH_BED_LEVELING
  #define RIGHT_PROBE_BED_POSITION 85
  #define BACK_PROBE_BED_POSITION 80
  #define ABL_PROBE_PT_1_Y 10
  #define ABL_PROBE_PT_2_X 85
  #define ABL_PROBE_PT_2_Y 10
  #define ABL_PROBE_PT_3_X 50
  #define ABL_PROBE_PT_3_Y 90
  #define UBL_PROBE_PT_1_X 39       // These set the probe locations for when UBL does a 3-Point leveling
  #define UBL_PROBE_PT_1_Y 180      // of the mesh.
  #define GRID_MAX_POINTS_X 2    // Don't use more than 7 points per axis, implementation limited.
#define LCD_BED_LEVELING
#define PREHEAT_1_FAN_SPEED   255 // Value from 0 to 255
#define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
#define SDSUPPORT
#define ENCODER_PULSES_PER_STEP 3
#define ENCODER_STEPS_PER_MENU_ITEM 1
#define REVERSE_ENCODER_DIRECTION
#define REPRAP_DISCOUNT_SMART_CONTROLLER
#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75

In Configuration_adv.h:

#define E0_AUTO_FAN_PIN  9
  #define CASE_LIGHT_PIN 4
  #define D_FILAMENT 1.75
#define ADVANCED_PAUSE_FEATURE
//#define AUTO_REPORT_TEMPERATURES
//#define EXTENDED_CAPABILITIES_REPORT

#define LIN_ADVANCE // Experimental; disable if it causes issues