cdebeling 5 days ago | next |

Hey HN community!

I've recently fallen down the rabbit hole of ham radio and antennas/satellites. While experimenting with a handheld directional YAGI antenna, I realized there must have been a better way than pulling out my compass app and continuously checking to make sure I was getting the right angle. So I built STAR! It uses your device's built-in motion sensors and location to precisely align your antenna with any satellite orbiting around Earth.

Honestly, I didn't know you could access a device's motion data from the web so that was super fun to play around with. I've been able to get some great images from NOAA weather satellites and learn about some fun math that makes this all work.

PSA: You can build your own YAGI antenna for about $10 in materials. Just look up a "tape measurer antenna" and thank me later for the fun project :)

hifikuno 5 days ago | prev | next |

This is awesome. Many years ago I tried making an Android app for uni that would help you point your phone at the star you selected. The maths for that was insane and way over my head, I can only imagine that satellites would be much harder.

Such a cool use of everyday tech!

giantg2 5 days ago | root | parent | next |

It might actually be easier since they have know trajectories and velocities with a easy to calculate schedules.

cdebeling 5 days ago | root | parent |

giantg2 is right! The position and velocities are already known in the form of a Two-line element set (TLE). That makes it quite easy to calculate its current location using orbit propagation algorithms.

If you want to go down a fun path I suggest reading more into TLE data. They are currently in the process of adapting the standard to allow for more satellites since in its current form it can only track 99,999 satellites

bagels 4 days ago | root | parent | prev |

There are libraries built with all of this math done for you already.

Astropy, orekit are two I recall from memory, but there are more