User Manual
22 
Lesson 5 Knock Sensor
Introduction 
A knock sensor (as shown below) is similar to the shock switch except that it's more sensitive. 
It can feel small amplitude vibration. 
Components 
- 1 * SunFounder Uno board 
- 1 * USB data cable 
- 1 * Knock sensor module 
- Several jumper wires 
Experimental Principle 
The principle is similar to that of the shock switch. Connect the knock switch sensor pin S to 
D3 to  build  a  simple  circuit. When the  knock switch  sensor  inducts knock signals, the  LED 
attached to pin 13 will light up. 
Experimental Procedures
Step 1: Build the circuit 
   Knock Sensor Module   SunFounder Uno 
     S ----------------------------------------D3 
    - ------------------------------------- GND 
   + --------------------------------------- 5V 
Step 2: Program (Please refer to the example code in LEARN -> Get Tutorial on our website) 
Step 3: Compile 
Step 4: Upload the sketch to SunFounder Uno 
SunFounder










