Skip to content

SpudGunMan/EQMap2

Repository files navigation

EarthQuakeMapDisplay EarthQuakeMap

About Revision:24.1

This is a Earthquake Map Display for RaspberryPi Attached screen

This fork adds additional features, while keeping the orginal functionality (I hope!)

  • added parallel data souce earthquake.usgs.gov 60s polling each source
  • command line output
  • realtime clock
  • new display data and reporting
  • hi-res ability to extend to any monitor
  • ability to change basic settings in runtime
  • Daily event Trending
  • Daily database for playback later python3 EQPlay.py
    • RamDisk use to lower any disk write on Pi SD-Card
    • multi day player

Feel free to pull issues/suggestions or forks to contribute!

Settings Keys

Command Description
esc / q end program, exit fuillscreen
d Distance calculations in mi/km
h Hours calculations in 12p/24h
f Set fullscreen mode
w Set window mode
m Cycle maps

Installation

cd ~
git clone https://github.com/SpudGunMan/EQMap2
cd EQMap2/
python3 EQMap.py

if you are not running a raspberry you may need to install pre-req they are included on raspberry by default so no need to continue here for Pi use...

sudo apt-get install python3-pip python3-dev python3-pygame

Issues

If you have issues make sure your running the newest code git pull, let me know if you see a problem! if you really get stuck you can start over or try a git reset --hard follwed by a pull.

Hardware:

to get 7" ribbon attached display you might need to do a few things to bullseye

  1. when you flash the OS to SSD open the FAT-partition on the SSD you just made and touch ssh to force enable SSH (or just make a empty file with the name of ssh nothing more no .txt)
  2. you need to then use sudo raspi-config to enable legacy GL drivers till this bug is fully fixed to adjust 50K rate of screen. UPDATE 9/2022 there will likely be no fix for this workaround is needed.
  3. Reboot to "hopefully" a working Pi Screen on bullseye

Tested

Untested:

  • Raspberry nano e-ink

EQMap Source

To-Do

normally on a next branch if you see it try it out! git pull origin next

  • add other types of data (tide)
    • volcano plotting
    • tsunami data
  • save settings
    • UTC
  • replay from larger returns in USGS (poll more in UK)
  • generate some new maps
    • fault lines

About

Realtime Earthquake Map for Raspberry Pi Display

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published