Hi everyone in this Instuctables we will see how to realize a Gameboy Arduino Leonardo.
In fact it is not really a Gameboy but a disguised joystick.
Step 1: First : the Hardware
We will need:
- Arduino Leonardo Arduino IDE +
- 8 Pushbutton
- 8 Resistors
- Fine wood lamellas and painting (that is more aesthetic)
Step 2: Step 2 : Decoration !
You are free to do what you want! Unleash your imagination. I preferred to do as below:
Step 3: Step 3 : Connections
After the paint has dried, you should set the push s buttons and make holes in the wood in order to put the wires and resistors.
The connections are about the same as the image below:
Otherwise, you can modify and in the order you want.
Step 4: Step 4: the Code
The code operates on the principle of the function Keyboard.write
You can then edit the code and change the keys as you like.
Step 5: Step 5: Transfer and Play!
Transfer the code on the Arduino board and now you can play!