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

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,72 @@
# Updated Example Configuration for Velleman [K8200](http://www.k8200.eu/)
I have taken @CONSULiTAS' excellent configuration file, and added support for the
following:
* VM8204 Z Axis and coupler. This was just a stub previously
* Full Graphic LCD Controller with SD
In addition to the existing options
* VM8201 LCD Controller
I believe the configuration should work for all these options, but since I was
only able to test with the VM8204 and full graphic LCD, I have created a new
configuration. If you don't have an upgraded K8200 or 3drag, you may wish to
use the original version.
# Instructions
If you have a VM8204 upgraded Z axis and coupler, ensure the following line
is uncommented. Otherwise comment it out:
```
#define K8200_K8204
```
If you have the VM8201 display unit, uncomment the following line
```
// #define K8200_VM8201
```
If you have the *3D Printer Full Graphic Smart Controller with 3Drag adapter* (or other screen based on the [RepRap Discount Full Graphic Smart Controller](https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller)), ensure
the following is uncommented, otherwise comment it out
```
#define FULLGRAPHIC_CONTROLLER_LCD_SD
```
## Notes
I (pau1ie) tested this configuration on my K8200 with VM8204 Z axis and
full graphic controller. I purchased a 3drag controller main board which is
identical to the Velleman supplied one, so I am confident this firmware
will also work with the 3drag as CONSULiTAS states below.
Only one LCD screen is supported (they plug into the same place), so only one of them should be uncommented.
Leaving both controllers uncommented is likely to result in firmware that doesn't work with either.
There is a configuration option for the K8203 Direct Drive Extruder, but
it does nothing at present.
In addition to the firmware sources below, see the following for for genuine [3drag Firmware](https://3dprint.elettronicain.it/blog/2012/09/06/software/)
# Original Readme
* Configuration files for **Vellemann K8200** (with [VM8201](http://www.vellemanprojects.eu/products/view/?id=416158) - LCD Option for K8200)
* K8200 is a 3Drag clone - configuration should work with 3Drag https://reprap.org/wiki/3drag, too. Please report.
* updated manually with parameters from genuine Vellemann Firmware "firmware_k8200_marlinv2" based on the recent development branch
* VM8201 uses "DISPLAY_CHARSET_HD44870 JAPANESE" and "ULTIMAKERCONTROLLER"
* german (de) translation with umlaut is supported now - thanks to @AnHardt for the great hardware based umlaut support
I [@CONSULitAS](https://github.com/CONSULitAS) tested the changes on my K8200 with 20x4-LCD and Arduino 1.6.12 for Mac (SD library added to IDE manually), 2016-11-18 - everything works well.
**Source for genuine [Vellemann Firmware](http://www.k8200.eu/support/downloads/)**
* V2.1.1 (for z axis upgrade, date branched: 2013-06-05): [firmware_k8200_v2.1.1.zip](http://www.k8200.eu/downloads/files/downloads/firmware_k8200_v2.1.1.zip)
* see also https://github.com/CONSULitAS/Marlin-K8200/tree/Vellemann_firmware_k8200_v2.1.1.zip
* V2 (with LCD/SD-Support, date branched: 2013-06-05): [firmware_k8200_marlinv2.zip](http://www.k8200.eu/downloads/files/downloads/firmware_k8200_marlinv2.zip)
* see also https://github.com/CONSULitAS/Marlin-K8200/tree/Vellemann_firmware_k8200_marlinv2.zip
* V1 (without LCD/SD-Support, date branched: 2012-10-02): [firmware_k8200_marlinv1.zip](http://www.k8200.eu/downloads/files/downloads/firmware_k8200_marlinv1.zip)
* see also https://github.com/CONSULitAS/Marlin-K8200/tree/Vellemann_firmware_k8200_marlinv1.zip

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 ==============================