Skip to content

Simple AF

Jason Pell edited this page Oct 21, 2024 · 30 revisions

I AM NOT RESPONSIBLE FOR DAMAGE TO YOUR PRINTER - INSTALLING CUSTOM FIRMWARE IS A RISK

The Simple AF project is for anyone who wants to use a Microprobe, BLTouch, 3dtouch, Crtouch, Cartographer or BTT Eddy with their K1, K1C or K1 Max and use vanilla klipper and no Creality Gcode.

If you wish to keep using the nozzle for levelling and z-offset, this is not the guide you are looking for!

If you want to use your strain guages but not prtouch, then check this out instead: https://github.com/cryoz/K1_tenso_manual/blob/main/README_ENG.md

If you wish to use the Guilouz Helper script, this guide is not the guide you are looking for! The Guilouz Helper and Creality scripts for Mainsail and Fluid are not compatible with this project.

Note: Lidar is not supported by this project, it uses proprietary code from creality.

This project supports the following probes:

  • Microprobe
  • BLTouch, 3dTouch, CrTouch
  • Cartographer - Carto Touch (aka Survey Touch) and Carto Scan (old style)
  • BTT Eddy

The installation script will perform the following steps:

  • Disable creality services
  • Install Emergency Factory Reset feature
  • Install Bash
  • Replace Creality cam_app and old mjpg_streamer with entware mjpg_streamer
  • Install Moonraker
  • Install Moonraker Timelapse - no longer enabled by default
  • Install Nginx
  • Install Fluidd and Fluidd Config
  • Install Mainsail
  • Install KAMP
  • Install Vanilla Klipper
  • Install Guppyscreen
  • Setup bltouch/crtouch/3dtouch, Microprobe, Cartographer/Cartotouch or Btt Eddy

Where can I get help?

Come on over to the pellcorp discord server, here is the invite https://discord.com/invite/2uGDzyJ3WX

The #simple-af-support channel has been setup for anyone wanting support.

Firmware requirements

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.

Slicer Settings

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:

image

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

Cartographer Model

If you want to select a particular cartographer model other than the default you can pass in an additional START_PRINT parameter:

image

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.

Installation

Microprobe

Find the Microprobe guide

BLTouch, 3dtouch or Crtouch

Find the Bltouch guide

Cartographer

Find the Cartographer Touch and Scan guide

BTT Eddy

Find the BTT Eddy guide

Legacy Cartographer

Find the Legacy Cartographer guide

Moonraker Timelapse

Moonraker timelapse is installed but not enabled by default. To enable it there are a few steps, you need to add the following include to printer.cfg:

[include timelapse.cfg]

And uncomment the [include timelapse.conf] in moonraker.conf, you will need to restart moonraker and klipper after this, you can that via the fluidd or mainsail services section.

If you see these messages:

 15:14:24  // Unknown command:"_SET_TIMELAPSE_SETUP"
15:14:24  // Unknown command:"HYPERLAPSE"

It means you have not as yet properly restarted moonraker and/or klipper. If in doubt just power cycle your machine.

KAMP Configuration

The installer enables the KAMP LINE_PURGE and SMART_PARK macros in START_PRINT, but we use Klipper adaptive mesh, since the KAMP adaptive mesh and the klipper adaptive mesh are exactly the same feature wise, and even by the same author, this project won't offer KAMP adaptive mesh as a configuration option.

Source: https://github.com/kyleisah/Klipper-Adaptive-Meshing-Purging

Configuring Timezone

The /etc/init.d/S58factoryreset has recently been updated not to delete the /etc/localtime, so you can configure it once and it should survive any number of factory resets, following the excellent guide here: https://guilouz.github.io/Creality-Helper-Script-Wiki/firmwares/change-date-and-time/

Updating

To update your installation with the latest fixes you should run:

/usr/data/pellcorp/k1/installer.sh --update-repo
/usr/data/pellcorp/k1/installer.sh --update

This backs up your customisations, updates all git repos, downloads new versions of any files and copies applies all changes to your /usr/data/printer_data/config directory and then reapplies your customisations over the top.

Refer to Update or Reinstall - What gets overriden

In future, it will be possible to run an update from Fluidd or Mainsail as a result of clicking the Update button in the software section, but that is not currently supported.

Reinstalling

A reinstall is only needed if you are switching probes or one or more github repos have got into an inconsistent state.

Refer to Update or Reinstall - What gets overriden

Emergency Factory Reset

If the worst happens and you somehow get locked out (for instance for whatever reason the dropbear ssh session does not start or wifi config gets all screwy, it is possible to trigger a emergency factory reset.

It is very easy, you just need to create a empty file called emergency_factory_reset on a USB key and make sure the USB key is plugged in, then power cycle the printer, this will initiate a factory reset.

IMPORTANT: This factory reset method will rename the emergency_factory_reset to emergency_factory_reset.old to avoid a boot loop, so if you need to use this method again you will need to rename the file.

IMPORTANT: This factory reset method will not remove the special service file /etc/init.d/S58factoryreset from the k1, so if you need it you can redo a factory reset even before reinstalling.

Note: This method does not reset wifi or root access

Returning to Helper Script

If you want to return to helper script, you should run a factory reset first with:

/etc/init.d/S58factoryreset reset

If you factory reset your printer after using this project, the creality stock screen will most likely show a 3002 error. This is perfectly normal, it just means that the firmware flashed to the Nozzle, Bed and MCU is too new. If you wish to return to stock and/or Guilouz helper, just physically restart the printer a second time and the error will go away. If you are going to reinstall this project, you do not need to do anything, we will be replacing the stock screen with guppyscreen soon enough.

error3002.png

Simple AF

Simple AF Cartographer

Simple AF Beacon EXPERIMENTAL

Simple AF BTT Eddy

Simple AF Microprobe

Simple AF Bltouch, CrTouch and 3dTouch

Simple AF Klicky COMING SOON

Donations

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.

Clone this wiki locally