You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • I think some accelerometers have various filters that you can apply to the acceleration value, but mostly they're filtering out the high frequency stuff.

    I guess it's just a matter of hitting the datasheets, but SPI accelerometers should be relatively fast for Espruino to access...

    The other option is to use an analog accelerometer and either come up with some analog circuitry, or use Espruino's Waveform class to sample the value 1000 times a second or so, and to then iterate over the returned buffer finding the highest value.

About

Avatar for Gordon @Gordon started