Skip to content

Code to track and display the movement of the Moon (and other Celestial bodies) on a Galactic Unicorn led matrix.

License

Notifications You must be signed in to change notification settings

greensh16/Galactic-Moon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moon tracker for the Pimoroni Galactic Unicon with Pi Pico W

Code to track and display the movement of the Moon (and other Celestial bodies) on a Galactic Unicorn led matrix.

Image

The moon is represented by 4 white dots. The user pointing north is represented by a green dot

How to use

  • Copy all the python files to your Galactic Unicon using Thonny (or whatever you use).
  • Add a secrets.py script to contain your Wifi SSID and password, also add your latitude and longitude.
  • This code was created to track the moon in the Southern Hemsiphere, you my need to change; 1 - The azimuth extents near the top of main.py. 2 - The corrections for the azimuth near the end of moon_position() in moon.py

TODO

  • Track the Sun
  • Track the Moon's brightness and maybe phase
  • Track some planets
  • Change the background colour of the display to match the time of day.

Dependencies

  • galactic: Library for the Pimoroni Galactic Unicorn display.
  • picographics: Graphics library for displays.
  • math: For math calculations and functions.
  • network: For connecting to Wi-Fi.
  • ntptime: For syncing time.
  • utime: to set the Pico's clock

About

Code to track and display the movement of the Moon (and other Celestial bodies) on a Galactic Unicorn led matrix.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages