QB013/QB070 Vibration Sensor

1.Product Introduction

../../_images/Vibration-1.jpg

The vibration sensor adopts SW-18010P high sensitive vibration switch, a kind of spring non-directional vibration sensing device, which can be triggered at any Angle.

When the module is static without vibration, the two internal pins are disconnected, and the signal S port will output a high level.

When subjected to external force collision or shaking vigorously, spring deformation and central electrode contact conduction make two pins instantaneous conduction state, signal S port will output low level. When the external force disappears, the circuit resumes to the disconnected state, and the signal S port will output a high level.

Application reference: security system, smart home, vehicle anti-theft system, etc.

2.Parameter Specification

Parameter Value/Representation
Operating voltage 3.3~5V
Operating temperature -20°C~+70°C
Output signal Digital signal
Size 3.16cm*2.38cm
../../_images/Vibration-2.jpg

3.Wiring Diagram

../../_images/Vibration-3.png
Vibration Sensor UNO
VCC 5V
GND GND
S Digital Pin 7

4.Sample Code

1void setup() {
2  pinMode(7,INPUT);//The signal pin of the vibration sensor is connected to the 7-pin of the arduino controller board
3  Serial.begin(9600);//Serial port initialization, baud rate 9600
4}
5void loop() {
6  Serial.println(digitalRead(7));//The serial port displays the detection value of the vibration sensor in real time
7}

5.Test Result

After uploading the code to the controller board, open the serial port monitor of the Arduino IDE, set the baud rate to 9600, and switch to the scroll mode.

When we shake the vibration sensor, it returns 0; When we don’t shake it, the sensor returns 1.

../../_images/Vibration-4.png
../../_images/Vibration-5.png

Hint

The SW-18010P pin is relatively thin, do not break it, just shake the test.

When the vibration sensor is shaking, it is instantly on and then off, so the data 0 May be difficult to capture.

6.Related Resources

PDF and Code

7.Get One Now

B2B Business: info@acebott.com

Related posts

Leave the first comment

Apply for a Free Trial

This product trial is prioritized for educators and academic institutions.

By filling out and submitting this form, you agree to the
Acebott Product Trial Terms and Conditions.

Unlock Your Exclusive Education Discount Today

Fill out this form to apply for special discounts tailored for educators and institutions. Enjoy at least 5% off on our STEM kits—because education deserves a reward!

Please fill out the form above, and our team will get in touch with you promptly!
😊🚀

Get A Free Quote! 🎉

Can’t find the perfect STEM kit ? Want the best wholesale prices ?
Interested in becoming a distributor ?

Just fill out the form above, and we’ll get back to you ASAP with all the info you need! 😊🚀

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.