Skip to the content
2 layers70 × 65.5 mmOrnament2023, the printed circuit board in 3D

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

2

README

readme.md

Xmas Ornament 2023

An ATTiny404 LED Xmas tree ornament.

An image of the board in a tree

Another image of the board closeup

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

ReferenceDescriptionPart No.Price
PCB$0.53 (+ $0.80 shipping because I did this late)
C11 uf 1206 capacitorCL31B105KAHNNNE$0.0534
D1 - D61206 Bidirectional Red/Green LEDXZMDKVG55W-4$1.10 (0.1835 ea.)
R1 - R61206 47 ohm resistorWR12X470 JTL$0.06 ($0.0112 ea.)
SW16x6mm PushbuttonGeneric$0.05
SW2Slide SwitchJS102011SAQN$0.65
U1Attiny404Attiny404-SSN$0.59
B1CR2023 Battery HolderBH-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
QtyValueFootprintReferences
8G***tree:Snow_flake2svg2mod, svg2mod, svg2mod, svg2mod, svg2mod, svg2mod, svg2mod, svg2mod
6LED_Dual_2pintree:Custom_LessSilkscreenLED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD1, D2, D3, D4, D5, D6
6RResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR1, R2, R3, R4, R5, R6
1ATtiny404-SSPackage_SO:SOIC-14_3.9x8.7mm_P1.27mmU1
1BH-25C-1custom:BH-25C-1_ADMB1
1CCapacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolderC1
1Conn_01x03tree:custom_updipad_PinHeader_1x03_P2.54mm_VerticalJ1
1G***wreath:wreathsvg2mod
1SW_DPDT_x2Button_Switch_SMD:SW_SPDT_CK-JS102011SAQNSW2
1SW_PushButton_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mmSW1

The 27 most common of 28 parts.

Similar boards

  • 2 layers67.8 × 83.8 mmSanta caws, the printed circuit board in 3D

    Santa caws

    Chris-Johnston/santacaws

    More novelty circuitboards, powered by an ATTINY404.

    19 parts
  • 2 layers23 × 6.2 mmBattery mount, the printed circuit board in 3D

    Battery mount

    anichno/tabletop-mini-tracker

    2 parts2
  • 2 layers61.7 × 36.8 mmGenesis 6button, the printed circuit board in 3D

    Genesis 6button

    rfmerrill/genesis_6button

    Simple PCB + ATTiny404 code for a 6-button mega drive controller.

    27 parts5MIT
  • 2 layers57.1 × 24.4 mmPcb cia, the printed circuit board in 3D

    Pcb cia

    codepainters/amiga_yafs

    Yet Another (Amiga) FDD Swapper

    14 parts3
  • 2 layers90 × 40 mmPSUPack, the printed circuit board in 3D

    PSUPack

    cnf/PSUPack

    PSU BackPack / breakout

    25 partsCC-BY-SA-4.0
  • 2 layers62 × 83 mmVehicle Power Switch, the printed circuit board in 3D

    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 layers50.8 × 44 mmRf room sensor, the printed circuit board in 3D

    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.