Home > Products > Sensors for Arduino > Sensitive Vibration Switch Sensor With Demo Code For Arduino
Sensitive Vibration Switch Sensor With Demo Code For Arduino
- 0 Piece / Pieces per Month
- T/T L/C D/P D/A
- 7 days
- Discrete Traics (Isolated) BTA41-200 BTA41-400 BTA41-600 BTA41-800 BTA41-1000 BTA41-1200
- Three-terminal positive voltage regulator 78L12 transistors
- Bipolar Transistors TO-92 BC546 BC547 BC548 (NPN)
- Bipolar Transistors 40V D882 SOT89
- Bipolar Transistors 60V 200mA 2N3904
- Bipolar Transistors 40V 200mA 2N3906
Product Details
Brand Name: | Oky Newstar | Place of Origin: | China | Model Number: | Vibration switch module |
Product Description
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
Contact Us
- Oky Newstar Technology Co., Ltd
- Contact nameMs Erica Teng
- Phone86-755-23578860
- AddressRoom1105, Block B, Chinto Technology Building, Minzhi Road, LongHua Xi'an,Shaanxi
3D Printer Kits | Arduino Starter Kits | Board for Arduino | Diy Robot Kit |
Remote Control Car Parts | Sensors for Arduino | Shield for Arduino |
- (Small Signal Diodes) MMBD914 General Purpose, Power, Switching SOT23,1N914
- New Electronic IC MM1Z30 in stock (Active Components) MM1Z30
- Best quality MM1Z18 (Zener Diodes) MM1Z18 Silicon Planar Zener Diodes
- ESD5Z3.3T1G onsemi ESD Suppressors / TVS Diodes SOD523 ESD DIODE
- SK34AFL-TP Micro Commercial Components (MCC)Schottky Diodes & Rectifiers 3A 40V Schottky Rectifier
- BZW06-33B STMicroelectronics ESD Suppressors / TVS Diodes 600W 33V Bidirect
- 1N5374BRLG onsemi Zener Diodes 75V 5W
- 1.5KE300CA-E3 Vishay Semiconductors ESD Suppressors / TVS Diodes 1.5KW,300V 5%,BIDIR,AXIAL TVS
- 1.5KE200A-E3/54 Vishay General Semiconductor ESD Suppressors / TVS Diodes 1500W 200V Unidirect
- 1.5KE180CA-E3/73 Vishay General Semiconductor ESD Suppressors / TVS Diodes 1500W 180V Bidirect
- 1.5KE18A-E3/51 Vishay Semiconductors ESD Suppressors / TVS Diodes 1500W 18V Unidirect
- PMEG6002EJ,115 Nexperia Schottky Diodes & Rectifiers PMEG6002EJ/SOD323F/SOD323F
- P6KE200A-E3/54 Vishay General Semiconductor ESD Suppressors / TVS Diodes 600W 200V Unidirect
- 1.5KE300CA Littelfuse ESD Suppressors / TVS Diodes 1500W 256V Bi-Directional
- BAW156-7-F Diodes Incorporated Diodes - General Purpose, Power, Switching 85V 250mW
- 1.5KE9.1A-E3/54 Vishay General Semiconductor ESD Suppressors / TVS Diodes 1500W 9.1V Unidirect
- 1N5343BRLG onsemi Zener Diodes 7.5V 5W
- P6KE15CA-E3/54 Vishay General Semiconductor ESD Suppressors / TVS Diodes 600W 15V Bidirect
- IP4220CZ6,125 ESD Nexperia Suppressors / TVS Diodes IP4220CZ6/SOT457/SC-74
- 2.5Gbps 1550nm DFB Laser Diode TO-Can for Optical Fiber PON
- USBLC6-2SC6 STMicroelectronics ESD Suppressors / TVS Diodes ESD Protection Low CaP
- SS34F-HF Comchip Technology Schottky Diodes & Rectifiers DIODE SCHOTTKY 3A 40V SMAF
- SML4747A-E3/61 Vishay Semiconductors Zener Diodes 20 Volt 1.0W 5%
- SML4745A-E3/5A Vishay Semiconductors Zener Diodes RECOMMENDED ALT 78-SML4745A/5A
Popular Searches
Find Similar Products By Category
- Electronic Components & Supplies > Active Components > Diodes
- Buy on GoldSupplier.com
- How to Buy
- Browse by Catagories
- Browse by Hot Regoins
- Private Sourcing Events
- Sell on GoldSupplier.com
- How to Sell
- Post Products
- Manage Products
- Manage Groups
- About
- About Us
- Link to Us
- Contact Us
- Sitemap
- Please Enter your Email Address
- Please enter the content for your inquiry.
We will find the most reliable suppliers for you according to your description.
Send Now-
Ms Erica Teng
Welcome to my shop! Glad to serve you!Please send your question!
Your message has exceeded the limit.
Your message has exceeded the limit.
-
-
Your inquiry content must be between 20 to 5000 characters.Send Now.
-
Please input the mailbox.
-