Treasure box main
mtrunzo12·TreasureBox-build·treasure_box_main/treasure_box_main.kicad_pcb
About the Treasure box main PCB
Treasure box main is an open source AVR/Arduino PCB design by mtrunzo12, published on GitHub. It is a 2-layer board measuring 130 × 75 mm, with 34 components from 24 distinct parts.
Its main chip is the ATMEGA328P-PU, from the AVR/Arduino family. Other key parts include the CH340C. By type, the board carries 10 capacitors, 9 connectors, 8 resistors, 3 diodes, 2 ICs and 1 transistor.
From the project
Build along with a knock-to-unlock toy chest: firmware, KiCad files, parts lists and a parent checklist.
Build a toy chest with a saved knock rhythm, keypad PIN, servo claw, lights and music. This folder is a curated snapshot of Mark and Liam's build. Start small: get the inputs working on a breadboard before ordering boards.
1. Install Claude Code or Codex, plus Arduino IDE and KiCad. 2. Download and unzip this build kit. Open the whole treasure-chest folder in your AI coding app. From GitHub, use Code → Download ZIP; no terminal or Git knowledge is required. Forking is optional and gives you your own place to save changes. 3. Paste the prompt from START-HERE.md. Ask the assistant to explain…
Main components on the Treasure box main
Treasure box main bill of materials (BOM)
34 components, 24 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ATMEGA328P-PU ATmega328P-PU | DIP-28_W7.62mm_Socket | U1 |
| 1 | CH340C | SOIC-16_3.9x9.9mm_P1.27mm | U3 |
| 1 | S8050 | TO-92_Inline | Q1 |
| 1 | 16MHZ 16MHz | Crystal_HC49-4H_Vertical | Y1 |
| 1 | SPKR | TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J1 |
| 1 | PIEZO | TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J2 |
| 1 | REED | TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J3 |
| 1 | TILT | TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J4 |
| 1 | SERVO | TerminalBlock_MaiXu_MX126-5.0-03P_1x03_P5.00mm | J5 |
| 1 | BATT | TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J6 |
| 1 | PWR_SW | TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J7 |
| 1 | USB_C_RECEPTACLE_USB2.0_14P USB_C_Receptacle_USB2.0_14P | USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J8 |
| 1 | PANEL | IDC-Header_2x08_P2.54mm_Vertical | J9 |
| 2 | 1N4007 | D_DO-41_SOD81_P10.16mm_Horizontal | D1, D2 |
| 1 | 1N5819 | D_DO-41_SOD81_P10.16mm_Horizontal | D3 |
| 2 | 22PF 22pF | C_Disc_D3.0mm_W1.6mm_P2.50mm | C1, C2 |
| 6 | 100NF 100nF | C_Disc_D3.0mm_W1.6mm_P2.50mm | C3, C4, C5, C6, C9, C10 |
| 1 | 470UF 470uF | CP_Radial_D8.0mm_P3.50mm | C7 |
| 1 | 100UF 100uF | CP_Radial_D6.3mm_P2.50mm | C8 |
| 2 | 10K 10k | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R6 |
Show 4 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 1k | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R2 |
| 2 | 22R | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R3, R4 |
| 1 | 1M | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R5 |
| 2 | 5.1K 5.1k | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R7, R8 |
Treasure box main design files
The KiCad project lives in the mtrunzo12/TreasureBox-build repository on GitHub; these links point at the commit this page was built from.
Treasure box main: common questions
What microcontroller does the Treasure box main use?
The Treasure box main is built around the ATMEGA328P-PU, from the AVR/Arduino family.
How big is the Treasure box main PCB?
The Treasure box main measures 130 × 75 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Treasure box main?
34 components, from 24 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Treasure box main design files?
From the mtrunzo12/TreasureBox-build repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Treasure box main design in my own project?
The repository has no license, so all rights stay with mtrunzo12. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Treasure box main 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.
More boards in TreasureBox-build
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
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0k