ADXL345
Here we go again, trying to make this work
Re-attached the board and Cat6 wiring, but still get this error
Suggestions?
27 Replies
exotic-emeraldOPβ’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
exotic-emeraldOPβ’2y ago
exotic-emeraldOPβ’2y ago
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?
exotic-emeraldOPβ’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
exotic-emeraldOPβ’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
exotic-emeraldOPβ’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
exotic-emeraldOPβ’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
exotic-emeraldOPβ’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
exactly why I bought a 6 foot long one when I did mine
exotic-emeraldOPβ’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
exotic-emeraldOPβ’2y ago
new wiring, still i can't get it to fucking work
exotic-emeraldOPβ’2y ago
going to re-solder to the 2nd chip and try again
exotic-emeraldOPβ’2y ago
nope, same error, there's gotta be something i'm doing wrong here
exotic-emeraldOPβ’2y ago
apparently not
3rd chip works!
I suspect those Dupont connectors. I directly soldered the wires to the board to get a better connection
exotic-emeraldOPβ’2y ago
that is what i did for the first 2 chips...
then used duponts for the 3rd and it worked assume i've gotten some part of the other 2 a bit too hot with my several soldering attempts or something
Ok, was going by this photo of yours that shows Dupont connectors https://discord.com/channels/582187371529764864/1070403452200554606/1070405616302035024
exotic-emeraldOPβ’2y ago
yeah that one didn't work either, now it's setup even worse i will want to re-do this in a better way at some point
exotic-emeraldOPβ’2y ago
exotic-emeraldOPβ’2y ago
i really hate the fact that it works that way..
That is sub optimal
exotic-emeraldOPβ’2y ago
yep, it'll be on the "to improve" list
but right now as it works, i ain't touching it <:1970_pepe_sweat:1035522769015812190>