Starter Kits,Controller Board, Sensor Modules Factory
DIY Educational programmable Robot Projects manufacturer
|Place of Origin:||Guangdong China (Mainland)|
|Brand Name:||Oky Newstar|
|Minimum Order Quantity:||1 Piece/Pieces|
|Packaging Details:||5cm x 4cm x 3cm|
|Delivery Time:||3-5 workdays after payment|
|Payment Terms:||L/C,D/A,D/P,T/T,Western Union,MoneyGram|
|Supply Ability:||1000 Piece/Pieces per Day|
|The Scope:||Small Current Vibration Switch||Operating Temperature Range:||5 ~ 70 º C Humidity 85 [%] Or Less.|
|Storage Temperature Range:||15 ~ 45 º C Humidity 80||Humidity:||45 [%] To 85 [%].|
shields for arduino,
arduino sensors kit
Stable Sensors SW-18015P Vibration Switch Module micro Vibration Sensor
1. the scope: small current vibration switch
2. Fast Delivery
3. hot sale sensor
4. reliable quality
5. stable fuction
Working Voltage: 3~5V
Component model SW-18015P
Pin Dimension 2.54mm
Type Vibration switch
Material PCB + Brass
Size 29 x 16 x 8 mm / 1.14 x 0.63 x 0.31 inch
Weight 1 g / 0.04 oz
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 [%].
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).
The module test
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;
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.
10 x SW-18015P Vibration Sensor
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
Contact Person: Ms. Erica Teng