Skip to content

chocotov1/UNO_CLOCK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

UNO_CLOCK

This experimental sketch continuously displays the time on an 128x32 SSD1306 oled display. The starting time is hardcoded in the global_seconds variable.

Disclaimer: Probably doesn't work on an UNO because there's a 16 MHz crystal on the pins.

timer2 asynchronous mode showcase

I was looking for a way to time sequences with ms resolution using as little power as possible. ATmega328p's timer2 in asynchronous mode with 32 kHz crystal seems to be the perfect solution. In my tests the current in SLEEP_MODE_PWR_SAVE was around 2 uA.

For a future project idea I have in mind this means I don't need to use an external RTC modul for it anymore. This saves some space.

timer2 asynchronous mode info

Hardware setup

  • ATmega328p on breadboard, 8 MHz internal clock MiniCore
  • 32 kHz watch crystal
  • SSD1306 oled display

Software

  • my fork of Tiny4kOLED (contains 16x32 digits only font)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages