Robot Pi Shop

KY-031 Knock Sensor Module

$1.33
Quantity

The KY-031 Knock Sensor module 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.

KY-031 SPECIFICATIONS

This module consists of a spring-based sensor, a 10 kΩ resistor and 3 male header pins. The spring emits a high signal when a vibration is detected.

Operating Voltage 3.3V ~ 5V
Output Type Digital

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