A tamagotchi-like toy with an OLED display and Li-Ion battery.

Similar projects worth following
This is just a little tamagotchi-like toy I'm working on for my wife. I used to think that this is how a modern Tamagotchi could look like.

Xling can be powered by an external USB cable or by a single cell Li-Ion battery (which can be charged using USB).

Please, note that this is an ongoing project. Its hardware part is almost finished only. The only concern of mine is ATmega328P. I'd like to replace it with ATmega1284P which has 128 KiB of flash memory.

If you want to build Xling yourself, you'll find all of the required files here below.

  • Xling v0.3 - an artistic PCB, ATmega1284P and white OLED with SPI

    dsl10/05/2019 at 18:45 2 comments

    The whole summer has passed and I've finally finished the next version of the toy according to my plan. There are several significant changes which you've probably noticed:

    The first one doesn't carry any technical function, but provides a unique look and feel of the PCB (many thanks to SierraSaura for this picture).

    The second change is a new ATmega1284P MCU which replaces the previous ATmega328P one.

    It is the most important improvement over the previous versions because of the 32 KiB -> 128 KiB flash memory (the only memory on the board to carry a lot of the graphic sprites, for example). An amount of RAM has also been increased from 2 KiB on ATmega328P to 16 KiB on ATmega1284P.

    The third change is almost the same OLED display which color is white now instead of the yellow on the previous prototypes and connected using SPI.

    All of the previous displays with SH1106 controller were connected via two-wire interface (TWI, another name for I2C) which is relatively slow comparing to the SPI.

    However, a driver for the SH1106-based displays I'm working on doesn't support SPI yet. This is the next step on my way and this new Xling v0.3 will help me testing it.

    Anyway, if you have any questions and ideas on your mind, feel free to tell me then.

    Have a good time!

  • Actual size (height)

    dsl05/24/2019 at 18:45 0 comments

  • Actual size (width)

    dsl05/24/2019 at 18:38 0 comments

View all 3 project logs

Enjoy this project?



Jacob MacLeod wrote 10/13/2019 at 20:55 point

Nice project!

  Are you sure? yes | no

dsl wrote 10/14/2019 at 06:00 point

Thanks :)

  Are you sure? yes | no

Tom Nardi wrote 10/11/2019 at 03:07 point

Love the Disenchantment reference, very impressive project.

  Are you sure? yes | no

dsl wrote 10/11/2019 at 07:53 point

Ah, you've noticed it! Thanks :)

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates