This project entitled, Tweeting Earthquake Sensor is a project that aims to alert the user whenever it detects tremors or earthquakes. Using a tilt switch, it will effectively measure if an earthquake vibration is occurring within the predefined time frame.
When the alarm is triggered, it will then send a tweet using the MOTG-WiFi-ESP, notifying about the earthquake sensed.How it works
- Bread Board
- Connecting Wires
- External 3.3v Power Supply
- uUSB Cable
- Diagram to be added in future revisions.
- This option provides a built-in speaker from the gen4 PA+MOTG Breakout board.
- Build the circuit as shown in the diagram.
- Download the project file here.
- You can download Workshop 4 IDE and the complete code for this project from our website.
- Open the project using Workshop 4. This project uses the ViSi Environment.
- You can modify the properties of each widget.
- Click on the Compile button.
Note: This step could be skipped. However, compiling is essential for debugging purposes.Step4: Comp’n Load
- Connect the display to the PC using μUSB-PA5 and a mini USB cable. Make sure that you are connected to the right port. Red Button indicates that the device is not connected, Blue Button indicates that the device is connected to the right port.
- Now click on the “Comp’nLoad” button.
- Workshop 4 will prompt you to select a drive to copy the image files to a μSD Card. After selecting the correct drive, click OK.
- The module will prompt you to insert the μSD card.
- Properly unmount the μSD Card from the PC and insert it to the μSD Card slot of the display module. The image below must appear on your display after completing the steps above.