# Adxl345 help please

**URL:** <https://klipper.discourse.group/t/adxl345-help-please/25212>\
**Category:** General Discussion\
**Created:** [November 15, 2025, 7:31pm UTC](https://klipper.discourse.group/t/adxl345-help-please/25212 "2025-11-15T19:31:54Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![onsight](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/onsight/32/21438_2.png) [@onsight](https://klipper.discourse.group/u/onsight)\
**Post date:** [November 15, 2025, 7:31pm UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/1 "2025-11-15T19:31:54Z")

</div>

### 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](https://klipper.discourse.group/uploads/short-url/l6DAw615fS4Crk2DMI9m72krWfp.log) (2.4 MB)

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [November 15, 2025, 7:39pm UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/2 "2025-11-15T19:39:35Z")

</div>

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

> [@onsight](#):
>
> i was told to delete

I’m curious who that was.

---

<div class="post-metadata">

**Author:** ![onsight](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/onsight/32/21438_2.png) [@onsight](https://klipper.discourse.group/u/onsight)\
**Post date:** [November 15, 2025, 7:49pm UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/3 "2025-11-15T19:49:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![onsight](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/onsight/32/21438_2.png) [@onsight](https://klipper.discourse.group/u/onsight)\
**Post date:** [November 15, 2025, 8:53pm UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/4 "2025-11-15T20:53:43Z")

</div>

okay got past the mcu issue but now when i type ACCELEROMETER\_QUERY i get

Invalid adxl345 id (got ff vs e5)

---

<div class="post-metadata">

**Author:** ![LifeOfBrian](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lifeofbrian/32/2380_2.png) [@LifeOfBrian](https://klipper.discourse.group/u/LifeOfBrian)\
**Post date:** [November 15, 2025, 10:15pm UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/5 "2025-11-15T22:15:39Z")

</div>

This is most likely a cable/connection issue.

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

---

<div class="post-metadata">

**Author:** ![onsight](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/onsight/32/21438_2.png) [@onsight](https://klipper.discourse.group/u/onsight)\
**Post date:** [November 15, 2025, 10:52pm UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/6 "2025-11-15T22:52:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![onsight](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/onsight/32/21438_2.png) [@onsight](https://klipper.discourse.group/u/onsight)\
**Post date:** [November 17, 2025, 1:10am UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/7 "2025-11-17T01:10:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![onsight](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/onsight/32/21438_2.png) [@onsight](https://klipper.discourse.group/u/onsight)\
**Post date:** [November 27, 2025, 9:02pm UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/8 "2025-11-27T21:02:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cardoc](https://avatars.discourse-cdn.com/v4/letter/c/ec9cab/32.png) [@cardoc](https://klipper.discourse.group/u/cardoc)\
**Post date:** [November 27, 2025, 9:47pm UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/9 "2025-11-27T21:47:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![onsight](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/onsight/32/21438_2.png) [@onsight](https://klipper.discourse.group/u/onsight)\
**Post date:** [November 28, 2025, 12:57am UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/10 "2025-11-28T00:57:40Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![cardoc](https://avatars.discourse-cdn.com/v4/letter/c/ec9cab/32.png) [@cardoc](https://klipper.discourse.group/u/cardoc)\
**Post date:** [November 28, 2025, 1:18am UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/11 "2025-11-28T01:18:12Z")

</div>

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

> **[Reading and Checking Tool Board ID | FLY Docs](https://mellow.klipper.cn/en/docs/ProductDoc/ToolBoard/fly-usb-adxl/fly-usb-adxl/read-id/)**

---

<div class="post-metadata">

**Author:** ![onsight](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/onsight/32/21438_2.png) [@onsight](https://klipper.discourse.group/u/onsight)\
**Post date:** [December 16, 2025, 10:17pm UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/12 "2025-12-16T22:17:28Z")

</div>

Thanks but managed to sort it out by getting a powered usb hub and now no issues.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [January 16, 2026, 8:17am UTC](https://klipper.discourse.group/t/adxl345-help-please/25212/13 "2026-01-16T08:17:49Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
