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

MAJIGOTCHA is a handheld digital pet, proper care determines its growth while neglect can cause it to die.
Majigotcha is an open-source printed circuit board by cybloxyz, from the cybloxyz/majigotcha repository on GitHub. It is a 2-layer board of 42.8 × 39.6 mm with 12 parts on 23 nets, routed with 154 tracks and 7 vias.
It is built around the 1207-P6.5MM. Its parts include 3 ICs, 3 switches and 1 capacitor. It belongs with the ESP32 and SAM D and SAM boards of this library.
MAJIGOTCHA is a handheld digital pet in a small, bear head-shaped device. Users nurture a virtual creature from hatching through different life stages by feeding, cleaning, and playing with it using three buttons. Proper care determines its growth, while neglect can cause it to die.

can't afford the real tamagotchi? yeah that is why i build my own, it is not tamagotchi it is MAJIGOTCHA, it has my dream features such fingerprint and touch sensor, i make this because my sister is really dream to have a tamagotchi but since it is too expensive to buy i prefer make this by my self, since i want something more than just a tamagotchi.
this is the first version of MAJIGOTCHA! it has really great features lemme break down:
touch sensor, this mean you could pat your pet! tame it!
fingerprint sensor, make it only yours..it will recognizes your fingerprint and can only be tamed with you.
potentiometer scroll, since this MAJIGOTCHA has more complex features, the screen-menu could be navigate by potentiometer and button.
in future i will upgrade this MAJIGOTCHA firmware to OTA and various casing.
i made the case using onshape and here is the document link MAJIGOTCHA-case
i am using RV09 vertical potentiometer so it will be solderen onPCB and for things such OLED, TTP223, HLK-ZW101 i use pinHeader 2.54 instead
in this schema i'm using global labels since it is easier to understand and to read, for the PCB it is 2 layer, and contain vias, the pcb's size is not more than 50mmx50mm which it resulting in cheaper price.

this MAJIGOTCHA is similar to tamagotchi BUT it is has more unique features, in here every stats even tame, inTamingProgress or notTame is has it own sprite, here is the bitmaps example:
const unsigned char PROGMEM notTame[] = {
0b00000000, 0b00000000,
0b00000000, 0b00000000,
0b00001100, 0b01100000,
0b00010011, 0b10010000,
0b00010000, 0b00010000,
0b00100100, 0b01001000,
0b00010010, 0b10010000,
0b00010000, 0b00010000,
0b00001000, 0b00100000,
0b00000111, 0b11000000,
0b00001000, 0b00100000,
0b00010100, 0b01010000,
0b00010010, 0b10010000,
0b00001100, 0b01100000,
0b00010011, 0b10010000,
0b00001100, 0b01100000
};in notTame stat it means you rarely identify your fingerprint and interact with him, remember it is only you and some of your friends fingerprint! other than that he will very very badMood!
const unsigned char PROGMEM curious[] = {
0b00000000, 0b00000000,
0b00000000, 0b00000000,
0b00001100, 0b01100000,
0b00010011, 0b10010000,
0b00010000, 0b00010000,
0b00001010, 0b10100000,
0b00010010, 0b10010000,
0b00010000, 0b00010000,
0b00001000, 0b00100000,
0b00000111, 0b11000000,
0b00001000, 0b00100000,
0b00010100, 0b01010000,
0b00010010, 0b10010000,
0b00001100, 0b01100000,
0b00010011, 0b10010000,
0b00001100, 0b01100000
};curious stat is when his tame progress is around 50 like more than 30 but less than 50, he starts curious with you! keep interact with him until he is happy!
const unsigned char PROGMEM happy[] = {
0b00000000, 0b00000000,
0b00000000, 0b00000000,
0b00001100, 0b01100000,
0b00010011, 0b10010000,
0b00010000, 0b00010000,
0b00001010, 0b10100000,
0b00010001, 0b00010000,
0b00010000, 0b00010000,
0b00001000, 0b00100000,
0b00000111, 0b11000000,
0b00001000, 0b00100000,
0b00010100, 0b01010000,
0b00010010, 0b10010000,
0b00001100, 0b01100000,
0b00010011, 0b10010000,
0b00001100, 0b01100000
};if you reached happy! it means he likes you so much and he is happy to be with you! keep it like this and you both will be good friends!
| no | name | qty | price in idr |
|---|---|---|---|
| 1 | seeeduino xiao esp32-c6 | 1 | 125000 |
| 2 | OLED 1.3inch 4 pin | 1 | 60000 |
| 3 | LiPo battery 1000mAh 3.7V | 1 | 70000 |
| 4 | SW Push Tactile button | 3 | 12000 |
| 5 | RV09 20k Potentiometer | 1 | 8000 |
| 6 | TP223 capacitive touch sensor | 1 | 2000 |
| 7 | HLK-ZW101 capacitive fingerprint | 1 | 120000 |
| 8 | 2.54 pin header | 40 | 10000 |
| 9 | female to female cable | 40 | 10000 |
| 10 | passive piezoelectric buzzer | 1 | 2000 |
| 11 | female pin header (pin socket) | 20 | 10000 |
| 12 | connector XH2P housing | 20 | 10000 |
| 13 | jlcpcb | 5 | 65000 |
| 14 | case | 1 | 40000 |
| total | Rp.544.000 |
| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | SW_Push | Button_Switch_THT:SW_PUSH_6mm_H5mm | SW1, SW2, SW3 |
| 1 | 100nF | Capacitor_SMD:C_0201_0603Metric_Pad0.64x0.40mm_HandSolder | C1 |
| 1 | 1207-P6.5MM | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | BUZZER1 |
| 1 | Battery | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | BT1 |
| 1 | LOGO | fpsc:css | G*** |
| 1 | OLED_128X64_1.3_I2C | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | DS1 |
| 1 | R_Potentiometer | Potentiometer_THT:Potentiometer_Alpha_RD901F-40-00D_Single_Vertical | RV1 |
| 1 | TOUCH CAPACITIVE | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | U4 |
| 1 | TPP233-capacitive | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | U3 |
| 1 | XIAO-ESP32-S3-SMD | Seeed Studio XIAO Series Library:XIAO-ESP32C6-SMD | U5 |

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



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

alex-technologia/Realistic-tamagochi
A tamagochi but much more realistically accurate

Ayush09S/Tamagotchi
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!


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.
It measures 42.8 × 39.6 mm and has 2 copper layers, 1.6 mm thick.
12 parts, built around the 1207-P6.5MM. 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.
From the cybloxyz/majigotcha repository on GitHub, at the commit this page was made from: the board is pcb/majigotcha.kicad_pcb and its schematic pcb/majigotcha.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask cybloxyz before reusing the design.