Can't get y-ADXL to work

Hey guys, been on it for a couple days now, but i am at a loss. I have a Minion with SKR Mini E3 V3, Pi4B, EBB36 v1.2 (without MAX Chip) and use the GY-291 ADXL345 Sensor-Boards. The one on the Toolboard is working just fine, but i can't get the other one to work. RatOS is always throwing a
20:00
Invalid adxl345 id (got ff vs e5).
This is generally indicative of connection problems
(e.g. faulty wiring) or a faulty adxl345 chip.
20:00
Invalid adxl345 id (got ff vs e5).
20:00
Invalid adxl345 id (got ff vs e5).
This is generally indicative of connection problems
(e.g. faulty wiring) or a faulty adxl345 chip.
20:00
Invalid adxl345 id (got ff vs e5).
depending on where it's hooked the hex value (ff) changes to something else, but the e5 stays. i tried it on the I/O Header on the Mini with the Pins used as described in the Mini config file and also wired following the official Klipper documentation directly to the Pi. It just makes no difference. I tried 3 different ADXL Boards by now, tried a supply voltage of 3.3 , 5, and with the help of a lab PSU everything inbetween. After re-wiring a couple of times, although i checked all the crimps etc multiple times and could find no error, i wanted to be sure, and directly soldered from board to Pi. All i get is a 3.3 Signal on CS, and ofc on VCC. When moving the ADXL, i would expect at least SOMETHING to happen on the SPI lines, so i checked (Pic attached): there is really just nothing happening when moving the (any of the 3) sensors. The thing i actually do struggle a bit with, is the configuration in the printer.cfg, but by now i tired almost every possible thing that came to my (non-software guy) head. The Toolboard keeps working fine, but not the regular ADXL. i ssh'ed into the Pi and manually turned on the SPI Interface, just to make sure too. I'll attach my printer.cfg aswell - but the state regarding the ADXL config did ofc vary - this is the momentary state. Please, Obi-Wan Kenobi, you're my last hope!
4 Replies
blacksmithforlife
Try a really short set of wires (like 6 inches or less) to rule out a signal issue
stormy-gold
stormy-gold2y ago
If it would be a signal issue, i should see at least see SOMETHING on the scope, but there is just plain nothing. this pic was taken already with the shortest wire configuration possible
blacksmithforlife
Well, it would seem unlikely that 3 different boards are all broken. So I would want to prove that the wiring is correct and working. I would switch out the wiring of the first board for the second to prove to myself the wiring is correct and then focus on the config
stormy-gold
stormy-gold2y ago
i will draw up the exact way i wired it tomorrow and post it 🙂 i tried two different wiring lengths with all 3 boards already ADXL345 pin RPi pin RPi pin name 3V3 (or VCC) 17 3.3v DC power GND 20 Ground CS 24 GPIO08 (SPI0_CE0_N) SDO 21 GPIO09 (SPI0_MISO) SDA 19 GPIO10 (SPI0_MOSI) SCL 23 GPIO11 (SPI0_SCLK) AAAAAANNNND i finally got it to work - i had colour differences in two of the diagrams i used, and even tho i went after the PINs, and checked everything a couple of times like a maniac, i had some switch in there between upside down GPIO Pins, my assembly of the connector and the rest. That said - i am sure i had this right when it was wired directly to the Mini. But who tf knows where what went wrong... Thanks for the support in any case man ♥️ So remember: You don't get any signal from the ADXL when SDA and SDO are switched! And like usually when i open a support Thread - the Problem was in front of the Screen. It's really frustrating, you know, because i am a pretty thorough and meticoulous person. i check everything like a couple of times before asking, and shit like this still happens from time to time sadpepe
Want results from more Discord servers?
Add your server