Digital Vibration Sensor module
Introduction
What's the simplest way to check vibration with Arduino? Just vibrate this sensor, Arduino can receive a digital signal. It's easy to acount and program in Arduino.
Despite it's simple, you can make full use of it with creative thinking, like step counting, Crash warning light and so on.
Specification
* Wide voltage range from 3.3V to 5V
* Standard assembling structure (two 3mm diameter holes with multiple of 5mm as distance from center)
* Easily recognitive interfaces of sensors ("A" for analog and "D" for digital)
* Icons to simplely illustrate sensor function
* High quality connector
* Immersion gold surface
* IO Type: Digital
* Switch life: up to 10 million seconds
* Open circuit resistance: 10Mohm
* Supply Voltage: 3.3V to 5V
* Interface: Digital
* Size:22x30mm
Tutorial
Connection Diagram
Sample Code
#define SensorLED 13
//Connect the sensor to digital Pin 3 which is Interrupts 1.
#define SensorINPUT 3
unsigned char state = 0;
void setup() {
pinMode(SensorLED, OUTPUT);
pinMode(SensorINPUT, INPUT);
//Trigger the blink function when the falling edge is detected
attachInterrupt(1, blink, FALLING);
}
void loop() {
if (state != 0) {
state = 0;
digitalWrite(SensorLED, HIGH);
delay(500);
}
else
digitalWrite(SensorLED, LOW);
}
//Interrupts function
void blink() {
state++;
}
Result
As shown in figure connection , plug LED and lay a finger on Digital Vibration Sensor , LED will be lightened
Digital Vibration Sensor module
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(1)
- rosario di palma Oct 17,2018
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by PCBWay Team
- Low Noise 45V-4A Dual Rail Power Supply Using Enhanced Capacitance Multiplier The core element of any electronic device is the power supply. Any instability or malfunction of the...
- PCBWay Christmas Sock Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
- PCBWay Christmas Star V2 Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
- PCBWay Christmas Snowflakes Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
- PCBWay Christmas Badges Gingerbread Man Just put a cell coin, CR2032 (3V) on it, it will going to shine.The Christmas badges are designed by...
- PCBWay Christmas Badges Tree Just put a cell coin, CR2032 (3V) on it, it will going to shine.The Christmas badges are designed by...
- PCBWay Christmas Star Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
- PCBWay Christmas Ball Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
- PCBWay Christmas Reno Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
- PCBWay Christmas Badges Ball Just put a cell coin, CR2032 (3V) on it, it will going to shine.The Christmas badges are designed by...
- High Precision Digital AC Energy Meter Circuit Voltage-Current-Power-KWh Dealing with the 220V-AC mains voltage and measuring the AC loads' true power, voltage, and current ...
- 36V-3A Adjustable Efficient DC to DC Step-Down Converter A DC-to-DC converter is one of the most commonly used circuit topologies in electronics, especially ...
- PWM Cooling-FAN Control and Over Temperature Protection using LM35 and ATTiny13 Proper thermal dissipation is an essential rule for nowadays electronics. The best operating tempera...
- An Ultrasonic Range Finder Using an SRF05 and an ATTiny85 An ultrasonic range finder is a useful tool in a variety of real-life and robotic applications, such...
- PCBWay 7th Anniversary Badge PCBWay 7th anniversary first version badge is coming.It is like Batman's darts,and we add PCB elemen...
- NeoPixel Ring - 16 x 5050 RGB LED with Integrated Drivers This is the 16 LED NeoPixel Ring from Adafruit, a small chainable 1.75" (44.5mm) outer diameter boar...
- Automatic Hand Sanitizer Dispenser (Version 2), Using ATTiny13 As we all know, the COVID-19 outbreak hit the world and changed our lifestyle. In this condition, al...
- Battery capacity measurement using Arduino The true measurement of a battery’s capacity is essential for many scenarios. A capacity measurement...
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
154 1 1 -
-