Arduino-Tamagotchi Project (I Am the Tamagotchi)

by Technic Joe in Circuits > Arduino

7582 Views, 46 Favorites, 0 Comments

Arduino-Tamagotchi Project (I Am the Tamagotchi)

Selfmade Arduino Tamagotchi | Technic Joe

I was bored in quarantine and decided to make an Arduino Tamagotchi. Because I hate a lot of animals I choose myself as the Tamagotchi. First I build my console on a breadboard. The wiring is very simple. There are just three buttons, a buzzer and a Nokia 5110 LCD.

Building the Project on a Breadboard

tamabreadboard.PNG
parts.jpg
DSC_0038.JPG

I choose the digital pins 2, 3, and 4 for the buttons and 5 for the
buzzer. I decided to place a 47 Ohm resistor between the speaker and the pin, because of the buzzers annoying noice.The Nokia LCD is connected to 8, 9, 10, 11 and 12. After the wiring I started programming, which was most of the work.

Programming

programmchange.PNG
dead.PNG

Programming took more than two weeks and ended up in a real mess - but it woks fine. I would recommend you to do not make a lot of changes in the programm, because it is half german half english and a bit confusing. In the first lines are the most important information, like button pins and LCD contrast. I think this is helpful. I designed all the graphics with paint and used LCDAssistant to convert the pictures into hex.

I added hunger , fun and tiredness. Half hourly there is a 75 % chance that one status drops. You can fill up the status bars via eating food, playing games or going to bed.

I added a rar file (Tama2.rar) and two separate files (Graphic.c & Tama2.ino). You can choose between one of these options. :)

Designing a Circuit Board

unnamed(2).png
soldering.PNG

After I finished programming I designed a circuit board with Eagle. Because of its small size I choosed an Arduino Mini as the Brain of my game console. The boards size is only 93,4mm x 49,25mm (3,67 x 1,94 inch). I used the service of JLCPCB for my circuit boards. The Arduino Minis lower clock rate (8 MHz) made the games very easy and slow, so I adjusted the speed. Also I changed the buzzer to a smaller one.

Adding a Battery

DSC_0044.JPG

To make the Tamagotchi handheld I used an old battery and a charging module. The battery is from a mobile phone and provides energie for more than three days. The charging module is the 18650 USB Lithium Battery Charging Board. It can charge the battery in a few hours.

Designing and Printing a Case

DSC_0047.JPG
DSC_0049.JPG

Finally I used a 3D-Printer to build a case for my Tamagotchi. I designed all the CAD-Files in Thinkercad and after a few failed prints I got a good and solid case. I screw everything together and the project was finished.

That's my project. If you have any questions just write a comment down below. :)