Hauptmenü öffnen
Start
Zufall
Anmelden
Einstellungen
Über Happylab
Haftungsausschluss
Happylab
Suchen
Änderungen
← Zum vorherigen Versionsunterschied
Zum nächsten Versionsunterschied →
Solar Arduino tracker
(Quelltext anzeigen)
Version vom 3. März 2011, 23:10 Uhr
1 Byte entfernt
,
23:10, 3. Mär. 2011
→Calculate Azimuth and Elevation
Zeile 30:
Zeile 30:
and you can download it [http://www.psa.es/sdg/sunpos.htm here] as C++ code.
and you can download it [http://www.psa.es/sdg/sunpos.htm here] as C++ code.
There are adaptions neccessary for Arduino, though.
There are adaptions neccessary for Arduino, though.
−
The formulas for calculating the [http://en.wikipedia.org/wiki/Julian_day
Juliand
Day]
+
The formulas for calculating the [http://en.wikipedia.org/wiki/Julian_day
Julian
Day]
are not working properly on Arduino due to reduced double precision.
are not working properly on Arduino due to reduced double precision.
Therefore, I have adapted them, expecting only Julians dates starting from 1.Jan. 2000.
Therefore, I have adapted them, expecting only Julians dates starting from 1.Jan. 2000.
Hannes.hassler
229
Bearbeitungen