

Ornament2023
ATTiny404 xmas tree ornament for 2023
- Size
- 70 × 65.5 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 28
- Nets
- 22
- Pads
- 57
- Tracks, vias
- 147, 17
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 25 Nov 2023
- Updated
- 26 Dec 2023
Overview
Ornament2023 is an open-source printed circuit board by Chris-Johnston, from the Chris-Johnston/ornament2023 repository on GitHub. It is a 2-layer board of 70 × 65.5 mm with 28 parts on 22 nets, routed with 147 tracks and 17 vias.
It is built around the ATTINY404-SSN and BH-25C-1. Its parts include 6 resistors, 6 diodes, 2 switches, 1 capacitor and 1 IC. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
2README
readme.mdXmas Ornament 2023
An ATTiny404 LED Xmas tree ornament.


This year I waited until the last minute, and so this design is very derivative of last year's design.
Resources used
- svg2mod was used to generate the footprint of the board, and the front silkscreen layer
- I licensed a stock image for the front layer silkscreen
- I referred to SerialUPDI again as reference for getting UPDI working (and used the same adapter board from last year, apparently I had swapped +5V and GND somehow!?)
- megaTinyCore was used with Arduino (via the vscode Arduino extension) to upload to the ATTiny404
Bill of Materials
| Reference | Description | Part No. | Price |
|---|---|---|---|
| PCB | $0.53 (+ $0.80 shipping because I did this late) | ||
| C1 | 1 uf 1206 capacitor | CL31B105KAHNNNE | $0.0534 |
| D1 - D6 | 1206 Bidirectional Red/Green LED | XZMDKVG55W-4 | $1.10 (0.1835 ea.) |
| R1 - R6 | 1206 47 ohm resistor | WR12X470 JTL | $0.06 ($0.0112 ea.) |
| SW1 | 6x6mm Pushbutton | Generic | $0.05 |
| SW2 | Slide Switch | JS102011SAQN | $0.65 |
| U1 | Attiny404 | Attiny404-SSN | $0.59 |
| B1 | CR2023 Battery Holder | BH-25C-1 | $0.0785 |
Unit cost w/o shipping: $3.11
Changes from last year's version
In 2021 I made snowflake-ornament and 2022 I made a tree ornament. This year doesn't have many changes, other than a different footprint and one less LED.
One less LED fits better with this board layout, and also means that each common I/O between the left and right side can use PWM. Despite this, I didn't actually have time to implement anything which uses the PWM, I was finishing the code the same day I was supposed to drop these off.
Since this was so rushed, the board layout had a few quirks and features. All of the LEDs but ONE face the same orientation, and the back isn't very symmetric. For the most part it all worked though.
Parts
28| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | G*** | tree:Snow_flake2 | svg2mod, svg2mod, svg2mod, svg2mod, svg2mod, svg2mod, svg2mod, svg2mod |
| 6 | LED_Dual_2pin | tree:Custom_LessSilkscreenLED_1206_3216Metric_Pad1.42x1.75mm_HandSolder | D1, D2, D3, D4, D5, D6 |
| 6 | R | Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder | R1, R2, R3, R4, R5, R6 |
| 1 | ATtiny404-SS | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U1 |
| 1 | BH-25C-1 | custom:BH-25C-1_ADM | B1 |
| 1 | C | Capacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolder | C1 |
| 1 | Conn_01x03 | tree:custom_updipad_PinHeader_1x03_P2.54mm_Vertical | J1 |
| 1 | G*** | wreath:wreath | svg2mod |
| 1 | SW_DPDT_x2 | Button_Switch_SMD:SW_SPDT_CK-JS102011SAQN | SW2 |
| 1 | SW_Push | Button_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mm | SW1 |
The 27 most common of 28 parts.
Similar boards
- 2 layers67.8 × 83.8 mm

- 2 layers23 × 6.2 mm

- 2 layers61.7 × 36.8 mm

Genesis 6button
rfmerrill/genesis_6button
Simple PCB + ATTiny404 code for a 6-button mega drive controller.
27 parts5MIT - 2 layers57.1 × 24.4 mm

- 2 layers90 × 40 mm

- 2 layers62 × 83 mm

Vehicle Power Switch
custom-ds/Vehicle-Auto-On
With the Arduion programmer board loaded with the jtag2updi software, and the Pin 6 from the Arduino connected to the Reset line on the ATTiny404, you can Build and Program directly inside of the Visual Studio Code.
49 partsGPL-3.0 - 2 layers65.5 × 30 mm

- 2 layers50.8 × 44 mm

Rf room sensor
dselcan/rf-room-sensor-hw
PCB design files and BOM for the RF Room Sensor device
32 partsBSD-3-Clause
Questions
How big is the Ornament2023 PCB?
It measures 70 × 65.5 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Ornament2023 use?
28 parts, built around the ATTINY404-SSN and BH-25C-1. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Ornament2023 KiCad files?
From the Chris-Johnston/ornament2023 repository on GitHub, at the commit this page was made from: the board is ornament2023/ornament2023.kicad_pcb and its schematic ornament2023/ornament2023.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Ornament2023 design in my own project?
Its repository states no licence, so its author keeps all rights: ask Chris-Johnston before reusing the design.