DIY Game & Watch

41K30938

Intro: DIY Game & Watch

Back in the 80s when I was a kid, My parents bought me a Game and Watch game called Vermin. It was actually a TimeOut Exterminator. It was a really simple game with just left and right controls and the idea was to hit moles that were emerging from the ground. The screen consisted of pre drawn monochrome lcd images that were turned on and off when they were needed to be displayed. I loved that game and played it for many years. My parents still had it many years later and I ended up selling it on eBay and got quite a lot for it.
A few months back I was listening to one of my favourite podcasts "Retro Gaming Roundup" which featured the Top 10 Game & Watch games. This re-ignited my interest for the Game & Watch series and so I decided to build one of my own only mine would feature a graphic LCD and allow me to emulate multiple Game & Watch games and even write new ones. Source code and Schematics can be found in the final step.

STEP 1: Parts

PIC18F4550 USB demo board (eBay)
http://www.tiertex.com/index.php?route=product/product&product_id=51
This is a useful little board that allows you to upload HEX files via the USB interface and basic front end software running on windows or Linux.

Nokia 5110 LCD display (eBay)

Small Lion battery (eBay)

Lion battery charger (eBay)

Old handheld game (eBay)

STEP 2: Initial Testing

Link up the lcd to the board and write simple test code. Start with characters display followed by large graphics.
Code was written in C using MPLAB and uploaded using the HID bootloader software.
The 18F4550 on the board came preloaded with the microchip bootloader code so no special debugging or programming kit was needed, just a mini USB cable.

STEP 3: Handheld Case

Hack up a case ready to fit the electronics.

STEP 4: Fit Electronics

Fit all the electronics.

STEP 5: Re Spray Case

Re spray case.
Use transfers for the lettering.
Use clear lacquer to protect transfers.

STEP 6: Complete and Test

My Game and Watch also had a backlight feature.
I hope to add more games in the future. I fancy doing a Game & Watch version of a modern game. A quick way would be to keep the game play the same by using exactly the same code and just change the graphics.

STEP 7: Schematics and Source Code

Slightly dodgy Schematics I'm afraid.

Source Code

My ultimate aim with the software was to select a game at startup by pressing the left and right buttons and scrolling through the game reset screens until the desired game is found and then pressing Game A or Game B to start the game. It would be great to build up a collection of games if someone else could contribute.

37 Comments

FANTASTIC Project!!!
Please let me know! Is possible you do a device like this to run all G&W games??? It would be AMAZE!!!!!!!!! Thanks friend!
Hi, that was the plan. To slowly add all the games and create new ones.

which compiler are you using? your main file includes a spi header. could you send that to me? Thanks

Hi, I used the latest version Microchip MPLAB before it became MPLABX. Yes, you are quite right I didn't include the SPI files. I will have a look later when I get home, maybe they were library functions supplied with MPLAB.

i managed to code something similar up from scratch, but this is a very cool project! Ill be working on making a couple games like this. Thanks again for the diy files

if you were going mass market, then you would be better off building a custom circuit board and case. I would checkout arduboy www.arduboy.com as its kind of already done for you and it's open source.

So I have thought that I make this sort of handheld game and sell it like Game & Watch. So you recommend using arduino? Is it adequate for mass production? I think to make 10~30 pieces for test market.

and how to use source code? how to input to board?

Thanks for you interest. The demo board I used does not seem to be available any more, but it was just an 18f4550 on a pcb ready built. A similar part you can use is based on the 18f2550 have a search on ebay for "pic18f2550 proto" or "startusb" and compile the code using Microchips MPLAB software which is free to download. You might have to re-program parts of it to work with the new hardware. You do have to know what you are doing to get this to work, don't expect to be able to just copy everything and it will just work. I'm hoping you have some sort of electronic engineering experience.

You could also do this on an Arduino and "Arduino nanos" are plentiful on ebay, but you will have to re-write the code for the hardware which shouldn't be a problem if you know what you are doing. The Arduino compiler seems to have all the hard stuff taken care of so you might find this easier. My background is PIC and so I haven't done any Arduino projects, but I have been using one more lately and development hardware does seem to be more plentiful. Maybe its time for me to make the switch.

I drew the graphics in MS paint, saved as bitmaps and converted to data using lcd-image-converter. Google it.

The case is just something you have to wait for to turn up. I have an old Mikey Mouse Game & Watch with a smashed screen I bought from ebay, but paid almost £20 for it. I have a colour screen to put into this one and was thinking of using a PIC32 board for that, but maybe I should switch to arduino - If I ever get round to it.

:-)

Cheers,

Andrew

and <old handheld game>? I can't find adequate case.

hi, I am interested. But I want to more for get parts.

First, < PIC18F4550 USB demo board > I can't find it same with yours at ebay. Can you give specific ebay or other's link to buy?

And how it is possible to display graphic like game & watch? how to draw? are there tool for this work? (include coding, it seems it require graphic drawing too)

Thanks.

Awesome project - Well done :-)

very cool- love it!

I am curious though as to what paint you used to spray the case to give it that metallic look.....i see with the texture of it, prob spray painted silver and rubbed black in or something? I'm looking to produce a similar effect on a different project, if i ever get to it....

I experimented with 2 different cans of silver paint, Hammerite smooth silver and plasti-kote brilliant metalic silver. Both of which didn't really give the result I wanted, so I used a pcb cleaning tool (tiny fibreglass brush) to brush the surface in an attempt to give it a better look. I wasn't what I wanted, but I needed to finish the project. The lettreset I used was also rather larger than what I wanted at 3mm but it's all i could get.

many thanks! will try and experiment a bit anyway....

as for decals, if you got an inkjet printer it is possible to make your own, sure they available for lasers to.....not too expensive, but you will also need a can of spray to fix them b4 you water slide them....
Nice little compact project, but you might want to explore making a custom case from scratch ( wood, plastic/resin//? Mold, 3d print?) or a nicer paint finish. It feels a bit rough as is. You could have masked off the edges and just done the center part/screen frame in silver.

Hi, I was trying to get the brushed metal effect finish like the original Game & Watch and buying an old game and re-spraying it would get me the quickest result. I don't have a 3D printer yet. I'm more into the electronics anyway. I might actually rub the paint off the frame bit so it is back to black, but leave the rest silver.

Art stencil to do prettier would be cool too.
Oh and do you have a link to the battery and charger?

I used this battery charger (this one also comes with a battery)

http://www.ebay.co.uk/itm/Mini-USB-LiR2450-CR2450-Li-ion-Rechargeable-Coin-Cell-Battery-Charger-UK-STOCK-/400858798642?

More Comments