#Error with my ADXL 345
71 messages · Page 1 of 1 (latest)
That error strongly suggests something wrong with the wiring, a short or a disconnect. The best advice I've found is this:
An easy way is to use the 4 twisted pairs in CAT5/6 cable so that each of the high speed lines (CLK, SDO, SDA) are in a separate twisted pair, with a ground wire in each pair. This is how I have wired it: Pair 1 - Orange/White is 3.3V, Orange CS; Pair 2 - Green/White Ground, Green SDA; Pair 3 - Blue/White Ground, Blue SDO; Pair 4 - Brown/White Ground, Brown CLK. It is important to connect the orange/white to the 3.3V pad on the ADXL break out board, not the VCC pad as that goes through the regulator and has an extra voltage drop. With this setup, I was able to work even with a 50' long CAT5 cable! It will certainly work for VCore3 500.
let me go ahead and try this right now
Hey @harsh bloom 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?
@harsh bloom
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
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
oh, are you on ratos 2.0?
go to ratos.local/config
oh sorry that should be ratos.local/configure
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 😛
@harsh bloom
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