Adxl345 help please

Basic Information:

Printer Model:ender 3v2
MCU / Printerboard:skr mini e3 v2
Host / SBC
klippy.log

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

…Hi people im really hoping for some help. i have wired my adxl345 to my rpi 3b via spi connection i have enabled spi added the rpi mcu and when i have the adxl345 in my printer.cfg my printer wont connect to rpi but soon as i delete the adxl345 config printer works.

i am using the 32bit mainsail image as on my rpi 3b the 64 bit kept freezing..

this is what i added to config

[mcu rpi]
serial: /tmp/klipper_host_mcu

[adxl345]
spi_bus: spidev0.0

Explicitly define the Chip Select pin as GPIO 8 on the RPi

cs_pin: rpi:gpio8,

and i was told to delete that config and try this:

[mcu rpi]
serial: /tmp/klipper_host_mcu

[adxl345]
spi_bus: spidev0.0, but still no luck. also is a klipper.log attached. Hope some can help.

Thank you

klippy.log (2.4 MB)

To my eyes, what yo added and deleted look the same.

I’m curious who that was.

it was a some fella i was talking to on face book that said he could help, but obviously he couldn’t.

What am i doing wrong pal ?

As when i put the adxl345 config in my printer.cfg i get error and printer wont connect to pi soon as i delete it my mcu connects

okay got past the mcu issue but now when i type ACCELEROMETER_QUERY i get

Invalid adxl345 id (got ff vs e5)

This is most likely a cable/connection issue.

What kind of cable are you using for the accelerometer and how long is it?

Using Dupont connectors and they only 20cm.

I gave just gone over the soldering just to make sure and will check to see if it works tomorrow.

Thanks for the reply pal

Given up on it just going to buy a usb ADXL345 like the fly ADXL345 so don’t have to deal with the headache of getting the connections soldered right

Hi again, well I got the usb fly ADXL345 and got it all setup and managed to run a test and all worked.

The next day after I had gone over the Printer making sure all screws bolts and that were secure. So now the ADXL345 wont connect I get the blue box with waiting for connection and then the red box with the no MCU
I’ve noticed that soon as I put # infront of the ADXL345 settings in my Printer. cfg and do firmware restart I t connect.

Please can you help with this

Thsnks

Probably a USB address issue. Did you use the same USB port? Even so Linux can be fickle with USB identification.

Thanks for the reply. I have tried every usb port and still same. It was working fine and next day I’m having trouble getting a connection.

Klipper needs to know where to “find” the ADXL345 MCU.