Gaming Handheld

by AspiringVaughn in Circuits > Microcontrollers

9 Views, 0 Favorites, 0 Comments

Gaming Handheld

food container game.png

I made a gaming handheld with an RP2040 microcontroller. I made this because I was wondering if it was possible to make my own handheld game, so went and experiment.

Supplies

I used the following materials for this project:

-10x13cm Plastic container/plastic lunchbox with no dividers(preferably one with stronger plastic) as the Chassis

-Passive buzzer module

-4x4 membrane keypad

-1.8" TFT LCD screen

-Male-Male and Female-Male jumper wires

-RP2040 microcontroller

-Female Header pins

-2 18650 batteries

-2s 18650 battery holder

-Switch

-MP1584EN DC-DC step-down buck module

-Glue gun and glue stick

- Soldering iron, soldering lead, and rosin flux

Prep the Microcontroller

AAA.png

Solder the female header pins on the RP2040

(The image I have here is from online, the RP2040 I had had no pins soldered on)

Prototype

Connect the jumper wires to the components:

The LCD, the 4x4 keypad, and the passive buzzer module.


Connect the pins correctly to their designated header pin you assigned them to on the RP2040.

Upload some code, test it, and fix certain issues before inserting it into the chassis.

Upload your code with your games in it if you don't like removing the wires when uploading

Prep the Battery

images (1).jpg
sg-11134201-7rd46-lx3q7pm6f7wq9d.jpg

Solder the 2s battery holder to the DC-DC step-down buck module switch(make sure the red wire is on the [+]IN through-hole and the black wire on the [-]IN through-hole, follow the arrow illustrated on the back of the module). On the other pin of the switch, solder a cut male jumper wire. Solder a male jumper wire on the OUT[-] pin of the buck module.

Housing and Connecting the Components

Use a glue gun to glue the parts inside the chassis, such as the

RP2040, Battery holder, buck module, buzzer(you can make a hole in the chassis if you want to hear the buzzer more clearly), and glue the back of the LCD.

Make a hole for the wires of the keypad to go out, and glue the 4x4 keypad outside of the chassis.

Make sure they don't move around much.

Connect the pins correctly to the designated header pins you assigned on the RP2040.


Play and Enjoy

Upload your code with your own games and play it with the keypad as the controller.