Has anyone tried using TensorFlow Lite on the ruuvi? I would like to apply a model to the accelerometer so that only a trained motion triggers the accelerometer. The trigger data in turn, would be sent to a gateway for cloud access.
The goal is to avoid false positives and increase battery life.
I took a quick look at it once, and it seemed that the Tensorflow needs a beefier MCU,
For example https://www.tensorflow.org/lite/guide says that binary is 300 kB, current Ruuvi Firmware build has less than that in free Flash. Maybe you could squeeze it in if you can disable optional features both in Ruuvi FW (GATT, flash logging) and in Tensorflow
In any case, you’re looking at somewhat big project. I would start by taking a step back and think about alternative approaches. Maybe your goal of sending data on trigger to could could be achieved in some easier way, for example by using double-click interrupt built-in to LIS2DH12.
Thank you @otso, I just saw your reply. For some reason I am not getting notifications as expected.
I also found this link
Similar to my use. My issue is I want to monitor the state of a “door” however, the “door” is subject to vibration and I do not wish to monitor vibration. I had hoped that by modeling the desired motion, I could sleep the LIS and only wake up when the trained motion is recognized which would translate into longer battery life.
Still reading and learning about what I can do with Ruuvi.