Tap Module

(49 customer reviews)

$4.85

20 in stock

Description

Tap Sensor Module Code


/* SETUP

Tap-Module     Arduino
S       -      D10
        -      5V
-       -      GND
*/
 
int knockPin = 10; // Use Pin 10 as our Input
int knockVal = HIGH; // This is where we record our shock measurement
boolean bAlarm = false;

unsigned long lastKnockTime; // Record the time that we measured a shock


int knockAlarmTime = 500; // Number of milli seconds to keep the knock alarm high


void setup ()
{
  Serial.begin(9600);  
  pinMode (knockPin, INPUT) ; // input from the KY-031
}
void loop ()
{
  knockVal = digitalRead (knockPin) ; // read KY-031 Value
  
  if (knockVal == LOW) // If we see a knock
  {
  
    lastKnockTime = millis(); // record the time of the shock
    // The following is so you don't scroll on the output screen
    if (!bAlarm){
      Serial.println("KNOCK, KNOCK");
      bAlarm = true;
    }
  }
  else
  {
    if( (millis()-lastKnockTime) > knockAlarmTime  &&  bAlarm){
      Serial.println("no knocks");
      bAlarm = false;
    }
  }
}

 

Additional information

Weight 0.002 kg
  1. Ovcyrc

    order cabergoline sale – dostinex ca purchase alesse online cheap

  2. Grobend

    Accompanying microcalcification or a dilated ductal pattern may be present 2 priligy medicine The major route of drug elimination in humans is urine

  3. Rkcunf

    гѓ—гѓ¬гѓ‰гѓ‹гѓійЂљиІ©гЃЉгЃ™гЃ™г‚Ѓ – гѓ—гѓ¬гѓ‰гѓ‹гѓігЃ®йЈІгЃїж–№гЃЁеЉ№жћњ アジスロマイシン通販おすすめ

  4. Ekpjtz

    バイアグラジェネリック йЂљиІ© – г‚їгѓЂгѓ©гѓ•г‚Јгѓ« жµ·е¤–йЂљиІ© г‚·г‚ўгѓЄг‚№йЂљиІ© 安全

  5. Ddnssg

    гѓ—гѓ¬гѓ‰гѓ‹гѓі гЃЉгЃ™гЃ™г‚Ѓ – ドキシサイクリン通販 安全 アキュテイン гЃЇйЂљиІ©гЃ§гЃ®иіј

  6. can i purchase cheap cytotec without dr prescription

    viagra fluvoxamine maleate coupon People with more degrees were more likely to take sleeping pills 4 cost of cheap cytotec no prescription In one 3 week placebo controlled trial n 246, limited to patients with manic episodes, which involved a dose range of risperidone 1 to 6 mg day, once daily, starting at 3 mg day mean modal dose was 4

  7. Cieozy

    eriacta dot – zenegra buzz forzest gigantic

  8. can i buy cytotec pill

    can i purchase cheap cytotec pills The most noteworthy adverse reactions associated with statins are elevations in symptoms associated with myopathy and rhabdomyolysis, which is characterized by massive muscle necrosis, myoglobinuria, and acute renal failure 8

  9. Zlmenn

    valif pills most – valif village buy generic sinemet online

  10. Ayalzr

    indinavir medication – confido online buy order diclofenac gel cheap

  11. Jiuaiu

    valif pills meanwhile – valif oh order sinemet generic

  12. Zncsta

    cost modafinil 100mg – buy provigil no prescription order lamivudine sale

  13. Qifuwa

    generic promethazine 25mg – buy cheap generic lincomycin lincocin 500mg pill

  14. Hdcgot

    ivermectin dose for covid – atacand price carbamazepine order online

  15. Qmnxgn

    buy deltasone 5mg for sale – starlix 120mg usa buy captopril generic

  16. Bobtof

    buy prednisone 10mg without prescription – buy nateglinide 120 mg generic order captopril online

  17. Sterling

    I amm not sure where you’re gdtting your information, bbut great
    topic. I needs tto spend sopme time learrning ore orr understandin more.
    Thannks for magnificent information I wass looking forr this info
    for mmy mission.

    My web-site: xnxx porn

  18. Buubec

    purchase accutane sale – zyvox 600 mg pills zyvox 600 mg without prescription

  19. Rjbkzs

    purchase amoxicillin online – buy ipratropium 100 mcg for sale order combivent 100 mcg without prescription

  20. Ydayru

    buy azithromycin 500mg generic – buy azithromycin pill bystolic uk

  21. Dave

    Link exchange is nothiing else bbut it iis smply lacing the othdr person’s blog link onn your
    pafe aat appropriate place and ogher person wwill also ddo siimilar in support of you.

    Check outt my wweb boog :: novo porno

  22. Bfxtkr

    order prednisolone 10mg – buy cheap generic prometrium prometrium brand

  23. Lacy

    Useful information. Luky mee I discovered yoiur sitte accidentally,
    annd I’m surprised why this taist of fate didn’t happened earlier!
    I bookmjarked it.

    my blog post – xnxxx.day

  24. Qiwhzx

    neurontin uk – order gabapentin 600mg pill buy itraconazole 100mg pill

  25. Kntzcl

    buy cheap generic furosemide – nootropil 800 mg sale buy betamethasone sale

  26. Xcbnjq

    buy clavulanate without a prescription – buy cymbalta for sale cymbalta brand

  27. Opnnxb

    buy acticlate for sale – generic glipizide glipizide 10mg brand

  28. Ltugqv

    buy augmentin 1000mg without prescription – duloxetine 20mg generic duloxetine drug

  29. Vxzvbt

    buy rybelsus without a prescription – vardenafil price cyproheptadine over the counter

  30. Ahwhtk

    brand zanaflex – tizanidine 2mg brand hydrochlorothiazide ca

  31. Gfaxey

    cialis 40mg tablet – cialis 20mg uk sildenafil 20mg

  32. Wgtzhx

    viagra 50mg pills for men – buy sildenafil 100mg sale cheap cialis online

  33. Lmlzpu

    atorvastatin drug – order zestril 10mg without prescription zestril usa

  34. Yoxeth

    generic cenforce 50mg – buy chloroquine cheap metformin 1000mg for sale

  35. Mgikku

    atorvastatin 80mg drug – where to buy zestril without a prescription buy generic lisinopril

  36. Enjhox

    medrol 8mg tablet – buy medrol 4mg online aristocort 4mg brand

  37. Sepeew

    desloratadine for sale – buy generic claritin over the counter order dapoxetine 90mg for sale

  38. Oinxgg

    order generic misoprostol – orlistat medication buy generic diltiazem 180mg

  39. Grstzh

    acyclovir over the counter – rosuvastatin 20mg us order rosuvastatin

  40. Wnrysg

    cheap warfarin 2mg – order metoclopramide 20mg generic order hyzaar online cheap

  41. Fscttn

    buy levaquin medication – order ranitidine 150mg generic ranitidine drug

  42. Drnpvq

    cheap nexium 40mg – topamax price buy imitrex 50mg without prescription

  43. Wwdwsz

    order meloxicam pills – buy celecoxib 200mg for sale order tamsulosin generic

  44. Elizbeth

    There’s certainly a great deal to learn about this subject.
    I love all of the points you’ve made.

    Here is my blog – nordvpn coupons inspiresensation (tinyurl.com)

  45. Elvin

    Write more, thats all I have to say. Literally, it seems as
    though you relied on the video to make your point.

    You obviously know what youre talking about, why throw away
    your intelligence on just posting videos to your blog when you could be giving us something enlightening
    to read?

    Feel free to surf to my blog post … nordvpn coupons inspiresensation

  46. Lillie

    Greetings! Very useful advice in this particular
    post! It’s the little changes which will make
    the largest changes. Thanks for sharing!

    Feel free to visit my page :: nordvpn coupons inspiresensation –
    t.co

  47. Carey

    350fairfax nordvpn promotion
    Hello to all, the contents existing at this web page are really remarkable
    for people experience, well, keep up the
    good work fellows.

  48. Axxwua

    purchase zofran generic – spironolactone drug zocor 10mg us

  49. Axtjir

    purchase valtrex generic – propecia 1mg tablet purchase diflucan pill

Add a review

Your email address will not be published. Required fields are marked *