Project tutorial
Tamaguino Update with Huge OLED

Tamaguino Update with Huge OLED © GPL3+

Tamaguino was one of my first Arduino projects and my first game developed to run on a microcontroller.

  • 1,902 views
  • 0 comments
  • 4 respects

Components and supplies

Apps and online services

About this project

Greetings!

Today we are going to update Tamaguino with a shiny new huge 2.7" OLED display, kindly provided by DFRobot!

As you may already know, Tamaguino was one of my first Arduino projects and my first game developed to run on a microcontroller. It is a clone of Tamagotchi virtual pet, which were very popular in the 90's, and gaining popularity in last few years too!

The first version of Tamaguino used well-known 0.96" I2C OLED that is widely available and used by many electronics hobbyists.

Tamaguino has its own website: https://alojzjakob.github.io/Tamaguino/.

There you can find detailed information and schematics, source code and related libraries, 3D printable cases and much more. It was ported to Arduboy too! ;)

Now that you know the brief history of Tamaguino, let's make it shine on this new big OLED!

Step 1: Parts Needed

To build this project on a breadboard, you will need the following:

  • Arduino UNO or similar
  • breadboard
  • jumper wires
  • 3 push buttons
  • piezo buzzer / speaker

Step 2: Wiring

Outermost OLED pins are labeled with 1 and 20, so double check if each connection is assigned to proper pin

Please follow this guide for connections:

  • OLED PIN 1 (GND) -> ARDUINO GND
  • OLED PIN 2 (VCC) -> ARDUINO 5V (should work on 3v3 too)
  • OLED PIN 4 (DC) -> ARDUINO PIN 8
  • OLED PIN 7 (SCK) -> ARDUINO PIN 13
  • OLED PIN 8 (MOSI) -> ARDUINO PIN 11
  • OLED PIN 15 (CS) -> ARDUINO PIN 10
  • OLED PIN 16 (RST) -> ARDUINO PIN 9

Buttons and buzzer / speaker:

  • BUTTON 1 -> ARDUINO PIN 5
  • BUTTON 2 -> ARDUINO PIN 6
  • BUTTON 3 -> ARDUINO PIN 7
  • BUZZER + -> ARDUINO PIN 4
  • BUZZER - -> GND

Second button pins go to GND

We dont need to use resistors for buttons, because corresponding Arduino pins used for button inputs are initialized with internal pull up resistors in the code.

Step 3: Uploading the Code

Source code can be found here: https://github.com/alojzjakob/Tamaguino

For this build you will need this specific version: https://github.com/alojzjakob/Tamaguino/tree/maste... It is a modified version of initial code to be compatible with this screen.

If you were building Tamaguino before, please note that the buttons and buzzer are mapped differently on this compared to SSD1306 (I2C) version. It had to be re-arranged so we can use SPI dedicated pins on Arduino.

You will also need this library from Adafruit for SSD1325: https://github.com/adafruit/Adafruit_SSD1325_Libra...

Now that you have everything ready, load the code and library into Arduino IDE and upload to the board.

Step 4: Overview

In the video above you can follow me step-by-step and build your own Tamaguino pet!

Code

Github
https://github.com/alojzjakob/Tamaguino
Github
https://github.com/adafruit/Adafruit_SSD1325_Library

Custom parts and enclosures

Tamaguino Website
resources for 3D printing etc

Schematics

Comments

Similar projects you might like

Arduino Pong Game - OLED Display

Project tutorial by Nick Koumaris

  • 10,012 views
  • 1 comment
  • 17 respects

Arduino Game By LCD

Project tutorial by Mohammed Magdy

  • 53,424 views
  • 52 comments
  • 170 respects

Programmable Pocket Power Supply with OLED Display

Project tutorial by Shahariar

  • 8,630 views
  • 8 comments
  • 39 respects

Ninja Dollar - LCD game

Project tutorial by anime

  • 4,724 views
  • 7 comments
  • 7 respects

Analog Clock with LED Matrix and Arduino

Project tutorial by LAGSILVA

  • 16,263 views
  • 15 comments
  • 60 respects
Add projectSign up / Login