Having built a solar air heater I want to use my Raspberry Pi to track the sun across the sky to see whether the energy requirement to do this are worthwhile from an efficiency point of view in a northern latitude. I had considered using a sensor to measure solar intensity and hence track solar movement that way. However, I would like to calculate the Suns position (elevation and azimuth) hour-by-hour throughout the day. Unfortunately I cannot find a set of equations that will allow me to do this. Can anyone help me?