Accelerometer Usage
-
@dc42 said in Accelerometer Usage:
@ccs86 I haven't tried the higher sampling rate. My guess is that you won't be able to use that rate except for very short sampling times, without getting overrun errors. The resolution at that speed is only 8-bit, which may not be sufficient. The LIS3DSH does 1600Hz @ 16 bit resolution.
Cool. I actually was able to get some logs at 8-bit 5376 Hz. I'm not sure the loss in resolution is worth the increased sampling rate, with these low magnitude vibrations.
Are we any closer to testing input shaper on Maestro hardware?
-
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.
-
@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.
The one I purchased definitely has a LIS3DSH on it.
According to the ST web site, the chip is still being manufactured but only in response to volume orders. Worldway claims to have 10000 of them.
-
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.