I'm trying to connect this module to my M5Stack Core.
KY-031 knock sensor module. 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 Knock Sensor Module
This module consists of a 10 kΩ resistor and a spring-based sensor that sends a high signal when a vibration is detected.
Operating Voltage 3.3V to 5V
Output Type Digital
KY-031 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.
S Pin 3
On the Arduino it uses Pin 3. What Pin should I use on the M5Stack?
Thanks in advance,