ADXL345
Here we go again, trying to make this work
Re-attached the board and Cat6 wiring, but still get this error
Suggestions?
![No description](https://cdn.answeroverflow.com/1070403452464812062/image.png)
27 Replies
eastern-cyanβ’2y ago
i've wired the ADXL according to @blacksmithforlife πΊπΈ 's post here https://discord.com/channels/582187371529764864/1057701426303860806/1057705641348706454
And by using the RatOS image
eastern-cyanβ’2y ago
![No description](https://cdn.answeroverflow.com/1070405615639339068/9400-01-01_01.01.18-8.jpg)
eastern-cyanβ’2y ago
![No description](https://cdn.answeroverflow.com/1070405823962026055/9400-01-01_01.01.18-7.jpg)
that looks like it is in the wrong spot? there should be a space between those headers and the jst-xh connector but it looks like it is butted up close to the jst-xh connector. You should use a 10 pin connector instead of the 12 pin connector you have
that doesn't look like you are using a ethernet cable and have tied all the grounds together?
eastern-cyanβ’2y ago
i have some tape around it, since it's 2x5 slots dupont connector
ah, that i have not done yes
check again, counting the squares where you would put in a crimped connection I count 12 not 10
having all the ground tied together and twisted around the data lines is what gives ethernet cables the ability to carry data so long without issues. If you aren't doing that, you need to
eastern-cyanβ’2y ago
hmm so you mean connect them together on the ADXL end? and then also on the controlleR?
Orange with White wire and green with white wire and blue with white wire, and brown with white wire are all connected together. I soldered them all together and then soldered a single 22 gauge wire to it to make it easier to attach to the ADXL. I did the same thing on the other end for the MCU
the remaining wires are attached as:
Orange wire to CS; Green wire to SDA; Blue wire to SDO; Brown wire to CLK
eastern-cyanβ’2y ago
i will re-do like that and try again, cheers π
wiring it now, with CLK do you mean SCL?
but also what about "VCC"?
in the other post you mention orange/white to 5v, since i've already wired the ethernet into a group would using a single silicone cable for that be ok?
Basically use the remaining 4 wires for the data pins and power. Which one you use for which doesn't really matter
eastern-cyanβ’2y ago
i see the problem, i used all the white wires for GND, only had 4 pins for data remaining
think i've got a working wiring setup now, but it'll have to wait for tomorrow to check, thanks for the help
actually, you say last 4 for data and power, however you need 5 right? or am i using one i don't need?
got scl, SDA,SDO, CS and then VCC and GND
ahh that's right, I stole the one ground from the CS and made that the power line instead
eastern-cyanβ’2y ago
i see
so that orange/white one for you? gotcha
i think i have to get a new CAT6 cable, been cutting ends of and re-doing this one so often it's a little bit too short me thinks ![LUL](https://cdn.discordapp.com/emojis/527501931170496512.png)
![LUL](https://cdn.discordapp.com/emojis/527501931170496512.png)
![LUL](https://cdn.discordapp.com/emojis/527501931170496512.png)
exactly why I bought a 6 foot long one when I did mine
eastern-cyanβ’2y ago
it was quite a bit longer than i needed when i started
it's been taking attrition between failed attempts, my terrible soldering and crap dupont connectors
![OMEGALUL](https://cdn.discordapp.com/emojis/527501970311872522.png)