Mini Arduino Game Console
This is a project I've been working on for a few months now, and am quite proud of. it has 6 face buttons (four in the D-Pad) and also has the vibration motor from an old iPhone. It is built off an Arduino Nano, and I currently have it programmed to run a slightly modified version of this guys Arduino DOOM port: https://github.com/daveruiz/doom-nano
Supplies
Tools:
soldering iron
3d printer (optional)
Supplies:
6 tactile push buttons (or any other form of button)
plenty of wire
some protoboard
SSD1306 .96 inch OLED display
6 1K resistors
Arduino Nano
a cable for the Arduino Nano
solder
li-po battery (at least 150 mah)
Adafruit powerboost 500
an ON/OFF switch
vibration motor (optional)
Laying Out the Components
this project is laid out on two protoboards (I just cut one in half) but yours can be played out differently. just make sure no pins are touching, and that you have one pull-up resistor for each button and that everything is possible to be soldered together easily.
Soldering
Here's what I have connected to what:
D-Pad UP: pin A0
D-Pad DOWN: pin A2
D-Pad LEFT: pin A3
D-Pad RIGHT: pin A1
A Button: D8
B Button: whatever you want (I haven't used it in any of my example programs)
Vibration Motor: A6
Screen SDA: SDA
Screen SCL: SCL
5v on the powerboost: VIN on the Arduino
ON/OFF switch: GND and EN on the powerboost
just make sure there are pull-up resistors to all the buttons, and that on the other side of the buttons are ground.
Uploading Code
connect your Arduino using your usb cable, install the appropriate drivers and libraries, install the Arduino IDE open up the example program, upload it, and enjoy!
I also have the STLs of the casing I used for it, in case anyone wants to print or modify it!
example code: https://github.com/NICK75704/Arduino-game-thing/tree/main