Introduction: Retro Arcade With Arduino
Hello everybody! I want to share with you a project we have done this year for 'Creative Electronics', a Beng Electronics Engineering module at University of Málaga, School of Telecommunications.
The project consists of recreating a miniature arcade machine with three simple games developed with Arduino:
->STACK: This game consists of stacking floors and getting as high as you can, but be careful to mislead yourself because the speed goes up and the floors are getting smaller.
->SPACE: In this game you must avoid enemies that fall faster each time and get the highest score as you can.
->COCO: Compare your accuracy with friends in a time-limit game and you will see who is the best sniper.
There is the list of things you need to do that:
- 1 LCD Nokia 5110.
- 1 Arduino Uno.
- 2 Buttons.
- 1 Joystick.
- 1 Speaker.
- 1 9V Battery.
- 2 Switchers.
- 1 RGB Led.
- 1 Adapter for 9V battery compatible with Arduino.
- 5 10KOhm for the LCD.
- 2 10KOhm for the buttons.
- 3 330Ohm for RGB Led.
- Some wires.
- 1 3D Design.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Components and Connections.
At this photo you can see the connections you need to do.
For checking the components is better doing first on the protoboard before solder anything.
First step is to connect LCD with Arduino Uno and prove pins connections are correct. Then, you have to do the same with the others components.
Step 2: Library and Code.
Now, you have to install the library to manage the LCD. Link here and download it:
There is a document with all functions you can use too.
The following step is download our code and prove it to make sure that all is correct.
We want also thank this post that has helped us in the third game where we only had to change some things to add the game to the arcade:
Step 3: Solder on the Stripboard.
Once you have verified that everything works correctly, you start to solder on the stripboard which gives stability and clarity to the circuit and wires.
On the first photo, you see all connections we do:
->Blue colour: male pins for connect to Arduino.
->Black colour: we have used a stripboard connected in lines, and we have done disconnections for avoid short circuit. The second photo is an example of it.
-> Red colour: 10K for D3-D7, 10K for D12 and D8 and 330Ohm for D11-D9.
->Green colour: Connections between the stripboard and the other components.
->Violet colour: Interconnnections for the stripboard.
-> Cyan colour: There are two pin buses. The longest pin bus is for the screen and the small one is for the joystick. Pin buses aren´t necessary, you can do with wires, but it contributes to a clearer design.
-> Orange colour: Mark the boundaries of the stripboard.
The third photo is how should seem like at the final.
Step 4: 3D Design.
At this step, we use a free 3D design of Intertet that we liked it. Link is here...
However, we had to make some arrangement to fit 3d printing with our design. For example, we had to enlarge buttons and joystick holes.
Even so, you can print another design or do it yourself.
Step 5: Last Step.
We decided to glue components with silicone because it was an easy and good option to do that prototype.