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(0)
- 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 Ji55249mie Ro
-
W36092BSE51_OTH001_ LED灯模块 ### DESCRIPTION### TECHNICAL DETAILS / COMPONENTS### LEARN / TOPIC / BUILD INSTRUCTIONS
-
PCBWAY Ruler design This is PCBWay Ruler design.If you need a series of small holes in copper or gold, you must note !!!
-
Digital Vibration Sensor module IntroductionWhat's the simplest way to check vibration with Arduino? Just vibrate this sensor, A...
-
Rotation Sensor Module IntroductionSENZ001 Rotation Sensor is arduino compatible multi-ring rotation analog sensor. It is b...
-
JoyStick Sensor module Introduction:Lots of robot projects need joystick. This module provides a affordable solution to tha...
-
Logitech G25/G27 pedals/shifter adapter The idea behind this project is to create open and inexpensive USB HID adapter for Logitech G25 / G2...
-
-
-
-
Enter the title_ of your projectEnter the title_ of your projectEnter the title_ of your projectEnter the title_ of your projectEnter the title_
12 0 0 -
-
-