Joy-IT KY-031
This example will light up a LED after the sensor detected a knock or vibration. The modules KY-011, KY-016 or KY-029 can be used as an LED.KY-031 Knock-sensor module KY-031 Knock-sensor module Contents 1 Picture ................................................................................................................................................................. 1 2 Technical data / Short description ....................................................................................................................... 1 3 Pinout ................................................................................................................................................................... 2 4 Code example Arduino ......................................................................................................................................... 2 5 Code example Raspberry Pi ................................................................................................................................. 3 Picture Technical data / Short description On knocks or vibrations, the contact of the two input pins are connected.