Coming soon: Accelerometer Support
-
@dc42 said in [Coming soon: Accelerometer Support]
Yes, use the temp daughterboard connector to connect an accelerometer directly. The SBC uses a separate SPI bus. However, currently accelerometer data can only be saved to file when running in standalone mode.
Will this still work if you have a temperature daughterboard installed? I'm utilizing the thermocouple board on a Mini 5+.
-
@j3d said in Coming soon: Accelerometer Support:
@dc42 said in [Coming soon: Accelerometer Support]
Yes, use the temp daughterboard connector to connect an accelerometer directly. The SBC uses a separate SPI bus. However, currently accelerometer data can only be saved to file when running in standalone mode.
Will this still work if you have a temperature daughterboard installed? I'm utilizing the thermocouple board on a Mini 5+.
Yes, but as described in the wiki page the CD and INT pins of the accelerometer must be connected to one of the IO ports.
-
Apropos accelerometers mounted on 3D printer gantries, this guy uses an Android accelerometer app to measure fan vibrations and fixes it by balancing the fan with a small piece of adhesive tape.
-
Does anyone know if the accelerometer can be wired to a Toolboard? I ordered one over the weekend from Ooznet (UK) - so assuming it'll be a v1.0 not v1.1. Would make things a bit easier
-
@keyz182 you can, using a sammy-c21 in conjunction with it.
-
@nuramori So no direct connection, it'll have to be via a SammyC21 on the CAN bus? Should have waited for v1.1 to be in stock lol. Ah well, I'm sure I'll find other uses for a Sammy 21.
At least I can stick with just the 4 wires to the tool
-
@keyz182 correct. I had prepped just such a set up days before the announcement of the 1.1 toolboard. I've since relegated the part to the "maybe some other project" bin.
-
@nuramori Never mind, just received a V1.1. Unexpected, but welcome
-
@keyz182 same, I ended up ordering the 1.1 as soon as filastruder sent out an email to previous customers. I had to make yet again new crimps, but that’s the life of a hobbyist.
Now if I could only use it, since I’m also using a Pi4, and can’t actually put the accelerometer through it’s paces. Yet.
-
@nuramori said in Coming soon: Accelerometer Support:
Now if I could only use it, since I’m also using a Pi4, and can’t actually put the accelerometer through it’s paces. Yet.
You can either wait for the 3.4beta releases, or temporarily switch to standalone mode to capture the accelerometer data.
-
@dc42 I’m in no real rush, though my curiosity has me tempted to try switching over to stand alone. Is the process as simple as copying the files in “/system” to a microSD card?
-
@nuramori said in Coming soon: Accelerometer Support:
@dc42 I’m in no real rush, though my curiosity has me tempted to try switching over to stand alone. Is the process as simple as copying the files in “/system” to a microSD card?
Yes, basically. Download your sys folder from DWC and copy it to a new SD card. That card will need to be formatted FAT32 and have the /sys/ folder with your config files, and a /www/ folder with the DWC files. A /macros/ and /gcodes/ folder as well. Disconnect the Pi and put the SD card in the Duet. That's all.
-
Actually you can leave the Pi connected while running it in standalone mode.
-
@dc42 hi sir I was wondering if there will be support for the lis3dsh soon or in the near future as almost every site I’ve seen is sold out of lis3dh thank you
-
@bzad said in Coming soon: Accelerometer Support:
@dc42 hi sir I was wondering if there will be support for the lis3dsh soon or in the near future as almost every site I’ve seen is sold out of lis3dh thank you
Which country are you in?
If there turns out to be a global shortage of LIS3DH then I think it wouldn't be difficult to support the LIS3DSH. I have a LIS3DSH board already.
-
@dc42 I’m in Canada and most sellers that are linked on the site on this side of the ocean are sold out and back order I got one of these https://a.aliexpress.com/_mPLv90v dono why they have both names on it wondered if it works or if support can be added I was going to plug it in to see if it works but didn’t wanna burn something in the process
-
@bzad is this one any good to you https://www.ebay.com/itm/114317150034?hash=item1a9dd54752:g:MFgAAOSw3jZfGEpi ?
-
@dc42 thx yea
-
@dc42 95% of the boards sold on AliExpress are LIS3DSH accelerometers as well
-
@bzad said in Coming soon: Accelerometer Support:
@dc42 I’m in Canada and most sellers that are linked on the site on this side of the ocean are sold out and back order I got one of these https://a.aliexpress.com/_mPLv90v dono why they have both names on it wondered if it works or if support can be added I was going to plug it in to see if it works but didn’t wanna burn something in the process
Digikey.ca has plenty
https://www.digikey.ca/en/products/detail/adafruit-industries-llc/2809/5774319