🚨 One-Stop-Shop Klipper Configuration
This branch contains the Klipper configuration and firmware for the Sovol SV06 3D printer with the BTT SKR-Mini-E3-V3.0 motherboard.
| Printer | Branch |
|---|---|
| Sovol SV06 | master |
| Sovol SV06 Skr-Mini-E3-V3.0 | ✨You are here✨ |
| Sovol SV06 Plus | sv06-plus |
| All other printers | any-printer |
I am creating these files for my personal use and cannot be held responsible for what it might do to your printer. Use at your own risk.
🙏🏻🙌🏻 Big thanks to transistor1 for getting the printer.cfg up an running to begin with.
Outline
- Features
- Stay Up-to-Date
- Preface
- Before You Begin
- Electronic Wiring
- Klipper Installation
- Initial Steps
- Adjust Your Slicer
- Directory Structure
- Support Me
- FAQ
- Useful Resources
- Sovol Official Links
- Sources
Features
- 💥 This Klipper configuration is an endpoint, meaning that it contains everything that you could possibly need in order to have an excellent Klipper experience! 💥
Filament runout sensor usage implemented.Remains to be implemented on the Skr-mini-e3-v3.0.- Minimum configuration settings for Mainsail/Fluiddpi to work.
- SuperSlicer config bundle that contains the printer configuration, as well as what are considered by many to be the best print settings available for any FDM printer (Ellis' SuperSlicer Profiles). Find the differences between the different print setting profiles here. But basically, the 45 degree profile places the seam at the back.
- Bed model and texture to use in SuperSlicer/PrusaSlicer.
- Macros
- Improved mechanical gantry calibration/
G34macro that provides the user audio feedback, and time to check the calibration. - Misc macros:
PRINT_START,CANCEL_PRINT,PRINT_END,PAUSE,RESUME. - Parking macros (parks the printhead at various locations):
PARKFRONT,PARKFRONTLOW,PARKREAR,PARKCENTER,PARKBED. - Load/unload filament macros.
PURGE_LINEmacro.NEW
TEST_SPEEDmacro.
Find instructions here.
- Improved mechanical gantry calibration/
NEW
Klipper Adaptive Meshing & Purging (KAMP) added!
Read about it here.
Stay Up-to-Date
⭐ Star this project (Highly recommended, starred users may receive priority over regular users)
Watch for releases and updates.
Preface
Although I've made switching over to Klipper as easy as is possible, it can still be a challenge for some, especially considering that most of you have likely never used GNU+Linux. Save yourself the frustration, and fully read all documentation found on this page. Also note that Klipper is not a must, and is not for everyone. You can stick with Marlin, and have a fine 3D printing experience.
Before You Begin
- Read this documentation fully!
- Make sure your printer is in good physical condition, because print and travel speeds will be a lot faster than they were before. Consider yourself warned.
- Follow the steps in order.
- If an error was reported at a step, do no proceed to the next step.
- It is assumed that you are connected to your host Raspberry Pi (or other host device) via SSH, and that your printer motherboard is connected to the host via a data USB cable. Note that most of the micro USB cables that you find at home are unlikely to be data cables, and it's not possible to tell just by looking.
- It is also assumed that the username on the host device is
pi. If that is not the case, you will have to manually editmoonraker.confandcfgs/misc-macros.cfgand change any mentions of/home/pito/home/yourUserName. - Klipper must be installed on the host Raspberry Pi for everything to work. Easiest is to use a
FluiddPI(⚠️FluiddPIis not under active maintenance) or MainsailOS image. Alternatively, you can installFluiddorMainsailvia KIAUH. - Robert Redford's performance in Spy Game (2001) was superb!
- It is assumed that there is one instance of Klipper installed. If you have multiple instances of Klipper installed, via
KIAUHfor example, then this guide is not for you. You can still use all the configs of course, but the steps in this guide will likely not work for you. - Your question has probably been answered already, but if it hasn't, please post in the Discussion section.
- I would recommend searching for the word
NOTEin this repository. There are roughly half a dozen short points amongst the various files that you should be aware of if you're using this configuration.
Electronic Wiring
Wire cables according to the following diagram:

Important Note About Stepper Motor Current
For the SKR-Mini-E3-V3.0, the run_current for x, y, z stepper motors has been reduced in the printer.cfg, because the standard current seems to make the steppers dangerously hot. You may have to increase the current, or if the motors are still too hot, you may have to decrease it.
💡 Although stepper motors can withstand upwards of 125C, they should at the most get hot to the touch (~55C), not very hot.
Klipper Installation
Flash Firmware
💡 If you have already flashed klipper onto your motherboard in the past, you can skip this step.
Please note:
- The firmware file must be named
firmware.bin. - The firmware files are located in
misc/skr-mini. - Many users have reported having issues flashing Klipper using the Sovol microSD card.
Select Your Firmware
klipper-USB.bincompiled by BTT.klipper-v0.11.0-198-g33b18fd6-latest-UNTESTED.binthat I compiled, however, it is untested.
Build Your Own
Find instructions on how to build the firmware yourself here.
1. Prepare the microSD Card for Flashing with These Parameters
- Size:
16GBmaximum. - File system:
FAT32. - Allocation unit size:
4096 bytes. - Must not contain any files except the firmware file.
2. Flashing Procedure
- Disconnect any USB cables that might be connected to the motherboard.
- Copy
firmware.binto the microSD card. - Make sure the printer is off.
- Insert the microSD card into printer.
- Turn on the printer and wait a minute (usually takes 10 seconds).
- Turn off the printer and remove the microSD.
At this point, it's not possible to tell with certainty whether your flash was successful, continue on with the guide.
Download OSS Klipper Configuration
You can choose either of the 2 following methods.
Method 1: Clone the Repository
cd ~/printer_data/config- Empty entire
~/printer_data/configfolder.- In linux, you can delete files via
rm fileNameand directories viarmdir directoryName. - In linux, you can list files and folders via
ls -lah.
- In linux, you can delete files via
git clone -b skr-mini-e3-v3 --single-branch https://github.com/bassamanator/Sovol-SV06-firmware.git .⚠️ Don't miss the period!
Method 2: Download the ZIP
- Download the
ZIPfile containing the Klipper configuration. - See Step 2 in Method 1.
- The parent folder in the
ZIPisSovol-SV06-firmware-skr-mini-e3-v3. This is relevant in the next step. - Extract only the contents of the parent folder into
~/printer_data/config.
Initial Steps
Adjust Configuration with MCU Path
-
Find what port the
mcu(printer motherboard) is connected to vials -l /dev/serial/by-id/orls -l /dev/serial/by-path/.- The output will be something along the lines of
lrwxrwxrwx 13 root root 22 Apr 11:10 usb-1a86_USB2.0-Serial-if00-port0 -> ../../ttyUSB0. usb-1a86_USB2.0-Serial-if00-port0is the relevant part.- Therefore, the full path to your
mcuis either/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0or/dev/serial/by-path/usb-1a86_USB2.0-Serial-if00-port0, depending on the command you used to find themcu.
- The output will be something along the lines of
-
Adjust the
[mcu]section inprinter.cfgaccordingly. This is just an examplemcusection:[mcu] serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 restart_method: command -
Do a
FIRMWARE_RESTART.
If the Klipper flash that you did earlier was successful, and you've done everything else correctly, you should see no errors or warnings in the Mainsail/Fluidd dashboard. Klipper has successfully been installed on your printer!
Configure Your Printer
❗☠️ Your finger should be on the power switch for most of these steps ☠️❗
❗☠️ Power off if there is a collision/problem ☠️❗
💡 I recommend no filament be loaded for any of these steps.
💡 Find explanations for gcode commands at https://marlinfw.org/ and https://www.klipper3d.org/.
You will be pasting/typing these commands into the Mainsail/Fluidd console.
- Check to see if
XandYmax positions can be reached, and adjustposition_max, if necessary. You might be able to go further, which is great, but I recommend leaving a 2mm gap for safety.G28G90G1 X223 F3000G1 Y223 F3000
- Do a mechanical gantry calibration;
G34. After the controlled collision against the beam at the top, there will be a 10 second pause for you to verify that both sides of the gantry are pressed up against thestoppersat the top. You will hear a succession of beeps.- Figure out your
Zposition_maxby baby stepping your way up to the beam, and adjustposition_max, if necessary.
- Figure out your
- PID tune the bed. Ideally, all PID tuning should occur at the temperatures that you print most at.
PID_TEST_BED TEMP=70SAVE_CONFIG(once completed)
- PID tune the extruder while part cooling fan runs at 25%.
PID_TEST_HOTEND TEMP=245SAVE_CONFIG(once completed)
- Adjust
z_offset. Make sure your nozzle if very clean. Do the Paper test.DO_PROBE_CALIBRATE- Follow
z_offsetsetup in Mainsail/Fluidd. SAVE_CONFIG(once completed)
- Create a bed mesh.
DO_CREATE_MESHSAVE_CONFIG(once completed)
If you've made it here, then your printer has been Klipperized, and is ready to print!
But first, adjust your slicer.
Adjust Your Slicer
You need to adjust the start and end gcode in your slicer. The relevant macros are PRINT_START and PRINT_END. Find instructions here.
If you would like to print a purge line before your print starts, at the end of your start gcode, on a new line add PURGE_LINE. ⚠️ This is just an example:
PRINT_START ...
PURGE_LINE
Directory Structure
This repository contains many files and folders. Some are necessary for this Klipper configuration to work, others are not.
- Necessary items are marked with a ✅.
- Items that can optionally be deleted are marked with a ❌.
├── cfgs ✅
│ ├── adxl-direct.cfg
│ ├── adxl-rp2040.cfg
│ ├── adxl-rpi-pico-2x.cfg
│ ├── MECHANICAL_GANTRY_CALIBRATION.cfg
│ ├── misc-macros.cfg
│ ├── PARKING.cfg
│ └── TEST_SPEED.cfg
├── CODE_OF_CONDUCT.md ❌
├── CONTRIBUTING.md ❌
├── .github ❌
│ ├── FUNDING.yml
│ └── ISSUE_TEMPLATE
│ ├── bug_report.md
│ └── feature_request.md
├── .gitignore ❌
├── images ❌
│ ├── cup-border.png
│ ├── githubstar.gif
│ ├── heart.gif
│ ├── logo_white_stroke.png
│ └── party_blob.gif
├── misc ❌
│ ├── M503-output.yml
│ ├── skr-mini
│ │ ├── klipper-USB.bin
│ │ ├── klipper-v0.11.0-198-g33b18fd6-latest-UNTESTED.bin
│ │ ├── ls-output.png
│ │ ├── menuconfig.png
│ │ └── skr-mini-e3-v3.0-v1678580296384.png
│ ├── sv06-buildPlate.png
│ ├── SV06-buildPlate.stl
│ └── SV06-texture.svg
├── moonraker.conf ✅
├── printer.cfg ✅
├── README.md ❌
└── .vscode ❌
└── settings.json
Support Me
Please ⭐ star this repository!
If you found my work useful, consider buying me a
.
FAQ
How do I import a SuperSlicer configuration bundle (SuperSlicer_config_bundle.ini) into SuperSlicer?
Please see this discussion.
How do I print using SuperSlicer?
Please see this discussion.
When does beeping occur?
The printer will beep upon:
- Filament runout.
- Filament change/
M600. - Upon
PRINT_END. MECHANICAL_GANTRY_CALIBRATION/G34.
How do I disable beeping?
Make the following changes according to your needs. All beeping will be disabled except during gantry calibration.
| File | cfgs/misc-macros.cfg |
|---|---|
| Section | [gcode_macro _globals] |
| Variable | variable_beeping_enabled |
| Disable beeping | 0 |
| Enable beeping | 1 |
I want to use a filament sensor. How do I set it up?
You can find information about the physical setup here.
I have a simple filament sensor connected. How do I enable/disable it?
Make the following changes according to your needs.
| File | cfgs/misc-macros.cfg |
|---|---|
| Section | [gcode_macro _globals] |
| Variable | variable_filament_sensor_enabled |
| Disable sensor | 0 |
| Enable sensor | 1 |
My filament runout sensor works, but I just started a print without any filament loaded. What gives?
A simple runout sensor can only detect a change in state. So, if you start a print without filament loaded, the printer will not know that there is no filament loaded. You should test your sensor by having filament loaded, starting a print, then cutting the filament. The expected behaviour is that the print will pause, and as long as you have beeping enabled, you will hear 3 annoying beeps.
What happens when I put in M600/colour change at a certain layer?
- The printer will beep 3 times (not annoyingly).
- Printing will stop.
- The printhead will park itself front center.
- The hotend will turn off, but the bed will remain hot.
What happens when I pause a print?
Same behaviour as M600/colour change except there won't be any beeping.
What happens when filament runs out?
If you have a working filament sensor, the same behaviour as M600/colour change will occur except the beeps will be fairly annoying.
How do I resume a print after a colour change or filament runout?
⚠️ Do not disable the stepper motors during this process!
The printhead is now parked front center waiting for you to insert filament. You will:
- Heat up the hotend to the desired temperature.
- Use your Klipper dashboard.
- Purge (push) some filament through the nozzle.
- Use your Klipper dashboard, and extrude maybe 50mm (for a colour change you probably want to extrude more).
- OR, you can push some filament by hand making sure to first disengage the extruder's spring loaded arm.
- Hit resume in your Klipper dashboard.
How do I enable KAMP (Klipper Adaptive Meshing & Purging)?
Although this repo contains all the code from the KAMP repository, only the mesh functionality of KAMP has been enabled and tested.
If you KAMP is disabled, and you don't have a default mesh stored in your printer.cfg, PRINT_START will crash.
Adjust according to your needs.
| File | cfgs/misc-macros.cfg |
|---|---|
| Section | [gcode_macro _globals] |
| Variable | variable_kamp_enable |
| Disable | 0 |
| Enable | 1 |
How do I use the TEST_SPEED macro?
⚠️ This is for advanced users only, with well oiled machines. You can cause serious damage to your printer if you're not careful. ☠️ You have been warned ☠️.
Find full instructions here.
Some tips:
- Before running with
ITERATIONS=40with an untested speed/accel value, run withITERATIONS=1. - Pay close attention throughout the run, so that you can click
EMERGENCY STOPat a moment's notice. - This macro will simply help you determine the maximum speed your printhead and bed can reliably move at, not necessarily print at. The bottleneck for my SV06, for example, is the 15mm/s^2 that the hotend maxes out at (well under 200mm/s actual print speed).
Useful Resources
- Everything Sovol SV06
- RP2040-Zero ADXL345 Connection Klipper
- ⭐⭐⭐⭐⭐ Ellis' Print Tuning Guide
- Simplify3D Print Quality Troubleshooting Guide
Sovol Official Links
Sources
- https://www.klipper3d.org
- https://ellis3dp.com/Print-Tuning-Guide
- https://github.com/strayr/strayr-k-macros
- https://docs.vorondesign.com/build/software/miniE3_v20_klipper.html
- https://github.com/spinixguy/Sovol-SV06-firmware
- https://www.printables.com/model/378915-sovol-sv06-buildplate-texture-and-model-for-prusas
- https://github.com/AndrewEllis93/Ellis-SuperSlicer-Profiles
- Klipper Adaptive Meshing & Purging