Simple Earthquake Detection Sensor with Vibration Module
In this guide we will going to make a simple Earth Quake monitoring device and learn how to connect and control the digital shock/vibration sensor module, we will going use the LED as our triggered output instead using alarm or any special output devices. When the sensor detects a vibration the LED will blink instead of sound alarm.
Electronic Parts Required
Required for Manual Circuit Assembly
Arduino UNO/MEGA/PRO
1x Vibration Tilt Switch
1x LED
1x 220 k Resistor
1x 10k Resistor
Vibration Tilt Switch Module
Wiring the module
Switching Method
Source Code #1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
14CORE.com / Simple Earthquake Detection using
Vibration Sensor Module on Arduino.
*/
intOUTPUT_LED=10;//Digital Pin 10 define LED interface
We use cookie to provide you the best possible experience, this site uses cookies and by continuing to use the site you agree that we can save them on your device. Cookies are small text files which are placed on your computer and which remember your preference / some details of your visit. Our cookies don’t collect any personal information. For information, please read our Privacy Statement and Cookie Policy , which also explains how to disable this option in your browser. Cookie SettingsACCEPT
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalit...
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
May I have your ‘EEPROMAnything.h’ header?
You can use the EEPROM from the Arduino IDE
Reference > http://playground.arduino.cc/Code/EEPROMWriteAnything
Download the code library below.
https://github.com/arduino/Arduino/tree/master/hardware/arduino/avr/libraries/EEPROM