DIY-Gamer Kit

DIY-Gamer Kit

Updated 2015-11-29: Gamer libraries were updated to allow infrared communication, to allow different buzzer tones, and to include my text scrolling and score display routines. These pages were updated to reflect these changes.

I bought a DIY-Gamer Kit at the Science Museum in London. It is a neat electronics project created by Technology Will Save Us. The core is an Arduino Uno, and the rest is a circuit board onto which you solder various components supplied in the kit (though pre-built kits can be bought too). The finished product is a simple hand-held games computer, which you can then program yourself.

The kit

The kit comes in a neat cardboard box, with all the components in clearly marked zip bags. There is no printed manual - you have to download it yourself. The manual is very clear, and goes through the construction in great detail. Soldering the kit is not terribly difficult, as all the most heat-sensitive components are placed in sockets rather than soldered directly. The hardest parts to solder for me were the battery connectors. They are large, and don't fit the PCB holes very well. This makes it difficult to get the parts hot enough for the solder to spread properly. These connectors take some physical abuse when you remove the battery (which you have to do whenever you want to access the USB port for programming) so it is important for them to be securely attached.

The Arduino Uno that is supplied with the kit comes with a Snake game pre-installed. This is why the packaging of the kit's Arduino has already been opened. The finished Gamer just fits back into the box for safekeeping.

The DIY-Gamer has the following features:

The Arduino itself has an USB port which in the DIY-Gamer is hidden behind the 9V battery. The port can therefore only be used after the battery is removed. When you connect it to a PC, it can draw enough power that the battery is unnecessary. Note that the On/Off switch then no longer works, as it only affects the battery circuit.

Programming

To program the DIY-Gamer, you need to install the Arduino IDE, and then add the Gamer Library. You used to have to download and install that yourself, but now the Gamer and GamerIR libraries can be installed from within the IDE through its library manager. The latest release of the Gamer Library can be found on GitHub.

I have made an overview of the various commands that the Gamer library supplies, as well as a quick overview of the Arduino's own commands. You can find this on a separate page: DIY-Gamer Programming Overview

Software

I have written several games and programs for the DIY-Gamer. These included a scrolling text routine and a routine for displaying a 2-digit score. Those two routines have been incorporated into the Gamer library itself so they are no longer available here.

Games

Lights Out
The classic Lights Out game, but played on the 8×8 grid. This game has a level selection screen.
Maze
This game puts you in a large randomly generated maze, where you have to travel from the top-left to the bottom-right corner. The maze scrolls as you go through it so you only see a small area at any one time.
Nim 2D
A two-dimensional variant of the Nim game played against the computer. A 4×4 grid of pieces is shown, and you take turns removing a 1×n or n×1 rectangle of pieces, where n can be 1, 2, 3, or 4. Take the last piece to win.
Snake 2
An improved version of the supplied Snake game. The main improvements were in the scrolling text and score display.
TicTacToe 2
Tic-Tac-Toe played against the computer.

Other

Light Meter
Simple numerical light meter. It simply displays the readings from the light sensor on a scale from 0 to 99 in large numbers on the display.

© Copyright 2015-2016 Jaap Scherphuis, .

Back to Home Page