The Knock Sensor Module
The Knock Sensor Module generates a digital output in response to detecting vibrations or knock strokes. The changes in voltage level can be adjusted to produce the desired output, making it suitable for a wide range of applications.
Connections with Arduino:
LED +: [Pin 13]
LED -: [Pin GND]
Sensor signal: [Pin 10]
Sensor +V: [Pin 5V]
Sensor -: [Pin GND]
Connections with Raspberry Pi:
- Signal: GPIO24[Pin 18]
- +V: 3,3V[Pin 1]
- GND: GND[Pin 6]
Specifications and Features
Detect shocks with the spring and send a signal to Controller Board
Operating voltage: 3.3V-5V
Digital output
Bolt holes for easy installation.
Package Includes
1 x The Knock Sensor Module.
Tutorial
KY-031 The Knock Sensor Module Overview
The KY-031 The Knock Sensor Module is a compact vibration detector designed to sense knocks, taps or shock events via its integrated spring element. It outputs a clean digital signal compatible with microcontroller boards such as Arduino and Raspberry Pi, making it ideal for interactive projects and impact monitoring.
Key Features of KY-031 The Knock Sensor Module
- Detects mechanical shocks and vibrations with a spring-loaded sensor element
- Digital output signal compatible with 3.3V–5V microcontrollers
- Adjustable sensitivity through onboard threshold tuning
- Compact PCB with bolt holes for easy mounting in enclosures or prototypes
- Low power consumption for battery-powered applications
- Genuine product, fast shipping from Zbotic
Applications and Use Cases
- Door-knock detection in smart home systems
- Collision or impact sensing in robotics and automation
- Interactive musical instruments or percussion-triggered effects
- Package or equipment shock monitoring during transit
- DIY security alarms activated by glass or surface tapping
- Art installations responding to user taps or knocks
How to Use KY-031 The Knock Sensor Module
Connect the module’s VCC pin to a 3.3V–5V supply and GND to the controller ground. Wire the digital output pin to a digital input on your microcontroller, then mount the board using the on-board bolt holes. Adjust the onboard sensitivity control until only intended knocks trigger the digital HIGH signal, and integrate the output into your code or circuit for event detection.
Why Buy from Zbotic?
- Genuine Products: All items sourced from authorized distributors
- Fast Shipping: Orders ship within 24 hours with tracking (non backordered products)
- Free Shipping: Free delivery on qualifying orders
- COD Available: Cash on Delivery, UPI, cards, net banking
- Technical Support: Expert help for setup and troubleshooting
- Easy Returns: Hassle-free replacement for defective products
Frequently Asked Questions
How do I adjust the sensitivity of the KY-031 sensor?
Use the small onboard potentiometer next to the spring element. Rotate it clockwise to increase sensitivity or counterclockwise to reduce false triggers from minor vibrations.
Can I connect KY-031 directly to an Arduino digital pin?
Yes. Power the module with 5V at VCC, ground GND to Arduino GND, and connect the sensor signal pin to any digital input pin. You can also wire the onboard LED pins for visual feedback if desired.
What operating voltage range does this module support?
The KY-031 operates reliably between 3.3V and 5V. Ensure your controller board or power supply stays within this range for stable digital output behavior.
Technical Specifications
| Model | KY-031 |
|---|---|
| SKU | AI0496 |
| Weight | 0.022 kg |
| Availability | Out of Stock |
Applications & Use Cases
The KY-031 The Knock Sensor Module is a versatile vibration/tilt sensor and modules used across a wide range of applications including electronics projects, DIY builds, prototyping, and educational experiments.
Common use cases:
- Integrating into a custom electronics project
- Learning and experimenting with circuits
- Replacing or upgrading components in existing setups
This product is ideal for electronics enthusiasts, engineers, and students.
Technical Tip: Always verify voltage and current requirements before connecting to your circuit. Check datasheets for detailed specifications and pin configurations.
Shipping & Delivery
- Free shipping on orders above ₹999 across India
- Dispatched within 1-3 business days
- Expected delivery: 3-7 business days depending on location
- Secure packaging to ensure safe transit of electronic components
Harshit Agarwal –
Nice KY-031 The Knock Sensor. Readings are mostly accurate. Good enough for my hobby project.
Akshat Menon (verified owner) –
Decent KY-031 The Knock Sensor for the price. Requires proper wiring but works well once set up.
Zara Shetty (verified owner) –
Good KY-031 The Knock Sensor. Works as described. Calibration needed some patience but results are good.
Nakul Malhotra –
Love this KY-031 The Knock Sensor. Response time is fast and readings are stable.
Bhavna Naidu (verified owner) –
Good KY-031 The Knock Sensor. Works as described. Calibration needed some patience but results are good.
Arun Das (verified owner) –
Good quality KY-031 The Knock Sensor. Some variation in readings but within acceptable range.
Sarthak Solanki (verified owner) –
Excellent sensitivity and range on this KY-031 The Knock Sensor. Works better than I expected.
Naman Mehta (verified owner) –
Good quality KY-031 The Knock Sensor. Some variation in readings but within acceptable range.
Aanya Ghosh (verified owner) –
This KY-031 The Knock Sensor is a must-have for sensor projects. Plug and play with Arduino.
Pooja Chopra (verified owner) –
Very satisfied with this KY-031 The Knock Sensor. Library support is good and it’s easy to interface.