/ATtiny13BinaryWatches

Simple Binary Watches with 4 LEDs

Primary LanguageC++MIT LicenseMIT

ATtiny13BinaryWatches

PCB in real life

Simple Binary Watches with 4 LED(1/5, 2/10, 4/20, 8/40), it mean 5 minute accuracy indicate.

PCB battery

Video demonstration:

https://youtu.be/qP_2BFFjp1M

How it's work?

Every 0.5 sec CPU wake up(cycle iteration time 100 nS) and increase milliseconds value and come sleep mode(3 uA).

If you press button "TIME();" it show hours and minutes(0.5 seconds per value) in binary mode in 4 LEDs.

3D model PCB:

PCB Up side:

PCB Up

PCB Down side:

PCB Down side

PCB size 27 mm in diameter(size little biger CR2032 battery):

PCB Size

The thickness of the board is recommended to take 0.8mm otherwise it may not fit into the case.

Gerber files and 3D model:

Files for fabrication:

https://github.com/techn0man1ac/ATtiny13BinaryWatches/tree/main/PCB

PCB home page:

Fresh board project here:

https://oshwlab.com/raznie.podelki/attiny13binarywatches

Schematic:

It's have simple schematic, there are 15 components in total:

Schematic clock

How to flash

AVR ISP programmer pinout

Here is pinout for AVR ISP programmer - MOSI ATtiny13 -> MISO programer(Digital Pin 11), MISO->MOSI(Digital Pin 12), SCK->SCK(Digital Pin 13) RES->Reset(Digital Pin 10). How to flash ATtiny13 with Arduino:

https://www.hackster.io/taunoerik/programming-attiny13-with-arduino-uno-07beba

FLASH

ATtiny13 core selections:

  • Board: ATtiny 13

  • BOD: BOD Disabled

  • Clock: 1.2 MHz internal osc.

  • Compiler LTO: Enable

  • Port: (Your Arduino port)

  • Programmer: Arduino as ISP

Arduino IDE

Source code(for Arduino IDE - "t13B Watches.ino") here:

https://github.com/techn0man1ac/ATtiny13BinaryWatches/tree/main/t13BinWatches

It's project full open source(PCB and code).