Error with my ADXL 345
I am getting this Invalid adxl345 id (got 0 vs e5).
I went on ahead and checked all my wiring and they all seem good, I even built a cable a shielded cat 5 because i saw online that this is prone to interferance.
45 Replies
That error strongly suggests something wrong with the wiring, a short or a disconnect. The best advice I've found is this:
let me go ahead and try this right now
Hey @TheTik Question on the grounds
your diagram shows all white wires are to be connected to ground
how should I wire that up to the ADXL board
also my board does not have CLK, only SCL? are those the same?
@TheTik
not my diagram, but if you send me a link i'll take a look.
well im just trying to follow your wiring suggestion but i noticed my board does not have a CLK pin
also how i am i going to wire all the grounds? do i solder them all to the ground pin of my adxl345 board?
yes, tie all the grounds together
thank you
what about the CLK? is that the same as SCL?
and SCL and CLK are the same yeah
got it i will build my wire right now and try
good luck!
also do I have to configure anything on software for this to work?
or is it plug and play once the adxl is connected right?
You'll need to choose it in the cofigurator i think?
Full disclosure, I didn't get my ADXL working, had the same error. But I was planning on using a toolboard with built-in accelerometer early so I didn't bother troubleshooting
and where can i open the configurator
sorry im a total noob on this
My dad wired it up and I didn't feel like pointing out where he fucked up lol


i dont have that tab huhu
oh, are you on ratos 2.0?
yes
2.0
for a core v3
go to ratos.local/config
yes im here
which cfg file should i open
oh sorry that should be ratos.local/configure
it opened a wizard
is this the right page?
Yeah

Hm. Maybe in 2.0 the adxl is configured purely in the printer.cfg then
i see
yeah, seems around line 125 you should have a line to uncomment

cool, seems good then. Hope your re-wiring fixes things
tyyy man
one last thing
im just a little confused on the grounds
so tie all my grounds in one bunch
then plug into the only ground pin on the mainboard of ratrig right?
yep
might e easier to tie them together a few inches away and have only one wire crimped into the connectors
exactly what im doing
let me give this a try
ur the greatest man
appreciate ur input
lets hope we get it actually working 😛
@TheTik
same error code
twisted all the ground wires and slot them on ground header of the ratrig

i have 3 wires soldered to gnd lead on adxl
afaik there isn't any jumpers or config for the thing, double check the soldering that there isn't any bridges?

looks clean to me
hmm
but its blurry, id grab a loupe
so just making sure all the white wires are soldered to tne GND lead
then i crimped all the ground wires in one dupont connector

upp
could be dead on arrival, they aren't known to be the most robust chips. Try a different one