Update Marlin Firmware of Anycubic Kossel Pulley: Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
= Current Environment = | |||
* TriGorilla Board, based on AtMega 2560 | * TriGorilla Board, based on AtMega 2560 | ||
* Marlin 1.1.9, selfcompiled for RGB support | * Marlin 1.1.9, selfcompiled for RGB support | ||
= Parameters = | |||
* Latest Marlin (2.0.5.3) | * Latest Marlin (2.0.5.3) | ||
* PlatformIO 4.3.4 | * PlatformIO 4.3.4 | ||
* OpenSuse 15.1 | * OpenSuse 15.1 | ||
= Documentation = | |||
* https://marlinfw.org/docs/basics/install.html | |||
* https://marlinfw.org/docs/basics/install_platformio.html | |||
* https://marlinfw.org/docs/basics/install_platformio_vscode.html | |||
== Prepare == | == Prepare == | ||
Line 113: | Line 117: | ||
// (ms) Delay before the next move will start, to give the servo time to reach its target angle. | // (ms) Delay before the next move will start, to give the servo time to reach its target angle. | ||
// 300ms is a good value but you can try less delay. | // 300ms is a good value but you can try less delay. | ||
== Edit in platformio.ini == | |||
Since my notebook has more than one usb serial port, I needed to tell platformio which one connects to the printer: | |||
[env:mega2560] | |||
... | |||
upload_port = /dev/ttyUSB1 |
Revision as of 10:06, 27 June 2020
Current Environment
- TriGorilla Board, based on AtMega 2560
- Marlin 1.1.9, selfcompiled for RGB support
Parameters
- Latest Marlin (2.0.5.3)
- PlatformIO 4.3.4
- OpenSuse 15.1
Documentation
- https://marlinfw.org/docs/basics/install.html
- https://marlinfw.org/docs/basics/install_platformio.html
- https://marlinfw.org/docs/basics/install_platformio_vscode.html
Prepare
mkdir ~/git cd ~/git git clone https://github.com/MarlinFirmware/Configurations.git marlin-config cd marlin-config git checkout 2.0.5.3 cd - git clone https://github.com/MarlinFirmware/Marlin.git marlin cd marlin git checkout 2.0.5.3 cd -
Configure
cd ~/git/marlin/Marlin/ ln -sf ../../marlin-config/config/examples/delta/Anycubic/Kossel/Configuration.h . ln -sf ../../marlin-config/config/examples/delta/Anycubic/Kossel/Configuration_adv.h .
Diff in Configuration.h
Identification, remote control, heatbed, z-probe, rgbw and sensor as used on my pulley
diff --git a/config/examples/delta/Anycubic/Kossel/Configuration.h b/config/examples/delta/Anycubic/Kossel/Configuration.h index 948fd38e..bfb3f963 100644 --- a/config/examples/delta/Anycubic/Kossel/Configuration.h +++ b/config/examples/delta/Anycubic/Kossel/Configuration.h @@ -28,13 +28,13 @@ //#define ANYCUBIC_KOSSEL_PLUS // Anycubic Probe version 1 or 2 see README.md; 0 for no probe -#define ANYCUBIC_PROBE_VERSION 0 +#define ANYCUBIC_PROBE_VERSION 1 // Heated Bed: // 0 ... no heated bed // 1 ... aluminium heated bed with "BuildTak-like" sticker // 2 ... ultrabase heated bed -#define ANYCUBIC_KOSSEL_ENABLE_BED 0 +#define ANYCUBIC_KOSSEL_ENABLE_BED 1 /** * Configuration.h @@ -86,7 +86,7 @@ // @section info // Author info of this build printed to the host during boot and M115 -#define STRING_CONFIG_H_AUTHOR "@brandstaetter, @grbd" // Who made the changes. +#define STRING_CONFIG_H_AUTHOR "@joba-1 250kbd" // Who made the changes. //#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes) /** @@ -136,7 +136,7 @@ * * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] */ -#define BAUDRATE 115200 +#define BAUDRATE 250000 // Enable the Bluetooth serial interface on AT90USB devices //#define BLUETOOTH @@ -1781,7 +1781,7 @@ * * :{ 'en':'English', 'an':'Aragonese', 'bg':'Bulgarian', 'ca':'Catalan', 'cz':'Czech', 'da':'Danish', 'de':'German', 'el':'Greek','el_gr':'Greek (Greece)', 'es':'Spanish', 'eu':'Basque-Euskera', 'fi':'Finnish', 'fr':'French', 'gl':'Galician', 'hr':'Croatian', 'it':'Italian', 'jp_kana':'Japanese', 'ko_KR':'Korean (South Korea)', 'nl':'Dutch', 'pl':'Polish', 'pt':'Portuguese', 'pt_br':'Portuguese (Brazilian)', 'ru':'Russian', 'sk':'Slovak', 'tr':'Turkish', 'uk':'Ukrainian', 'vi':'Vietnamese', 'zh_CN':'Chinese (Simplified)', 'zh_TW':'Chinese (Traditional)', 'test':'TEST' } * / -#de fine LCD_LANGUAGE en +#de fine LCD_LANGUAGE de /** * LCD Character Set @@ -2354,14 +2354,14 @@ * LED Type. Enable only one of the following two options. * */ -//#define RGB_LED -//#define RGBW_LED +// #define RGB_LED +#define RGBW_LED #if EITHER(RGB_LED, RGBW_LED) - //#define RGB_LED_R_PIN 34 - //#define RGB_LED_G_PIN 43 - //#define RGB_LED_B_PIN 35 - //#define RGB_LED_W_PIN -1 + #define RGB_LED_R_PIN 6 + #define RGB_LED_G_PIN 5 + #define RGB_LED_B_PIN 11 + #define RGB_LED_W_PIN 4 #endif // Support for Adafruit Neopixel LED driver @@ -2409,6 +2409,8 @@ * Leave undefined or set to 0 to entirely disable the servo subsystem. */ //#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command +#define NUM_SERVOS 1 // Servo index starts with 0 for M280 command +#define SERVO0_PIN 12 // default pin 11 used for RGB LED // (ms) Delay before the next move will start, to give the servo time to reach its target angle. // 300ms is a good value but you can try less delay.
Edit in platformio.ini
Since my notebook has more than one usb serial port, I needed to tell platformio which one connects to the printer:
[env:mega2560] ... upload_port = /dev/ttyUSB1