ADXL-345 problem

Hi there, So I try to configure input shaping with my Adxl and got “Invalid adxl ID (got ff and e5) “ So what I have checked: I wired it to the Rpi Checked include boards/rpi/config and sensors/ rpi-adxl Wire length. About 80cm. Checked faulty wire as well. Still, no response when I try to run Measure_Axes_Noises. Please help
No description
37 Replies
C7H
C7HOP2y ago
This is my cfg just incase
blacksmithforlife
usually do to wiring. The ADXL are extremely sensitive to interference. Do a search on here and you will find lots of posts regarding how to setup using ethernet cable
C7H
C7HOP2y ago
The RJ11 ?
blacksmithforlife
RJ11 is the connector on the end of the cable, I am talking about CAT5/6 cable itself
C7H
C7HOP2y ago
Woa, this is new to me ! I have searched on this ratos-support but there is no results about it
C7H
C7HOP2y ago
Saw that... But the result is not realy helpful I guess
blacksmithforlife
that thread details exactly which wires in the CAT5/6 to solder where - so not sure what else you are looking for?
C7H
C7HOP2y ago
I mean, This fault can only be fixed by replacing it to use CAT5/6 cable ? Nothing else interfere >
blacksmithforlife
You have a wiring issue. Either you can spend a bunch of time trying to fix the cable you have, or you can make a new one with cat5/6 and know that your issue isn't because of the cable
C7H
C7HOP2y ago
ok, i gues i'll try with cat 5/6 then, and about the connector. which should be used? and will i have to solder anything ?
blacksmithforlife
yes solder short wires to ADXL (make sure they are good quality), then connect using fitting meant for moving (like jst-xm, microfit, etc) see https://discord.com/channels/582187371529764864/1100371794961125437/1110956447480684605
C7H
C7HOP2y ago
alright, thank you for the assistance. i'll come backj with the result soon oh and the printer.cfg is alright ?>
blacksmithforlife
no, remove these two lines
[include RatOS/sensors/rpi-adxl345.cfg]
[include RatOS/boards/rpi/config.cfg
[include RatOS/sensors/rpi-adxl345.cfg]
[include RatOS/boards/rpi/config.cfg
and follow the wiring diagram https://os.ratrig.com/docs/boards/btt/octopus-11#wiring
C7H
C7HOP2y ago
Ok then Thank you
miklschmidt
miklschmidt2y ago
You need to reference the chip name when querying if you don't do it like specified in the wiring diagrams (wiring the ADXL345 to the MCU). In this case it would be "rpi".
No description
C7H
C7HOP2y ago
Hi. Thanks for reaching out. I don’t understand the phrase “toolboard” . Does it mean a PCB contains ports on hotend ? In my case. Wiring to the rpi doesn’t work at all
blacksmithforlife
You are not using a toolboard so you can ignore it. If you are wiring it to the pi, you need to specify it like Mikel said, or wire it to your octopus and then it will work without specifying anything I.e. MEASURE_AXIS_NOISE CHIP="rpi"
C7H
C7HOP2y ago
Same thing when run SHAPER_CALIBRATE ?
blacksmithforlife
I believe so
C7H
C7HOP2y ago
Ok. But if running adxl on rpi. DoI have to include these as well ?
blacksmithforlife
Yes
C7H
C7HOP2y ago
Ok then. I am preparing the Cat6. Wish me luck mate
miklschmidt
miklschmidt2y ago
If you're wiring it yourself anyway, wire it correctly to the octopus. Follow the wiring diagrams instead of improvising, that makes things a lot easier.
C7H
C7HOP2y ago
Not to offend but for a regular klipper user like me. Wiring to the Pi seems more familiar than the octopus. I can try new thing ofc. I’ll let you know if Cat6 cable work on this case. But short cable ? How short should it be. Mine roughly 80cm
miklschmidt
miklschmidt2y ago
It's the same duponts, same SPI protocol, everything is the same, it's just on a different board. Just follow the manual. 80cm is probably fine, just make sure it can actually reach the toolhead
C7H
C7HOP2y ago
Alright then. Time to fix on mine and let you know ASAP. Btw, it’s been a good learning journey for me. This OS is so good
C7H
C7HOP2y ago
@blacksmithforlife Bro. I MADE IT !
No description
No description
No description
C7H
C7HOP2y ago
You are right. Cat6 Cable works good
C7H
C7HOP2y ago
No description
No description
No description
C7H
C7HOP2y ago
I wired as you instructed. Except I left those two ground wires and use the rest. Thank you so much ! One last Question Should I measure this with or without the panels mounted on ?
blacksmithforlife
Not sure it matters, but I would measure after fully setting everything up
C7H
C7HOP2y ago
Sure thing, it would be more trustful. btw What do you think about the graphs, my Y axis is a bit slow, no ?
blacksmithforlife
I have seen worse. Honestly I think people obsess over them too much.
C7H
C7HOP2y ago
I guess? Like should both axis be nearly identical with the acceleration ? Cause that's the question I have been asking all the time
blacksmithforlife
no, that's not possible. Y axis has to move more mass, so it can't accelerate as fast
C7H
C7HOP2y ago
Oh, so that's why they use carbon fiber and aluminum to reduce mass on X axis. Which also reduce the force on Y axis too. Man, thank you You can close this post. Everything has been answered. I wish you all a good day and prosperity

Did you find this page helpful?