I'm specifically looking for small microcontroller implementations for a simple clock project. I want to use a good temperature compensated real time clock and/or network time protocol-only (no sunrise/sunset APIs), to calculate local solar noon, sun rise, and sunset times. Then I want to make my own local time where midnight/bedtime is simply 9 hours before sunrise on any given day. I am in special life circumstances where I have no real use for daily coordinated time. This is a little psychology experiment more than anything else. I'm super rusty on the math.

you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 10 months ago* (last edited 10 months ago)

Sensorwatch has a sunset/sunrise face https://github.com/joeycastillo/second-movement/blob/main/lib/sunriset/sunriset.c

If you dig into it, see if you can fix this issue that I created months ago: https://github.com/issues/created?issue=joeycastillo%7Csecond-movement%7C55

Edit: actually, if you're doing this as a psych experiment, just buy a sensor watch and make a custom face for it. It'd be a great way to publish your findings.

  • source