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
27 Replies
exotic-emerald
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-emerald
exotic-emeraldOPβ€’2y ago
No description
exotic-emerald
exotic-emeraldOPβ€’2y ago
No description
blacksmithforlife
blacksmithforlifeβ€’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-emerald
exotic-emeraldOPβ€’2y ago
i have some tape around it, since it's 2x5 slots dupont connector ah, that i have not done yes
blacksmithforlife
blacksmithforlifeβ€’2y ago
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-emerald
exotic-emeraldOPβ€’2y ago
hmm so you mean connect them together on the ADXL end? and then also on the controlleR?
blacksmithforlife
blacksmithforlifeβ€’2y ago
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-emerald
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?
blacksmithforlife
blacksmithforlifeβ€’2y ago
Basically use the remaining 4 wires for the data pins and power. Which one you use for which doesn't really matter
exotic-emerald
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
blacksmithforlife
blacksmithforlifeβ€’2y ago
ahh that's right, I stole the one ground from the CS and made that the power line instead
exotic-emerald
exotic-emeraldOPβ€’2y ago
i see LUL 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
blacksmithforlife
blacksmithforlifeβ€’2y ago
exactly why I bought a 6 foot long one when I did mine
exotic-emerald
exotic-emeraldOPβ€’2y ago
it was quite a bit longer than i needed when i started OMEGALUL it's been taking attrition between failed attempts, my terrible soldering and crap dupont connectors
exotic-emerald
exotic-emeraldOPβ€’2y ago
new wiring, still i can't get it to fucking work
No description
exotic-emerald
exotic-emeraldOPβ€’2y ago
going to re-solder to the 2nd chip and try again
exotic-emerald
exotic-emeraldOPβ€’2y ago
nope, same error, there's gotta be something i'm doing wrong here
No description
exotic-emerald
exotic-emeraldOPβ€’2y ago
apparently not 3rd chip works!
No description
blacksmithforlife
blacksmithforlifeβ€’2y ago
I suspect those Dupont connectors. I directly soldered the wires to the board to get a better connection
exotic-emerald
exotic-emeraldOPβ€’2y ago
that is what i did for the first 2 chips... then used duponts for the 3rd and it worked facepalm assume i've gotten some part of the other 2 a bit too hot with my several soldering attempts or something
blacksmithforlife
blacksmithforlifeβ€’2y ago
Ok, was going by this photo of yours that shows Dupont connectors https://discord.com/channels/582187371529764864/1070403452200554606/1070405616302035024
exotic-emerald
exotic-emeraldOPβ€’2y ago
yeah that one didn't work either, now it's setup even worse KEKW i will want to re-do this in a better way at some point
exotic-emerald
exotic-emeraldOPβ€’2y ago
No description
exotic-emerald
exotic-emeraldOPβ€’2y ago
i really hate the fact that it works that way..
blacksmithforlife
blacksmithforlifeβ€’2y ago
That is sub optimal
exotic-emerald
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>
Want results from more Discord servers?
Add your server