Add K8200 upgraded Z axis, RRD FG LCD (#730)

This commit is contained in:
pau1ie 2022-05-12 09:59:42 +01:00 committed by Scott Lahteine
parent 3760ef1135
commit 43ca63861c
4 changed files with 7809 additions and 19 deletions

View file

@ -45,16 +45,27 @@
* and Arduino 1.6.12 (Mac OS X) by @CONSULitAS, 2016-11-18
* https://github.com/CONSULitAS/Marlin-K8200/archive/K8200_stable_2016-11-18.zip
*
* Updated by pau1ie to include the full graphic controller and K8204 Z axis
*
* Please choose your hardware options for the K8200:
*/
// VM8201 Display unit
#define K8200_VM8201
//#define K8200_VM8201
// K8204 Z axis upgrade rod and coupler -> TODO
//#define K8200_K8204
// K8203 direct drive extruder -> TODO
//#define K8200_K8203
//
// Full Graphic Controller
// e.g., https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
// or https://www.open-electronics.org/full-graphic-smart-controller-display-for-3drag-3dprinter/
//
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
//===========================================================================
//============================= Getting Started =============================
//===========================================================================
@ -87,7 +98,7 @@
// @section info
// Author info of this build printed to the host during boot and M115
#define STRING_CONFIG_H_AUTHOR "(K8200, @CONSULitAS)" // Who made the changes.
#define STRING_CONFIG_H_AUTHOR "(K8200, @CONSULitAS, pau1ie)" // Who made the changes.
//#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes)
/**
@ -922,15 +933,6 @@
#define ENDSTOPPULLUPS
#if DISABLED(ENDSTOPPULLUPS)
// Disable ENDSTOPPULLUPS to set pullups individually
//#define ENDSTOPPULLUP_XMAX
//#define ENDSTOPPULLUP_YMAX
//#define ENDSTOPPULLUP_ZMAX
//#define ENDSTOPPULLUP_IMAX
//#define ENDSTOPPULLUP_JMAX
//#define ENDSTOPPULLUP_KMAX
//#define ENDSTOPPULLUP_UMAX
//#define ENDSTOPPULLUP_VMAX
//#define ENDSTOPPULLUP_WMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
#define ENDSTOPPULLUP_ZMIN
@ -940,6 +942,15 @@
//#define ENDSTOPPULLUP_UMIN
//#define ENDSTOPPULLUP_VMIN
//#define ENDSTOPPULLUP_WMIN
//#define ENDSTOPPULLUP_XMAX
//#define ENDSTOPPULLUP_YMAX
//#define ENDSTOPPULLUP_ZMAX
//#define ENDSTOPPULLUP_IMAX
//#define ENDSTOPPULLUP_JMAX
//#define ENDSTOPPULLUP_KMAX
//#define ENDSTOPPULLUP_UMAX
//#define ENDSTOPPULLUP_VMAX
//#define ENDSTOPPULLUP_WMAX
//#define ENDSTOPPULLUP_ZMIN_PROBE
#endif
@ -1035,7 +1046,14 @@
* Override with M92
* X, Y, Z [, I [, J [, K...]]], E0 [, E1[, E2...]]
*/
#define DEFAULT_AXIS_STEPS_PER_UNIT { 64.25, 64.25, 2560, 600 }
#if ENABLED(K8200_K8204)
#define ZSTEPS 2133.333
#else
#define ZSTEPS 2560
#endif
#define DEFAULT_AXIS_STEPS_PER_UNIT { 64.25, 64.25, ZSTEPS, 600 }
/**
* Default Max Feed Rate (linear=mm/s, rotational=°/s)
* Override with M203
@ -2205,7 +2223,7 @@
// @section lcd
// K8200: for Display VM8201 with SD slot
#if ENABLED(K8200_VM8201)
#if EITHER(K8200_VM8201, REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
/**
* LCD LANGUAGE
@ -2280,13 +2298,13 @@
// This option overrides the default number of encoder pulses needed to
// produce one step. Should be increased for high-resolution encoders.
//
#define ENCODER_PULSES_PER_STEP 4 // K8200_VM8201: four steps per encoder step
#define ENCODER_PULSES_PER_STEP 4 // K8200_VM8201/REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER: four steps per encoder step
//
// Use this option to override the number of step signals required to
// move between next/prev menu items.
//
#define ENCODER_STEPS_PER_MENU_ITEM 1 // K8200_VM8201: One step per menu item
#define ENCODER_STEPS_PER_MENU_ITEM 1 // K8200_VM8201/REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER: One step per menu item
/**
* Encoder Direction Options
@ -2303,7 +2321,9 @@
//
// Set this option if CLOCKWISE causes values to DECREASE
//
//#define REVERSE_ENCODER_DIRECTION
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define REVERSE_ENCODER_DIRECTION
#endif
//
// This option reverses the encoder direction for navigating LCD menus.
@ -2311,7 +2331,9 @@
// If CLOCKWISE normally moves DOWN this makes it go UP.
// If CLOCKWISE normally moves UP this makes it go DOWN.
//
#define REVERSE_MENU_DIRECTION // K8200: for Display VM8201 encoder on right side
#if ENABLED(K8200_VM8201)
#define REVERSE_MENU_DIRECTION // K8200: for Display VM8201 encoder on right side
#endif
//
// This option reverses the encoder direction for Select Screen.
@ -2377,7 +2399,9 @@
//
// ULTIMAKER Controller.
//
#define ULTIMAKERCONTROLLER // K8200: for Display VM8201
#if ENABLED(K8200_VM8201)
#define ULTIMAKERCONTROLLER // K8200: for Display VM8201
#endif
//
// ULTIPANEL as seen on Thingiverse.
@ -2652,7 +2676,7 @@
//
//#define SILVER_GATE_GLCD_CONTROLLER
#endif // K8200_VM8201
#endif // K8200_VM8201 || REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
//=============================================================================
//============================== OLED Displays ==============================