Attiny85 Game Kit Assembly Instructions

IMG_0165BI have updated the Attiny85 keychain game making it easier to source and assemble.

IMG_0193b The new snap case has been updated to allow enough height for the screen header as well as a factory made CR2032 battery holder.

The buttons have been concealed to prevent spontaneous button presses inside bags and pockets.

Below is a photo of the parts used in the new version of the game.


Title Quantity
1. 3D Printed Snap Case 1
2. Printed Circuit Board
download printable pdf
3. SSD1306 OLED Screen 1
4. 4 pin 2.54 female header 1
5. CR2032 Battery 1
6. CR2032 Battery Holder 1
7. Pulldown resistor 2
8. Pushbutton 2
9. Attiny85 1
10. DIP8 socket 1
11. Piezo speaker 1
 12.  10uf capacitor (used with arduino when programming Attiny85)




Soldered component placement (piezo is connected to B (black) and R(red) pads on the reverse of the board):

Here is a video of the assembly process:

UPDATE: New assembly video using the latest revision board.

DIY pcb assembly video:

Please note that if you are sourcing the parts yourself, you will need to program the Attiny85 with the 8 mhz internal clock bootloader and then the game sketch before it will work.

You can download and print the case through 3D Hubs, Shapeways or Sculpteo.

A great guide on programming the Attiny85 with Arduino IDE can be found on the high-low tech group’s website:

To flash the Attiny85 you will need the updated game code: attiny_ufo_sckscl_swapped.txt
as well as the screen library from the tinusaur project: (put the files into the Arduino Libraries Folder), unless of course you want to write your own game for the device in which case I would love to see what you create!


I’ve been working on ready-to-assemble kits which are currently very limited. Some will be available at the Bits and Bytes show in Margate on the 20th of February 2016.

Attiny85 UFO Escape Keychain Game

UPDATE: assembly instructions

I finally had some free time to make something fun and decided to write a new game for the Attiny85 ssd1306 keychain.  I reused the sleep, display and interrupts code from the “Breakout” game I created a while ago.

This time I wanted a more addictive game. The game had to be playable using just the two buttons. I thought a racing game might be a good choice but the landscape screen is more suitable for a side-scroller. So I settled for an obstacle avoiding side scroller. Similar games include the recent Flappy Bird, Nyan Cat and many variations of the Helicopter game.

The flying saucer is propelled with the left button while the right button is used to shoot through force fields. The game gets harder as you play:

Continue reading Attiny85 UFO Escape Keychain Game

Blue Screen of Death Caused by Wacom Driver

So if you get a blue screen of death when using a Wacom Intuos Pro tablet on your desktop, the Wacom driver may be to blame. The error message reads DRIVER_POWER_STATE_FAILURE 0x0000009f

In my case the issue was preceeded by the tablet switching off when I plugged the usb cable in.

To fix the issue, unistall the Wacom tablet in Control Panel > Applications and Features, then restart and reinstall. The issue should go away.

Virtual Tour Online Embedder

There are plenty of ways to use your equirectangular panoramas online. The main downside of the programs offering this functionality is the fiddly time consuming process you have to go through to publish the panoramas online, whether they have been saved as an .swf or as an html package. If you want compatibility you’d go with html and get a folder with half a dozen files that you have to upload to the website. If you want use these in a blog post then you would have to use ftp to upload the files. I wanted a simple to use tool that would take care of the embedding the panoramas and minimise the work involved. Here is how it goes: Continue reading Virtual Tour Online Embedder

Hover compatibility of dropdown menus on touch devices.

I’ve seen different attempts to make the dropdown menus work intuitively on touch devices and while some are trying to utilise the double tap (not the best as this triggers zoom) and various jquery contraptions, all you need is for the top level link to ignore the first tap and let the user see the dropdown.

This can be done by placing a bit of javascript into the onclick property of the anchor tag that prevents location change and self destructs so the link becomes clickable on the second interaction:

<a onclick="if ('ontouchstart' in document.documentElement){this.onclick=''; return false;}" href="/news/">News</a>

Attiny85 Breakout Keychain Game

attiny So, what can you do with Attiny’s 5 i/o pins?

UPDATE: New game, “UFO Escape” side scroller


I saw this great Attiny OLED project on and decided to try out the screen (It will be very handy as a mode display for a remote for my project)

So I set out to make myself familiar with the screen and make something fun in the process. I made a remix of the classic breakout game, here is a video of the gameplay:

Continue reading Attiny85 Breakout Keychain Game