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

I tried the same if ((rtc.alarmFired(2) == true) ) code on the breadboard version and get the same results (crash on form submission).

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

Changed true to 1 and it is not crashing.

Also, even though I get stuff like this, the RTC time seems to be right:

Writing file: /inputMsg.txt
- file written
yourInputTime:…
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-08 08:29:00 -05:00
Set up scheduled program cycles

It's this bit that's causing the i2cCheckLineState() error and reboot:

   if ((rtc.alarmFired(2) == true) ){
    
     // Print current time and date
     DateTime now = rtc.now(); //…
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-07 22:08:51 -05:00
Set up scheduled program cycles

I'm getting weird dates again. I will look at the hardware connections tomorrow.

It's also worth considering using the SQW pin: https://garrysblog.com/2020/07/05/using-the-ds3231-real-time-clock

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

RTC alarms seem to fire at the next opportunity, even if they happened when ESP32 was off. This is a problem I wanted to avoid.

Reset the alarm in setup() if it's in the past?

W1CDN opened issue W1CDN/vulpes#31 2023-09-07 21:12:05 -05:00
License
W1CDN opened issue W1CDN/vulpes#30 2023-09-07 21:11:36 -05:00
Credit to other projects
W1CDN opened issue W1CDN/vulpes#29 2023-09-07 21:08:23 -05:00
Make a schematic for the ESP32/DS3231/transistor board
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-07 20:22:51 -05:00
Set up scheduled program cycles

OK, so it looks like arduino-timer .at() uses the millis() clock. Are there timers that use real time?

W1CDN commented on issue W1CDN/aprs_tool#37 2023-09-07 14:18:03 -05:00
KISS connection seems unstable

Still not working. May need to try AsyncIOScheduler, which I think is where the error is coming from.

W1CDN commented on issue W1CDN/aprs_tool#37 2023-09-07 09:35:57 -05:00
KISS connection seems unstable

Going to wait and see if this error causes any problems or not. Although I'm not sure why this would happen if I'm calling ki.stop().

2023-09-07 08:31:32,558 - Scheduler started
2023-09-…
W1CDN commented on issue W1CDN/aprs_tool#37 2023-09-07 08:28:30 -05:00
KISS connection seems unstable

It looks like the reconnections have been happening, but didn't record this packet: image

W1CDN commented on issue W1CDN/vulpes#28 2023-09-06 22:40:25 -05:00
RTC battery status?
W1CDN opened issue W1CDN/vulpes#28 2023-09-06 22:38:55 -05:00
RTC battery status?
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-06 22:08:24 -05:00
Set up scheduled program cycles

Now. Now maybe I can get to scheduling.

W1CDN commented on issue W1CDN/vulpes#27 2023-09-06 22:07:03 -05:00
Intermittent bad times reported after browser time refresh

I have added this as part of #24. Maybe it will let me know if something goes weird again. It could also be a bad solder connection; I still don't have this board in a case yet.

// Might…
W1CDN opened issue W1CDN/vulpes#27 2023-09-06 21:57:04 -05:00
Intermittent bad times reported
W1CDN commented on issue W1CDN/vulpes#15 2023-09-06 21:53:26 -05:00
Fill in selected values for select menus on webform

Closed in afe5b9338d6385e23004eaf815ade8a873531617 (at least for the fields I already have).

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