top of page

Mobile as a Earthquake Detector


Earthquake at Nepal has made my heart melt. I did my bit my donating for the cause have you done yours ??? It’s really needs a lot of courage to overcome such a disaster.

Well this blog is for all the people who are keen to monitor earth’s motion. Smart phone becomes much more smarter after downloading apps. But your iPhone, iPad and most newer mobile phones can work as basic seismometers, the same instrument that is used to measure the magnitude of earthquakes and volcanoes. You don’t need to install any apps, just the built-in web browser would suffice.

OK, try this. Launch Google Chrome on your mobile phone (or tablet) and then open this page - http://ctrlq.org/earthquakes/seismograph.html

You should see a continuously moving waveform but if you slightly shake or tilt your mobile device, simulating seismic activity, the graph will capture these movements in real-time much like a seismograph.The seismic intensity will vary depending on how vigorously (or slowly) you are shaking the phone (see the following screenshot) and will also change based on the orientation of the device. And you’ll be surprised to learn that this basic seismograph is written using simple JavaScript.

Most newer mobile devices have built-in accelerometers and gyroscopes and as you move the physical hardware, the changes in the orientation of the device and acceleration are detected by the browser which are then mapped into the seismograph.The orientation and motion data are in turn captured by the HTML5DeviceOrientation and DeviceMotion events of the browser. This works mostly on mobile devices but if you are using Google Chrome on the desktop, you can turn on the Accelerator option under Sensors inside Chrome Dev Tools to simulate motion.

Please share your experience after trying this little discovery.


Featured Posts
Recent Posts
Follow Us
Archive
Search By Tags
No tags yet.
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
bottom of page