This is (usually) the latest Marlin firmware tweaked and tailored for the Alunar M508 3D Printer. The settings are what work for my machine, with my setup, it may not be perfect for you.
- Download the latest binary release.
- Extract the zip file
- Download Arduino IDE (if you haven't already)
- You could also get binaries for avrdude.
- Open console window to avrdude binary directory.
- Windows: `c:\Program Files(x86)\Arduino\hardware\tools\avr\bin
- Linux/macOS:
/<arduino-dir>/hardware/tools/avr/bin
- Run the following command:
$ avrdude -p m2560 -c avrispmkII -P /dev/ttyACM0 -C /<arduino-dir>/hardware/tools/avr/etc/avrdude.conf -D -U flash:w:/PATH/TO/FIRMWARE.HEX:i
/dev/ttyACM0
may not be the port that the device is connected to on your machine. On a Windows machine, this value will be something like COM4
- Download Arduino IDE (if you haven't already)
- Clone / Download this repository
- Connect USB from Mainboard to PC
- Open Arduino
- Open
Marlin/Marlin.ino
- Set board under
Tools
menu toArduino Mega 2560 or Mega ADK
- Choose USB serial port
- Upload firmware to board
File -> Upload (CTRL+U)