TheThingsIndustries / generic-node-se

Generic Node Sensor Edition
https://www.genericnode.com
Other
109 stars 31 forks source link

Feature/freefall app #119

Closed mcserved closed 3 years ago

mcserved commented 3 years ago

Summary:

A basic implementation of the Freefall App. The node connects over OTAA and wait for freefall events. If a timeout was reached, then the events are accumulated. The payload is one byte containing the amount of freefalls (-1) that occurred since the previous transmission. Closes #113.

Changes:

Notes for Reviewers:

The default parameters are based on this: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjrl_ftvevuAhVQzYUKHVFlBDUQFjAAegQIBRAC&url=https%3A%2F%2Fwww.st.com%2Fresource%2Fen%2Fdesign_tip%2Fdm00500824-setting-up-freefall-recognition-with-sts-mems-accelerometers-stmicroelectronics.pdf&usg=AOvVaw2EvAql8RUKdAtUcV6iYKOK This amount seems about right, where free falls are detected but rebounds from bouncing on the surface are not. I tested by dropping it on my bed from arms length (yanking it up just right on my desks also works). The second transmissions usually needs around 3 min for the next transmission, you can try dropping it a few times to see if it counts the amount you dropped it.

Release Notes: (optional)

...

CLAassistant commented 3 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
4 out of 5 committers have signed the CLA.

:white_check_mark: marnixcro
:white_check_mark: DefProc
:white_check_mark: elsalahy
:white_check_mark: azerimaker
:x: johanstokking
You have signed the CLA already but the status is still pending? Let us recheck it.