Earthquake detector

Description

My mini project is to produce a device which can detect the earthquake, and produce some noise to alarm people that the earthquake is coming. Also, it provide people to send a message to the device to tell people what should they do durning and after the earthquake. I use the LSM9DS1 to detect the vibration. If the acceleration larger than some value, the mbed will play the .wav file in the sd card and use the TPA2005D1 Class D Audio Amp and the speaker to make the sound. In the meanwhile, the user can hear the noise and know the earthquake is coming and send a message by website to mbed to tell people how to deal with this situation.

Components Used

  • LSM9DS1
  • TPA2005D1 Class D Audio Amp
  • Speaker
  • SparkFun microSD Transflash Breakout
  • ESP8266 Wi-Fi SOC
  • External 5v power

Wiring

LSM9DS1mbed
SCLp27
SDAp28
VDDVout
GNDGND
TPA2005D1mbed
PWR+external 5V
PWR-GND
IN+p18
IN-GND
SD cardmbed
DOp12
GNDGND
SCKp13
VCCVout
DIp11
CSp16
ESP8266mbed
V+external 5V
GNDGND
RSTp8
TXp10
RXp9

Program

Import programEathquake_Detector

4180 mini project

Pictures

The device /media/uploads/mikebenq/dsc01883.jpg The website /media/uploads/mikebenq/screen_shot_2017-03-13_at_18.43.37.png /media/uploads/mikebenq/screen_shot_2017-03-13_at_18.43.51.png

Vedio


Please log in to post comments.