Asked by ryancaleb on Wed 30, Aug 2017 06:29am :
I'm working on a code for gaget that should detect blowing and turn on some
leds. For blowing detection I'm using piezo sensor but it picks up signal
when someone is knoking it.
I want to put in a code a timer that measures for how long someone is
blowing on it so it wouldn't pick up knoking.
The code should detect if thershold value is held for more then 50ms and
then turn on leds.
I didn't find the right solution from the internet.
- Device Explainer Video Examples