Curious is there somewhere I can read about how the data is transferred from the pico to the pi over USB? Is that done in packets or as some sort of USB-serial bit stream?
This might sound strange but I really want to try this in an old car I just got. It has so many weird vibrations and I want to know where they are coming from. Would be really neat to put pico-ADXL345’s in a few different places to get something more quantitative, then look at the effect of new tires etc.
Maybe for the resonance test in klipper the data recording epoch is short so continuous streaming is not an issue? Thanks for any thoughts …and sorry if this seems off topic - in the end I want to understand how klipper does it and have some nefarious motivation of trying it in my used car.
You would have to read the sources since the measurement itself, the data transfer and processing is deeply embedded into the Klipper MCU and host process.
It is likely much easier to follow something like Interfacing ADXL345 Accelerometer with Raspberry Pi Pico also since the frequency analysis is probably less important for your use case
Thanks! I am still interested in frequency analysis to see where the power in different bins originates and spreads (with mcu-accelerometers placed in several places on the frame).
Sounds like a good place to start is to read up on the klipper protocol but careful not to get lost in the weeds before collecting some actual data and knowing exactly what that required data will look like