Tag Archives: Board game

Video: Atmel’s ATtiny2313 gives this game a voice (Jeu de l’oie)

A Maker named “Makapuf” recently built an electronic board game with digital audio for his kids. According to the folks at Hack A Day, the game is based on the classic Game of the Goose (“Jeu de l’oie”), albeit with a modern “talking” twist.

The game is powered by Atmel’s ATtiny2313 and AT45D 4 Megabit Flash. The latter component is tasked with providing storage for 8 bit/8khz audio.

“The electronic portion of the game has a few functions. The first is calling out numbers, which is done by playing recordings of [Makapuf] reading, ‘one’, ‘two’, ‘three’, … ‘twelve’, ‘thir-’, ‘teen’ and so on,” the Hack A Day crew explained in a recent blog post.

“This data is pumped out over a pin on the ATtiny through a small amplifier and into a speaker. After that, the code is a simple matter of keeping track of where the players are on the board, keeping score, and generating randomish numbers.”

Makapuf says he spent under $4 in parts, making the above-mentioned project even more impressive.

As previously discussed on Bits & Pieces, the high-performance, low-power Atmel 8-bit AVR RISC-based ATtiny2313 microcontroller features 2KB ISP flash memory, 128B ISP EEPROM, 128B internal SRAM, universal serial interface (USI), full duplex UART and debugWIRE for on-chip debugging.

The MCU supports a throughput of 20 MIPS at 20 MHz, operating between 2.7-5.5 volts. By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching 1 MIPS per MHz – neatly balancing power consumption and processing speed.