mirror of
https://github.com/quorten/macsehw.git
synced 2024-09-27 19:54:43 +00:00
.. | ||
test | ||
.gitignore | ||
MacRTC.c | ||
Makefile | ||
README.md |
RTC
This directory contains a fully functional firmware for implementing a drop-in replacement for the RTC on ATTiny85 microcontroller. Unfortunately, ATTiny85 cannot be a true drop-in replacement, but you can get pretty close. The main caveat is time drift due to counting seconds entirely from the internal oscillator, the crytsal oscillator unfortunately cannot be used (efficiently/effectively) by the ATTiny85.
The AVR core clock is run from an internal oscillator to generate 8 MHz, so set the fuse bits accordingly when programming. See the source code of MacRTC.c for more information on electrical specifications and the like.
Reference source, Visited 2020-08-05: