-
Notifications
You must be signed in to change notification settings - Fork 12
Simple AF Cartographer
I AM NOT RESPONSIBLE FOR DAMAGE TO YOUR PRINTER - INSTALLING CUSTOM FIRMWARE IS A RISK
It is vital you do not walk away from your printer when its homing with the cartographer, there is a small risk that if it disconnects (for whatever reason) at the exact wrong time, the homing may not be cancelled and your carto will not prevent the nozzle from digging a hole into your bed!!!!!
If you are looking for a way to support the project, and its entirely optional, this is my preferred approach. I am conducting a fundraiser to purchase a K1M printer, just so I can push out fixes and new features a bit faster, but also specifically test the K1M as well as the K1.
If you can't donate via go fund me directly, I have also added a kofi account.
Come on over to the pellcorp discord server, here is the invite https://discord.gg/2uGDzyJ3WX
The #simple-af-carto
channel has been setup for anyone wanting support for cartographer.
Thanks to Richard from https://cartographer3d.com and Zarboz from https://wattskraken.xyz/ for donating Cartographers to the Simple AF project to add support and continue to support the cartographer.
SUPER IMPORTANT SUPER IMPORTANT SUPER IMPORTANT SUPER IMPORTANT SUPER IMPORTANT
WARNING: If you are not using a side mount you must verify config changes for cartotouch.cfg and cartographer-k1.cfg or cartographer-k1m.cfg before homing your printer, using Screws Tilt Calculate or doing a bed mesh! Ignoring these instructions can lead to significant damage to your build plate and/or probe.
See probe installation for more details.
This guide assumes you have a K1, K1C or K1 Max and you are running stock creality firmware 1.3.3.5 or higher, or alternately you are using my prerooted firmware. Any other pre-rooted firmware is explicitly not supported and the installer.sh will validate this and refuse to proceed if you try to use it on different firmware.
WARNING: If you have used a cartographer with k1-klipper, please note that the PRINT_START
macro specified in their docs is not supported by this project. You must change your Slicer Start Print Machine G-Code (see next)
There is an assumption that you are using a slicer like OrcaSlicer and Machine G-code like:
Machine start G-code
M104 S0 ; Stops OrcaSlicer from sending temp waits separately
M140 S0
START_PRINT EXTRUDER_TEMP=[nozzle_temperature_initial_layer] BED_TEMP=[bed_temperature_initial_layer_single]
Machine end G-code
END_PRINT
Mount | Carto | URL | Notes |
---|---|---|---|
Default |
Right Angle | https://www.printables.com/model/1037606-cartographer-3d-right-angle-k1-series-mount | |
D3vilStock |
Flat Pack | https://www.printables.com/model/684338-k1-k1max-eddy-current-mount-cartographer | |
BootyGantry |
Right Angle | https://github.com/tlace17/K1-Linear-Rail-Gantry/blob/main/STLs/Probe%20Mounts/Rail%20Carriage%20Carto%20Mount.stl | May require shimming for correct nozzle offset |
SkeletorMK7 |
Low Profile | https://www.printables.com/model/833769-the-skeletor-collection-a-creality-k1k1-maxk1c-coo | Front mounted only |
PurcellV5 |
Right Angle | https://www.printables.com/model/1071493-cartographer-probe-side-mount-options-for-creality |
It is vital that you verify the model to nozzle tip distance is within the valid range of 2.6 to 3mm. Anything out of this range will cause you problems when it comes time to doing the touch calibration, you can use this tool to verify:
https://www.printables.com/model/1060868-cartographer-probe-nozzle-offset-tool
Or for side mounted probes you may want to consider this version: https://www.printables.com/model/1121309-cartographer-probe-nozzle-offset-tool-x-offset
On a K1M you can use the lidar cable either directly by repinning it, or via the pass through lidar port on the toolhead. However you cannot use the lidar port on the toolhead for K1, K1C or K1SE. The reason this does not work is because for Lidar on the K1M creality actually routes a completely separate USB cable from the mainboard.
You must have flashed your cartographer with CARTOGRAPHER K1 5.1.0
survey firmware before starting the installation:
There is a guide for this here
The installation can only be performed on a printer which has been rooted and ssh granted
You need root access, if you are not already root, then follow this guide https://guilouz.github.io/Creality-Helper-Script-Wiki/firmwares/install-and-update-rooted-firmware-k1/#enable-root-access
ZeroDotCmd (aka Zero on discord) has provided an excellent Cartographer installation video, you can find it https://www.youtube.com/watch?v=GuxMITM9o4I
You must do a factory reset before running the installer.sh. Follow these steps to do a factory reset, which retains root access and skips the startup calibration checks:
wget --no-check-certificate https://raw.githubusercontent.com/pellcorp/creality/main/k1/services/S58factoryreset
chmod +x S58factoryreset
./S58factoryreset reset
IMPORTANT: It is really important you do not close the ssh session until you get the message Info: Factory reset was executed successfully, the printer will restart...
:
git config --global http.sslVerify false
git clone https://github.com/pellcorp/creality.git /usr/data/pellcorp
sync
RPC Timeouts, try SSH Git Clone
mkdir -p /root/.ssh wget --no-check-certificate "https://raw.githubusercontent.com/pellcorp/creality/main/k1/ssh/git-ssh.sh" -O /root/git-ssh.sh chmod 777 /root/git-ssh.sh wget --no-check-certificate "https://raw.githubusercontent.com/pellcorp/creality/main/k1/ssh/pellcorp-identity" -O /root/.ssh/pellcorp-identity export GIT_SSH_IDENTITY=pellcorp export GIT_SSH=/root/git-ssh.sh git clone [email protected]:pellcorp/creality.git /usr/data/pellcorp cd /usr/data/pellcorp && git remote set-url origin https://github.com/pellcorp/creality.git && cd
If you have pellcorp-overrides in github but not stored locally, you need to recreate the /usr/data/pellcorp-overrides directory before running the installer.sh!
To run the script, you must use the following command:
/usr/data/pellcorp/k1/installer.sh --install cartotouch --mount Mount
Note: For Mount
you need to specify the mount option your have used, please refer to Mount Options.
If you are using a non-supported mount you should skip the --mount
option and adjust your configuration after installation before trying to perform a bed mesh or Screws Tilt Calculate!
RPC failed; curl 18 transfer closed
You might get this error:error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Just rerun the installer.sh script (with the same probe argument), it will start from the stage that failed (most of the time this will be the Installing Klipper stage!)
You can also prefix the installer command with AF_GIT_CLONE=ssh
to force git to clone via ssh, this will take a lot longer, but it will never time out, so its good in a pinch if you are getting repeated klipper repo clone failures.
At the end of the installer process if you get this message:
WARNING: MCU Firmware updates are pending you need to power cycle your printer!
It means that new MCU firmware updates need to be applied and this can only be done by power cycling the printer. After your printer is power cycled you can verify firmware was updated with the CHECK_FIRMWARE
macro from Fluidd or Mainsail, if you see this message:
INFO: Your MCU Firmware is up to date!
Your printer MCU firmware was updated successfully. If you still see the MCU Firmware updates are pending you need to power cycle your printer!
message after a power cycle, check the /tmp/mcu_update.log
, you may be asked to provide this file on Discord if you need additional assistance, sometimes an additional power cycle can solve the problem, there is a very short window of time (15 seconds) in which the MCU firmware can be updated, so there is a chance it will work after an additional power cycle.
It is important to make sure you have a way to emergency factory reset the printer, if the worst happens. There is a macro in Simple AF called CHECK_USB_KEY
that will wait for you to plug a USB key in and tell you if it was able to be successfully mounted. You should verify your USB key often just to make sure you have something if you need to unbrick your printer, simply type CHECK_USB_KEY
or hit the button in Fluidd / Mainsail
If you get the message: INFO - USB Key was recognised and mounted correctly (/tmp/udisk/sda1)
, your USB is perfect to use for a factory reset. If you get no message at all before the script ends (after 60 seconds), your USB is defective. You can check the messages
file in the logs section of your UI to get more details about why the usb key could not be mounted!
https://docs.cartographer3d.com/cartographer-probe/survey-touch/survey-troubleshooting
You need to click RECOVER and then run from ssh:
/usr/data/cartographer-klipper/install.sh
If you get the following error, it means that the cartographer is not connected to the printer. This is either because its physically not connected, the wiring is wrong, the usb subsystem has disconnected the carto during a restart or the serial id is wrong
So from ssh run a lsusb
and make sure you can see:
If you cannot see it in lsusb
, then it very likely means either the carto is wired incorrectly, or if was working, it just means that an attempt to restart the carto failed because the K1 refused to recognise it, there is no recourse except to Reboot the printer via Fluidd / Mainsail in this case.
If you can, then verify that the serial id matches:
Make sure it matches the serial
in cartotouch.cfg
:
You can run the following command to fix your serial if you forgot to plug your cartographer in during the installation or update:
/usr/data/pellcorp/k1/installer.sh --fix-serial
For cartographer you cannot use more than microsteps: 32
, the MCU cannot handle both more microsteps and cartographer, it puts too much pressure on the system and it cause stuttering during bed meshes.
Please make sure to remove any scanner related config from the save config section at the bottom of printer.cfg and save and restart before re-calibrating.
If you are recalibrating, the follow SAVE_CONFIG sections should be removed:
- [scanner model default]
- [scanner]
Important: Please do not remove the [scanner]
section defined at the end of printer.cfg above the save config section.
It is a good idea to heat the nozzle to 150c for this step first!
- Home X Y (
G28 X Y
) - Heat Nozzle to 150c (
M109 S150
) so that any filament can be removed from nozzle - Make sure nozzle is centred on bed
- Run
SET_KINEMATIC_POSITION Z=250
and then move the nozzle so its approx 2mm from the bed. - Run
CARTOGRAPHER_CALIBRATE METHOD=manual
Follow the Paper Test Method Upon completionSAVE_CONFIG
WARNING: Do not use a metal feeler gauge for this step, it could interfere with calibration!!!
After the save config you have to do the cartographer threshold scan (see next)
WARNING: For this next step, it is really important to be near your printer for this step, because if there is any issue with the printer configuration or your carto probe, its possible the nozzle will dig itself into the bed, so be hovering over that e-stop button!
- Home All (
G28
) - Make sure nozzle is centred on bed
- Heat Nozzle to 150c (
M109 S150
) so that any filament can be removed from nozzle - Execute
CARTOGRAPHER_THRESHOLD_SCAN SPEED=2 MIN=1500 MAX=5000
Upon completionSAVE_CONFIG
After the save config you have to do the touch calibration.
WARNING: For this next step, it is really important to be near your printer for this step, because if there is any issue with the printer configuration or your carto probe, its possible the nozzle will dig itself into the bed, so be hovering over that e-stop button!
- Home All (
G28
) - Heat Nozzle to 150c (
M109 S150
) so that any filament can be removed from nozzle - Execute
CARTOGRAPHER_CALIBRATE
Upon completionSAVE_CONFIG
Note: If this fails after 3 tries, you should check to make sure there is not filament stuck to the bottom of your nozzle!
Source: https://docs.cartographer3d.com/cartographer-probe/survey-touch
Next it is highly recommended to perform axis twist compensation calibration if you are using a rear mount before doing anything else, this will affect the quality of your bed mesh, so best to do it before.
- Home All (
G28
) - Run
AXIS_TWIST_COMPENSATION_CALIBRATE
The calibration wizard will prompt you to measure the probe Z offset at a few points along the bed Upon completionSAVE_CONFIG
WARNING: Do not use a metal feeler gauge for this step, it could interfere with calibration!!!
Source: https://www.klipper3d.org/Axis_Twist_Compensation.html
At least PID tuning (bed and extruder) and input shaping is required for acceptable printing. If you try and print after running the installer.sh and a power cycle but before any calibration you will most likely have horrendous quality, the worst you have ever seen on the k1. After PID tuning and input shaping you should see the same kind of quality as you get with stock k1 + input shaper fix.
You can use the QUICK_START Macro to automatically complete Bed and Nozzle PID Tuning and Input Shaping Automatically.
https://www.klipper3d.org/Config_checks.html?h=pid#calibrate-pid-settings
For example you might run these:
PID_CALIBRATE_BED BED_TEMP=65
PID_CALIBRATE_HOTEND HOTEND_TEMP=230
Note: The PID_CALIBRATE_BED
and PID_CALIBRATE_HOTEND
macros are located in the useful_macros.cfg
file and they have defaults
values for BED_TEMP and HOTEND_TEMP so you can just run them by clicking on them if you want that same temperature.
There is no default configuration for input shaping so it is essentially disabled out of the box.
You can use the INPUT_SHAPER
button run input shaping, just be sure to SAVE CONFIG
at the end, to choose the automatically selected shaper config, be aware though that the shaper chosen might be sub-optimal due to a slight difference in vibrations between two options. So you should probably review the output and potentially choose an alternative if it gives you higher recommended max acceleration for minimal increase in vibration.
https://www.klipper3d.org/Measuring_Resonances.html#input-shaper-auto-calibration
IMPORTANT: You should adjust your acceleration in your printer.cfg down to that recommended by the input shaper results. I normally reduce max_accel
to the highest of the two axis (usually this will be y), and then more finely adjust the max acceleration per axis in my slicer profile.
For this first print you can go and do the tuning first (PID Tuning, etc) or you can go ahead and optimise your scanner_touch_z_offset using baby stepping, as documented here: https://docs.cartographer3d.com/cartographer-probe/survey-touch#first-print
In fluidd the save button after you finish or cancel your print can be a bit hard to find, look for
Note: The default value for pressure advance is set to: 0.04
Refer to https://github.com/SoftFever/OrcaSlicer/wiki/Calibration for more calibrations
This is an excellent resource for all things 3d print tuning: https://ellis3dp.com/Print-Tuning-Guide/
Some cartographer users choose to use scan only instead of touch and that is easy enough to do once you have finished setting it up.
You can run the following gcode command:
PROBE_SWITCH MODE=scan
And then SAVE_CONFIG
You can then use the CARTOGRAPHER_MODEL parameter to start print from your slicer to select different filament profiles, this is required if you print with different filaments and/or use different bed aurfaces.
If you want to select a particular cartographer model other than the default you can pass in an additional START_PRINT
parameter:
You can either hard code it to a particular model, like CARTOGRAPHER_MODEL=mymodel
or you can specify a model based on orca slicer variables, such as CARTOGRAPHER_MODEL="[curr_bed_type] - [filament_type]"
, but you have to make sure you have all the possible models
defined for each of the bed type and filament type combinations.
See Updating
See Reinstalling
This is left intentionally blank