Skip to content

Arduino calculates sunrise/set and high/low tides for specific locations without an Internet connection

License

Notifications You must be signed in to change notification settings

bethanysciences/Almanac

Repository files navigation

Sun and Tide Event Almanac

by Bob Smith

Calculates sunrise/set and high/low tides for specific locations without an Internet connection.

Written under version 1.8.12 of the Arduino IDE for Arduino Nano 33 IoT and Arduino Nano 33 BLE microprocessors

This program distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE.

Predictions generated by this program should NOT be used for navigation.

No accuracy or warranty is given or implied for these predictions.

Time Functions

Grabbed from Adafruit's battery backed I2C Maxim DS3231 Real Time Clock (RTC) module using Adafruit's library a fork of JeeLab's ]library. - install from Arduino IDE as 'RTClib'.

Tide Events

Calculated using Luke Miller's library of NOAA harmonic data derived from David Flater's XTide application. Futher logic is derived from rabbitcreek's code.

Sun Events

Calculated using SunEvents library outputting sunrises and sets to a RTClib DateTime object, a derivative of DM Kishi's library, based on a port of NOAA's Solar Calculator.

Output to serial for test and tweaking.

Includes eamples outputting to OLED and seven-segment displays.

This application and project are open source using MIT License see license.txt.

See included library github directories for their respecive licenses.

About

Arduino calculates sunrise/set and high/low tides for specific locations without an Internet connection

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages