Your 50ms delay was making it so the taps were happening during the delay, and it wasn't catching it in the loop. You could put the delay inside the if statement, so it would only delay if it catches a tap. You can also get the millisecond time a tap occurred, and save the last tap time, and when you get another one within so many milliseconds, ignore additional taps. This does answer my question I was wondering about, in does this latch the output for a specific amount of time - NO, it does not.
can you recommend a sensor that measures loudness? my use case is my neighbor likes to hit the wall so I wanted to put an alarm up so the alarm blares back at him for 14mins when he hits the wall.
@@MikaelAbehsera that project is awesome! i think i will mod that ones code and try to bring in the vibration sensor and a stereo speaker. thanks! subscribed too!
Bro, can I use it to turn off the angle grinder when it's kick back. The problem is angle grinder vibrates constantly but I want to turn off only when angle grinder kicks back
Check this out, videos aren't always made for mobile but I always have the video in text format !www.mikaelabehsera.ca/post/knock-tap-sensor-explained-tutorial
Can any one help me with a project? I need to detect knocks but it needs to be like .5 inch big and wireless and able to connect to a photo app ideally flutter Is that even possible?
add delay inside the IF statement, or add an debounce time with multiple IF
true
you can use "if" to deals with threshhold
will fix in the future.
@@MikaelAbehsera your video is very helpfull, i bough the sensor because of your video, ty
Your 50ms delay was making it so the taps were happening during the delay, and it wasn't catching it in the loop. You could put the delay inside the if statement, so it would only delay if it catches a tap. You can also get the millisecond time a tap occurred, and save the last tap time, and when you get another one within so many milliseconds, ignore additional taps. This does answer my question I was wondering about, in does this latch the output for a specific amount of time - NO, it does not.
yeah unfortunatly these electronics arent asynchronus, so gotta do some wierd stuff to make it work
can you recommend a sensor that measures loudness? my use case is my neighbor likes to hit the wall so I wanted to put an alarm up so the alarm blares back at him for 14mins when he hits the wall.
Check my big sound sensor video ruclips.net/video/Ghjg4D66J7o/видео.html
@@MikaelAbehsera that project is awesome! i think i will mod that ones code and try to bring in the vibration sensor and a stereo speaker. thanks! subscribed too!
How would you get it to express in numerical value?
im not sure you can, if i remember correctly its on or off, no analog output
Can you help me about my project i have some question can you make me clear about sensor plz 🙏
join discord
THANKS YOU FOR SHARING THIS VIDEO
Glad it helped, what else would you like to see?
you should've placed "delay(50)` inside the if statement not outside.
will fix on the next time we go back to this, thanks
Bro, can I use it to turn off the angle grinder when it's kick back. The problem is angle grinder vibrates constantly but I want to turn off only when angle grinder kicks back
probably would be better to use a IMU angle sensor
hello unfortunately code unreadable on smartphone : we can't easily follow
Check this out, videos aren't always made for mobile but I always have the video in text format !www.mikaelabehsera.ca/post/knock-tap-sensor-explained-tutorial
thanks bro
no thank you
I keep getting "Compilation error: 'tapstatus' was not declared in this scope". What am I doing wrong
usually scope errors are when something is declared inside a function and called OUTSIDE that function causing a scope error
bro can you pls give the code link ,that will be very helpfull
nice videos kepp it up
join the discord idk why its not working discord.gg/GygvSdf
Can any one help me with a project? I need to detect knocks but it needs to be like .5 inch big and wireless and able to connect to a photo app ideally flutter Is that even possible?
this is perfect for that no? detects knocks!
Try focusing your camera
🤷♂️