Is it possible to modify the firmware so that it measures acceleration let’s say with 400Hz sampling rate and it broadcasts with an interval of 100ms the max value measured between two broadcast?
Does anyone have experience with something similar? Any help would be appreciated
The use case is in a lab and it’s to monitor the alternating movements of different devices around an rpi, which would log the data. GATT is not an option as I want to catch the packets continuously from multiple devices and the battery life is also important. So BLE seems to be the way to go, but movements can be rapid and BLE’s 100ms might undersample them.
It would be possible, although battery life will be an issue. You should read LIS2DH12 data to FIFO, use FIFO full interrupt and personally I’d calculate min/max per FIFO of 32 samples.
You could try adding external battery with Ruuvi Connector to the board.
Email sales@ruuvi.com and note that you’ll be needing RuuviTag B8, connector breakout board and a cable and they’ll take it from there. The hardware isn’t 100% ready yet, it will be in the RuuviTag pro once we’re ready to mass produce them.