Get Started with Marlin frimware for RW Prusa i3 – Part 1

Please never plug or unplug anything from the board while it is powered, as it can damage it.

1.  Download and install the arduino software:

http://arduino.cc/en/Main/Software

1.1 in the arduino software Set Tools/Board to Arduino Mega 2560
1.2 in The arduino software connect the board and set Tools/Serial Port correctly

2. Download the latest Marlin software

https://github.com/ErikZalm/Marlin

3. Open the Marli.ino file with the arduino software

4. Click on the configuration.h file tab

5. (Optional) the baudrate should be the same on your computer than on the firmware if you use the computer to control the printer directly.

#define BAUDRATE 250000

6. set the motherboard to 33

#ifndef MOTHERBOARD
#define MOTHERBOARD 33
#endif

7. Temp sensor setup

#define TEMP_SENSOR_0 5
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 1

8. Set max temp

#define HEATER_0_MAXTEMP 260
#define HEATER_1_MAXTEMP 260
#define HEATER_2_MAXTEMP 260
#define BED_MAXTEMP 120

9. Set minimum extrusion temp.

#define EXTRUDE_MINTEMP 180

10. Set disable z axis to save power.

#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z true
#define DISABLE_E false // For all extruders

11. Set the Axis directions and homing directions.

Positive moves:
X axes needs to move to the right
Y axes needs to move away from you
Z axes needs to move up
Extruder needs to forward the filament

If any of the axes moves the opposite than described above you can change the direction if you change “false” to “true”

#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 false     // 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

11.1  Home direction. If homing an axe goes away from the end stop  you can change “-1″ to “1″

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

12. Define software endstops, if you used only the 3 minimum endstops

#define min_software_endstops true // If true, axis won’t move to coordinates less than HOME_POS.
#define max_software_endstops false  // If true, axis won’t move to coordinates greater than the defined lengths below.

13. Set the maximum allowed position for the software endstops

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

14. Here are some default values, however Calibration of the printer will determine these values.

#define DEFAULT_AXIS_STEPS_PER_UNIT   {78.7402,78.7402,200.0*8/3,760*1.1}

15. Preheat settings, please adjust these accordingly to the plastic used and extruder used.

// Preheat Constants
#define PLA_PREHEAT_HOTEND_TEMP 190
#define PLA_PREHEAT_HPB_TEMP 70
#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_FAN_SPEED 255   // Insert Value between 0 and 255

16. Define the lcd

#define G3D_PANEL

You are ready to upload the changes.

In the secound part I will describe any changes needed in the pins.h file