Home > Projects > Arduino Seismic Activity Monitor – Ethernet Shield

Arduino Seismic Activity Monitor – Ethernet Shield

Summary of Arduino Seismic Activity Monitor – Ethernet Shield


This project builds a seismic activity monitor using an Arduino Mega 2560, Ethernet Shield, and Micro SD Card to host a webpage displaying real-time sensor data and history. A tuned piezoelectric sensor captures vibrations, processed by a charge amplifier circuit using op-amps, with data stored via Pachube feeds.

Parts used in the Seismic Activity Monitor:

  • Arduino (preferably Mega 2560)
  • Ethernet Shield
  • Micro SD Card
  • Pachube account
  • Piezoelectric Sensor
  • Breadboard
  • Resistors
  • Capacitors
  • Diode
  • Op-Amps (LM324N or similar)
  • Solid Wire
  • Router
  • Computer
  • Extra Ethernet cable
  • USB cable

Have you ever wanted to impress your friends by saying something crazy like, “I think there’s going to be an earthquake soon” moments before an earthquake hits?

Or do you just want some warning, a few seconds that could save your life.
Arduino Seismic Activity Monitor
This project will allow you to hook up a seismic sensor to a router through the Ethernet shield and host a webpage off of the SD card on the shield. This webpage will then display information about the seismic sensor and the history of its activity.
All the data for the seismic sensor is stored in a Pachube feed and then displayed on the webpage as several graphs.

You will need:

–  Arduino
– Preferably an Arduino with large memory, I used the Arduino Mega 2560
– You can use one with less memory, you just might have to remove some stuff from the sketch
– Ethernet Shield
– Micro SD Card
– Pachube account:

– Piezoelectric Sensor
– Breadboard
– Resistors, Capacitors, Diode
– Check the section on building the circuit for more details on values
– 5 x Op-Amps – Single-supply compatible
– or you can build it with dual supplies, whatever floats your boat :p
– You can get away with using only 3 – 4 op amps, the rest I use is for amplification
– Solid Wire of course!

I assume you already have:
– Router
– Computer
– Would be pretty magical to surf the net without these
– Extra Ethernet cable
– USB cable for the arduino
– Un-destroyed analog pin on your arduino

Step 1: The Circuit – Sensor

The sensor I used to capture seismic vibrations is a Piezo Film vibra-tab.
They come with an optional weight attached to the end, but I found that the weight was not enough.

The frequency of earthquakes is between 1 – 20 Hz, but with even the heaviest weight the resonant frequency was in the KHz.
So to reduce the resonant frequency and get some useful signals, I took some  washers slapped them on a bolt and some nuts and experimented. I used a Oscilloscope with FFT and changed the weight on the tip of the film until frequencies of around 40Hz were the largest. If you don’t own an oscilloscope, just add a little weight and then hit the sensor. It should flop around for about half a second to a second before coming to rest.
Arduino Seismic Activity Monitor
Once you have the sensor tuned to the right frequency, place it in your breadboard at one end, you’re going to need the space for the rest of the circuit.
As you can see from the picture, I taped down the base of the sensor. This is because the leads on the piezo film is flat, and tends to be loose inside the breadboard, so any vibrations tend to get lost in the movement of the leads.
Taping it so that the base can’t move will ensure that your data is accurate!

Step 2: The Circuit – Charge Amp

Since a Piezoelectric Film isn’t just a simple signal source, some circuitry is required to accurately and predictably measure the sensor’s output.

A Charge Amp takes the charge across a capacitor and translates it into a voltage. If you know your electronics you can see that it is essentially an integrator, which prevents the charge across the Piezo film, which acts like a capacitor, from discharging quickly.
This allows you to turn it into a stable voltage signal.

I used an LM324N, a quad op amp, to create the charge amp portion of the circuit.
If you follow the schematic on the last picture, you should get an AC signal at the output floating on 2.5Vdc [ If you are using a 5 volt supply ]

Major Components in Project
–  Arduino

– Ethernet Shield
– Micro SD Card
– Pachube account: 

For more detail: Arduino Seismic Activity Monitor – Ethernet Shield

Quick Solutions to Questions related to Seismic Activity Monitor:

  • What is the primary function of this project?
    The project allows users to hook up a seismic sensor to a router through an Ethernet shield to host a webpage displaying sensor information and activity history.
  • How do you tune the piezo sensor for useful signals?
    You attach weights like washers to the film until frequencies around 40Hz are largest, ensuring it flops for half a second to a second when hit.
  • Why is it important to tape down the base of the sensor?
    Taping the base prevents loose leads from moving inside the breadboard, which ensures that vibration data remains accurate.
  • What component translates the charge across a capacitor into a voltage?
    A Charge Amp takes the charge across a capacitor and translates it into a stable voltage signal.
  • Which specific op-amp did the author use for the charge amp?
    The author used an LM324N, which is a quad op amp.
  • What frequency range do earthquakes typically fall between?
    The frequency of earthquakes is between 1 - 20 Hz.
  • Can you use an Arduino with less memory than the Mega 2560?
    Yes, but you might have to remove some stuff from the sketch if the board has less memory.
  • Where is all the data for the seismic sensor stored?
    All the data is stored in a Pachube feed and then displayed on the webpage as several graphs.
  • How many op-amps are strictly required for the circuit?
    You can get away with using only 3 - 4 op amps, though the author used 5 for amplification.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top