element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Just Encase
  • Challenges & Projects
  • Design Challenges
  • Just Encase
  • More
  • Cancel
Just Encase
Blog Blog 2: Landslide monitoring for the Himalayan region- The Sensor mechanism to detect landslides
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Just Encase to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: rsjawale24
  • Date Created: 23 Feb 2022 1:52 PM Date Created
  • Views 1333 views
  • Likes 6 likes
  • Comments 2 comments
  • Arduino MKR WAN 1300
  • design challenge
  • Hammond Manufacturing Enclosures
  • vibration sensor
  • justencase
  • landslide_monitoring
  • rf
  • arduino
  • just_encase
  • just encase
Related
Recommended

Blog 2: Landslide monitoring for the Himalayan region- The Sensor mechanism to detect landslides

rsjawale24
rsjawale24
23 Feb 2022

In the last blog, I gave a brief description of the project and the block diagram for the electronics. In this blog, I'll describe the mechanism to detect landslides and test the sensors.

I'll be using a vibration sensor interfaced with an Arduino for landslide detection. The data from the vibration sensor will be transferred wirelessly using RF modules to another Arduino, which will alert the vehicles at a far-off distance from the landslide site. I'm planning to use an audio-visual alarm (buzzer and LED) to alert the drivers at the day and night time.

In this blog, I will interface the vibration sensor with Arduino and test it. The idea behind this is that, while the enclosure is at rest in a fixed position the vibration sensor will be off or in a stable position. However, when a landslide occurs, the enclosure box will topple or roll and the vibration sensor will detect this. The signal from the vibration sensor will be monitored by the Arduino and will send an alert to the other enclosure which has an audio-visual alarm. Along with the alarm, the GPS coordinates of the location will also be wirelessly transmitted.

Testing the vibration sensor-

The vibration sensor consists of a simple reed switch. When the metallic ball inside the reed switch makes a connection between the two terminals it switches On. Upon external vibrations, this metallic ball makes contact with the terminals and this is how it can detect the vibrations.

Here's the sensor in OFF position.

sensor off

Both LEDs glow for the sensor in ON position or upon detecting vibration.

sensor on

The limitation of this sensor is that it can detect the vibrations only momentarily and does not remain in ON position upon detecting vibration or in other words, it does not latch it's last state.

For this purpose, an Arduino code is written to detect the ON state of the vibration sensor and do further processing as required without reading the states of the switch once it has been triggered.

The code for Arduino is as follows -

int a; 
void setup() {
  // put your setup code here, to run once:
pinMode(5,INPUT);
Serial.begin(9600);

}

void loop() {
  // put your main code here, to run repeatedly:
 a = digitalRead(5);
 if(a==0)
 Serial.println("Vibration detected");
 delay(1000);
}

The vibration sensor gives a 0 when it is ON, hence, I'm using an if statement to detect when the digital pin 5 goes LOW in the code and print it on the serial monitor.

image

In the next blog, I will send this vibration detected signal from one Arduino to another using RF module and print it on the LCD as well as sound an audio-visual alarm.

  • Sign in to reply
  • rsjawale24
    rsjawale24 over 3 years ago in reply to DAB

    It's just a reed switch based sensor so I'm not sure how I will check the sensitivity. But yes there is a chance of false triggering. Unfortunately, this is the only vibration sensor I could get.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 3 years ago

    Nice simple approach.

    Are you going to do some sensitivity testing to characterise the effect of the switch to normal background events?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube