Skip to content

Instantly share code, notes, and snippets.

@niladri30
Last active January 21, 2021 06:02
Show Gist options
  • Save niladri30/c2b3e4b5e4b244c6d5480ba4156f50ca to your computer and use it in GitHub Desktop.
Save niladri30/c2b3e4b5e4b244c6d5480ba4156f50ca to your computer and use it in GitHub Desktop.
Using Marlin Firmware with Arduino Mega and Ramps 1.4
Steps to use Marlin Firmware for Ramps 1.4 with Arduino Mega:
1. Download Marlin 1.0.0 firmware which supports Arduino 1.6.8 and above.
Link: https://github.com/MarlinFirmware/Marlin/archive/1.0.x.zip
Note: Do not go for Marlin 2.0.x as it will throw error during compilation if you are using Arduino IDE.
`Error: avr-gcc: CreateProcess: No such file or directory`
If you are using PlatformIo IDE you can use Marlin 2.0.X to compile
2. Once downloaded extract and open Marlin.io file in Arduino IDE and make changes to Configuration.h file:
a. Change the TEMP_SENSOR_0 to 0 from -1
#define TEMP_SENSOR_0 0 // ---CHANGED TO MAKE THE PRINTER ONLINE OLD VALUE: TEMP_SENSOR_0 -1
b. Change name of the motherboard you are using, in this case RAMPS 1.4, check the list of available motherboards in boards.h file:
#define MOTHERBOARD BOARD_RAMPS_13_EFB // BOARD_ULTIMAKER
c. Change the baudrate values (optional):
#define BAUDRATE 115200 // older 250000
3. Compile when all the changes are done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment