RBEGamer / TamagotchiESP32

Tamagotchi emulator for ESP32

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ArduinoGotchi - A real Tamagotchi emulator for ESP32

Synopsis

ArduinoGotchi is a real Tamagotchi P1 emulator running in Arduino UNO hardware. The emulation core is based on TamaLib with intensive optimization to make it fit into UNO's hardware that only comes with 32K Flash 2K RAM.

Tamagotchi P1 Actual Devices

Improvements

The repo adds a few improvements over the original repo anabolyc/Tamagotchi:

  • added ESP32 platform
  • added experimental deepsleep feature for ESP32 and ESP8266
  • flexible button configuration

Build

Firmware

First, install Visual Code and the PlatformIO plugin. Open the firmware/Tamagotchi32 folder as Workspace-Folder

Open the Platformio by clicking on the Icon on the left sidebar. Select your desired plattform:

  • nanoatmega328
  • esp8266
  • esp32

and use the build task to build for the selected platform. Next run Upload or Upload and Monitor to upload the firmware to the connected board.

Circuit Diagram

Circuit Diagram

NOTE

The firmware supports the ESP8266 platform too, please connect the RST and D0 pin to enable the deepsleep feature.

Case

The case can be found here CASE A additional case spacer can be found in the hardware/stl folder

Example build

For the example build the following parts were used:

  • ESP32 Devboard
  • 0.96" OLED Display
  • 3x buttons
  • 3x 10k pull-down resistors
  • 1s USB-C lipo charging board
  • 1s 3.7v 220mAh LIPO
  • StepUp converter

opened case

Game notes

  • To activate your pet, you have to configure the clock by pressing the middle button. Otherwise, your pet will not alive.
  • A long click on "middle" button for 5 seconds, will reset memory back to egg state
  • A long click on "left" button for 5 seconds, will enter the deepsleep mode for 10 minutes

License

The base project ArduinoGotchi is distributed under the GPLv2 license. See the LICENSE file for more information.

About

Tamagotchi emulator for ESP32

License:GNU General Public License v2.0


Languages

Language:C 90.3%Language:C++ 9.7%