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
- Volcano Tracking! new 2025!
- New graphs showing rate per hours!
Feel free to pull issues/suggestions or forks to contribute!
| 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 |
cd ~
git clone https://github.com/SpudGunMan/EQMap2
cd EQMap2/
python3 EQMap.pyif 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
pip uninstall pygame # Uninstall pygame first since it would conflict with pygame-ce
pip install pygame-ce-# Because 'pygame' installs to the same location as 'pygame-ce', it must first be uninstalled.
-# Note that the import pygame syntax has not changed with pygame-ce.
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.
to get 7" ribbon attached display you might need to do a few things to bullseye
- when you flash the OS to SSD open the FAT-partition on the SSD you just made and
touch sshto force enable SSH (or just make a empty file with the name ofsshnothing more no .txt) - you need to then use
sudo raspi-configto 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.- update 2025 add
dtoverlay=edt-ft5406to/boot/firmware/config.txt
- update 2025 add
- Reboot to "hopefully" a working Pi Screen on bullseye
- 2025.10 Trixie
- 2025.8 Appears seismicportal.eu having issues data is wild and main page says its 2002.. updated applicaiton hope they return soon!
- 2025 pygame has issues on Pi https://github.com/pygame/pygame/issues/3003pygame-display-init-fails-for-non-root-user
- find your display, likely fb0
ls -l /dev/fb*allow all accesssudo chmod a+rw /dev/fb0
- find your display, likely fb0
- https://www.amazon.com/ElecLab-Raspberry-Touchscreen-Monitor-Capacitive/dp/B08LVC4KRM/
- https://www.amazon.com/Eviciv-Portable-Monitor-Display-1024X600/dp/B07L6WT77H/
- both work nice with a offical raspberry pi4/usb-c power supply at 3A and pi3 or Pi4
- The upstream branch is a straight copy from http://craigandheather.net/celeearthquakemap.html
- EQMap orginal project in doc/src directory by Craig A. Lindley 2021
normally on a next branch if you see it try it out! git pull origin next
- add other types of data
- tsunami data
- save settings
- UTC
- generate some new maps
- fault lines

