User:ThatDonGuy
From Wikipedia, the free encyclopedia
To aim a satellite dish, you need to know the latitude of the dish, and the difference between the satellite's and dish's longitude. Since longitudes are based on an arbitrary zero meridian, any meridian can be defined as "zero longitude," so to make calculation easier, assume the dish is at zero longitude.
If LAT is the dish's latitude and LNG is the satellite's longitude relative to the dish's:
Azimuth change (the left-right direction) = 
In the northern hemisphere, this is in degrees left (positive) or right (negative) of due south. In the southern hemisphere, this is in degrees right (positive) or left (negative) of due north.
Altitude change (the up-down direction) = 
This is in degrees up from the horizon. (If the number is negative, the line of sight goes through the surface of the Earth.)
The number 0.1513 is the distance from the center of Earth to geostationary satellites divided by the radius of Earth.
[edit] The Math
The following terms are defined: Positive latitude is north; positive longitude is east Xs, Ys, Zs - the X, Y, and Z coordinates of the satellite Xd, Yd, Zd - the X, Y, and Z coordinates of the dish In both cases, point (0, 0, 0) is the center of Earth; +X is toward latitude 0, longitude 0; +Y is toward latitude 0, longitude +90; +Z is toward latitude +90 R - the radius of Earth A - the distance from the center of Earth to the satellite
First, convert latitude and longitude to rectangular coordinates:






Next, "rotate the universe" through the Y-axis until the dish is at latitude +90 (the satellite is rotated within the plane of its Y value):






By putting the dish on the North Pole, the angle of altitude from the horizon can be calculated much easier.
Next, move the universe distance R in the negative-Z direction:






The azimuth and altitude angles are:





