A client of us requested an application to intercept vibration over a plastic paper dispenser.
Using the internal tag’s accelerometer we want to send to a gateway a sort of an interrupt and keep counting
Question is:
the internal accelerometer support interrupts?
if yes, how can we implement in an easy way?
These question because the minimum 1second interval in Raw mode, could be missing the vibration of the plastic case.
Maybe these are basic question, but i’m completely new to Ruuvi Tag
The internal accelerometer supports interrupts, and there is a “movement counter” which gets incremented on every interrupt. It sounds like RuuviTag could work for you as-is, if it is not a problem if you miss the exact one-second interval when dispenser vibrates. You’ll detect that the dispenser has vibrated as the counter grows
first of all thank you very much for your quick response.
We will give a try, in the meanwhile just another question.
Probably we will have to tune the scale of the accelerometer to tune paper pick up.
Is this already implemented in some ways? As far as I understand there is no possibilities to modify internal parameters.
Currently changing the accelerometer threshold would require recompiling the firmware with a new constant. It’s not difficult to do, simply changing a constant in a header file.