TAP/KNOCK SENSOR EXPLAINED | KY-031 ARDUINO TUTORIAL

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии •

  • @electroboyIND
    @electroboyIND Год назад +1

    add delay inside the IF statement, or add an debounce time with multiple IF

  • @rafaellopesluthier4400
    @rafaellopesluthier4400 Год назад +1

    you can use "if" to deals with threshhold

  • @steveswoodworking2504
    @steveswoodworking2504 Год назад +1

    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.

    • @MikaelAbehsera
      @MikaelAbehsera  Год назад

      yeah unfortunatly these electronics arent asynchronus, so gotta do some wierd stuff to make it work

  • @BrickTamlandOfficial
    @BrickTamlandOfficial Год назад +1

    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
      @MikaelAbehsera  Год назад

      Check my big sound sensor video ruclips.net/video/Ghjg4D66J7o/видео.html

    • @BrickTamlandOfficial
      @BrickTamlandOfficial Год назад

      @@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!

  • @Feisar777
    @Feisar777 Год назад +1

    How would you get it to express in numerical value?

    • @MikaelAbehsera
      @MikaelAbehsera  Год назад

      im not sure you can, if i remember correctly its on or off, no analog output

  • @SujanSunar-f9k
    @SujanSunar-f9k 11 месяцев назад +1

    Can you help me about my project i have some question can you make me clear about sensor plz 🙏

  • @roote4k154
    @roote4k154 2 года назад

    THANKS YOU FOR SHARING THIS VIDEO

    • @MikaelAbehsera
      @MikaelAbehsera  2 года назад

      Glad it helped, what else would you like to see?

  • @ramast4881
    @ramast4881 10 месяцев назад +1

    you should've placed "delay(50)` inside the if statement not outside.

    • @MikaelAbehsera
      @MikaelAbehsera  10 месяцев назад

      will fix on the next time we go back to this, thanks

  • @Curiousitydriven
    @Curiousitydriven Год назад

    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

    • @MikaelAbehsera
      @MikaelAbehsera  Год назад

      probably would be better to use a IMU angle sensor

  • @technophile01
    @technophile01 2 года назад +2

    hello unfortunately code unreadable on smartphone : we can't easily follow

    • @MikaelAbehsera
      @MikaelAbehsera  2 года назад

      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

  • @SebastianHermansen-h7c
    @SebastianHermansen-h7c Год назад

    thanks bro

  • @walteravila4753
    @walteravila4753 8 месяцев назад

    I keep getting "Compilation error: 'tapstatus' was not declared in this scope". What am I doing wrong

    • @MikaelAbehsera
      @MikaelAbehsera  16 дней назад

      usually scope errors are when something is declared inside a function and called OUTSIDE that function causing a scope error

  • @sapienff2140
    @sapienff2140 2 года назад +1

    bro can you pls give the code link ,that will be very helpfull
    nice videos kepp it up

    • @MikaelAbehsera
      @MikaelAbehsera  Год назад

      join the discord idk why its not working discord.gg/GygvSdf

  • @campsidesocial406
    @campsidesocial406 7 месяцев назад

    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?

    • @MikaelAbehsera
      @MikaelAbehsera  16 дней назад

      this is perfect for that no? detects knocks!

  • @MikeMcRoberts
    @MikeMcRoberts 5 месяцев назад

    Try focusing your camera