idbox!(週刊マイ3Dプリンター)のMarlinファームウェアを最新化する。

こんばんは。

今更ながらですが、idbox!のMarlinファームウェアを最新バージョンにしたので、その方法を記載します。(多分、BS01でも同じかと思います。)

ネットで探すと、idboxのファームウェアの最新化の方法が見つかるのですが、
記載が漏れてるのかMarlinのバージョンが違うのかはわかりませんが、その通りに設定を変更しても上手く動かなかったので、こちらで動作確認できた設定を掲載します。

ちなみに今回利用したMarlinのバージョンは、「Marlin 1.1.9」(2019/2/5現在)になります。

Marlin

スポンサーリンク

上記の公式サイトから最新のファームウェアをダウンロードしてください。(開発中の2.0.0もあります。)

Arduino IDEを起動して、ダウンロードしたファイルからMarlin.unoを開き、「Configuration.h」を以下のように変更しました。

126c126
< #define BAUDRATE 250000
---
> #define BAUDRATE 115200
134c134
<   #define MOTHERBOARD BOARD_RAMPS_14_EFB
---
>   #define MOTHERBOARD BOARD_RAMPS_13_EEB
139c139
< //#define CUSTOM_MACHINE_NAME "3D Printer"
---
> #define CUSTOM_MACHINE_NAME "idbox"
149c149
< #define EXTRUDERS 1
---
> #define EXTRUDERS 2
152c152
< #define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
---
> #define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
313,314c313,314
< #define TEMP_SENSOR_0 1
< #define TEMP_SENSOR_1 0
---
> #define TEMP_SENSOR_0 5
> #define TEMP_SENSOR_1 5
318c318
< #define TEMP_SENSOR_BED 0
---
> #define TEMP_SENSOR_BED 5
353,357c353,357
< #define HEATER_0_MAXTEMP 275
< #define HEATER_1_MAXTEMP 275
< #define HEATER_2_MAXTEMP 275
< #define HEATER_3_MAXTEMP 275
< #define HEATER_4_MAXTEMP 275
---
> #define HEATER_0_MAXTEMP 260
> #define HEATER_1_MAXTEMP 260
> #define HEATER_2_MAXTEMP 260
> #define HEATER_3_MAXTEMP 260
> #define HEATER_4_MAXTEMP 260
382,385c382,385
<   // Ultimaker
<   #define DEFAULT_Kp 22.2
<   #define DEFAULT_Ki 1.08
<   #define DEFAULT_Kd 114
---
>   // idbox
>   #define DEFAULT_Kp 12.7
>   #define DEFAULT_Ki 0.62
>   #define DEFAULT_Kd 64.49
512c512
< #define USE_ZMIN_PLUG
---
> //#define USE_ZMIN_PLUG
515c515
< //#define USE_ZMAX_PLUG
---
> #define USE_ZMAX_PLUG
521,527c521,527
<   //#define ENDSTOPPULLUP_XMAX
<   //#define ENDSTOPPULLUP_YMAX
<   //#define ENDSTOPPULLUP_ZMAX
<   //#define ENDSTOPPULLUP_XMIN
<   //#define ENDSTOPPULLUP_YMIN
<   //#define ENDSTOPPULLUP_ZMIN
<   //#define ENDSTOPPULLUP_ZMIN_PROBE
---
>   #define ENDSTOPPULLUP_XMAX
>   #define ENDSTOPPULLUP_YMAX
>   #define ENDSTOPPULLUP_ZMAX
>   #define ENDSTOPPULLUP_XMIN
>   #define ENDSTOPPULLUP_YMIN
>   #define ENDSTOPPULLUP_ZMIN
>   #define ENDSTOPPULLUP_ZMIN_PROBE
531,537c531,537
< #define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
< #define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
< #define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
< #define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
< #define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
< #define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
< #define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the probe.
---
> #define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
> #define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
> #define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
> #define X_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
> #define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
> #define Z_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
> #define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe.
611c611
< #define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 4000, 500 }
---
> #define DEFAULT_AXIS_STEPS_PER_UNIT   { 71.1111, 71.1111, 3200, 173.6236 }
618c618
< #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
---
> #define DEFAULT_MAX_FEEDRATE          { 300, 300, 3, 50 }
851c851
< #define INVERT_X_DIR false
---
> #define INVERT_X_DIR true
853c853
< #define INVERT_Z_DIR false
---
> #define INVERT_Z_DIR true
877c877
< #define Z_HOME_DIR -1
---
> #define Z_HOME_DIR 1
882,883c882,883
< #define X_BED_SIZE 200
< #define Y_BED_SIZE 200
---
> #define X_BED_SIZE 150
> #define Y_BED_SIZE 130
891c891
< #define Z_MAX_POS 200
---
> #define Z_MAX_POS 100

ちょっとわかりづらいですが、変更前と変更後のdiffになります。

上記の設定は、デュアルヘッド+ヒートベッドありの設定になっています。

以上、参考になれば幸いです。

スポンサーリンク