Browse Source

Add: Board for Vellemann K8200 (derived from 3Drag)

## Add: Board for Vellemann K8200 (derived from 3Drag)

* Boards.h: updated comment for board 3Drag - K8200 removed
* Boards.h: added `BOARD_K8200` with ID 78

* language.h.: machine name and firmware URL for new board

* pins.h: added `K8200` to any `#if` with `3Drag` and corresponding
comments
CONSULitAS 10 years ago
parent
commit
3b50a5e2e6
3 changed files with 14 additions and 10 deletions
  1. 2
    1
      Marlin/boards.h
  2. 3
    0
      Marlin/language.h
  3. 9
    9
      Marlin/pins.h

+ 2
- 1
Marlin/boards.h View File

28
 #define BOARD_ULTIMAKER         7    // Ultimaker
28
 #define BOARD_ULTIMAKER         7    // Ultimaker
29
 #define BOARD_ULTIMAKER_OLD     71   // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
29
 #define BOARD_ULTIMAKER_OLD     71   // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
30
 #define BOARD_ULTIMAIN_2        72   // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
30
 #define BOARD_ULTIMAIN_2        72   // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
31
-#define BOARD_3DRAG             77   // 3Drag Controller / Vellemann K8200 Controller
31
+#define BOARD_3DRAG             77   // 3Drag Controller
32
+#define BOARD_K8200             78   // Vellemann K8200 Controller (derived from 3Drag Controller)
32
 #define BOARD_TEENSYLU          8    // Teensylu
33
 #define BOARD_TEENSYLU          8    // Teensylu
33
 #define BOARD_RUMBA             80   // Rumba
34
 #define BOARD_RUMBA             80   // Rumba
34
 #define BOARD_PRINTRBOARD       81   // Printrboard (AT90USB1286)
35
 #define BOARD_PRINTRBOARD       81   // Printrboard (AT90USB1286)

+ 3
- 0
Marlin/language.h View File

41
 #elif MB(3DRAG)
41
 #elif MB(3DRAG)
42
   #define MACHINE_NAME "3Drag"
42
   #define MACHINE_NAME "3Drag"
43
   #define FIRMWARE_URL "http://3dprint.elettronicain.it/"
43
   #define FIRMWARE_URL "http://3dprint.elettronicain.it/"
44
+#elif MB(K8200)
45
+  #define MACHINE_NAME "K8200"
46
+  #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
44
 #elif MB(5DPRINT)
47
 #elif MB(5DPRINT)
45
   #define MACHINE_NAME "Makibox"
48
   #define MACHINE_NAME "Makibox"
46
   #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
49
   #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"

+ 9
- 9
Marlin/pins.h View File

530
 * Arduino Mega pin assignment
530
 * Arduino Mega pin assignment
531
 *
531
 *
532
 ****************************************************************************************/
532
 ****************************************************************************************/
533
-#if IS_RAMPS || MB(3DRAG) || MB(AZTEEG_X3) || MB(AZTEEG_X3_PRO)
533
+#if IS_RAMPS || MB(3DRAG) || MB(K8200) || MB(AZTEEG_X3) || MB(AZTEEG_X3_PRO)
534
 #define KNOWN_BOARD 1
534
 #define KNOWN_BOARD 1
535
 
535
 
536
 //////////////////FIX THIS//////////////
536
 //////////////////FIX THIS//////////////
546
 // #define RAMPS_V_1_0
546
 // #define RAMPS_V_1_0
547
 
547
 
548
 
548
 
549
-#if (IS_RAMPS && !MB(RAMPS_OLD)) || MB(3DRAG) || MB(AZTEEG_X3) || MB(AZTEEG_X3_PRO)
549
+#if (IS_RAMPS && !MB(RAMPS_OLD)) || MB(3DRAG) || MB(K8200) || MB(AZTEEG_X3) || MB(AZTEEG_X3_PRO)
550
 
550
 
551
   #define LARGE_FLASH true
551
   #define LARGE_FLASH true
552
 
552
 
553
-  #if MB(3DRAG)
553
+  #if MB(3DRAG) || MB(K8200)
554
     #define X_STEP_PIN         54
554
     #define X_STEP_PIN         54
555
     #define X_DIR_PIN          55
555
     #define X_DIR_PIN          55
556
     #define X_ENABLE_PIN       38
556
     #define X_ENABLE_PIN       38
661
     #define FAN_PIN            4 // IO pin. Buffer needed
661
     #define FAN_PIN            4 // IO pin. Buffer needed
662
   #endif
662
   #endif
663
 
663
 
664
-  #if MB(3DRAG) || MB(RAMPS_13_EEF)
664
+  #if MB(3DRAG) || MB(K8200) || MB(RAMPS_13_EEF)
665
     #define FAN_PIN            8
665
     #define FAN_PIN            8
666
   #endif
666
   #endif
667
 
667
 
690
   #endif
690
   #endif
691
 
691
 
692
 
692
 
693
-  #if MB(3DRAG)
693
+  #if MB(3DRAG) || MB(K8200)
694
     #define HEATER_0_PIN       10
694
     #define HEATER_0_PIN       10
695
     #define HEATER_1_PIN       12
695
     #define HEATER_1_PIN       12
696
     #define HEATER_2_PIN       6
696
     #define HEATER_2_PIN       6
720
   #if MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF)
720
   #if MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF)
721
     #define HEATER_BED_PIN     -1    // NO BED
721
     #define HEATER_BED_PIN     -1    // NO BED
722
   #else
722
   #else
723
-    #if MB(3DRAG)
723
+    #if MB(3DRAG) || MB(K8200)
724
       #define HEATER_BED_PIN     9    // BED
724
       #define HEATER_BED_PIN     9    // BED
725
     #else
725
     #else
726
       #define HEATER_BED_PIN     8    // BED
726
       #define HEATER_BED_PIN     8    // BED
813
 
813
 
814
       #endif
814
       #endif
815
 
815
 
816
-      #if MB(3DRAG)
816
+      #if MB(3DRAG) || MB(K8200)
817
         #define BEEPER -1
817
         #define BEEPER -1
818
 
818
 
819
         #define LCD_PINS_RS 27
819
         #define LCD_PINS_RS 27
895
 #define TEMP_2_PIN          -1
895
 #define TEMP_2_PIN          -1
896
 #define TEMP_BED_PIN        1    // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
896
 #define TEMP_BED_PIN        1    // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
897
 
897
 
898
-#endif // RAMPS_13_EFB || RAMPS_13_EEB || RAMPS_13_EFF || 3DRAG
898
+#endif // RAMPS_13_EFB || RAMPS_13_EEB || RAMPS_13_EFF || 3DRAG || K8200
899
 
899
 
900
 // SPI for Max6675 Thermocouple
900
 // SPI for Max6675 Thermocouple
901
 
901
 
909
   #define MAX6675_SS       66// Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
909
   #define MAX6675_SS       66// Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
910
 #endif
910
 #endif
911
 
911
 
912
-#endif // RAMPS_OLD || RAMPS_13_EFB || RAMPS_13_EEB || RAMPS_13_EFF || 3DRAG
912
+#endif // RAMPS_OLD || RAMPS_13_EFB || RAMPS_13_EEB || RAMPS_13_EFF || 3DRAG || K8200
913
 
913
 
914
 /****************************************************************************************
914
 /****************************************************************************************
915
 * Duemilanove w/ ATMega328P pin assignment
915
 * Duemilanove w/ ATMega328P pin assignment

Loading…
Cancel
Save