/Sattrack

Primary LanguageHTMLMIT LicenseMIT

Sattrack

Sattrack is a small device that sits on your desk, and warn you when the Iss is overflying. It does this by using the Simplified perturbations model (SGP4) for calculating the current position of the satellite. This code is made for the ESP8266 and use the arduino-core.

Follow this project on hackaday.io.

Hardware

  • ESP8266-01
  • Voltage regulator: LM1117 3.3V
  • (Logic level converter)
  • Neopixel ring connected to GPIO2
  • Resistors,capacitors,...

External libraries

Installation instructions

  • Install the arduino-core for the ESP8266.
  • Install the external libraries.
  • Enable AsyncTCP in the arduinoWebSockets library. This mode can be activated in the file 'WebSockets.h' (see WEBSOCKETS_NETWORK_TYPE define).
  • Change CPU frequency to 160 MHz and use minimum 192k SPIFFS.
  • Compile and upload the code to your ESP.
  • Upload the data to SPIFFS (see here for more information).
  • Wait until it opens an AP (indicated by a blue spinning wheel), and connect to "Sattrack" with password "123456789". (This can be changed in the settings.)
  • Go to sattrack.local/settings.html and change network settings. Save and restart.
  • Connect to your own AP and go back to the setting page. It will ask you to login.
  • Use again "Sattrack" with password "123456789", and change your site coordinates and other settings.
  • Wait until the ISS is overhead.
  • Wave at the astronauts!

Status indicators

This device use the neopixels to show some status information.

  • On startup
    • Two red turning pixels: Trying to connect to acces point.
    • Two orange turning pixels: Trying to get time and TLE.
    • Two green turning pixels: Calculating overpasses.
  • When something fails at startup
    • Blue turning wheel: Couldn't connect to network and opens an AP.
    • Red turning wheel: Error getting time or TLE. It will retry in some minutes.

Credits