Men

Boxer ShortsMen BriefsSuits

Home

Bosch Upright Vacuum CleanersFanDehumidifierFabric SoftenersMicrowave OvenPhilips Upright Vacuum CleanersMopsBedding SetMultipurpose CookerRowenta Upright Vacuum CleanersRefrigeratorPillowsRobot Vacuum CleanerSandwich MakersVileda MopsWashing MachineXiaomi Robot Vacuum CleanerUpright Vacuum CleanersVacuum CleanerLeifheit MopsMixerRoborock Robot Vacuum Cleaner

Kids

Barbie PuppetsKids’ BikesKids SneakersLANSINOH Baby BottlesKids Stroller & PushchairKids Car SeatKids SweatsuitsBaby & Toddler ToysKids ShoesKids SandalsKids BootsPuppetsPhilips Avent Baby BottlesBaby BottlesToys

Women

Kids Polo T-ShirtsKids Watchesadidas TrousersKids SunglassesKids PajamasPandora JewelryBrasNike SocksJewelryNecklacesBlousesRingsJeansPajamasNike SweatpantsDressesBlack DressesKids EarringsNike T-ShirtsCharmsMANGO DressesShortsPolo T-ShirtsSunglassesBlack JeansSwarovski JewelrySwarovski EarringsEarringsSweatpantsSwimsuitsSweatshirtsT-ShirtsPink DressesSkirtsTriumph BrasSocksWatchesTrousersSwimsuitsWhite DressesWhite JeansWhite TrousersWhite T-ShirtsBikiniPandora EarringsPandora RingsPandora Charms

Beauty

Blue NailAvon Fragrances and DeodorantsEyelinersLip GlossesLashesNailCollagenLattafa Fragrances and DeodorantsLipsticksMascarasBeautyMakeupShampoosFragrances and DeodorantsBraun EpilatorEpilatorPhilips Epilator

Home Decor

Blue CarpetBedGray CarpetGreen CarpetChairsGray WallpaperIKEA DrapesCouchBeige CarpetBathroom FurnitureParquetPink CarpetNightstandsOffice DeskFurnitureDrapesDresserLightingPaintPaintingsChandelierRugTablesToilet SeatsWallpaperWhite CarpetWhite NightstandsWhite Wallpaper

Electronics

Apple SmartwatchesHuawei LaptopsJBL SpeakersDell LaptopsHP LaptopsLENOVO LaptopsApple LaptopsHeadphonesJBL HeadphonesHonor TelephoneMotorola TelephoneHuawei SmartwatchesSoundbarsSamsung SmartwatchesLaptopsSpeakersSamsung TelephoneSSD HarddisksSmartwatchesTabletsTelephoneXiaomi SmartwatchesXiaomi TelephoneMousePlaystation 5RouterSamsung SoundbarsTelevision

Supermarket

Barilla PastaChipsCerealsLays ChipsJacobs CoffeePastaLavAzza CoffeePistachioDavidoff CoffeeCoffeeTchibo CoffeeBulgurFortuna CoffeeConfectioneryWaterTurmeric

Shoes & Bags

Geox BootsBallerina FlatsEspadrillesLoafer ShoesBeige ShoesBootsGold-colored SandalsNike CramponsLuggageBootsBackpacksBum BagsBlack Ballerina FlatsCramponsadidas BootsBlack ShoesCasual ShoesPuma BootsCrocs AccessorySkechers SandalsSandalsShoesBeige SandalsStilettosBrown ShoesGold-colored ShoesGuess SandalsBagsTimberland BootsSandalsTommy Hilfiger SandalsWalletsWhite BootsSports ShoesUGG BootsWhite Ballerina FlatsWhite ShoesWhite Sandalsadidas SneakersSneakers

Popular Brands

ALEXANDER MCQUEENCifASOSCarrefourDecathlonDeeZeeBIOMECANICSDoTERRACoccinelleDesigualCybexcharlotte tilburyBABY BREZZAColmarBALMAINChristian DiorBalenciagaDoritosDewaltDr MartensBekoAriana GrandeAptamilElectroluxDoppelherzCartierDelonghiAntonio BanderasBuffaloBonprixAmiriAldoChanelEccoBirkenstockAppleAmdDieselBioSilAlfaparfFortunaBritney SpearsBabylissAvonBarbieBigottiBatmanCarolina HerreraDYSONASUSCrocsAlwaysBiodermaArielBepanthenDiorDellFURLADurexDunhillEmporio ArmaniGantEssenceDavid BeckhamAveneElseveBurberryDeichmannGarminGrintussGoProFarmasiFENTY BEAUTYCeraVeGAPColumbiaGolden GooseCroppCasioDJICalvin KleinGiorgio ArmaniadidasBershkaCarharttHermesHarry PotterHikvisionGucciGeoxHello KittyhokaEnglish HomeCOSGNCISABEL MARANTHonorHuggiesHuaweiHuda BeautyGivenchyHerbalifeHugoHugo BossHusqvarnaKifraGuessK18JBLHOT WHEELSKinderJumboKarcherJean Paul GaultierKarl LagerfeldIKEAKerastaseKIKOBoschL'OccitaneJuicy CoutureAsicsLaneigeLanvinLacosteJORDANLaysLancomeLinexJimmy ChooLa Roche PosayLattafaMaison MargielaLENOVOMakitaLC WaikikiLavAzzalogitechConverseEstee LauderLEGOMichelinMieleMedicubeMilwaukeeMichael KorsMomaxMonclerMilkshakeMinisoMANGOMontaleMoroccanoilMotorolaMYPROTEINMilkaMoon BootMylineMonopolyMayoralNextNespressoNokiaNutellaNutribulletNikeNintendoOppoOneplusNew BalanceMacOsteocareONLYOriflameOlaplexPalm AngelsPaco RabannePandoraPARKSIDEPaniniPampersPeppa PigPringlesRedoxonRalph LaurenRAZERRemaxPhilipsRed BullPrimarkRitualsPHILIPP PLEINRoborockPolaroidPumaRevoxSanoSanteSchweppesRoyal CaninSamsonitePradaSalomonSinsaySamsungSkullcandySeikoSol de JaneiroSkechersPentiSonicSephoraSPONGEBOBSHEINSpidermanSteve MaddenSupradynSTIHLStarbucksTakisTamagotchiStanleySwarovskiStone IslandTCLSudocremTESLATissotStradivariusTEFALTchiboTimberlandThe North FaceThe OrdinaryVera WangUGGVagabondTommy HilfigerValentinoUnder ArmourTriumphTom TailorTom FordVichyvivoVersaceVansXerjoffZzzquilVogueXiaomiYves Saint LaurentVivienne WestwoodYves Rocher

Sports & Outdoor

BicycleElectric BikeFootball JerseysElectric ScooterBasketball ProductsPoolFootballTennisTentHoverboardPilatesSkateboard

Books & Stationery

BookmarkChildren's StorybooksColored PencilsAgendaColoring BooksFolderBooksBallpoint PensPencil CasesNovelNotebooksMangaPuzzle

Generic 2D13 Knock Hit Tap Sensor Module KY-031 for Raspberry Pi Arduino

No reviews yet.
21.50
AED

(incl. VAT)

Delivery address
Free shipping

Ships by tomorrow if ordered in 13 hrs 19 mins!

Local delivery
Estimated delivery: 22 - 24 October
Select your address, find out the delivery date!

Trendyol's commitments

Easy and free return in 15 days.

Payment methods

Split your purchase in up to 6 payments

Split your purchase in up to 12 payments

