Arduino-Tamagotchi Project (I Am the Tamagotchi)

2,775

36

14

Introduction: Arduino-Tamagotchi Project (I Am the Tamagotchi)

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.

Step 1: Building the Project on a Breadboard

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.

Step 2: Programming

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. :)

Step 3: Designing a Circuit Board

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.

Step 4: Adding a Battery

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.

Step 5: Designing and Printing a Case

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. :)

Be the First to Share

    Recommendations

    • Fandom Contest

      Fandom Contest
    • Make it Fly Challenge

      Make it Fly Challenge
    • Summer Fun: Student Design Challenge

      Summer Fun: Student Design Challenge

    14 Comments

    0
    Yusuf_Akyl26
    Yusuf_Akyl26

    Question 3 months ago

    Can you send me the software by mail

    0
    martijnv41
    martijnv41

    9 months ago

    which resistors did you use, fot the push buttons ? seems to be colourscheme brown black black red ( 10 kohms ) in the fritzing picture ?

    0
    martijnv41
    martijnv41

    Reply 9 months ago

    code absolutly does not work and comes back with lot of error messages

    0
    Technic Joe
    Technic Joe

    Reply 9 months ago

    Hmm, could you specify the error messages? Thanks :)

    0
    martijnv41
    martijnv41

    Reply 9 months ago

    i sent you a personal message with the error codes

    0
    martijnv41
    martijnv41

    Reply 9 months ago

    i think it might have something to do with the grapics.c file ......

    0
    Technic Joe
    Technic Joe

    Reply 9 months ago

    Yes I used a 10 kohm resistor

    0
    sanjayb48
    sanjayb48

    1 year ago

    Very creative!

    0
    rpitechguy
    rpitechguy

    Tip 1 year ago

    This is a useless suggestion...

    You said it was hard to read the code


    • _._ _..._ .-', _.._(`))

    • '-. ` ' /-._.-' ',/

    • ) \ '.

    • / _ _ | \

    • | a a / |

    • \ .-. ;

    • '-('' ).-' ,' ;

    • '-; | .'

    • \ \ /

    • | 7 .__ _.-\ \

    • | | | ``/ /` /

    • /,_| | /,_/ /

    • /,_/ '`-'

    Copy paste this in!

    (comment out)

    It's a little piggy!

    Lol.
    jk.

    Nice project I'm going to make it soon!

    Also, do you have the .ino file? I can't access .rar files...
    0
    rpitechguy
    rpitechguy

    Reply 1 year ago

    I don't have some of the stuff so I'm making a shield for it, for extra durability...

    0
    Technic Joe
    Technic Joe

    Reply 1 year ago

    Hey, the problem is, that I can't upload ino files. But I could send you the file via email. You can send me a private massage, if you want :)

    0
    rpitechguy
    rpitechguy

    Reply 1 year ago

    Ok, thanks! I'll send you a message! Thanks!

    0
    jessyratfink
    jessyratfink

    1 year ago

    Ha! This is great :D

    0
    Technic Joe
    Technic Joe

    Reply 1 year ago

    Thanks a lot :)