Files
Files | |
---|---|
.github | |
.kibot | |
firmware | |
images | |
mechanical | |
pcb | |
.gitignore | |
README.md |
README.md
DIAC
- Digital (Analog) ClockThe
DIAC
is a digital controlled clock with88
controllableLEDs
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 RTCMCP7940
for managing the time of accurately. For acoustic signalization, there is abuzzer
on board. The core of the clocks is built by anATTiny1606
. The clock can be extended over an external/analog-pin.Powering
the clock can be granted throughUSB
or anexternal Supply
(5V
-9V
). The input voltage is line regulated to 3V3. Theconfiguration
of the clock can be done through aTerminal
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
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 |
---|---|
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 | Microcontroller datasheet | |
MCP7940 | RTC (over I2C ) datasheet |
|
Crystal | Datasheet | |
Crystal | Basic information sheet | |
Font | html | Black Future Font |
R. GAECHTER