Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input shaping with adxl345 #23

Open
letiguja opened this issue Jul 9, 2024 · 1 comment
Open

Input shaping with adxl345 #23

letiguja opened this issue Jul 9, 2024 · 1 comment

Comments

@letiguja
Copy link

letiguja commented Jul 9, 2024

Can I use adxl345 to do input shaping and if it is possible how would i do it.

@gaifeng8864
Copy link
Owner

Can I use adxl345 to do input shaping and if it is possible how would i do it.

Yes, you can use ADXL345. However, you need to connect it to the hardware SPI interface on the printer motherboard through the SPI interface (software SPI usually has insufficient communication speed or occupies too much CPU of the printer control board), and then add the following configuration information to the configuration file printer.cfg.

[adxl345]
cs_pin: PA4
spi_bus: spi1
axes_map: -x,-y,z

[resonance_tester]
accel_chip: adxl345
probe_points:
135,135,10 # an example

Note:
cs_pin: PA4
spi_bus: spi1
You need to determine it according to the interface definition of the printer motherboard. For details, please refer to the official pin definition document of the printer control board.

For other options, please refer to the instructions in the official document of klipper and modify them according to your own control board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants