{"product_id":"ky-031-knock-tap-sensor-module-vibration-switch-for-arduino","title":"KY-031 Knock Tap Sensor Module – Vibration Switch for Arduino","description":"\u003ch1\u003eKY-031 Knock Tap Sensor Module – Digital Vibration Detector\u003c\/h1\u003e\n\u003cp\u003eThe KY-031 Knock Tap Sensor Module uses a spring-based vibration switch to detect knocks, taps, and shocks. It outputs a clean digital signal that interfaces directly with microcontrollers, making it ideal for interactive projects, security systems, and educational experiments. The module includes an onboard potentiometer to fine-tune sensitivity and two indicator LEDs for power and signal status.\u003c\/p\u003e\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eSpecification\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOperating Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V to 5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput Type\u003c\/td\u003e\n\u003ctd\u003eDigital (Active Low)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSensitivity Adjustment\u003c\/td\u003e\n\u003ctd\u003eVia onboard potentiometer\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eIndicator LEDs\u003c\/td\u003e\n\u003ctd\u003ePower (red) and Signal (green)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePCB Dimensions\u003c\/td\u003e\n\u003ctd\u003eApprox. 30mm x 15mm\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSignal Interface\u003c\/td\u003e\n\u003ctd\u003e3-pin header (VCC, GND, OUT)\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/kit-knock-pattern-door-lock\"\u003eKnock-activated door lock or security system\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eTap-sensitive rhythm game controller\u003c\/li\u003e\n  \u003cli\u003eVibration alarm for drawers or safes\u003c\/li\u003e\n  \u003cli\u003eInteractive musical instrument trigger\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eThis module works with any microcontroller that supports digital input, including Arduino Uno, Arduino Nano, ESP32, ESP8266, and Raspberry Pi (with appropriate level shifting for 3.3V logic). It operates at both 3.3V and 5V logic levels, ensuring broad compatibility without additional circuitry.\u003c\/p\u003e\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eConnect VCC to 5V (or 3.3V), GND to ground, and OUT to any digital pin. The output is active low: it goes LOW when a knock is detected and returns HIGH when idle. Enable the internal pull-up resistor on the input pin for stable readings, especially in noisy environments.\u003c\/p\u003e\n\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\n\u003cp\u003eEvery component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.\u003c\/p\u003e\n\u003cdetails\u003e\u003csummary\u003eIs this compatible with Arduino Uno?\u003c\/summary\u003e\u003cp\u003eYes, the KY-031 module operates at 5V logic and connects directly to any digital pin on the Arduino Uno. No level shifting is needed.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eHow do I adjust the sensitivity?\u003c\/summary\u003e\u003cp\u003eTurn the small blue potentiometer on the module clockwise to increase sensitivity (detect lighter taps) or counterclockwise to decrease it (require harder knocks).\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eWhat is the output signal when a knock is detected?\u003c\/summary\u003e\u003cp\u003eThe OUT pin goes LOW (0V) during a knock event. It stays LOW for a short duration determined by the sensor’s internal timing, then returns HIGH (VCC) automatically.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdiv class=\"compoden-handoff\" style=\"margin-top:24px;padding:16px;background:#f0f4ff;border-left:4px solid #2B4D8F;border-radius:4px;\"\u003e\n  \u003cp style=\"margin:0 0 6px 0;font-weight:600;color:#1A3560;\"\u003e📦 Free Setup Handoff Document Included\u003c\/p\u003e\n  \u003cp style=\"margin:0;font-size:0.95em;color:#333;\"\u003eEvery Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.\u003c\/p\u003e\n\u003c\/div\u003e\n","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53444958716269,"sku":"CDN-0333","price":35.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_5cf53965-e872-471d-82d5-2cecbbcb43b3.jpg?v=1781512460","url":"https:\/\/compoden.com\/products\/ky-031-knock-tap-sensor-module-vibration-switch-for-arduino","provider":"Compoden","version":"1.0","type":"link"}