Input shaping, accelerometer, and klipper

108 views
Skip to first unread message

Daniel Rosen

unread,
Jul 18, 2024, 1:55:26 PM7/18/24
to 3D Printing Tips and Tricks
I read some posts here about the greatness of adding input shaping. I successfully installed the USB BTT S2DW in my ender 3 and got all the data. Planning to do it in my voron and tenlog next. However, I don't fully understand how the axes map works. Is this axes map fine If the accelerometer is lying flat?. Thanks
The lis2dw.cfg file that I copy from github is as follows:

[mcu btt_lis2dw]
serial: /dev/serial/by-id/usb-Klipper_rp2040_btt_acc-if00

[lis2dw]
cs_pin: btt_lis2dw:gpio9
#spi_bus: spi1a
spi_software_sclk_pin: btt_lis2dw:gpio10
spi_software_mosi_pin: btt_lis2dw:gpio11
spi_software_miso_pin: btt_lis2dw:gpio8
axes_map: x,y,z

[resonance_tester]
probe_points: 100, 100, 20
accel_chip: lis2dw

Ed Street

unread,
Jul 18, 2024, 2:43:27 PM7/18/24
to 3D Printing Tips and Tricks
Grats on the upgrade.  
There are several gotchas with the graph and many things to look for.  This covers much, but not all of those.   https://klipper.discourse.group/t/interpreting-the-input-shaper-graphs/9879

Also, don't give up on it.  This is a very complex, very detailed thing.

Daniel Rosen

unread,
Jul 18, 2024, 3:04:54 PM7/18/24
to 3D Printing Tips and Tricks
Thanks Ed. this is useful information and will go through it in detail. I glanced it and there is no mention about how to match the accelerometer position with the axes map. 

Ian Nicholson

unread,
Aug 2, 2024, 3:26:26 PM8/2/24
to 3D Printing Tips and Tricks
I'm hoping you've already gotten past this part, but here's what Klipper's manual says about mounting the accelerometer:


From what I've seen you don't need to map the axes specifically, unless you want the graph to be explicitly correct.

Reply all
Reply to author
Forward
0 new messages