Portable Led Game System

by brunoip in Living > Video Games

40337 Views, 183 Favorites, 0 Comments

Portable Led Game System

SAM_0492.JPG
SAM_0467.JPG
SAM_0465.JPG
SAM_0462.JPG
SAM_0483.JPG
SAM_0484.JPG

This is a really easy to do video game system with a LED screen.
I made it trying to keep it as tiny and cheap as possible.
It uses only one IC, a PIC16F628A and 9 bipolar transistors, has 4 buttons for control and a swich for turning it off.
It also has a tiny speaker for making some sounds.
The power is given by four ni-mh batteries, and the consume is so reduced and you will keep them charged for a long time.

Games: So far I have only programed three games but I gonna do more in the near future (see steps 9,10,11 and 12  for more info about the games).

I hope you like this instructable and make your own portable game system.

Ps: I am from Argentina so let me know for any grammar mistake.

...

...

Stuff You Need

SAM_0510.JPG
SAM_0501.JPG
SAM_0507.JPG
led schematics.png
led.PNG

It just use some electronic components, most of are them recycled.

Transistors: Use 9 transistors BC548 or similar.
Even 2N3904 can be used but their terminals are opposite, very careful when soldering if you choose these ones.

LEDs: they are at the forefront of this project. Only the four lower LEDs are RGB, the rest are common red LEDs.
If the light is different from the LEDs you can diffuse then using a sandpaper.

Switches: try to get good quality switches. I used switches from a monitor for the shoulder buttons and I bought the front ones.

Resistors:
9 - 1k ohm
4 - 220 ohm
4 - 10k ohm
1 - 560 ohm

Capacitors:
1 - 100 uf
1 - 100 nf

Microcontroler: PIC 16F628A

Misc: An on/off switch, a piece of plastic, 8 screws, 8 spacers, 1 piezo transducer (the little speaker that looks like a coin).

Making the Control Board

DSC01504.JPG
DSC01513.JPG
DSC01522.JPG
DSC01538.JPG
DSC01565.JPG
DSC01579.JPG
DSC01588.JPG
DSC01590.JPG
DSC01591.JPG
DSC01593.JPG
DSC01594.JPG
DSC01595.JPG
DSC01596.JPG
control componentes.PNG

To make the control board I used the method of the ironing.
The tracks are thick enough to not have any problem and allow you to use any glossy paper.
The last image will help you locate the components.
Pdf file is ready for printing (don't use the fit to paper option).

Downloads

Screen Board

SAM_0406.JPG
SAM_0410.JPG
SAM_0411.JPG
SAM_0412.JPG

The screen board is made in the same way as control board.
Be careful when soldering the bridges linking the columns do not touch the tracks of the rows.
Do not drill the six holes for the columns.

Downloads

Wiring the Boards Together

pantalla letras.PNG
letras pantalla.png
SAM_0472.JPG
SAM_0470.JPG
SAM_0471.JPG
SAM_0474.JPG

This is the most boring part of the construction process.
Use wires of about 10 centimeters long, if you use shorter wires the second part will be harder, if your wires are too long they won't fit between the two boards.
Follow the guidance of the first two images and you'll be fine.

Connect the Speaker

SAM_0478.JPG
speaker connection.bmp

The speaker is soldered directly on the copper side of using two small wires.
The image will show you how to do it properly.


Plastic Back

SAM_0531.JPG
SAM_0530.JPG
SAM_0533.JPG
SAM_0537.JPG
SAM_0538.JPG
SAM_0540.JPG
SAM_0542.JPG
SAM_0544.JPG
SAM_0547.JPG
SAM_0549.JPG
SAM_0555.JPG
SAM_0557.JPG

The case of this proyect tray to keep it cheap and portable.
This is just made from a piece of plastic and some spacers.
First cut and drill the plastic at the size of the control board. Then put four screws and the 3 mm spacers.
Now we have to paste the speaker, I used two sized tape for keeping it firmly pasted to the plastic sheet.
Cover the speaker with electrical tape and insert the control board.
Put the 8 mm spacers, then the screen board and finally the last four screws.

The Power Supply

SAM_0419.JPG
SAM_0463.JPG

The system is powered by 5 volts.
I use 4 x 1.2 volts my-mh with a battery holder. Consumption is low and the batteries will last for a long time.
You can try any other type of power supply like a 9 volt battery and a 7805, or even use a rechargeable Li-ion battery.

Programming

winpic800.bmp
SAM_0517.JPG
..
For programming the pic I used a JDM programmar, which is really cheap and easy to make and the WInPic800 software which is free.
Any game and aplication requires the PIC to be reprogrammed.
The HEX file in this step allows you to test if the screen works well.
...

...

Downloads

Game 1: Led Racer

SAM_0482.JPG
SAM_0468.JPG
SAM_0463.JPG
SAM_0490.JPG

This was the first game I made.
We controll the green led and we have to avoid crashing with the falling red ones.
When we lose the game show a screen telling you the level (with the red leds) and where you crashed (with the green led).
Then we can press the right shoulder button and start the level again, or press the left one and start from level 1.

Sound: The game also have sound, we can listen a biiiiip when we start a new level, and a beeeep when we lose. If youhold the right shoulder button while the game is starting the system won't make any sound.
...

...

...
 

Game 2: Simon Says

SAM_0560.JPG
SAM_0559.JPG

The classic game Simon Says.
This time in a monochrome version.
The aim of the game is to repeat the sequence generated randomly.
You use the two buttons on the front and the two shoulders buttons.
You can reach a maximum sequence of 16 LEDs and then start from 0 again.
...

...

Downloads

Unfinished Game: Roullete

SAM_0634.JPG
SAM_0635.JPG

I never finish this game. I thought it was going to be more fun but when I started to make it and played in real life I didn't like it.
We have a red led that goes all around the screen, and when it is in the third led of the bottom it turns green, then is when we have to press any button. If we press the button when the led is green we speed up the game, else we lose and start again, from the same level.
...


...
 

Downloads

Aplication: Counter

SAM_0629.JPG
SAM_0630.JPG
calculadora.PNG

This is a simple application for counting events.
Pressing the left frontal botton we add one.
Pressing the right frontal button we subtract one.
Pressing the top left button sets the account to 0.
The green LED serves as an indicator of on and off.
...

Downloads