Matt W1CDN
  • Joined on 2023-04-08
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-09 12:57:43 -05:00
Set up scheduled program cycles

This is basically working. Observations:

  • message and timing are hardcoded for now
    • need to update in loop, based on webform entry
  • no gap between end of message repeat and beginning of…
W1CDN opened issue W1CDN/vulpes#36 2023-09-09 12:36:22 -05:00
Check for cycle drift
W1CDN closed issue W1CDN/vulpes#34 2023-09-09 12:34:26 -05:00
Wire up SQW pin on real board
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-09 11:03:34 -05:00
Set up scheduled program cycles

I am debugging this in Sites/jled/ and there may be a bug with using DelayAfter() in a sequence: https://github.com/jandelgado/jled/issues/122.

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 22:55:48 -05:00
Set up scheduled program cycles

My brain needs a rest.

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 21:25:30 -05:00
Set up scheduled program cycles

Very simple example working. To get it going:

  • set a different message than 0, save
  • set message to 0 and start continuous, save

The message should send once, but really it is limited to…

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 21:06:44 -05:00
Set up scheduled program cycles

Oh wow, you can get the duration of the Morse effect with Serial.println(morseEffectMO5.Period()); or similar.

This will let me calculate how many repeats fit into each step length.

Then…

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 20:50:47 -05:00
Set up scheduled program cycles

GTK (https://github.com/jandelgado/jled/issues/11#issuecomment-429887353):

There is no need to redefine the object each time. Just call the variable with the new parameters.

ex:…

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 20:44:22 -05:00
Set up scheduled program cycles

Neat but not what I'm looking for: https://github.com/tfeldmann/Arduino-Blinkenlight.

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 20:38:39 -05:00
Set up scheduled program cycles

Another example (https://github.com/jandelgado/jled/issues/34):

#include <Arduino.h>
#include<jled.h>
// blink internal LED every second; 1 second on, 0.5 second off.
auto led =…
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 19:30:28 -05:00
Set up scheduled program cycles

So close to being able to use Jled sequences natively, if I could figure out how to calculate the number of times to repeat for a given step length.

This looks helpful (https://arduino.stackex…

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 15:17:20 -05:00
Set up scheduled program cycles

To send a cycle, we need to set up the duration of each repeating message.

  • Need entries (#8) for
    • step length
    • cycle ID
    • number of transmitters
  • Need a function…
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 15:02:25 -05:00
Set up scheduled program cycles

I thought I had typed this all out, but

  • Alarm2 has only minute resolution
  • Alarm1 has second resolution

So when I set up Alarm2 but turn off cycle, if I turned cycle back on within the…

W1CDN commented on issue W1CDN/vulpes#33 2023-09-08 14:21:30 -05:00
Set RTC alarm (run program) more than a month in advance

Using timespans might work to fix this and #35 if I can fix #27.

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 14:01:36 -05:00
Set up scheduled program cycles
W1CDN opened issue W1CDN/vulpes#35 2023-09-08 13:16:36 -05:00
Make it clear in UI that start time only matters once continuous is switched on
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 12:59:00 -05:00
Set up scheduled program cycles

Before I too far, consider just comparing rtc.now() and the start time in loop() to trigger the scheduled program.

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 11:12:18 -05:00
Set up scheduled program cycles
  • add to webform that start time is only accurate to day of month
W1CDN opened issue W1CDN/vulpes#34 2023-09-08 11:03:33 -05:00
Wire up SQW pin on real board
W1CDN opened issue W1CDN/vulpes#33 2023-09-08 11:03:01 -05:00
Set RTC alarm (run program) more than a month in advance