macsehw/firmware/rtc
Andrew Makousky 08efc91131 Testing improvements.
* Add Raspberry Pi GPIO support functions.

* Add timestamps to the test suite.

* Add information on required headers for each module of the test
  software.
2020-09-12 15:11:53 -05:00
..
test Testing improvements. 2020-09-12 15:11:53 -05:00
.gitignore Testing improvements. 2020-09-12 15:11:53 -05:00
MacRTC.c F_CPU unsigned long constant. 2020-09-11 18:06:42 -05:00
Makefile Finished test bench implementation, fixed firmware bugs found during 2020-09-10 05:07:27 -05:00
README.md Update README.md, configure XTAL pins. 2020-09-11 16:38:32 -05:00

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: