Remove A1

From iagent
Revision as of 21:36, 12 February 2023 by Elias (talk | contribs) (Klipper usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Remove is an accelerometer for doing input shaping with Klipper.

Remove A0 iso.jpg

Pinout diagram

Remove pinout.png

Klipper configuration

# The Remove resonance tester mcu
[mcu rp2040]
serial: /dev/ttyACM0
baud: 1500000

cs_pin: rp2040:gpio5
spi_bus: spi0a

accel_chip: adxl345
    100, 100, 20  # an example

[static_digital_output remove_leds]
pins: rp2040:gpio17, rp2040:gpio18

Klipper usage

At this time there is an issue with the A1 board where the initialization can fail in Klipper.

If you follow the klipper documentation and run the expected commands you may get the following error:

Invalid adxl345 id (got f2 vs e5).
This is generally indicative of connection problems
(e.g. faulty wiring) or a faulty adxl345 chip.

This does not mean your Remove is faulty. Try running the command again, it is a known initialization error, and will go away once the initial message happens. It will happen again next time you restart klipper though, as it re-initializes the ADXL345 again.

Klipper firmware compilation

The unit comes with firmware pre-installed. If you want to upgrade the firmware, these are the steps to reproduce. This can be done directly from Recore, or from a regular computer.

cp test/configs/rp2040.config .config
make olddefconfig
make flash FLASH_DEVICE="2e8a:0003"