1.1.4 board klipper adxl345

Basic Information:

Printer Model: Ender3
MCU / Printerboard: Creality 1.1.4

Hi, first i would like to say hello, im new on forum.
Im not native english.

I have Ender 3 with Creality 1.1.4 board,
connected to WSL2 under windows 10.

Dont have much experience with Klipper.
Running Klipper/Mainsail.

Just installed it on my current PC, took me few days to menage it.
I didnt had much knowledge about it(but now i have) :smiley:

  1. Is there any way to connect adxl345 to arduino uno, and connect both to
    1.1.4 board? If possible what modyfications i have to do?
    I have soldering skills no problem.

  2. Is there a way to connect arduino with adxl345 straight to PC and use it
    with Klipper just to check resonances and setup some things?

Ad 1.: I don’t think that it’s possible to connect one MCU (Arduino Uno) to another MCU (Creality Board).

Ad 2.: Yes, this is possible, although I don’t know whether this works using the WSL. Have a look at Measuring Resonances - Klipper documentation, there it is stated, that the Arduino Uno (ATmega328p) comes with Klipper I2C fast-mode Support. Here, the recommended connection scheme is shown: Measuring Resonances - Klipper documentation (Sub-Link of Link above)
It is noted, that you have flash Klipper on your Arduino Uno and add it as additional MCU in your Klipper configs, however, this is described in the links provided above.

Oh nice its even better.

I connected my current setup that way so i dont think will be problem with that.
1.1.4 is same chip as arduino uno i have.

I will check out those.

Ok i found how to wire adxl to arduino,
but cant find any configuration for that setup.

Only config for adxl i found is :
Configure ADXL345 With RPi
Configure ADXL345 With Pi Pico

As I said, you have to flash Klipper to your Arduino. This process is described here: Installation - Klipper documentation. Furthermore, you have to find the path to this MCU on your host (this may be something like /dev/serial/by-id/usb-Klipper… or /dev/ACM0 or similar).
Next, you have to add the MCU to your printer.conf file:

[mcu ArduinoUno]
# Change to whatever you found above. For example,
# usb-Klipper_rp2040_E661640843545B2E-if00
serial: /dev/serial/by-id/usb-Klipper_rp2040_<mySerial>

Then you can configure your ADXL:

[adxl345]
i2c_mcu: ArduinoUno
# i2c_bus:

It is noted, that you may have to add a i2c_bus, however, I don’t know which bus have to be specified here, maybe something like: i2c1 or similar.
Finally, you can add the resonance_tester section:

[resonance_tester]
accel_chip: adxl345
probe_points:
100, 100, 20 # an example