Introduction: DIY Cheap Arduino Gameboy
Everyone gets bored while traveling in long trips and want something to cheer them up!!
Reading novels can be choice :/
But they also get boring after some time!!
So in this Instructable I will show you how to make a handheld gaming device using Arduino UNO/Nano and LCD screen which allows you to play your favorite Flappy Birds game :D :D
So let's Begin!!
Step 1: Gather the Components!!
3) a Push Button
3) a Switch
4) A 9V battery/Rechargeable Battery(recommended)
5) Perf Board
7) A Casing for the components(I used a small lunch box)
8) 2 x 220 ohm resistors
9) Some jumper cables
10) A male barrel jack
Step 2: Wire Up Everything!!
1)First solder the push button and the lcd on a piece of perf board.
2)Make two slits on the perf board for the switch above the push button
3)Extend solder rails from each of the pin of the lcd
4)Now make the connection by soldering the wires as follows:
VDD---> +5v on Arduino
VSS---> GND on Arduino
D7---> Pin 8
A---> +5V with the 220 ohm resistor
V0---> Wiper of potentiometer
For Push Botton:
Connect one terminal to +5V with a 220 ohm resistor
Connect the other terminal to GND
Connect the terminal with 220 ohm resistor to pin 2 on Arduino
Input---> +5V of Arduino
GND--->GND on Arduino
Wiper---> V0 pin on LCD
Connect one terminal to Negative on the Battery and other to the male barrel jack
Connect the positive terminal of the battery to the barrel jack
Step 3: Upload the Arduino Code:
Now open the Arduino IDE and open the code file attached with this instructable
Connect the Arduino to your computer and upload the code
*Test the game once after uploading the code and double check your connections!
Step 4: Prepare the Casing!!
1)Make the layouts of the switch and lcd on the lid of the case and cut the out with the help of a utility knife and some caution.
2)Drill a hole for the push button below the the slit for the switch on the lid.
3)Take out an empty refill from an old pen and cut out a small peice of it. Then hot glue it on the push botton.
4) Connect the battery and place it in the box with Arduino UNO.
5)Place the perf board with the components soldered on it behind the lid in such a way so that the lcd and switch come out of their designated places.
6)Close the lid and then take a push button cover(I used one from an old broken Headphones) and hotr glue it on the refill coming out of the hole made from the push button.
Step 5: AND YOU ARE DONE!!
Now switch it on and start gaming!!
Carry it while traveling or play at home
Just the press the push button to rescue the bird from getting smacked :D :D