bigtreetech / bigtreetech/BTT-Pi

Wiring connection - acelerometer - adxl345

Open
#40 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
200
Forks
34
PR merge metrics
No merged PRs in 30d

Description

After much trial and error with different configurations, I've managed to get the firmware working correctly, but now it seems the wiring is incorrect. My BTT PI 1.2 won't detect the accelerometer. Can anyone tell me what I'm doing wrong? I've followed the official pinout diagram:

Image

Image

Image

The code part:

#### ACELERÓMETRO ####

[mcu host]
serial: /tmp/klipper_host_mcu

[adxl345]
cs_pin: host:gpio67 # Pin CS dedicado del BTT-Pi
spi_bus: spidev0.0 # SPI0 expuesto por overlay spidev0_0
axes_map: x,y,z # Mapeo de ejes, opcional

[resonance_tester]
accel_chip: adxl345
accel_per_hz: 70
probe_points: 117.5,117.5,10

#### ACELERÓMETRO ####

It's frustrating because Claude AI helped me a lot to accomplish everything, but the conversation is so long that it tells me I'm reaching my limit just by saying hello, and Gemini or ChatGPT are unable to help me without context and are also much worse at coding or programming than Claude.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the BTT-Pi pinout shown in the attached images with the [mcu host] and [adxl345] configuration, especially host:gpio67 and spidev0.0. Confirm what the BTT-Pi reports when the ADXL345 is queried; the work is done when the accelerometer is detected and the resonance tester can use it.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.