ソースを参照

Add MKS_BASE Microstepping pins

Based on #9008
Scott Lahteine 7年前
コミット
d190c702de
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更18行の追加0行の削除
  1. 18
    0
      Marlin/src/pins/pins_MKS_BASE.h

+ 18
- 0
Marlin/src/pins/pins_MKS_BASE.h ファイルの表示

@@ -32,6 +32,24 @@
32 32
 
33 33
 #define BOARD_NAME "MKS BASE 1.0"
34 34
 
35
+/* Microstepping pins (reverse engineered at V1.4 - due to closed source schematics)
36
+// Some new batches have the HR4982 (Heroic) instead of the A4982 (Allegro) as stepper driver. While most of the functionality is similar, the HR variant obviously doesn't work with diode smoothers (no fast decay)
37
+// But the Heroic has a 128 µStepping mode where the A4982 is doing quarter steps (MS1=L / MS2=H). To achieve comfortable tests with the M350/M351 commands, the following definitions have to made:
38
+// Example: M350 X4 Y4 ; Set X and Y Axis to quarterstep Mode to achieve MS1=0 and MS2=1
39
+// A new board with a HR4982 will now perform 128 µSteps per Fullstep
40
+// XSTEP,YSTEP ... must be adapted with M92 accordingly (128/16 => multiply by factor 8).
41
+*/
42
+#define X_MS1_PIN           5   // Digital 3  / Pin 5   / PE3
43
+#define X_MS2_PIN           6   // Digital 6  / Pin 14  / PH3      
44
+#define Y_MS1_PIN           59  // Analog 5   / Pin 92  / PF5
45
+#define Y_MS2_PIN           58  // Analog 4   / Pin 93  / PF4
46
+#define Z_MS1_PIN           22  // Digital 22 / Pin 78  / PA0
47
+#define Z_MS2_PIN           39  // Digital 39 / Pin 70  / PG2
48
+#define E0_MS1_PIN          63  // Analog 9   / Pin 86  / PK1
49
+#define E0_MS2_PIN          64  // Analog 10  / Pin 87  / PK2
50
+#define E1_MS1_PIN          57  // Analog 3   / Pin 93  / PF3
51
+#define E1_MS2_PIN          4   // Digital 4  / Pin 1   / PG5
52
+
35 53
 //
36 54
 // Heaters / Fans
37 55
 //

読み込み中…
キャンセル
保存