CR-10 Mini with SKR Mini E3 V3 (#963)

This commit is contained in:
ellensp 2023-09-24 16:15:15 +13:00 committed by GitHub
parent abb24105b3
commit d4f7b197a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8266 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,89 @@
## CR-10 Mini with BLTouch
Configuration for the BigTreeTech SKR E3 Mini V2 in a Creality CR-10 Mini using the stock CR-10 display, and a BL Touch v3.1 ABL probe mounted on a Bullseye fan duct. Additional features are enabled to take advantage of the capabilities of the BTT SKR E3 Mini V3 board, detailed below.
Compile this in the `STM32G0B1RE_btt` environment.
### Configuration.h notes:
```cpp
#define USE_PROBE_FOR_Z_HOMING
```
This configuration uses only the probe for Z homing. The Z-stop switch is NOT enabled and can be disconnected.
```cpp
#define Z_MIN_PROBE_PIN PC14
```
Plug the BLTouch Black/White connector into the top two pins of the 5-pin Z-PROBE port with the white whire "up". Do not plug the connector in to the Z-MIN port where the limit switch was plugged in.
```cpp
#define NOZZLE_TO_PROBE_OFFSET { -38, -8, 0 }
```
These are the offsets for a left-side mounted BL Touch on a Bullseye fan duct base. Change them as required for your particular BL Touch mount.
```cpp
#define MULTIPLE_PROBING 2
```
Bed probing will test each point twice. 1st probe will be "fast" Z, 2nd will use the slower Z rate.
```cpp
#define Z_MIN_PROBE_REPEATABILITY_TEST
```
M48 Enabled to establish probe deviation value.
```cpp
#define AUTO_BED_LEVELING_BILINEAR
```
Change this as desired. BILINEAR will work for most printers.
```cpp
//#define RESTORE_LEVELING_AFTER_G28
```
This is disabled to work around an issue where —even with an `M420` command in start G-Code— ABL would toggle to the opposite of whatever the ABL state was (Enabled/Disabled) at the time a print job started.
```cpp
#define GRID_MAX_POINTS_X 5
```
This configuration is set to use a 5x5 (25 point) probing grid. Change as desired.
```cpp
#define EXTRAPOLATE_BEYOND_GRID
```
By default, this is disabled. Enabling this seemed to provide better mesh data.
```cpp
#define LCD_BED_LEVELING
```
Provides control panel probe controls.
```cpp
#define LCD_BED_TRAMMING
```
Provides control panel bed tramming controls.
```cpp
#define Z_SAFE_HOMING
```
Ensures the BL Touch probe is not hanging off the edge of the bed when Z homing.
```cpp
#define CR10_STOCKDISPLAY
```
If you are using the stock display on your CR-10 Mini, this **MUST** be enabled.
### Configuration_adv.h notes:
```cpp
#define LIN_ADVANCE
```
This is enabled, but the K value is set to 0 which effectively disables LIN_ADVANCE. Calibrate Linear Advance and set your own K value and recompile.
```cpp
#define ARC_SUPPORT
```
Enables G2/G3 moves to smooth curves in your prints. Required for the Arc Welder plugin for OctoPrint etc.
```cpp
#define ARC_P_CIRCLES
```
Normally disabled by default.

View file

@ -0,0 +1,56 @@
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2023 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once
/**
* Custom Boot Screen bitmap
*
* Place this file in the root with your configuration files
* and enable SHOW_CUSTOM_BOOTSCREEN in Configuration.h.
*
* Use the Marlin Bitmap Converter to make your own:
* https://marlinfw.org/tools/u8glib/converter.html
*/
#define CUSTOM_BOOTSCREEN_TIMEOUT 1000
#define CUSTOM_BOOTSCREEN_BMPWIDTH 128
const unsigned char custom_start_bmp[] PROGMEM = {
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111100,B00000000,B00000000,
B00001111,B11110000,B00000000,B00000000,B00000000,B00000000,B00000111,B11100000,B00000000,B00000000,B00000000,B00000000,B00000001,B10000110,B00011111,B11000000,
B00011000,B01110000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00111100,B00001100,B00000000,B00000000,B00000001,B10000011,B00001100,B01100000,
B00010000,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00111100,B00001100,B00000000,B00000000,B00000001,B10000011,B00001100,B00110000,
B00110000,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00000000,B00001100,B00000000,B00000000,B00000000,B00000011,B00001100,B00011000,
B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00000000,B00111111,B00001111,B00111100,B00000000,B00000011,B00001100,B00001100,
B01100000,B00000001,B11011111,B00001111,B11100000,B11111110,B00000000,B01100000,B00011100,B00011100,B00000110,B00011000,B00000000,B00000110,B00001100,B00001100,
B01100000,B00000000,B11110011,B00011000,B00110001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000011,B00011000,B00000000,B00011110,B00001100,B00001100,
B01100000,B00000000,B11100000,B00110000,B00111001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000011,B00110000,B00000000,B00000011,B00001100,B00001100,
B01100000,B00000000,B11000000,B00110000,B00111000,B00001111,B00000000,B01100000,B00001100,B00001100,B00000011,B00110000,B00000000,B00000001,B10001100,B00001100,
B01100000,B00000000,B11000000,B00111111,B11111000,B11111011,B00000000,B01100000,B00001100,B00001100,B00000011,B00110000,B00000000,B00000001,B10001100,B00001100,
B01100000,B00110000,B11000000,B00110000,B00000001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000001,B11110000,B00000001,B10000001,B10001100,B00001100,
B01100000,B00110000,B11000000,B00110000,B00000001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000000,B11100000,B00000001,B10000001,B10001100,B00011000,
B00110000,B00110000,B11000000,B00011000,B00110001,B10000011,B00000000,B01100000,B00001100,B00001100,B01000000,B11100000,B00000001,B10000011,B10001100,B00110000,
B00011000,B01100000,B11000000,B00001100,B01100001,B10000111,B11000000,B11100000,B00011100,B00001100,B11000000,B01100000,B00000000,B11000011,B00001100,B01100000,
B00001111,B11000011,B11110000,B00000111,B11000000,B11111111,B11000111,B11111100,B01111111,B00000111,B10000001,B11000000,B00000000,B01111110,B00011111,B11000000,
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,B00000000,B00000000,B00000000,B00000000,B00000000
};

View file

@ -0,0 +1,74 @@
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2023 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#pragma once
/**
* Custom Status Screen bitmap
*
* Place this file in the root with your configuration files
* and enable CUSTOM_STATUS_SCREEN_IMAGE in Configuration.h.
*
* Use the Marlin Bitmap Converter to make your own:
* https://marlinfw.org/tools/u8glib/converter.html
*/
//
// Status Screen Logo bitmap
//
#define STATUS_LOGO_Y 5
#define STATUS_LOGO_WIDTH 36
const unsigned char status_logo_bmp[] PROGMEM = {
B00000111,B11001111,B10000000,B00110001,B11100000,
B00001111,B11001111,B11000000,B01110011,B11110000,
B00001100,B00001100,B01000000,B01110011,B00110000,
B00001100,B00001100,B11000000,B00110011,B00110000,
B00001100,B00001111,B11001111,B00110011,B00110000,
B00001100,B00001101,B10001111,B00110011,B00110000,
B00001100,B00001100,B11000000,B00110011,B00110000,
B00001111,B11001100,B11000000,B00110011,B11110000,
B00000111,B11001100,B11000000,B00110001,B11100000,
B00000000,B00000000,B00000000,B00000000,B00000000,
B00000001,B10000011,B00110000,B00000011,B00000000,
B00000001,B10000011,B00110010,B00000011,B00000000,
B00000001,B11000111,B00000010,B11100000,B00000000,
B00000001,B11000111,B00110011,B11110011,B00000000,
B00000001,B11101111,B00110011,B00110011,B00000000,
B00000001,B10111011,B00110011,B00110011,B00000000,
B00000001,B10010011,B00110011,B00110011,B00000000,
B00000001,B10010011,B00110011,B00110011,B00000000,
B00000001,B10000011,B00110011,B00110011,B00000000
};
//
// Use default bitmaps
//
#define STATUS_HOTEND_ANIM
#define STATUS_BED_ANIM
#define STATUS_HEATERS_XSPACE 20
#if HOTENDS < 2
#define STATUS_HEATERS_X 48
#define STATUS_BED_X 72
#else
#define STATUS_HEATERS_X 40
#define STATUS_BED_X 80
#endif