Skip to content

amadeuspzs/attiny1614-rtc

Repository files navigation

RTC on the ATtiny1614

Use the built-in RTC/PIT functionality for clock/alarm functionality. Avoid external RTC chips/modules.

Background reading

Arduino setup

ATtiny1614 running with 20 MHz internal RC oscillator and 12.5pF 32.768Khz watch crystal, programmed using megaTinyCore:

Schematic

Flashed using UPDI.

Alarm circuit (post flash)

Schematic

  • Baseline power consumption: 1.3uA
  • Serial mode entered via DTR/RTS signal on serial monitor connect, power consumption: 1.6mA
  • LED consumption at Vcc 4.5V, forward voltage 2.9V: 20mA
  • Date, time and alarm programmed over serial (9600 baud)
  • Pullup on Rx/Tx to prevent garbage on connect

About

RTC experiments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages