A Few Words First:: Updating/upgrading Your 3D Printer Firmware
A Few Words First:: Updating/upgrading Your 3D Printer Firmware
printer firmware
Firmware Updates:
Version 1.1.9
Scalar S
Scalar L
Scalar XL Premium
Scalar XL Premium 40
Version 1.1.5
Scalar S
Scalar L
E3DV6 1.75/3mm
E3DV6 1.75/3mm + filament runout module
E3D lite 6 1.75mm
E3D lite 6 1.75mm + filament runout module
E3D V6 + PT100 + TFT28
Hexagone 3mm
Scalar XL Premium
The
Arduino IDE;
After having installed it, execute it.
After a few seconds
the main window will open with an empty sketch
Configure the IDE to get the line
numbers:
In order to make it easier for you to find the proper location
on each feature inside the firmware, you might be interested
to enable the line numbers on the IDE.
Then select
« Display Line numbers » check box and click « ok »
now the line
numbers should be visible on the left of the editor.
Special Note: The lines numbers are valid for firmware version
1.0.0. For other firmware versions the lines might change a
little bit and some parameter names might even slightly
change.
Inside
« Marlin » folder the most important files that you will need
to use are « Configuration.h »
and
« Marlin.ino »
From the Arduino IDE you will need to open « Marlin.ino » that
is the firmware main project.
Once opened
the ide should look like this
It’s really
useful for you to increase the size of the window in order to
better see the line of codes later on.
Now connector
to your 3D printer USB port and make sure that the arduino is
properly detected by your pc.
the lines in color are active while the lines in grey are
comments.
Thermistor setup:
in order to tell the firmware which thermistor we are using we
need to select the proper thermistor table for both hot ends
and heatbed.
In this
example you see 5 parameters related to temperature sensors.
https://en.wikipedia.org/wiki/PID_controller
It’s better to use PID mode for heating element that are
compatible with this mode of heating such as Hot ends and 220V
heat beds driven by SSR.
Avoid using PID mode for standard 12V 200W heat-beds because
the power supply might not handle it very well.
On this example you can see that many PID values are commented
and only 1 set of values is left uncommented.
Check what hotend you have and uncomment the 3 set of values
corresponding to your hot-end.
For E3D hot-ends, as they are using 20W heater cartridge, you
will need to previously set BANG_MAX to 255.
then select which heatbed you are using, in our case here we
are using 700W 220V silicone heater mounted on a 3mm 435x320mm
aluminum sheet.
If you are unsure that those settings are good for you, just
pick the one closer to what you have and you will need to
perform PID auto tune (see the procedure here:
http://reprap.org/wiki/PID_Tuning )
Extrusion safety:
Near line 307, just below PIDTEMPBED block, you should find
settings related to extrusion safeties.
Thermal
protections:
A mechanism is available to detect if the heating elements are
heating properly during all the print duration.
This
protection is available for both hot end and heat-bed and you
can enable 1 or both independently.
Block near line 498 are the coordinates of each probing points
when using Grid mode.
Just a little bit below, near line 525, you will find the
offsets used by the firmware to determine the induction probe
location from the nozzle tip.
You will also find a few parameters that you can adjust if
you want to tweak how fast the auto bed leveling mechanism is
going.
http://prusaprinters.org/calculator/
Most of the settings available from the LCD display are stored
inside the EEPROM of the arduino.
Blocks near lines 659 are pre-heat presets for PLA and ABS.
here you can setup your own. the default ones are shown on
this example.
Configur
ing MQ2 smoke sensor:
The section dedicated to the MQ2 smoke sensor is located at
the very bottom of the configuration.h file.
If you want more information about what value to use for your
specific MQ2 module (each module is slightly different),
enable parameter « MQ2_VERBOSE » at line 867, connect your
printer to any host software and read the console output. A
lot of values should be listed when you apply some smoke or
gas to the probe.
On the top left corner of the Arduino IDE, you will find a
round button with a « check » mark on it.
Uploadin
g the firmware to the arduino
If everything is ok and no error message appear, you can now
upload this version of the firmware to the arduino.
The ide will compile again the code and will then upload the
firmware to the Arduino.
Note that the progress bar might get stuck for a while but the
upload process will still be running. On your arduino board a
flashing led will appear, meaning that everything is in
progress.
Special Notes:
If you already have the EEPROM enabled on your 3D printer
(it’s the case for Scalar 3D printer users), all settings
stored in the EEPROM will still be active.