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

Adxl345 wiring #6

Closed
Freddyb888 opened this issue Nov 2, 2022 · 6 comments
Closed

Adxl345 wiring #6

Freddyb888 opened this issue Nov 2, 2022 · 6 comments

Comments

@Freddyb888
Copy link

How do I wire a adxl345 on the Manta-M4P with cb1?

@Aizel330
Copy link

Aizel330 commented Nov 7, 2022

Hi dear, I managed to wired and use an adxl345 using the spi port on the m4p, I'll attach some images, hopefully they are clear enough
pinout adxl345
download

then basically it's just matter of connecting these pins together and add this to your printer.cfg

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

the axes_map need to be modified depending on the orientation of your particular adxl345 so some testing may be needed to correct the orientation and make sure that the compensation is on the right axes. if anyone needs more infos I'll be more than happy to help.

@Freddyb888
Copy link
Author

Thanks, but is not possible to connect to the 40 gpio pins that are present on the btt manta m4p with cb1? Thanks again

@Aizel330
Copy link

bigtreetech/CB1#14 (comment) I think that could help you with that, hopefully.

@Freddyb888
Copy link
Author

Thanks a lot. I think it will work.

@Aizel330
Copy link

no problem, enjoy!

@ox006
Copy link

ox006 commented Mar 16, 2023

how can i connect mpu6050 with M8p/cb1

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

3 participants