Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Manufacturing process

DIY ADXL335 Earthquake Detector – Low‑Power 3‑Axis Accelerometer Project

Components and supplies

DIY ADXL335 Earthquake Detector – Low‑Power 3‑Axis Accelerometer Project
Arduino Nano R3
×1
DIY ADXL335 Earthquake Detector – Low‑Power 3‑Axis Accelerometer Project
Adafruit Analog Accelerometer: ADXL335
×1
OP07cp operational amplifier IC
×1
DIY ADXL335 Earthquake Detector – Low‑Power 3‑Axis Accelerometer Project
Single Turn Potentiometer- 10k ohms
×2
DIY ADXL335 Earthquake Detector – Low‑Power 3‑Axis Accelerometer Project
Resistor 1k ohm
×1
resistor 5k6
×1
DIY ADXL335 Earthquake Detector – Low‑Power 3‑Axis Accelerometer Project
Capacitor 100 µF
×2

Necessary tools and machines

DIY ADXL335 Earthquake Detector – Low‑Power 3‑Axis Accelerometer Project
Soldering iron (generic)

Apps and online services

DIY ADXL335 Earthquake Detector – Low‑Power 3‑Axis Accelerometer Project
Arduino IDE

About this project

The ADXL335 is a low power, complete 3-axis accelerometer with analog voltage outputs. The product measures acceleration with a minimum full-scale range of ±3 g.It can measure the static acceleration of gravity in tilt-sensing applications, as well as dynamic acceleration resulting from motion, shock, or vibration. Sensitivity is 330 mV/G.

Besides many "earthquake detector" projects on the Internet that use this accelerometer, its sensitivity for this purpose is very low so these devices are practically non-functional. I am confident in this because I have made and tested many of them.

The idea presented below is: with the help of instrumental operational amplifier IC connected in DIFFERENTIAL mode to amplify only the USEFUL part of the signal by 100-1000 times (or more) without amplifying the harmful noise. I use OP07 IC, but any instrumental operational amplifier IC can be used. Using the potentiometer P1 we set the voltage V2 to be slightly less than V1, and P2 adjusts the amplification of useful signal. The formula for the coefficient of amplification is Vout=(V1-V2)*K where K=1+100/P2(kOhm). This amplified signal connects to an analogue input of an Arduino microcontroller through a 1k resistor. To amplify the three outputs of the ADXL335 we need to make three such identical amplifiers for each axle (x, y and z) separately. In this case I only use one axis (z) to detect vertical shocks.

DIY ADXL335 Earthquake Detector – Low‑Power 3‑Axis Accelerometer Project

The Arduino microcontroller then processes and filters the signal using the code "nerdaqII" given below. For a visual presentation on a computer I use the free "Amaseis" software which is also available for download below. With its help we monitor 24 hours of seismic activity.

The video clearly shows the difference in sensitivity before and after this modification. However because the threshold level of ADXL335 is relatively high the device is capable of detecting only relatively strong local shocks. I am saying this based on several years of experience in earthquake detection using my DIY mechanical seismometers. In the coming period I will record seismic activity 24 hours a day and hope to "catch" some earthquake in my area. Certainly if I have results I will update the content of this project.

I am currently in the testing phase of an earthquake detector with MPU-6050 presented in a well-known electronics magazine that is very sensitive and logs the data from the three axes to the SD card for further analysis. That will be one of my next projects.

Lastly, to conclude that this type of "digital" seismometers are easy to build and install and resistant to various atmospheric influences, so they are ideal for school presentations and similar activities.

Code

  • arduino code
  • Windows software Amaseis
arduino codeC/C++
No preview (download only).
Windows software AmaseisJava
No preview (download only).

Schematics

DIY ADXL335 Earthquake Detector – Low‑Power 3‑Axis Accelerometer Project

Manufacturing process

  1. Build Your Own 37‑LED Roulette Game with Arduino Nano
  2. Smart Home Plant Watering System Powered by Arduino Nano
  3. DIY Frequency Meter – Measure Up to 6.5 MHz with Arduino Nano
  4. Build a Reliable DIY Plant Moisture Sensor with Arduino UNO
  5. Build Your Own Universal CNC Machine – Complete DIY Guide
  6. SmartPostBox: IoT-Enabled Intelligent Mailbox System
  7. Build a Sensitive Arduino Metal Detector with Ferrous/Nonferrous Discrimination
  8. Build an Ultra‑Sensitive EMF Detector with Arduino Nano
  9. Build a Sensitive Metal Detector with Arduino Nano – DIY Guide
  10. Build a DIY Logic Analyzer with Arduino UNO – Step‑by‑Step Guide