Skip to content

MattGrayYes/epic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSCOVR:EPIC Image Viewer

This script looks for new images from the Earth Polychromatic Imaging Camera on NASA's Deep Space Climate Observatory satellite, and displays them on screen.

This is designed for a 2.1" Hyperpixel Round Touch display from Pimoroni, with a Raspberry Pi Zero W.

It displays each image for 20s then moves to the next one.

It currently checks the EPIC "Blue Marble" API for new images every 120 mins, but I think they only upload new images once a day, so it probably doesn't need to be this often.

This is programmed using Python3 and PyGame.

Running It

I've been fiddling with this for over a year now, so I've never followed these instructions in order. They're more of a guessed guideline.

Raspberry Pi Setup

I'll assume you've already followed Pimoroni's instructions for getting the Hyperpixel Round screen going.

  1. Use the terminal or log in as pi via ssh.
  2. Create the directory mkdir ~pi/code/epic/
  3. Go into the directory cd ~pi/code/epic/
  4. Copy the code from this repository in
    • git clone https://github.com/MattGrayYes/epic.git .
  5. make sure start-epic.sh is executable (chmod +x start-epic.sh)
  6. Copy the autostart file cp epic.desktop ~pi/.config/autostart/
  7. Install any python requirements pip3 install -r requirements.txt
  8. Test you can run it ./start-epic.sh
    • If that doesn't work, test you can run it directly python3 -u epic.py
    • If it still doesn't work check the output for errors, and google them.
  9. If the test works, kill it with CTRL+C
  10. Reboot and hope it runs automatically sudo reboot

About

DSCOVR:EPIC image viewer for Raspberry Pi with Pimoroni 2.1" Hyperpixel Round display.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published