How to Track Satellite Fly-Bys with Raspberry Pi

How to Track Satellite Fly-Bys with Raspberry Pi
(Image credit: Tom's Hardware)

With SpaceX’s Starlink being made available in my area, I became curious about just how many satellites were overhead at any given time. Fortunately, the US Space Command tracks and makes available data for tracking the live positions of objects in orbit. We can download this data, and use a Raspberry Pi and some speakers to announce when a particular satellite is making an overhead pass. You can also get an SMS message sent to your phone in addition to the audio. 

What You’ll Need For This Project 

Latest Videos FromTom's Hardware
Ryder Damen
Freelance Writer

Ryder Damer is a Freelance Writer for Tom's Hardware US covering Raspberry Pi projects and tutorials.

  • daveer7551
    sorry, noob:
    pi@custompi:~/pi_satellite_announcer $ make run
    /bin/sh: 1: .: environment.sh: not found
    make: *** Error 2
    pi@custompi:~/pi_satellite_announcer $ ls
    deployment env environment.sh Makefile README.md src
    Reply
  • jridder
    I got the same error.
    Reply
  • nkverma
    change your environment.sh path in makefile like this
    @. env/bin/activate && . /home/neo/pi_satellite_announcer/environment.sh && cd src && python app.py
    Reply
  • Jon P
    Looks like it's not announcing many of the satellites. I'm interested in the ham satellites but when they pass overhead only a few are occasionally announced. When the program is first run it notes that it only loaded 22867 of 47495 satellites, so perhaps for some reason it's eliminating the satellites of interest. Any way to alleviate this issue?

    Interesting - this time when I reran it loaded 45k of the satellites after a message that it was saving the TLE cache and saving metadata. Perhaps there was some initialization problem. I'll monitor it later.
    Reply
  • PI-Builder
    I tried install and running the satellite tracking program and running it. Was not successful when I got to "make run."

    The error I am getting then "make run." Does anyone have any ideas how to fix the problem?

    Error:

    pi@raspberrypi:~/pi_satellite_announcer $ make run
    /bin/sh: 1: .: environment.sh: not found
    make: *** Error 2

    Makefile information:

    .PHONY: run

    run:

    @. env/bin/activate && . environment.sh && cd src && python app.py

    .PHONY: install

    install:

    @CD deployment && bash install.sh
    Reply
  • ajcroteau
    Any chance this could be run on a mac or pc? Possibly within a docker container?

    Thanks
    AJ
    Reply