Diu
0x007E·diu·pcb/DIU.kicad_pcb
About the Diu PCB
Diu is an open source AVR/Arduino PCB design by 0x007E, published on GitHub under the CC-BY-NC-4.0 license. It is a 2-layer board measuring 143.5 × 68.6 mm, with 253 components from 37 distinct parts.
Its main chip is the ATtiny1606-S, from the AVR/Arduino family. Other key parts include the LD1117S33TR, FT232RL, 74HC595 and MCP7940N-xMS. By type, the board carries 99 resistors, 91 diodes, 22 capacitors, 18 connectors, 15 ICs and 4 switches.
It belongs with the usb & debug tools designs in this gallery.
From the project
Digital (Analog) Clock
The DIU project is based on a pcb with an ATtiny1606 a RTC MCP7940 a USB/UART bridge FT232RL and a set of 74HC595 shift register. It can be used to display time and date on 84 LEDs that are mounted in 3 circles to the top pcb. The clock itself can be setup over UART and a terminal software (e.g. TeraTerm).
There are two parts of the hardware. The pcb and the housing of the DIU. The pcb is created with KiCAD and the housing with FreeCAD. The software is programmed with Microchip (Atmel) Studio. All files are built with github actions so that they are ready for a production environment. The…

Main components on the Diu
Diu bill of materials (BOM)
253 components, 37 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | LD1117S33TR | TO-263-2 | U1 |
| 1 | FT232RL | SSOP-28_5.3x10.2mm_P0.65mm | U2 |
| 1 | ATtiny1606-S | SOIC-20W_7.5x12.8mm_P1.27mm | U3 |
| 11 | 74HC595 | SOIC-16W_5.3x10.2mm_P1.27mm | U4, U5, U6, U7, U8, U9, U10, U11 +3 |
| 1 | MCP7940N-xMS | SOIC-8_3.9x4.9mm_P1.27mm | U15 |
| 1 | 2N7002E | SOT-23 | Q1 |
| 1 | 32.768kHz | Crystal_SMD_3215-2Pin_3.2x1.5mm | Y1 |
| 2 | Conn_01x02_Pin | PinHeader_1x02_P2.54mm_Vertical | J1, J2 |
| 1 | Conn_01x03_Pin | PinHeader_1x03_P2.54mm_Vertical | J3 |
| 1 | USB_OTG | USB_Mini-B_Tensility_54-00023_Vertical | J4 |
| 1 | Conn_01x03_Socket | PinSocket_1x03_P2.54mm_Vertical | J5 |
| 4 | Conn_01x21_Pin | PinHeader_1x21_P2.54mm_Vertical | J6, J8, J10, J13 |
| 4 | Conn_01x21_Socket | PinSocket_1x21_P2.54mm_Vertical | J7, J9, J11, J12 |
| 2 | Conn_01x01_Socket | PinSocket_1x01_P2.54mm_Vertical | J14, J17 |
| 2 | Conn_01x01_Pin | PinHeader_1x01_P2.54mm_Vertical | J15, J16 |
| 1 | Battery | BatteryHolder_LINX_BAT-HLD-012-SMT | J18 |
| 1 | Buzzer | MagneticBuzzer_ProSignal_ABT-410-RC | BZ1 |
| 1 | 350m | Fuse_1206_3216Metric_Pad1.42x1.75mm_HandSolder | F1 |
| 4 | SW_SPST | SW_SPST_PTS645 | SW1, SW2, SW3, SW4 |
| 84 | LED | LED_1206_3216Metric | D1, D2, D3, D4, D5, D6, D7, D8 +76 |
Show 17 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 6 | LED | LED_0603_1608Metric | D85, D86, D87, D88, D89, D90 |
| 1 | MBR0520LT1G | D_SOD-123 | D91 |
| 2 | 100n | C_0603_1608Metric | C1, C32 |
| 1 | 1u | CP_EIA-3528-21_Kemet-B | C2 |
| 1 | 10u | CP_EIA-6032-28_Kemet-C | C3 |
| 2 | 47u | CP_EIA-6032-15_Kemet-U | C4, C6 |
| 13 | 100n | C_1206_3216Metric | C5, C7, C8, C9, C10, C18, C19, C20 +5 |
| 1 | 10u | C_0603_1608Metric | C11 |
| 2 | 22p | C_0603_1608Metric | C30, C31 |
| 84 | 68 | R_1206_3216Metric | R1, R2, R3, R4, R5, R6, R7, R8 +76 |
| 4 | 100 | R_0603_1608Metric | R85, R86, R92, R93 |
| 2 | 270 | R_0603_1608Metric | R87, R88 |
| 2 | 1k | R_0603_1608Metric | R89, R90 |
| 2 | 0 | R_0603_1608Metric | R91, R94 |
| 1 | 330k | R_0603_1608Metric | R95 |
| 2 | 1k | R_1206_3216Metric | R97, R98 |
| 2 | 10k | R_0603_1608Metric | R99, R100 |
Diu design files
The KiCad project lives in the 0x007E/diu repository on GitHub; these links point at the commit this page was built from.
- Layoutpcb/DIU.kicad_pcb
- Schematicpcb/DIU.kicad_sch
Diu: common questions
What microcontroller does the Diu use?
The Diu is built around the ATtiny1606-S, from the AVR/Arduino family.
How big is the Diu PCB?
The Diu measures 143.5 × 68.6 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Diu?
253 components, from 37 distinct parts. The full bill of materials is listed on this page.
Where can I download the Diu design files?
From the 0x007E/diu repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Diu design in my own project?
It is published under CC-BY-NC-4.0, which limits how it may be reused; read the license before building on it.
Can I test firmware for the Diu without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.
Similar boards
AVR/Arduino
Magspoof
samyk
35 × 29 mm11 parts2LNo license4.2kAVR/Arduino
Redox keyboard
mattdibi
162.2 × 126.5 mm77 parts2LMIT2.0kAVR/Arduino
Labrador
espotek-org
36.8 × 34.7 mm75 parts2LNo license1.2kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0k