M955: Accelerometer not found on specified port
-
Hello,
I use Duet 3 mini 5+ running RRF 3.4.1 and I want to add an accelerometer to use imput shaping and reduce ghosting.
I have wired up some cables and connected them to IO4 (input and output) and the temperature daughter board (as I saw on the Duet Dozuki documentation).
When the cables are connected, I can see a green led on the accelerometer but when I send "G1 X-50 G4 S2 M956 P0 S1000 A0 G4 P10 G1 X50 F20000" the console tell me that no accelerometer is connected.
Obviously, I've got the "M955 P0 S1344 R10 C"io4.out+io4.in" Q2000000" on my config.g and if I send this in the console, I've got the same answer :"Accelerometer not found on specified port".
I saw that someone added a resistor and it works then, why ?
Should I do the same thing ?
Thanks
-
Can you show a photo of your entire cable length in one shot?
People seem to have better luck using a USB3 cable. From what I see of your cable there may be poor signal integrity.
-
@aodrennn where's the power connectors? There are no cables on VIN
-
@phaedrux
I reduced the cable and it's like this now :
I also tested all cables with a multimeter and there are all good ...I'll think I'll test with an USB 3 as you said.
-
@jay_s_uk
Yeah I just followed this picture on this page : https://duet3d.dozuki.com/Wiki/Accelerometers -
@aodrennn It can help to add a resistor on CS line. I use a resistor with 560 Ohm
-
@cosmowave
So I just put a resistor like this on the CS pin on the LIS3DH and it would works ? -
@aodrennn usually that fixes when data can't be captured but the accelerometer is found. your issue that the accelerometer isn't even found.
I suggest that you revisit your wiring. maybe wire it first just with very short jumper cables to make sure your wiring is correct. if it doesn't work with short cables then you've definitely got something wrong -
@jay_s_uk
Thanks, I'll remake the wiring with very shorter cables.
I tried yesterday with a USB3 cable but nothing better, do you think the LIS3DH is possibly broken ? -
@aodrennn when i've used one, i've used the VIN and GND connections on the far left. I don't think they die that easily