Configuring Marlin for WoodMAX i3

Published on in Series RepRap WoodMAX i3 Build Manual


This step is for is for Advanced Users, who are good at programming and hardware

Warning: Do not turn on SMPS Power supply till Step 10: Powering Up

Marlin is an open source software which understands GCode and controls the 3D Printer hardware. Marlin will run inside Arduino Mega 2560.

If you are not comfortable with editing the configuration file, then follow below steps under section Use pre-configured source to use the pre-configured Marlin source

Configure Marlin Yourself (For Advanced Maker)

Download and extract the source of latest Marlin firmware from this link : https://github.com/MarlinFirmware/Marlin.git

Set the baudrate

#define BAUDRATE 115200

In the extracted source, open Configuration.h file under Marlin directory

Set the MOTHERBOARD define to 33

This will configure the RAMP boards with 1xExtruder, 1xFan, 1xBed, see Marlin/boards.h file for more configuration

#ifndef MOTHERBOARD
#define MOTHERBOARD BOARD_RAMPS_13_EFB
#endif

Set Name and UUID (Optional)

This is optional, uncomment and set below defines values

#define CUSTOM_MENDEL_NAME "WoodMAX 1.0"
#define MACHINE_UUID "12941deb-3b62-4c18-8d53-10fcd7338bf3"

Set no. of extruder’s

This defines the number of extruders

#define EXTRUDERS 1

Set the thermistor

#define TEMP_SENSOR_0 11
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 11

Set MAX temperature limits

When temperature exceeds max temp, your heater will be switched off. This feature exists to protect your hotend from overheating accidentally, but NOT from thermistor short/failure!. You should use MINTEMP for thermistor short/failure protection.

#define HEATER_0_MAXTEMP 230
#define HEATER_1_MAXTEMP 230
#define HEATER_2_MAXTEMP 230
#define BED_MAXTEMP 150

Set PID values

Later you can recalculate the values by running PID tuning

#define DEFAULT_Kp 26.88
#define DEFAULT_Ki 1.57
#define DEFAULT_Kd 114.95

Endstops settings

Sets direction of endstops when homing; 1=MAX, -1=MIN

#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

Set the direction of XYZ and E axis Stepper Motor

#define INVERT_X_DIR false
#define INVERT_Y_DIR true
#define INVERT_Z_DIR false
#define INVERT_E0_DIR false

Travel limits after homing

#define X_MAX_POS 200
#define X_MIN_POS 0
#define Y_MAX_POS 200
#define Y_MIN_POS 0
#define Z_MAX_POS 180
#define Z_MIN_POS 0

Feedrate and acceleration settings

#define HOMING_FEEDRATE {50*60, 50*60, 2.5*60, 0} // set the homing speeds (mm/min)

#define DEFAULT_AXIS_STEPS_PER_UNIT {80, 80, 4000, 100.52} // steps per unit for WoodMAXi3
#define DEFAULT_MAX_FEEDRATE {500, 500, 2, 25} // (mm/sec)
#define DEFAULT_MAX_ACCELERATION {4000,4000,100,1000} // X, Y, Z, E maximum start speed for accelerated moves.


#define DEFAULT_ACCELERATION          1000    // 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

Jerk values

#define DEFAULT_XYJERK                20.0 // (mm/sec)
#define DEFAULT_ZJERK                 0.4     // (mm/sec)
#define DEFAULT_EJERK                 2.0    // (mm/sec)

Uploading Marlin Firmware

Download Arduino IDE 1.0.5 or higher version

Download Arduino - Software

Here we are not going to show you how to install Arduino IDE and drivers, because Arduino has created a beautiful guide for it - Arduino - Getting Started

Compile and upload firmware to Arduino Mega2560.

Open file Marlin/Marlin.ino in Arduino IDE, then press compile and upload button in the IDE tool bar.

Wait till the Marlin firmware is uploaded

Video Guide



This article is part of RepRap WoodMAX i3 Build Manual series.

  1. WoodMAX i3 3D Printer Specification
  2. Bill of Materials for WoodMAXi3 3D Printer
  3. WoodMAXi3 Main Frame assembly guide
  4. WoodMAXi3 Z Axis Assembly guide
  5. WoodMAXi3 Print Bed Assembly Guide
  6. WoodMAXi3 X axis assembly guide
  7. WoodMAXi3 Electronics Assembly guide
  8. Installing Marlin firmware in WoodMAXi3
  9. Configuring Repetier Host for WoodMAXi3
  10. Powering Up WoodMAXi3 3D Printer
  11. Thing to do Before 3D Printing
  12. WoodMAX FAQ
  13. WoodMAXi3 / Prusai3 Troubleshooting Guide
  14. Configuring Matter Control for WoodMAX i3 /Prusa i3
  15. Configuring Marlin for WoodMAX i3 [This Article]
  16. Sample Slic3r Configuration for WoodMAX i3

TAGS: woodmaxi3

Share on: Email Facebook Twitter


View/Write Comments