OSE Marlin and Github

From Open Source Ecology
Revision as of 00:27, 27 May 2018 by Marcin (talk | contribs)
Jump to navigation Jump to search

This article will describe how to obtain the latest version of OSE Marlin from Github, load them into the Arduino IDE, and upload the sketch to your arduino.

Git

If you don't already have a local copy of the OSE Marlin git repository, you should setup a local sandbox and clone the remote repository into it. To do so, open a terminal and type:

mkdir $HOME/sandbox/ose_marlin
pushd $HOME/sandbox/ose_marlin
git clone https://github.com/OpenSourceEcology/3D-Printer-OSE-Marlin.git

If you do already have a local copy of the git repo on your system, make sure to update it using the `git pull` command

pushd $HOME/sandbox/ose_marlin
git pull

Choose relevant Configuration.h file

Because OSE has many printers, OSE_Marlin has many distinct configuration files. To use the relevant configuration file for your printer, symlink Configuration.h to the relevant configuration file to the 'Configuration.h' file.

For example, to use the configuration file for the 2018-04 model of the 3d printer using the Titan Aero extruder and an LCD screen:

pushd $HOME/sandbox/ose_marlin/OSE_Marlin
rm Configuration.h
ln -s Configuration_TitanAero_lcd.1804.h Configuration.h

Open Sketch in Arduino IDE

Now you can open the sketch in the Arduino IDE:

  1. Open 'Arduino IDE'
  2. Click 'File' -> 'Open...'
  3. Browse to 'OSE_Marlin.ino' file within the git repo cloned above, located in '/home/<your_username>/sandbox/ose_marlin/OSE_Marlin/OSE_Marlin.ino'

Import any necessary libraries

For example, using the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LCD screen, you need to download & import the appropriate u8glib library into your Arduino IDE

Update Arduino

To update your 3d printer's arduino, click the 'Verify' checkbox in the Arduino IDE, followed by the 'Upload' button.

Links