Bigtreetech Adxl345 v2.0 User Manual - 20231205
Bigtreetech Adxl345 v2.0 User Manual - 20231205
Bigtreetech Adxl345 v2.0 User Manual - 20231205
0
User Manual
BIGTREETECH ADXL345 V2.0 User Manual
Revision Log
Version Date Revisions
v1.00 23rd August 2023 Initial Version
2
BIGTREETECH ADXL345 V2.0 User Manual
CONTENTS
Revision Log .................................................................2
Specifications ............................................................4
Dimensions ..............................................................5
Configuring Klipper.......................................................9
Assembly ...................................................................12
3
BIGTREETECH ADXL345 V2.0 User Manual
Product Profile
BIGTREETECH ADXL345 V2.0 is a module for printer resonance compensation.
It can communicate through USB, greatly simplifying wiring.
Feature Highlights
The board has a reserved BOOT button for easy firmware updates.
Reserved solder points enable users to customize wiring easily.
The USB port has an added ESD protection chip to prevent the MCU from
being damaged by static electricity through the USB.
Specifications
Dimensions 33.25 x 15.5mm
Installation Dimensions See BIGTREETECH ADXL345 V2.0-SIZE.pdf for
details.
Microprocessor RP2040 Dual ARM Cortex-M0+ @ 133MHz
Input Voltage DC 5V
Logic Voltage DC 3.3V
Communication with PC USB2.0
Sensor ADXL345
Sensor Communication 4Line SPI
Resolution Up to 3.9mg/LSB.
Output Data Rate 0.1-3200Hz
Sensor Operating -40℃ to +85℃
Temperature Range
Firmware Support
This product currently only supports Klipper firmware.
4
BIGTREETECH ADXL345 V2.0 User Manual
Dimensions
5
BIGTREETECH ADXL345 V2.0 User Manual
Peripheral Interfaces
Pin Description
Interface Introduction
Connecting to BTT Pi V1.2 (Type-C)
6
BIGTREETECH ADXL345 V2.0 User Manual
7
BIGTREETECH ADXL345 V2.0 User Manual
Klipper Firmware
Compiling Klipper Firmware
1. Connect to CB1/Raspberry Pi via SSH and enter the following
commands:
cd ~/klipper/
make menuconfig
Configure the firmware as shown in the provided image (update Klipper
firmware to the latest version if options are not available).
8
BIGTREETECH ADXL345 V2.0 User Manual
3. Enter
cd klipper
navigate to the Klipper directory, and enter
make flash FLASH_DEVICE=2e8a:0003
start flashing the firmware (Note: Replace 2e8a:0003 with the actual
device ID found in the previous step.)
4. After flashing, enter
ls /dev/serial/by-id/
to query the device's Serial ID (only applicable for USB communication,
not for CANBus).
5. For USB communication, you don't need to press the Boot button for
subsequent updates. Enter the following command to flash the firmware
make flash FLASH_DEVICE=/dev/serial/by-id/usb-Klipper_rp2040_4550357128922FC8-if00
Configuring Klipper
1. Download the sample-bigtreetech-adxl345-v2.0.cfg config file from:
https://github.com/bigtreetech/ADXL345
9
BIGTREETECH ADXL345 V2.0 User Manual
3. In printer.cfg, add:
[include sample-bigtreetech-adxl345-v2.0.cfg]
4. Set the correct ID number for your board.(USB serial)
5. Configure the module's functions according to the instructions in the link
below:
https://www.klipper3d.org/Config_Reference.html#adxl345
The axes_map parameter needs to be set according to the direction of
the module installation and the movement direction of the printer. The first
parameter represents the direction of the accelerometer module
corresponding to the axis when the printer's X-axis moves in the positive
direction (the silk screen on the module shows the direction of each axis
of the module), and the second parameter represents the direction of the
accelerometer when the Y-axis moves in the positive direction.
6. After configuring and installing the module and successfully connecting to
the printer, you can start the resonance compensation test. Follow the
instructions in the link below to start testing:
https://www.klipper3d.org/G-Codes.html#shaper_calibrate
11
BIGTREETECH ADXL345 V2.0 User Manual
Assembly
Note: Avoid overtightening screws during installation to prevent damage.
Method 1:
Install on the side bracket with the dual holes (matches official spacing).
Method 2:
Use screws through the PCB and rubber ring on the heater block as shown.
12
BIGTREETECH ADXL345 V2.0 User Manual
If you need further resources for this product, you can find them at
[GitHub](https://github.com/bigtreetech/). If you cannot find what you need, you may
contact our after-sales support([email protected]).
If you encounter any other problems during use or have suggestions or feedback, please
contact us. Thank you for choosing BIGTREETECH products.
13