Jan
13
Tamago Figure Pins
Now that we’ve figured out how the jumpers work, let’s try to figure out what the pins do. To start, let’s give them numbers.

<
p>
Pins 1, 4 and 8 are the pins that are used for jumpering (see last post).
Using an oscilloscope, no signals appear on pins 4 and 8, but spikes 30 ms apart appear on 1. Perhaps this is use to signal the Tamago that a figure has been attached.

Nothing seems to be happening on pin 2, but the figure doesn’t work if it’s covered. I’m going to guess that it’s power or ground.
Pin 3 gives some rather glitchy square waves. Alex W suggested that figures might use I2C (I’m assuming they have a mask ROM inside), so this might be the data line of I2C.

Pin 5 has no signal, and the figure is not detected at all if it’s covered. It might be power or ground as well.
Pin 6 has some very clean square waves. The waves are 300 us wide. It is by far the cleanest signal. This could also potentially be data (the waves aren’t uniform).

Pin 7 contains noisy square waves like 3.

It also outputs an odd waveform when not in use.

So it looks like three pins have square waves on them, so there are three possible lines for I2C (and one would be an echo), or perhaps the ROM responds to something altogether different. Regardless, the frequency looks like it’s about 3.33 kHz.
Next time, I’ll hook it up to an arduino, and try to decode the signals better.
| Attachment | Size |
|---|---|
| pin.png | 411.82 KB |
| pin1.png | 484.86 KB |
| pin3.png | 428.17 KB |
| pin5.jpg | 27.05 KB |
| pin7.png | 512.2 KB |
| pin72.png | 24.34 KB |









Good idea, it was hard to get the scope to take measurements at all, so maybe the scale was way off. Also, I was just tucking the wires under the pins (soldering irons have already claimed the life of one Tamago :’( ), so noise is a very real possibility, especially on pins 1-4, because those pins are harder to access.
Pin 3 could totally be audio, we noticed that when the Tamago was beeping, the other signals were distorted, so maybe it was the result of crosstalk. I have several extra Tamagotchi noise-makers that have become detached in various accidents, so I might try driving one with this signal.
Haven’t been able to trace the power and ground to the figure contacts, unfortunately.
Would totally be intersted in trying on a logic analyser
Hi Nat,
Can you zoom in on the Pin 7 trace? Increase your sweep frequency and trigger as soon as it goes high. I would try the same for Pin 3. When I see whacky burst traces like that it’s often because I’m sampling too slow (below Nyquist i.e. < twice interesting-signal-freq) which leads to aliasing and a misleading or malformed trace. The odd-waveform on Pin 3 at 3+kHz is in the audible spectrum, so maybe this tamago is “talking” to you. You could hook that signal up capacitively-coupled through a pre-amp to a speaker to hear what it sounds like. Also consider the whackiness may be caused by your observation, i.e. the load of the scope probe. Ensure it is set to 10x impedance.
Pin 6 definitely looks like data.
Did you identify power and ground from your previous teardown?
Since all these signals appear to be 0-3V we could put all the lines on my Saleae Logic analyzer and capture them all simultaneously. Let me know if you interested.
Great work!
DW