-
Notifications
You must be signed in to change notification settings - Fork 8
Simple AF Beacon
I AM NOT RESPONSIBLE FOR DAMAGE TO YOUR PRINTER - INSTALLING CUSTOM SOFTWARE IS A RISK
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-beacon
channel has been setup for anyone wanting support for beacon.
Thanks to https://raven3dtech.com.au/ and https://beacon3d.com for donating Beacon probes to the Simple AF project to add support and continue to support the Beacon.
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.
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
TODO
You must have flashed your beacon with the latest beacon firmware (2.1.0 currently) 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
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 beacon
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!
For beacon you cannot use more than microsteps: 32
, the MCU cannot handle both more microsteps and beacon, it puts too much pressure on the system and it will throw timer too close during bed meshes.
Manual Beacon Serial Device configuration
You may have to update the [scanner] section in the beacon.cfg with the correct beacon serial device address. If the installer was not able to determine the correct serial device, you will see a warning in the installer in that case: `WARNING: There does not seem to be a beacon attached - skipping auto configuration`Open the beacon.cfg
in fluidd or mainsail and edit it there if needed.
Find the serial device for the beacon, from the command line:
ls /dev/serial/by-id/usb-usb-Beacon_Beacon*
Then replace the [scanner]
line from beacon.cfg
:
serial:/dev/serial/by-id/XXX # change this line to have your beacon id.
So it should then look something like:
serial: /dev/serial/by-id/usb-Beacon_Beacon_RevD_614e_160020001343303856303820-if00
Restart klipper if you had to change the serial
entry.
https://docs.beacon3d.com/quickstart/#6-calibrate-beacon
For this first print you can go and do the tuning first (PID Tuning, etc) or you can go ahead and optimise your cal_nozzle_z
using baby stepping.
In fluidd the save button after you finish or cancel your print can be a bit hard to find, look for
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 SHAPER_CALIBRATE
macro to 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
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/
See Updating
See Reinstalling
Simple AF Beacon EXPERIMENTAL
Simple AF Bltouch, CrTouch and 3dTouch
Simple AF Klicky COMING SOON
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.