Accelerometer on duet2wifi + duex5 expansion
i'm struggling getting LIS3DH working on my setup (duet2+duex5). I connected the accelerometer on the daughter board connector of the duex5. These are the cross wiring i made with a cat5 cable:
On webui i get:
M955 P0 C"spi.cs5+spi.cs6"
Error: M955: Accelerometer not found on specified port
Cable is barely long enough to reach the bottom of the printer to the toolhead not crossing power or motor cables. Am i doing something wrong? thank you.
SIam last edited by
or my solution with an usb3 Cable https://forum.duet3d.com/topic/22878/software-package-3-3beta3-released/68?_=1624809172098
@siam So 1k resistor did not fix it. My wiring is correct? is it possibile to use the daughterboard connection on the duex? if so i will try changing the cable with an usb3 one.
Also i bought this type of board
is that ok?
Edit: Switched to USB3 cable and connected as your post but didn't help...same behaviour as before. I can't try on Duet daughterboard connection because i have a PT100 sensor for extruder wired to a non-official PT100 board (wired with dupont)
Edit2: Also tried to disconnect the PT100 board on CS1 and connect the accelerometer on CS1 and CS2 but without luck...also with 1k resistor in series with SDO pin at accelerometer end. Here's a photo of one end of the wiring..the other is the same without the 1k resistor:
@mikes please post a photo of the Duet end of the wiring too.
@dc42 sorry for the delay but the board is under the printer and i need some help for moving it.
Wirings are not tidy as i would but they seems ok to me. Also the accelerometer now is connected to CS1/CS2 on duet2wifi, no need to print at the moment so i disconnected PT100 and remove it's gcode in config.g
felek last edited by
I also bought this board from Aliexpress and I wasn't able to run it. After investigation I realized that it is LIS3DSH chip which has different registers than LIS3DH.
AFAIK RRF3 doesn't support LIS3DSH right now.
Take a look on the chip. There is DSH instead of DH.
@mikes I have a LIS3DSH board already and I do plan to add support for it, but it isn't the priority right now.
@dc42 thanks David. We'll wait patiently. In the mean time input shaping will be debugged and stable to try it. If you add support for that accelerometer i'll do my part and test it.
Thanks for your hard work!
@mikes I now have my LIS3DSH accelerometer working with RRF. Support for it will be included in a forthcoming RRF 3.4beta release.
Awesome! In the meantime i did some maintenance to my printer and tuned it better i can. Going to print some gcode and retry them with IS on.
One more time thank you!