Building a Tidal Clock // Novice Seeking Advice on Storage Memory, NOAA APIs & Power

Summary: I am new to Arduino, am building a tidal clock (a new type of clock that tells the time based on the tides) and need advice on a couple things, if you're open to helping a girl out -- please read on!

Hi, The tidal clock I am building operates similar to a regular clock but instead of the 12hr display of a typical clock, the position of the tick marks changes dependent on the day's predicted tides -- I am on the east coast with diurnal tides. There are two parts:

(A) a 1.5" OLED SPI 7 pin display that displays 4 tick marks indicating the day's high & low tides. [figured out] The data for the tides is pulled to the Arduino from NOAA's website using an API through a wifi connection. [working on this] The position of the tick marks updates at midnight each day.

The display also features a growing & shrinking circle -- grows as the tide is coming in & shrinks as the tide is coming out. [figured out]

(B) A 3-6V motor that rotates at the pace of a 24 hr day. [working on this, am not worried about making this work]

My questions are the following:
(1) What smaller wifi-enabled microcontroller could I use to operate both the display and the motor? I'd like to make the clock housing smaller, if possible.

(2) Do you foresee any issues with having enough memory to store the display & motor code & the tide data within just a microcontroller or will I need external memory?

(3) After the experiment/brainstorming phase, what is your advice for ensuring all components are properly soldered to a solderable breadboard?

(4) how to power the motor & the arduino using the same power supply?

I need to finish the project by May 7th and would appreciate any advice that you have to offer! I'm sure I left out important information so please let me know what additional info you need to explain the project.

I am referencing a number of tutorials but still need advice bringing everything together:

B) use a stepper motor

  1. There are several tiny WiFi/MCU boards with advanced processors and plenty of memory. Most hobby outlets (e.g. Adafruit) sell them

  2. No issue. Tides can also be calculated autonomously for example, so no need for WiFi

  3. Have a PCB made, or use solderable protoboards.

1 Like

Thanks @jremington for your quick reply.

B) Thanks. With my basic knowledge, I only know how to make the stepper motor work incorporating a power supply module, this adds to the components that will need to be housed -- is it possible to not use the power module?

  1. Do you have any suggestions for what would be a good board option? would something like this work?

  2. Thanks this is really helpful, using a library to calculate the predictions instead of wifi will be very helpful. Do you think it's possible to "reverse" the calculation to show the time when high tide and low tide will occur instead of the height at a given time? I will look into this.

  3. I plan to use a solderable protoboard -- do you have any advice for the soldering work?

Very small steppers are available that work fine on batteries. Examples include digital clocks with analog "hands" that run for years on an AA battery. In fact you can modify such a clock to run at arbitrary speeds, using an Arduino to control the motor.

  1. The amazon product might suffice, but unlike with hobby outlets like Sparkfun, Adafruit, etc. you get no product or software support.

  2. Yes, that is what "tide prediction" means. Given the prediction of height as a function of time, it is easy to find the maximum and minimum predicted height, then simply output the times at which those events are predicted to take place.

  3. Adafruit, Sparkfun and others have excellent soldering tutorials, and youtube has videos.

This is an extremely ambitious project for a beginner, but a great learning experience. Completing it in 3 weeks seems unlikely.

2 Likes

Hmmm ... I can't see many east coasts with diurnal tides. Gulf of Mexico?


Although some east coasts have mixed diurnal and semidiurnal tides. Are you in one of those areas?

Certainly not east coast of UK, we have semidiurnal tides on all coasts.

(Interestingly, there is a part of the UK which has 4 tides per day!)

I would recommend a Wemos D1 mini as the MCU for your project.

@jremington @PaulRB thanks for your feedback, very helpful! I'll look for a smaller motor and a mini MCU.

  1. I'm not a big fan of amazon but with the time constraint, getting the parts quickly is the priority.

I'll report back as I've made progress.
Thanks for the help!

An automotive gauge could be a nice indicator.
Leo..

OpenCPN is free charting/navigation software, with tidal stations.
CM93 world charts can be downloaded.
Leo..

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.