Weather & ScienceTechnician

Vibration and Earthquake Logger with an Accelerometer

Record vibrations from traffic, machines or tremors and see them as a live seismograph.

LevelTechnician
Time1 h
Est. cost~$35
Steps5

A MEMS accelerometer measures tiny accelerations many times per second. Bolted to a floor slab, it turns into a simple seismograph — a great science-fair project.

Mission steps

  1. Mount it rigidly

    Screw or epoxy the sensor to a concrete floor, not carpet or a wooden table.

  2. Wire it

    IMU on I2C to the Pico (SDA GP4, SCL GP5, 3V3, GND).

  3. Sample fast

    Read the Z axis 100 times per second and subtract the average to remove gravity.

  4. Detect events

    Trigger a log entry when the short-term average jumps above the long-term average (STA/LTA).

  5. Visualize

    Send readings over Wi-Fi to a web chart or MQTT, or print them to Thonny's plotter.

Questions

Can it detect real earthquakes?

Nearby moderate quakes, yes. Professional-grade detection needs dedicated geophone sensors like those in citizen-seismology networks.