Go Down

Topic: Solar Position Library (Read 1 time) previous topic - next topic

aarg

I have some devices that need to know the sun position. It is a subject that comes up from time to time on the forums as well. I found some code that worked very well, but is a monolithic program. So I did a lot of work on it, and packaged it in a library. I have the approval of the original author, who says he is interested about how people are using the program. A special feature, is some math to prevent inaccuracies due to floating point truncation when using the standard formulas verbatim.

https://github.com/KenWillmott/SolarPosition
  ... with a transistor and a large sum of money to spend ...
Please don't PM me with technical questions. Post them in the forum.

marscaper

Nice work.  :)

In the same spirit, I wrote a more complex Arduino library for the full Solar System: equatorial coordinates (RA/Dec), horizontal coordinates (Alt/Az), rise, set, distance (in A.U), and apparent diameter (in arcminutes) for Sun, Mercury, Venus, Earth's Moon, Mars, Jupiter, Saturn, Uranus, Neptune.

https://github.com/MarScaper/ephemeris
Mon blog: http://www.em10-usd-arduino-takahashi.eliotis.com

zoomx


jbellavance

Hi,

This will be great to have a solar pannel at an optimal position.

Thanks!

Jacques
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Go Up