From 1d9a2b5344e230818129f1481b1fdffc61af1257 Mon Sep 17 00:00:00 2001 From: Svennixx Date: Wed, 20 Mar 2024 09:53:13 +0100 Subject: [PATCH] added Beacon accelerometer support (#552) --- .../accelerometers/beacon_accelerometer.cfg | 13 +++++++++++++ user_templates/printer.cfg | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 config/hardware/accelerometers/beacon_accelerometer.cfg diff --git a/config/hardware/accelerometers/beacon_accelerometer.cfg b/config/hardware/accelerometers/beacon_accelerometer.cfg new file mode 100644 index 000000000..bab7c50b8 --- /dev/null +++ b/config/hardware/accelerometers/beacon_accelerometer.cfg @@ -0,0 +1,13 @@ +# Only for Beacon REV H model, REV D does not have a build in accelerometer +# You need to include beacon_virtual.cfg and set the correct serial in your overrides for this to work +# Accelerometer pins etc are all handeled internally by the Beacon Klipper plugin. +[resonance_tester] +accel_chip: beacon +probe_points: + -1,-1,-1 + + +# Include the IS calibration macros to unlock them when +# an accelerometer is installed on the machine +[include ../../../macros/helpers/resonance_override.cfg] +[include ../../../scripts/K-ShakeTune/K-SnT_*.cfg] diff --git a/user_templates/printer.cfg b/user_templates/printer.cfg index 738bafea8..9db3d1afe 100644 --- a/user_templates/printer.cfg +++ b/user_templates/printer.cfg @@ -200,6 +200,8 @@ # [include config/hardware/accelerometers/adxl345_Fysetc_SB_Can_TH.cfg] # For ADXL plugged in Fysetc SB Can TH boards # [include config/hardware/accelerometers/lis2dw_usb_rp2040_spi1.cfg] # For BTT S2DW V1.0, ... + +# [include config/hardware/accelerometers/beacon_accelerometer.cfg] # For Beacon Rev H make sure Beacon. Do not forget to include the beacon_virtual_probe in the PROBE section! # ----------------------------------------------------------------------------------------