Tamagotchi is a digital pet, living in and cared for through a key-chain size piece of hardware. The mid-90’s toy lives in pop culture, but now it lives well beyond. A limitless network of Tamagachi has been created using some amazing tricks to feed, socialize, and monitor the beast now known as the Tamagachi Singularity.
Last weekend at the Hackaday SuperConference we were graced with a talk by [Jeroen Domburg], a.k.a. [Sprite_tm]. [Sprite] is a favorite of ours and over the years his hacker cred includes everything from reverse engineering hard drive controller chips to putting video games in his keyboard.
[Sprite] is also something of an Architect, and like all Architects he only wants what is best for the system he created. In this case, it’s a Matrix of Tamagotchis. [Sprite] created a hive of Tamagotchis that are able to interact with each other in their own separate world. The best part about this Matrix? There’s no allusions to violating the laws of thermodynamics in the exposition.
Like all good hacks, a Tamagotchi Matrix wasn’t created in a vacuum. A few years ago at 29C3, [Natalie Silvanovich] dumped the ROM in the current generation of Tamagotchis. This is an incredible feat of reverse engineering, that allows anyone to use the full capabilities of the 6502-based microcontroller that controls these digital pets
After [Sprite] figured out how to read and run the code in the Tamagotchi, the next obvious step towards a world of egg-shaped pods containing an entire population of Tamagotchis is virtual Tamagotchis. [Sprite] used a hard-coded state machine that takes care of pooping, flushing, training, feeding, and turning the lights off at bedtime.
With a single Tamagotchi described as a state machine, it’s a simple matter to build another. This is where things get interesting and Matrix-ey. Tamagotchis don’t live alone; they have an IR LED and receiver that allows them to interact with each other, eat, play, marry, and have kids. Emulating a single Tamagotchi is one thing, but controlling multiples is another thing entirely; some sort of protocol was needed to breed Tamagotchis and keep them happy and well-fed.
Enter the Tamaserver, a bit of code running on a server that keeps track of a dozen or so Tamagotchis. On this server, a small population of Tamagotchis live their entire life not realizing they are just part of a gigantic computer. Here, Tamagotchis live, eat, love, and die, all without the messy violations of the laws of thermodynamics proposed in the Matrix trilogy.
So far, the Tamaserver has been home to 13 Tamagotchis for a little more than a month, playing host to seven generations of digital pets, without any intervention from the outside. Things have gotten dicey recently with twelve females and one male, forcing a slight modification to the Tamagotchi Matrix. [Sprite] has only reset the Tamaserver one time, but he’s still become very efficient at it.
The Original Tamagotchi Hardware Reimagined
Running a world of Tamagotchis in a server is a worthwhile pursuit, but since [Sprite] gave this talk at a hardware conference, this required hardware to show off. A Matrix in an old German bomb shelter / server farm simply won’t do. As such, [Sprite] created the Tamanode, a WiFi-enabled viewer for each of the cells in the hive.
[Natalie Silvanovich] did all the work a few years ago for running arbitrary code on the Tamagotchi through the small little egg add-ons that contain an EEPROM. This happens by writing code to the LCD display, then jumping the CPU to an invalid address. When the CPU encounters an invalid address, it jumps to an address space on the screen. It’s an astoundlingly clever hack, but not really useful if you don’t have the hardware to do something cool.
[Sprite] performed a little bit of surgery on his egg by adding an ESP8266 WiFi module and an EEPROM that contained all the code to connect to a WiFi network, access his hive, and scroll through each of its inhabitants. It’s disruptive Tamagotchi computing, the Internet of Digital Pets, and a cloud-powered Tamagotchi as a service.
By all accounts this is an amazing accomplishment. [Sprite] presented the talk on Saturday night, just before the presentation of the 2015 Hackaday Prize. It was the first thing anyone wanted to talk about when you ran into them on Sunday. We expect this recording will have the same effect on the much wider audience of the Internet. He is not a one-hit wonder. We religiously check [Sprite’s] website for that hit of excitement gained with every project he posts.
UPDATE: [Sprite_TM] has published full details of the hack on his website. Check it out!
45 thoughts on “Building The Infinite Matrix Of Tamagotchis”
Obviously my favorite talk, but I am pretty much a fan boy. It was awesome talking to him after as well.
Most entertaining talk of the conference by far. Thanks Jeroen.
Glad to see it posted!!
Ditto. I’m going to make my friends watch the video
This was easily in my personal top 5 talks ever. Perhaps second only to listening to Kirk McKusick talk about the twenty year history of BSD.
Are there any videos of the talk available?
It’s embedded in the article above ( https://www.youtube.com/watch?v=3_-e_cJ1-Gs )
oops, thanks. My script blocker must have blocked the video.
I started out with the video not knowing what to think, but not expecting to get more than 2 minutes in… and next thing I noticed, it was completed. What an entertaining and informative presentation! Kudos to Jeroen and HaD for putting this on; I wish I could have been there in person.
now *known* as
seriously… does anyone proof read these????
We like to give you something to complain about ;-)
I would like to suggest that you take another look: I counted at least three different ways of spelling the word Tamagotchi. :)
How about just trying proofreading or apologising rather than being an arrogant smartass?
How long until this gets turned into a neural network.
Have you watched the talk? He discussed that option, but ultimately decided against it.
no need, tama are very simple state machines, think of this as a PLC
you need NNs for complex games, like this:
Classic Nintendo Games are (Computationally) Hard http://arxiv.org/abs/1203.1895
If one of those tamagotchis turns into Keanu Reeves your going to be sorry.
You mean it’ll get its ass kicked in the virtual world, debug an issue with some of his Tamatrixgotchi system code, and then finally offer itself as tribute to form a lasting peace between humans and Tamagotchi-kind?
Ah yes – the tomorrrow we strive for every day!
The one tamagotchi will rise
This is epic!
That was entertaining. What was the music at the beginning/end?
We made a couple tracks to go with the speaker introductions for Superconference.
On a note having absolutely nothing to do with the presentation at all :) does anyone know a hack to say less ‘errm’s and ‘uuuhs’ during a talk?
I tried the following tip: try to practice pausing your talking if you run out of words, and resume once you know/remember again what to say. Not sure if it helps or how easy it is but it didn’t hurt for me as far as I can tell.
They go down with practice, the more talks you do the less umm’s and aaah’s. I say dont worry too much about it, Obama does it too.
That, uh, is a problem many people have. Great talk, you rocked the place :-)
You can try pretending you’re singing your words, instead of speaking them. It works for me sometimes, perhaps because it uses a different part of the brain. I was inspired to try this by Dilbert author Scott Adams’ recovery from losing his voice:
Mainly, don’t worry about the erms/uuhs. If worrying about it gets you nervous, they will probably increase. I didn’t watch your video yet, but everyone seems to like it.
Beyond that it depends on where the pipeline stall in your brain is. Pretending you’re singing, like [Zach A.] mentioned, worked for some. Or try a subtle vocal impersonation. Both tend to make you focus on not just what you’re saying, but cadence.
No, but fewer shouldn’t be too difficult.
Don’t worry too much, you gave a great and very entertaining speech!
With voice-to-text and a shock collar, anything is possible!
so Sprite_tm is a god now
Sprite_tm is Agent Smith; his presence ensures our continued entrapment in the actual Tamagochi Singularity that is our existence.
Yes, as the Tamagotchi hive continues to evolve, one day, silently, unknown by any of us, we will be ones who’s lives are on a Tamagotchi server…
I missed his talk as I was doing the KiCad workshop. Now I know why everyone was so excited that evening and the next day. I shared the AirBNB place with Sprite (and a couple of other awesome hackers), and the previous day he suddenly had an epiphany that all his Tamagotchi would be sleeping when it was time for him to give the talk. I guess it worked out since he skipped a live demo.
That’s some seriously awesome work.
This is friggin awesome!! How are new tamagachi created? Right now there are 13 + 4 babies. How long are they babies and do they ever get their own space?
I think a few days in general. Also, oh crap, it looks like all the babies are females…
Can the Tamagotchi botnet do bitcoin mining, control Twitter trending topics or sabotage Iranian uranium processing plants?
They can definitely do at least one of those things.
Tamaserver needs to be made open so anyone could connect his own tamagotchi emulator, scaling the hive to trillions of tamagotchis!
The hive is still live as of today!
Just wondering if the Tamagatrix is Turing-complete?
Wake up, Neo…
I came from the future!.
Also, hackaday features in the video, hackadayception.
Please be kind and respectful to help make the comments section excellent. (Comment Policy)