Accelerometers on a bedslinger
-
So I have now mounted my LIS3DSH, one on X/Z axis and one Y under the bed.
What is the best/easiest way to wire up to my Duet Mini5+ ? On X/Z I have one Toolboard V1.
-
@tecno see https://duet3d.dozuki.com/Wiki/Accelerometers#Section_Direct_SPI_connection_to_a_Duet_main_board. Pay attention to keeping the CS signal away from other signal wires, as I did in the cable I made up.
Alternatively, connect it to a SAMMYC21 and connect that to the D3Mini via CAN - but that costs more.
-
@dc42
Do I use 2 IO's one each for X/Z and Y and run both accelerometers? Or 1 IO and switch cable? -
@tecno if you are connecting both via SPI, you can do either. RRF currently only supports one directly-connected accelerometer, so even if you do use two different I/O ports, you will still need to change the accelerometer config command to switch between them.
-
OK one cable to one port it is then, thank you !
-
Is this OK?
Wire# Duet Mini5+
1 nc
2 IO_3 GND
3 nc
4 SBC26_23
5 SBC26_19
6 SBC26_26
7 IO_3 in
8 IO_3 3.3V
9 IO_3 out
10 nc -
@tecno no, don't use the SBC connector, that's on a different SPI channel.
-
Cables fixed today, one accelerometer and the other to have IO1 extended outside for easier tests not needed to breakdown the printer from is cabinet.
-
2021-08-09 13:35:50 M955 P0
Error: M955: Accelerometer not found2021-08-09 13:29:40 M955 P0 C"io3.out+io3.in"
Error: M955: Accelerometer not found on specified portAny suggestions what to do next?
-
@tecno are those results with or without the extension cable? The ribbon cable by itself should be OK if it is made up the same as the one I illustrated at https://duet3d.dozuki.com/Wiki/Accelerometers#Section_Direct_SPI_connection_to_a_Duet_main_board.
-
@dc42
1m and to your spec. Have continuity tested the cable/connectors. NO extension. -
These are going back to seller, I do not believe these are DSH. Board looks very different to others on market. Ordered new from PureTek in UK that are on its way.
-
@tecno confirm you are using RRF 3.4beta2 ? Earlier versions do not support the LIS3DSH.
-
@dc42
Still on 3.3, expected a sign of life. -
@tecno said in Accelerometers on a bedslinger:
@dc42
Still on 3.3, expected a sign of life.If it's a LIS3DSH (not 3DH) then you won't get any response using 3.3.
-
@dc42
Is there any benefit in using the DSH variant? -
@o_lampe it has higher resolution, different sampling rates and produces a slightly cleaner signal.