Motion Detection Using Timer and Offline Logging
I have metawear rpro and I am trying to program it to detect motion in every 5 minutes and then wait for 15 minutes. I have made a few simple examples with start stop buttons for logging accelerometer data and enabling motion detection. It should always log the 5 minute acceleration data in order to detect "significant motion", "no motion" and "flat detection". I will make use of these detection to determine sleep/wake/moving-walking status of people 7/24 offline in the background. Is it possible to log acceleration data for 5 minutes and then detect the most occurring motion type and then wait(disconnect) for 15 minutes? Should I use triggers on axes for logging data and scheduling events and/or db for keeping the data? To sum up, what are the appropriate steps for me to make this idea happen?
This discussion has been closed.