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.
https://www.uma.es/etsi-de-telecomunicacion/
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.
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.
Library and Code.
Now, you have to install the library to manage the LCD. Link here and download it:
http://www.rinkydinkelectronics.com/library.php?id...
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.
https://github.com/acl173/Retro-Arcade-Machine-wit...
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:
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.
3D Design.
At this step, we use a free 3D design of Intertet that we liked it. Link is here...
https://www.thingiverse.com/thing:2293173
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.
Last Step.
We decided to glue components with silicone because it was an easy and good option to do that prototype.