Zeile 12: |
Zeile 12: |
| | | |
| ==Get the Time== | | ==Get the Time== |
− | [[Image:Arduino_DS1307.jpg|thumb|timer chip DS1307 with Arduino]] | + | [[Image:Arduino_DS1307_FritzingExport.jpg|thumb|timer chip DS1307 with Arduino]] |
| To get Greenwich Time (aka UT) I use a DS1307 chip. | | To get Greenwich Time (aka UT) I use a DS1307 chip. |
| Following the description of http://www.glacialwanderer.com/hobbyrobotics/?p=12 | | Following the description of http://www.glacialwanderer.com/hobbyrobotics/?p=12 |
Zeile 35: |
Zeile 35: |
| These calculations I have put into another library (Helios.h) | | These calculations I have put into another library (Helios.h) |
| | | |
| + | Use following program plus libraries for older Arduino IDE (0023 and older): |
| {{zip|SolarTracker4Arduino.zip|14KB|Version from 09.03.2011}} | | {{zip|SolarTracker4Arduino.zip|14KB|Version from 09.03.2011}} |
| + | |
| + | For newer Arduino IDE (1.0.1 and later) use instead the following package, |
| + | {{zip|SolarTracker4Arduino1.0.1.zip|17KB|Version from 16.01.2015}} |
| + | |
| + | Once you got it running, verify the calculated positions, for instance with |
| + | [http://www.sunearthtools.com/dp/tools/pos_sun.php solar position calculator] from |
| + | sunearthtools. (Attention: SolarTracker4Arduino does NOT account for daylight saving time (DST), |
| + | you have to determine UT (when you set your timer chip) as if there was no DST at all. On the other hand, sunearthtools allow using DST, |
| + | and this option is selected by default. |
| | | |
| ==SPA Algorithm== | | ==SPA Algorithm== |