Skip to the content
2 layers74.4 × 97.8 mmTamagotchi, the printed circuit board in 3D

A small digital pet as a physical device remake! It features an LDR that can detect light changes, four buttons, and a buzzer. It also has an OLED display!

Size
74.4 × 97.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
16
Nets
27
Pads
74
Tracks, vias
47, 0
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
14 Jun 2026
Updated
22 Aug 2026

Overview

Tamagotchi is an open-source printed circuit board by Ayush09S, from the Ayush09S/Tamagotchi repository on GitHub, published under the MIT licence. It is a 2-layer board of 74.4 × 97.8 mm with 16 parts on 27 nets, routed with 47 tracks and 0 vias.

It is built around the HS96L03W2C03, TSC016A04518A and 1207-P6.5MM, with the TK-6580A-1 among its other parts. Its parts include 5 switches and 2 ICs. It belongs with the lEDs and displays boards and the ESP32 and RISC-V boards of this library.

Main components

4

README

README.md

Overview

A small digital pet as a physical device remake! It features four buttons and a buzzer. It also has an OLED display and can be recharged! The coding is made so that it can show it's emotions based on how it's treated. Whether it's not played with, not given sleep, it'll react. Make sure to keep it entertained! It also can be powered off into deep sleep in case you are busy and need to temporarily turn it off.

Context

It was created as an entry to contribute to the Fallout Hackathon in Shenzhen run by Hack Club! It was quite involved, requiring the research of components, importing the EasyEda JLCPCB library of components library into Kicad, and properly understanding how to make a schematic and routing a PCB. I really liked the idea of a small, hand-held device that you can carry with you, and the idea of a tamagotchi is pretty sweet! It can also be used with both smaller LiPo batteries and medium sized ones too! It took 40+ hours to complete. I was really glad the coding was not crazy complicated!

Zine

IRL_COMPLETE-Tamagotchi-Zine

Specs

  • 4 Push Buttons
  • Latching Power Switch
  • OLED screen

How To Create

  1. Create the PCB
  • Cut the PCB (with the Gerber file) through JLCPCB or a CNC machine and solder bought components needed (found in the BOM)
  • Use the provided files to solder header pins and components in the right places (Onshape link is a good one)
  1. Print the models
  • Print the Casing, spacers and battery holder lid with the 3D Files provided on a 3D Printer (Note, the casing top, casing bottom, spacers and battery holder lid should all be printed seperately) OR
  • Buy the Casing printed from a printing service
  1. Put it together
  • Put a bought or owned LiPo Battery and connect it to the bottom of the pcb, and place it into the allocated space in the casing
  • Use M3 Screws and nuts (buy or use owned ones) to screw the casing and PCB together
  1. Program the PCB. (Sourced from Tamagotchi Firmware Tutorial)
  • Connect to the Tamagotchi's USB-C connector through a computer and apply the program provided through the Arduino IDE.

  • Make sure to downlooad to follow the steps below to get the correct libraries.

  • Open the Arduino IDE.

  • Go to File > Preferences (or Arduino IDE > Settings on macOS).

  • In the "Additional Boards Manager URLs" field, add the following URL: https://espressif.github.io/arduino-esp32/package_esp32_index.json > Note: If you already have URLs here, separate entries with commas.

  • Click OK to save the preferences.

  • Wait for the board index to download.

  • Open the Boards Manager by navigating to Tools > Board > Boards Manager.

  • In the search bar, type esp32.

  • Locate the entry for "esp32 by Espressif Systems".

  • Click the Install button. > Important: Ensure you are using version 3.0.0 or later, which supports the C6.

  • Wait for the installation to finish.

  • After installation, go to Tools > Board > esp32.

  • Select your board model: XIAO ESP32C6.

  • In Sketch > Include Library > Manage Libraries, install:

  • Adafruit SSD1306 (by Adafruit)

  • Adafruit GFX Library (by Adafruit), which will be prompted as a dependency.

  • Upload the code!

  1. Done! Use the Tamagotchi as much as your heart desires!

Full Design

Screenshot 2026-06-22 at 4 22 56 pm Screenshot 2026-06-22 at 4 29 29 pm Screenshot 2026-06-22 at 4 30 03 pm Screenshot 2026-06-22 at 4 30 32 pm

PCB

Board

Screenshot 2026-06-22 at 5 34 54 am Screenshot 2026-06-22 at 5 36 25 am

Schematic

Screenshot 2026-06-22 at 5 36 53 am

Casing

Onshape Link (Do not click, copy and paste it): https://cad.onshape.com/documents/55ba759bd32af63245a8fd64/w/0539768004f2bf5a541f17f4/e/c03fca18856a8a03d68f317d?renderMode=0&uiState=6a38532017fe1dd1d0fb8e74

Full

Screenshot 2026-06-22 at 6 36 05 am

Top

Screenshot 2026-06-22 at 6 36 43 am Screenshot 2026-06-22 at 6 37 21 am

Bottom

Screenshot 2026-06-22 at 6 38 14 am Screenshot 2026-06-22 at 6 38 38 am

Built

Built_Tamagotchi Built_Tamagotchi_Bottom

BOM (AUD)

No.ItemDescriptionLCSC Supplier NumberQty ReqQty Must BuyUnit PriceTotal PriceRunning TotalLink
13D Print FilamentElegoo PLA 1kg11$19.95$19.95$19.95Jaycar Link
ShippingJaycar$9.95$29.90
2ScrewsM3x30mm410$0.13$1.33$31.23Makerstore Link
3NutsM344$0.14$0.56$31.79Makerstore Link
ShippingMakerstore$7.50$39.29
4BatteryLiPo Rechargeable 1100mAh11$5.39$5.39$44.68AliExpress Link
ShippingAliexpress$6.30$50.98
57 Pin HeadersMale - 2.54mm PitchC6332200220$0.04$0.72$51.70LCSC Link
4 Pin HeaderMale - 2.54mm PitchC5116483120$0.03$0.64$52.34LCSC Link
6BuzzerBUZ-TH_BD12.5-P6.50-D1.4C49246964110$0.08$0.82$53.16LCSC Link
7Push ButtonsSW-TH_4P-L4.5-W4.5-P3.00-LS4.8C2888493450$0.02$0.75$53.91LCSC Link
8Latching ButtonSW-TH_TK-6580A-1C52877011$0.31$0.31$54.22LCSC Link
9OLED ScreenOLED-TH_L27.8-W27.2-P2.54_C9900033791C524808011$3.20$3.20$57.42LCSC Link
ShippingLCSC$9.10$66.52
HandlingLCSC$4.28$70.80
10MicrocontrollerXIAO-ESP32-C3-DIP-SMD11$6.55$6.55$77.35Seeed Studio Link
ShippingSeeed Studio$7.05$84.40
11PCB (without assembly)Main board (Lead-Free Finish). Components to be soldered.15$1.51$7.56$91.96JLCPCB Link
11.2Additionals + ShippingJLCPCB$2.14$94.10
-Grand Total$94.10

Additional Notes!

This was a Guided Project through Hack Club's Fallout's Docs. The github page of the tutorial is here https://github.com/TaniWanKenobi/tamagotchi. I really loved making it, and I really learnt a lot, just like with the USB Hub. If you are a beginner, I would suggest starting with a smaller project, but this project is INCREDIBLE as a second one! If you've got some experience programming, you'll definitely find this manageable to create.

WARNING - PRODUCTION FILES The gerber is provided for the JLCPCB or any PCB cutting, but the BOM and CPL may not work properly when ordered, since the pins will not be assembled. This project is designed to have been soldered yourself, if you wish to alter it so that it can be ordered, you may do that but this project does not work in that way. YOU HAVE BEEN WARNED.

Sanity Checked by Kade Harrison and Revant Pandey

Parts

16
QtyValueFootprintReferences
4TSC016A04518Aeasyeda2kicad:SW-TH_4P-L4.5-W4.5-P3.00-LS4.8SW1, SW2, SW3, SW4
3LOGOLOGOG***, G***, G***
11207-P6.5MMeasyeda2kicad:BUZ-TH_BD12.5-P6.50-D1.4BUZZER1
1Battery_CellConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalBT1
1HS96L03W2C03easyeda2kicad:OLED-TH_L27.8-W27.2-P2.54_C9900033791U2
1TK-6580A-1easyeda2kicad:SW-TH_TK-6580A-1SW5
1XIAO-ESP32-C3-DIP-SMDMCU:XIAO-ESP32-C3-DIP-SMDU1

The 12 most common of 16 parts.

Similar boards

  • 2 layers90 × 85 mmMultiBench, the printed circuit board in 3D

    MultiBench

    M-Mrk/MultiBench

    A bench multimeter with the usual functions, but also with usb connectivity to log, stream and monitor readings.

    87 parts1
  • 2 layers56.8 × 66.2 mmTamagotchi, the printed circuit board in 3D

    Tamagotchi

    TaniWanKenobi/tamagotchi

    A custom PCB-based Tamagotchi virtual pet built with the XIAO-ESP32-C6!

    14 parts5
  • 2 layers50 × 75 mmVideocraft PetPad, the printed circuit board in 3D

    Videocraft PetPad

    Videocraft10/PetPad

    Custom Made Tamagotchi Like Device

    13 parts2MIT
  • 2 layers70.6 × 76 mmTamagotchi, the printed circuit board in 3D

    Tamagotchi

    Er1n-jpg/Psyduck-gotchi

    Tamagotchi project made for fallout

    11 parts1
  • 2 layers64.3 × 76.8 mmTamagotchi, the printed circuit board in 3D

    Tamagotchi

    shelxty/lego-tamagotchi

    Simple tamagotchi with OLED display screen, buzzer, and 3 buttons custom-made in KiCad, with parts assembled in OnShape.

    10 parts1
  • 2 layersReleastic tamagotchi, the printed circuit board in 3D

    Releastic tamagotchi

    alex-technologia/Realistic-tamagochi

    A tamagochi but much more realistically accurate

    10 parts
  • 2 layers95.6 × 69.3 mmFallout pcb, the printed circuit board in 3D

    Fallout pcb

    Er1n-jpg/Fallout-pcb

    12 parts
  • 2 layers74.8 × 74.1 mmTamagotchi, the printed circuit board in 3D

    Tamagotchi

    hiralsinghal/Tamagotchi

    This is a Tamagotchi. It is a small handheld video game in which you have a pet. You can play with it, feed it and more depending on your firmware code.

    10 partsMIT

Questions

How big is the Tamagotchi PCB?

It measures 74.4 × 97.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Tamagotchi use?

16 parts, built around the HS96L03W2C03, TSC016A04518A, 1207-P6.5MM and TK-6580A-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 Tamagotchi KiCad files?

From the Ayush09S/Tamagotchi repository on GitHub, at the commit this page was made from: the board is KiCad_Files/Tamagotchi.kicad_pcb and its schematic KiCad_Files/Tamagotchi.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Tamagotchi design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).