Accelerometer Usage
-
Duet 3 Mini 5+ (Mini5plus)
Sammy-C21G1 X-50 G4 S2 M956 P124.0 S1000 A0 G4 P10 G1 X50 F3600
Error: M956: Accelerometer is already collecting data ((
-
@94v0 said in Accelerometer Usage:
I'm a bit curious if these "LIS3DSH" boards being sold on aliexpress, ebay, adafruit and others are actually using a LIS3DSH. The chip is no longer manufactured, there's only a small number of them in stock on digikey and practically nowhere else and for much greater cost than the breakout boards are.
I ordered the last LIS3DSH board listed on ebay.de, will report what the label says when it arrives. In China you can still get them for less than 2$ each...
With all the wiring issues mentioned here and there, I want to point out (again) that there's a Blutooth version of the LIS3DH board....maybe an option for SBC users?
-
There are still some LID3dSH board available in UK, e.g. https://www.ebay.co.uk/itm/272706183865.
-
I bought one from this listing: https://www.ebay.co.uk/itm/313603433596 came within a few days and seems to be a LID3dSH.
-
Hello
I have connected the Adafruit LIS3DH exactly as mentioned on the Accelerometer page, to my duet 2.I Get "M955 P0 C"spi.cs4+spi.cs3"
Error: M955: Accelerometer not found on specified port"I have tried switching MISO and MOSI, and Cs3 and cs4 ports to just check against myself.
I have also quadruple checked the wiring and its exactly the same. Wire length is 500mm. (bl touch extension wires)
However many images I see on this post is people have wired the VIN instead of 3v?
Web control, firwmare etc are all the latest beta 3.4.
-
@jbergene said in Accelerometer Usage:
M955 P0 C"spi.cs3+spi.cs4
I had a LIS3DH working with 3,3V
It seams that you have swaped in and out....
I also had that wrong with my first attempt....M955 P0 C"spi.cs4+spi.cs3
-
@diy-o-sphere ah sorry my bad, i have tried swapping this too without success. Just forgot to edit the text. my bad
-
@jbergene
My wiring is in this thread...just for double check...
https://forum.duet3d.com/topic/23559/accelerometer-usage/15 -
@diy-o-sphere switched the wiring from the daughterboard pinouts to the Paneldue pinout with same results.
-
M955 P0 I61 C"io0.out+io0.in" ; Define IO for accelerometer
-
@diy-o-sphere M955 P0 I61 C"io0.out+io0.in"
Error: M955: Unknown pin name 'io0.out' -
@jbergene
Sorry, thats for a Mini5+ -
@jbergene
updateit worked when removing the Paneldue and disabling paneldue in the config file.
(still using Daughter board pins) -
@jbergene Now I get another issue and that is the Duet2 just reset every time I try to record. It some how manages to record something, but the CSV file is invalid.
Duet also states that the LISD3H is aLIS3DSH which is incorrect. (the board have LIS3DH typed in on it)
-
@jbergene said in Accelerometer Usage:
Duet also states that the LISD3H is aLIS3DSH which is incorrect. (the board have LIS3DH typed in on it)
Photo of the board?
And can you send M115 to report the specific firmware version?
-
@dc42 how'd you do InputShaping for IDEX machines? In independent head mode, I guess I can set the InputShaping for each head in
tpre#.g
, but what about copy mode / mirror mode? I guess to keep with the program, the task here is to build the IDEX machine so a common InputShaping setup for X and U is viable? -
@oliof said in Accelerometer Usage:
@dc42 how'd you do InputShaping for IDEX machines? In independent head mode, I guess I can set the InputShaping for each head in
tpre#.g
, but what about copy mode / mirror mode? I guess to keep with the program, the task here is to build the IDEX machine so a common InputShaping setup for X and U is viable?For now, yes. In future we RRF may support different shaping on the X and U print heads.
-
-
@jbergene can you read any markings on the accelerometer chip? You may need to find the correct lighting angle to see it.
-
i got my accelerometer installed using a usb3 cable, i was able to get it working even over 3meters!! i generated the csv files but right now i am stuck at figuring out how to make use of the data. how do i know which frequency to use in M953 Fnn? do i actually need to print something to tune even with the accelerometer? i was under the impression that printing and measure ringing and calculating Hz wS only needed if you dont have an accelerometer to generate the csv files.