Front
view of the finished unit in its 3D printed case
displaying the title screen.
To save energy when no one is watching the display automatically turns off after 10 PM and stays off until after 7 AM the next morning. Earthquake data is recorded over a 24 hour period. The quake data is cleared at 10 PM when the display goes off for the evening. The number of quakes shown on the display are those that have occurred since 10 PM the previous evening. |
|
Earthquakes are displayed using circles the size and color of which are determined by the magnitude (Mag) of the quake. The most recent quake is displayed with a flashing circle over the location and the data for that quake is shown surrounding the map on the screen. The time of the current quake is shown in local time using 12 hour display format. A database of recent quakes is maintained and displayed on the screen. The count of earthquake events in the database is shown in the lower, center of the display. The color of the location text indicates the magnitude of the quake. Mag 1 - 3: green; Mag 4-6: yellow and Mag 7-9: red. |
|
Close up view of the display. This is the equirectangular Earth map projection and it spans the whole width of the display (800x480). Depth is in miles below the surface. | |
Side view of the finished unit with its
3D printed case. Power is supplied via a 3 amp USB
power module which is plugged into the top of the unit
as shown. |
|
Most
of the Raspberry Pi's ports are accessible but the SD
card is not. |
|
Back view of the finished unit. The case was printed
using PLA and then painted a metal flake black which
gives the unit a serious and professional appearance.
Unfortunately the 3D printed case doesn't quite fit the hardware completely but I thought it was good enough for my use. If I were to make another of these units I would probably purchase a commercial case with all of the kinks already worked out. |
|
A display showing many more earthquakes.
In California, Central America, South America, the Mediterranean,
Indonesia and Hawaii. Hundreds of earthquakes can be
displayed at once. |
|
Another map at another time showing many
more earthquakes. The multiple earthquakes in Hawaii
and in the Canary Islands are a result of recent
volcanism. Indonesia must be rocking and rolling all
of the time as there seem to be more earthquakes in
that region than anywhere else. |
This text should be placed in a file called, "eqmap.service" which should be copied into the "/etc/systemd/system" directory[Unit]
Description=EQMap
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/python /home/pi/EQMap/EQMap.py
WorkingDirectory=/home/pi/EQMap
Restart=on-abort
User=pi
[Install]
WantedBy=multi-user.target