Sensitive Vibration Switch Sensor With Demo Code For Arduino

Trade on HiSupplier, Worry Free Guarantee
Trading safety, secure your money, lower the risk, protect both buyers and suppliers
HiSupplier is a Chinese multinational company in U.S, it helps to coordination and order landing.
More ›
  • Product Details
  • Company Profile
  • Product Reviews

 

 

Sensitive Vibration Switch Sensor With Demo Code For Arduino

Vibration switch module for arduino with demo code

 

 

Description:

 

Introduction
Vibration switch is mainly used in electronic toys, small appliances, sports equipment and a variety of anti-theft devices and other products. Vibration switch because they have a flexible and sensitive trigger, and become an integral part of many electronic products, electronic components.

 

 

Specifications:

Note:
1, the scope: small current vibration switch. Products sloshing around in the horizontal electrical changes produced in low current circuit (secondary circuit) with a vibration sensor.
2 Operating temperature range: 5 ~ 70 º C Humidity 85 [%] or less.
3 Storage temperature range: 15 ~ 45 º C Humidity 80 [%] following storage for 90 days.
4 Test Status: Test and test if no special provisions under the following standard conditions Temperature: 5 ~ 35 º C Relative
Humidity: 45 [%] to 85 [%].

 

 

The use:


We first look at his specific pin functions
Also the only three leads, connect the power, after a good ground, we received a digital signal output port on
Can be used (we then use the 7th).
Fourth, the module test
Hardware Requirements
Arduino controller × 1
USB data cable × 1
Vibration switch module × 1
Led indicator × 1
Here, everything is ready, we will now begin to build a test circuit bar
Here we use it for a simple application that senses the vibration switch vibration LED is lit
Lights to warn it, there are unusual circumstances happen? ?
Well, look at the code under test it, maybe you can guess what will happen. . . . .
int ledPin = 13; / / signal indicator output pin;
int switchPin = 7; / / vibration switch input;
int value = 0; / / latch vibration switch key;
void setup ()
{
pinMode (switchPin, INPUT); / / Define port attribute;
pinMode (ledPin, OUTPUT);
}
void loop ()
{
value = digitalRead (switchPin); / / read the key state;
if (HIGH == value) / / there is vibration;
{
digitalWrite (ledPin, HIGH); / / steady state, led other off;
}
else
{
digitalWrite (ledPin, LOW); / / lit led lights;
}
}
The program features: Let vibration switch vibration, you can see the arduino board 13 pin led lights are lit for a while,
When the shaking soon will light or blink when.

 

 

Competitive Advantage:

 

1. Convenient & Friendly Customer Service
2. Low Prices Direct From Factory Suppliers
3. Fast Delivery Around the World. 
4. High Quality With Global Standards. 
5. 1 Year Factory Warranty
6. Safe Shipping Way and Payment

 


Send message to this supplier
Ms. Erica Teng
Tel: 86-755-23578860
Enter between 20 to 3,000 chatacters.
Contact Method
Oky Newstar Technology Co., Ltd
Room1105, Block B, Chinto Technology Building, Minzhi Road, LongHua, Shenzhen, Guangdong, China (Mainland)
Didn't find what you're looking for? Post Buying Lead or contact our customer service specialist for help!
Buyer Help Center