SPI’ing Resonance

My cables arrived yesterday and I tried connecting the ADXL345 accelerometer to my wife’s 3D printer for resonance calibrations, unfortunately I quickly found that QWIIC only supports I2C connections and Klipper only supports SPI communication for this particular accelerometer.

Fortunately, I found I can use the breakout pins on the accelerometer to connect SPI. To avoiding soldering, I bent breadboard connectors in the breakout holes.

ADXL345 connected over long wires to a Raspberry Pi

It’s not ideal, but it’s temporary.

I used this setup to run a calibration process on the X-axis, then mounted the accelerometer to the bed to measure the Y-axis.

I mounted the accelerometer towards the front of the bed to avoid being hit by the print head.

The final results, saved to printer.cfg

In the end, this wasn’t nearly as exciting as I thought it would be. The resonations on the X-axis were very quiet and the Y-axis wasn’t much louder than typical printing noises. I could say I was a bit disappointed to not encounter the same intensity as some others. I noticed some new defects in the prints, so I’m eager to retry this calibration with the ICM-20948 (which I plan to have permanently mounted within my old printer rebuild).

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *