DIY Cheap Arduino Gameboy
by Jasmeeet Singh in Circuits > Arduino
5118 Views, 11 Favorites, 0 Comments
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
Inspiration:
https://www.instructables.com/id/Arduino-Flappy-Bird-Game/
So let's Begin!!
Gather the Components!!
Materials Needed:
1)Arduino UNO/Nano
2)LCD Screen(16x2)
3) a Push Button
3) a Switch
4) A 9V battery/Rechargeable Battery(recommended)
5) Perf Board
6)10k Potentiometer
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
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:
For LCD:
VDD---> +5v on Arduino
VSS---> GND on Arduino
RW--->Pin 12
E--->Pin 11
RS--->GND
D4--->Pin 5
D5---->Pin 4
D6--->Pin 3
D7---> Pin 8
A---> +5V with the 220 ohm resistor
K---> GND
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
For Potentiometer:
Input---> +5V of Arduino
GND--->GND on Arduino
Wiper---> V0 pin on LCD
For Switch:
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
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!
Downloads
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.
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