Repetier Server - Klipper input shaping with USB adxl345

Hello, I have had Repetier server for so may years and it always seems to do exactly what I want/need.  Well I decided to put klipper on my Ender 5+ and that works great.  I also added that to my Repetier server and that also works great.  Everything prints fine.  Now I want more lol.

I got a USB adxl345 today and went through all the setup.  I flashed it with the appropriate klipper firmware and it shows up as a klipper USB device in the serial devices. 

What I did to the adxl345:
Flashing out/klipper.uf2 to 2e8a:0003
sudo lib/rp2040_flash/rp2040_flash out/klipper.uf2

[sudo] password for pi:
Loaded UF2 image with 107 pages
Found rp2040 device on USB bus 1 address 19
Resetting interface
Exiting XIP mode
Rebooting device
pi@fluiddpi:~/klipper $ ls /dev/serial/by-id/*

According to the directions (using fluidd at least) you add the following scripts to the printer config:
[mcu btt_adxl345]
serial: /dev/serial/by-id/usb-Klipper_rp2040_btt_acc-if00

cs_pin: btt_adxl345:gpio9
#spi_bus: spi1a
spi_software_sclk_pin: btt_adxl345:gpio10
spi_software_mosi_pin: btt_adxl345:gpio11
spi_software_miso_pin: btt_adxl345:gpio8
axes_map: -x,-y,-z

probe_points: 100, 100, 20
accel_chip: adxl345

The problem is if I have the pins defined klipper reports a printer problem.  If I comment out all the pin lines it is fine again.

Is there somewhere else I need to put this address for Repetier server to use this device?

I did try just plugging it in and leaving the follow as is:
[mcu rpi]
serial: /tmp/klipper_host_mcu

cs_pin: rpi:None

accel_chip: adxl345
    100, 100, 10  # an example

But when I start input shaping it just says:
No data for x axis found - skipping axis.
No data for y axis found - skipping axis.

Any help at all would be nice.  I would love to be able to use this with Repetier server without having to run wires and connect to my Pi that is enclosed in a case.


Sign In or Register to comment.