element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 4: Landslide monitoring for the Himalayan region- Putting it all together and testing
  • 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: 27 Feb 2022 6:38 PM Date Created
  • Views 808 views
  • Likes 2 likes
  • Comments 0 comments
  • Arduino MKR WAN 1300
  • just encase design challenge
  • vibration sensor
  • landslide_monitoring
  • just_encase
  • just encase
Related
Recommended

Blog 4: Landslide monitoring for the Himalayan region- Putting it all together and testing

rsjawale24
rsjawale24
27 Feb 2022

Assembling all the parts together

In this blog, I will put together all the components of the landslide monitoring system - The vibration sensor, the buzzer and the Arduino inside the enclosure box. I chose the non-transparent 1554UGY water-tight enclosure box to prevent the electronics from any rainwater or any possible collapse of the box into a nearby river or valley due to a landslide.

The complete system looks like this  -

image

Here's the code for triggering the alarm and reading the signal from the vibration sensor.

int a;    //variable to store the vibration sensor signal
void setup() {
  // put your setup code here, to run once:
pinMode(5,INPUT); //pin for vibration sensor
pinMode(6,OUTPUT); // pin for buzzer
digitalWrite(6,LOW); //initialise buzzer to off state
}

void loop() {
  // put your main code here, to run repeatedly:
  a = digitalRead(5);
  if(a==0)
  {
    a = 0;  //latch the state of the vibration sensor
    while(1){   //keep the buzzer on infinitely
     digitalWrite(6,HIGH);   //sound the buzzer
    }
    }
    
  }

The Arduino continuously monitors the status of the vibration sensor and as soon as the sensor is triggered, the arduino sounds the buzzer alarm and the LEDs to indicate a landslide. If the audio alarm is loud enough, this can be heard at a long distance and hence accidents can be prevented. The entire electronics is powered using a power bank. In the future, I plan to make a solar version of this so that the power bank can be charged from the solar panel and it won't require an external power source.

In the next blog, I will test the system in the field.

  • Sign in to reply
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