KY-031 Knock Tap Sensor Module – Vibration Switch for Arduino
KY-031 Knock Tap Sensor Module – Digital Vibration Detector
The 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.
Key Specifications
| Specification | Value |
|---|---|
| Operating Voltage | 3.3V to 5V DC |
| Output Type | Digital (Active Low) |
| Sensitivity Adjustment | Via onboard potentiometer |
| Indicator LEDs | Power (red) and Signal (green) |
| PCB Dimensions | Approx. 30mm x 15mm |
| Signal Interface | 3-pin header (VCC, GND, OUT) |
What You Can Build With This
- Knock-activated door lock or security system
- Tap-sensitive rhythm game controller
- Vibration alarm for drawers or safes
- Interactive musical instrument trigger
Compatibility
This 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.
Wiring Notes
Connect 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.
Why Buy from Compoden
Every 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.
Is this compatible with Arduino Uno?
Yes, the KY-031 module operates at 5V logic and connects directly to any digital pin on the Arduino Uno. No level shifting is needed.
How do I adjust the sensitivity?
Turn the small blue potentiometer on the module clockwise to increase sensitivity (detect lighter taps) or counterclockwise to decrease it (require harder knocks).
What is the output signal when a knock is detected?
The 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.
📦 Free Setup Handoff Document Included
Every 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.
Ask Soldr above what you can build with this — it knows every Compoden kit this part appears in.
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items