Highlighted features:

    Generic 2D13 Knock Hit Tap Sensor Module KY-031 for Raspberry Pi Arduino features

    Other Features
    Single channel signal output, Convenient to install, Circuit board output switch, Working voltage: DC 3~5V, Great for teaching demonstration or product development, Compatible with Arduino, ESP8266, ESP32, Teensy, Raspberry Pi, and other popular platforms
    Instructions for Use/Warnings
    Working voltage: DC 3~5V; CONNECTION DIAGRAM: Connect the module’s Power line (middle) and the ground (-) to +5 and GND respectively. Connect signal (S) to pin 3 on the Arduino. Code: The following sketch will turn on the LED on the Arduino’s pin 13 when the module detects vibration caused by knocking or tapping the sensor. int Led = 13; // LED on Arduino board int Shock = 3; // sensor signal int val; // numeric variable to store sensor status void setup() { pinMode(Led, OUTPUT); // define LED as output interface pinMode(Shock, INPUT); // define input for sensor signal } void loop() { val = digitalRead(Shock); // read and assign the value of digital interface 3 to val if(val == HIGH) // when sensor detects a signal, the LED flashes { digitalWrite(Led, LOW); } else { digitalWrite(Led, HIGH); } }

    Available campaigns

    Free shipping

    Blue PCB Electronics
    7.8

    Seller information

    GO TO STORE

    Shoppers also viewed

    product card placeholder

    Generic 2D13 Knock Hit Tap Sensor Module KY-031 for Raspberry Pi Arduino reviews

    No reviews yet.

    Product details

    Product description

    Description: The Tap-Hit Knocking Sensor Module, detects the knocks and the taps.

    It can work like a switch.

    The sensor sends data momentarily to the board.

    To keep the LED on, the button state change codes should be used.

    So the sensor will work as a switch.

    It is a vibration sensor that sends a signal when a knock/tap is detected.

    Compatible with Arduino, ESP8266, ESP32, Teensy, Raspberry Pi, and other popular platforms.

    Specification: Single channel signal output Convenient to install Circuit board output switch Working voltage: DC 3~5V

    Great for teaching demonstration or product development CONNECTION DIAGRAM Connect the module’s Power line (middle) and the ground (-) to +5 and GND respectively.

    Connect signal (S) to pin 3 on the Arduino.

    KY-031 Arduino S Pin 3 middle +5V – GND Code The following sketch will turn on the LED on the Arduino’s pin 13 when the module detects vibration caused by knocking or tapping the sensor.

    int Led = 13

    // LED on Arduino board int Shock = 3

    // sensor signal int val

    // numeric variable to store sensor status void setup() { pinMode(Led, OUTPUT)

    // define LED as output interface pinMode(Shock, INPUT)

    // define input for sensor signal } void loop() { val = digitalRead(Shock)

    // read and assign the value of digital interface 3 to val if(val == HIGH) // when sensor detects a signal, the LED flashes { digitalWrite(Led, LOW)

    } else { digitalWrite(Led, HIGH)

    Additional info

    • Sold by .
    • A maximum of 5 units of this product can be ordered. Trendyol reserves the right to cancel orders over 5 units.
    • Barcode No: 2900000004733

    Generic 2D13 Knock Hit Tap Sensor Module KY-031 for Raspberry Pi Arduino features

    Other Features
    Single channel signal output, Convenient to install, Circuit board output switch, Working voltage: DC 3~5V, Great for teaching demonstration or product development, Compatible with Arduino, ESP8266, ESP32, Teensy, Raspberry Pi, and other popular platforms
    Instructions for Use/Warnings
    Working voltage: DC 3~5V; CONNECTION DIAGRAM: Connect the module’s Power line (middle) and the ground (-) to +5 and GND respectively. Connect signal (S) to pin 3 on the Arduino. Code: The following sketch will turn on the LED on the Arduino’s pin 13 when the module detects vibration caused by knocking or tapping the sensor. int Led = 13; // LED on Arduino board int Shock = 3; // sensor signal int val; // numeric variable to store sensor status void setup() { pinMode(Led, OUTPUT); // define LED as output interface pinMode(Shock, INPUT); // define input for sensor signal } void loop() { val = digitalRead(Shock); // read and assign the value of digital interface 3 to val if(val == HIGH) // when sensor detects a signal, the LED flashes { digitalWrite(Led, LOW); } else { digitalWrite(Led, HIGH); } }

    Safety information

    Product safety information