Nozzle Mount ADXL345 Accelerometer Documentation

Modified on Fri, 5 Apr at 6:05 PM

Product Link: https://store.dremc.com.au/products/nozzle-adxl345-accelerometer


How to Read Input Shaper Graph: https://support.dremc.com.au/en/support/solutions/articles/51000372996-how-to-read-input-shaper-graphs


TABLE OF CONTENTS


Quick Start Guide


How to install this Nozzle ADXL345

  1. heat your hotend nozzle temperature up to 250ºc. unload filament. remove the nozzle.
  2. let the printer cool down completely and turn off the printer.
  3. place the nozzle through the PCB and attach it to the extruder. leave the silicione sock. connect the usb cable from the PCB to the raspberry. turn on the printer.
  4. make all the readings and tunnings necessary but never heat up the hotend!
  5. once done remove the PCB and the nozzle. reattach the nozzle only to the hotend. heat up the hotend at 120ºc and tight the nozzle a little but further. start printing!

How to Configure Klipper

[mcu ampon] serial: /dev/serial/by-id/usb-Anchor_Ampon-if00 
[adxl345] cs_pin: ampon:CS 
[resonance_tester] accel_chip: adxl345 probe_points: 90, 90, 20

How to auto tune the input shaper?

First, read this https://www.klipper3d.org/Resonance_Compensation.html don’t forget to tune pressure advance and all the other parameters. Input shaper should be the very last fine tunning proccess.

install the necessary dependencies via ssh:

~/klippy-env/bin/pip install -v numpy sudo apt update sudo apt install python3-numpy python3-matplotlib

back to the mainsail, edit printer.cfg and make sure you included the previous topic klipper configuration

test the connection between adxl345 and rapsberry. in mainsail terminal console run/send this code:

ACCELEROMETER_QUERY

you should receive something similar to this format:

Recv: // adxl345 values (x, y, z): 470.719200, 941.438400, 9728.196800

if not. please re-check your wiring or klipper config. something is wrong.

edit once again printer.cfg but now, this time, edit the printer section

[printer] kinematics: corexy max_accel: 10000 max_accel_to_decel: 10000 square_corner_velocity: 5.0 
[input_shaper]

now…. let’s run the auto tune.

in mainsail terminal run this code:

SET_VELOCITY_LIMIT ACCEL_TO_DECEL=10000 SET_PRESSURE_ADVANCE ADVANCE=0 SET_INPUT_SHAPER SHAPER_FREQ_X=0 SHAPER_FREQ_Y=0

If you HOME the printer the nozzle adxl will colide with the bed. Becareful! Fake the homing of the z axis by touching the TAP or the z sexbolt.

SHAPER_CALIBRATE

when it’s done run this code

SAVE_CONFIG

Edit printer section and revert max accel and decel to 4000.

restart and it should be it ?




How to Update Module (V1 PCB)


Using klipper firmware make configuration, within your raspberry pi terminals with klipper already installed.


More information: https://www.klipper3d.org/Installation.html


cd ~/klipper/
make menuconfig

Select the below configuration:


To save, press Q 


  • From your ssh session, run cd ~/klipper to make sure you are in the correct directory
  • Run lsusb. and find the ID of the DFU device.
  • Run make flash FLASH_DEVICE=1234:5678, replacing 1234:5678 with the ID from the previous step
  • Unplug the nozzle adxl
  • Remove the jumper
  • replug the nozzle adxl
  • You can confirm that the flash was successful by running ls /dev/serial/by-id. If the flash was successful, this should now show a klipper device, similar to:


How to Update Module (V1.3 PCB)

See this PDF Doc: https://provok3d.com/wp-content/uploads/2024/02/update-nozzle-adxl-1.3.pdf?v=0a10a0b3e53b

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article