目前網(wǎng)上marlin固件的燒錄以及修改教程有很多,但大多都寫得較為復(fù)雜,令小白望而卻步,此文將以最簡單的方式教會大家固件的修改以及燒錄
安裝軟件后進行如下操作
參數(shù)修改部分
進入此項開始進行修改
目前網(wǎng)上固件燒錄及參數(shù)修改教程有很多,但大多都寫得較為復(fù)雜,讓小白望而卻步,此文將以最簡單的方式教會大家如何修改marlin固件,以及燒錄。參數(shù)修改部分:進入此項進行修改修改參數(shù)如下
#define BAUDRATE 250000 /* 配置通信波特率 */(或115200 這兩種比較常用)
#define MOTHERBOARD 33 /* 配置控制板類型 (此處為RAMPS1.4控制板)
*/#define EXTRUDERS 1 /* 配置擠出頭個數(shù) */
/* 配置溫度傳感器類型,常用的是100K熱敏電阻,選擇1即可*/#define TEMP_SENSOR_0 1/*擠出機0*/
#define TEMP_SENSOR_1 0#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 1 /*熱床*/(有熱床設(shè)為1,無熱床設(shè)為0)/*
根據(jù)自己機器的實際情況修改電機轉(zhuǎn)向,修改過后電機會反轉(zhuǎn)*/(例:原來X為true電機正轉(zhuǎn),修改為false后電機反轉(zhuǎn))
- #define INVERT_X_DIR true // for Mendel set to false, for Orca set to true#define INVERT_Y_DIR false // for Mendel set to true, for Orca set to false#define INVERT_Z_DIR true // for Mendel set to false, for Orca set to true#define INVERT_E0_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false#define INVERT_E1_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false#define INVERT_E2_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false// ENDSTOP SETTINGS:// Sets direction of endstops when homing; 1=MAX, -1=MIN#define X_HOME_DIR -1#define Y_HOME_DIR -1#define Z_HOME_DIR -1#define min_software_endstops true// If true, axis won't move to coordinates less than HOME_POS.#define max_software_endstops true // If true, axis won't move to coordinates greater than the defined lengths below./* 機器尺寸設(shè)置*/// Travel limits after homing#define X_MAX_POS 300#define X_MIN_POS 0#define Y_MAX_POS 300#define Y_MIN_POS 0#define Z_MAX_POS 250#define Z_MIN_POS 0#define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)#define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)#define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)#define DEFAULT_AXIS_STEPS_PER_UNIT {98.4,98.4,400,95} // default steps per unit for Ultimaker (此行配置X、Y、Z、E軸每運動1mm步進電機所需要脈沖數(shù),此處同步輪為16齒)#define DEFAULT_MAX_FEEDRATE {350, 300, 4.5, 25} // (mm/sec) (各軸的運動速度)#define DEFAULT_MAX_ACCELERATION {7000,5000,100,10000} (最大加速度) // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for skeinforge 40+, for older versions raise them a lot.#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for printing moves#define DEFAULT_RETRACT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for retracts
復(fù)制代碼
固件燒錄部分: 修改好固件后按一下操作進行燒錄
上傳過程中燈開始閃爍,直到arduino顯示上傳成功,燈停止閃爍燒錄完成。 |
|
全部評論5