Pocket Chess

990102

Intro: Pocket Chess

It's chess! In your pocket.

This project aims to create a small device that can run small games like snake, pac-man, tetris and even chess.

STEP 1: Circuit

So the circuit is simple, only there are a lot of wires to be connected.

While soldering on the pcb it's important to be careful not to drip the solder on the other side of the board since there will be components there.

You can find the circuit schematic above.

STEP 2: Software

To upload software to an arduino pro mini, you need to use a programmer. There many instructables on how to do this so i won't explain it in this one. Here is a link to one of them.

If you don't have a programmer you can even use another arduino to program it. Here's the link to that.

So the chess code is the u8glib's chess example sketch. It works really well and supports multiple oled screens with different drivers. To upload it first you need to download the library. Then you need to add it to your arduino libraries folder. After that you can download the attached code and upload it to your arduino. (I am attaching my own code because i changed some small stuff for the buttons to work with analog pins and etc.)

STEP 3: The Case

After soldering everything and uploading the code, i designed and 3D printed a case to put it into. I printed one piece out of black and the other out of gray PLA. A cool thing about this case is that it's snap-fit. So it can easily be removed if needed.

STEP 4: The End

So now you can do anything with it. My main approach to this project was to be able to carry a device to play chess anywhere. But sketches of games like snake, pac-man or tetris can be found on the internet. Since this thing has 4 buttons it will be enough to play these games.

Leave down any questions or suggestions.

Comments

I think there is an error in the schematic, can you fix it?