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:||Different package at optional: 1. Retailing Package:Anti-static bag 2. Bulking Packing:50Pcs/Lot 3. Retailing Box package design according to your requirement( Order > 3000PCS)|
|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|
|Operating Temperature Range:||5 ~ 70 º C Humidity 85 [%] Or Less.||Storage Temperature Range:||15 ~ 45 º C Humidity 80 [%] Following Storage For 90 Days|
|Testing Temperature:||5 ~ 35 º C Relative||Testing Humidity:||45 [%] To 85 [%].|
arduino sensors kit,
arduino temperature sensor
Micro Vibration Sensor SW-18015P Vibration Sensor Switch Module
|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|
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.
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).
Fourth, 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.
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