Skip to content
/ diac Public
forked from 0x007E/diac

Digital (Analog) clock with alarm function

Notifications You must be signed in to change notification settings

sunriax/diac

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version: 1.0 Release Build License: GPL v3 License CC By-NC-SA

DIAC - Digital (Analog) Clock

The DIAC is a digital controlled clock with 88 controllable LEDs over shiftregisters. 84 LEDs are used to display time/date and 4 LEDs are for signaling the current status of the clock. There is an RTC MCP7940 for managing the time of accurately. For acoustic signalization, there is a buzzer on board. The core of the clocks is built by an ATTiny1606. The clock can be extended over an external/analog-pin. Powering the clock can be granted through USB or an external Supply (5V - 9V). The input voltage is line regulated to 3V3. The configuration of the clock can be done through a Terminal or with the push-buttons on the backside of the clock.

Downloads

Type File Description
Schematic pdf/cadlab Schematic files
Board pdf/cadlab Board file
Gerber zip Gerber/Drill files
Housing step/stl (zip) Housing (STEP) files
Firmware zip Firmware for Tiny1606

Hardware

There are two parts of the hardware. The pcb and the housing of the DIAC. The pcb is created with KiCAD and the housing with FreeCAD. All files are build with github actions so that they are ready for a production environment. The housing is printed with a 3D-printer (Dremel 3D40).

PCB

The circuit board is populated on both sides. The best way for soldering is within a vapor phase soldering system.

Top Layer

Top Layer

Bottom Layer

Bottom Layer

Mechanical

The housing has a tolerance of 0.2mm on each side of the case. So the pcb should fit perfectly in the housing. The tolerance can be modified with FreeCAD in the setup Spreadsheet.

Assembled Exploded
Assembled Exploded

Programming

The Firmware of the DIAC can be programmed over UPDI. With a simple Adapter and a USB/UART bridge (e.g. FT232) the DIAC can be programmed with avrdude and serialupdi. Details of the adapter can be found here.

Configuration

The DIAC can be configured throug UART or integrated push-buttons on the back side. The configuration throug UART is guided through a menu.

Additional Information

Type Link Description
ATTiny1606 pdf Microcontroller datasheet
MCP7940 pdf RTC (over I2C) datasheet
Crystal pdf Datasheet
Crystal pdf Basic information sheet
Font html Black Future Font

R. GAECHTER

About

Digital (Analog) clock with alarm function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%