Handheld Gaming Console


PCBWay PCB Instant Quote PCB Assembly Capabilities













Step 1: Things You Will Need

Things You Will NeedThings You Will Need


1x Arduino Pro Micro (5V)

1x OLED Display (SPI)

6x Tactile Push Button

1x Piezo Speaker

1x Common Anode RGB LED



Step 2: Testing on a Breadboard

Testing on a BreadboardTesting on a BreadboardTesting on a Breadboard

Gather all the required components and start connecting them on the breadboard as shown in the circuit diagram.

The connections are as follows:

Control Keys:

UP - A0

DOWN - A3

RIGHT - A1

LEFT - A2

A - D7

B - D8

OLED Display:

SCL - D15

SDA - D16

DC - D4

RES - D2

Speaker:

SPEAKER + - D5

SPEAKER - - D6

RGB LED:

RED - D10

GREEN - D3

BLUE - D9


Step 3: Uploading Games to Arduino

There are few steps to be followed before you can upload any games on the Arduino.

  • Open Arduino IDE > File Preferences
  • Copy and paste the URL below in Additional Boards Manager URL text box and click on OK.
  • Go to Tools Boards Boards Manager.
  • In text box type homemade or Arduboy homemade.
  • Select Arduboy Homemade package and click Install.

After installing the library, go to Tools menu and make the selection as follows:

  • Board: Homemade Arduboy
  • Bootloader: Cathy3K
  • Based on: SparkFun Pro Micro 5V - Alternate Wiring
  • Core: Arduboy optimized core
  • Display: SSD1306

Choose and download your favorite game from here.

Open up the .ino file and hit upload.



Step 4: Designing PCB in EasyEDA

Designing PCB in EasyEDADesigning PCB in EasyEDADesigning PCB in EasyEDA

When everything is working right, we can start with the PCB designing process. I chose EasyEDA for designing as it makes things easy for beginners like me. I wanted it to be portable so I decided to run it on a LiPo battery which means that charging and boost circuit will be required. I decided to build the boost circuit myself using MT3608 but also made a provision to connect a readily available MT3608 module (which is what I ended up using) in case my version fails. I have attached all the files in case you wish to use my PCB design.

First, start by making a circuit diagram. Make sure that everything is labeled properly and the circuit diagram is neat and clean. This makes diagnosing problems easier later on. While choosing components, the footprint of the component and make sure it matches with the component you have.

Once you have checked all the connections, click on the Convert to PCB option. This will open up a new window wherein you can find all the footprints of the components ready to be placed and connected.

The first thing you have to do is to define your board outline. Place your components roughly and in a logical manner to get a rough idea of the shape and size of the board. Select BoardOutline from the Layers menu and start drawing using the Track tool from PCB Tools menu.

Now, finalize the position of components. You might have noticed the lines coming out of the pads. Those are called Ratlines and they help us to get an idea of how the components are connected to each other so that laying out the traces becomes easy.

Once you are happy with the component placement, you can now start connecting them with traces. The width of the trace is determined by the current it has to carry. A PCB Trace Width Calculator comes in handy. I went with 0.254mm for signals and 0.6mm for power stuff. Select TopLayer (or BottomLayer) from the Layers menu and start drawing using the Track tool. While tracing a situation may arise where there is no space to complete the trace. In such a case, you can jump to the other layer and continue the connection. The connection between the traces of the two layers is done with the help if Vias. In the middle of making a trace, hit V. The trace will end and you can now place a via. Then, select the other layer from Layer menu and continue the trace starting from the via. Do all the connections except Ground.

Now select Copper Area tool from PCB Tools menu and draw around the board. Make sure GND is selected in the net text box. This will create a ground plane and the remaining ground connections will be made automatically to it.

Check, check and check! Make sure you didn't miss anything out. Once you are completely sure, click on Generate Fabrication File to download the Gerber files which can then be sent to a fabrication service of your choice.

Note: As mentioned earlier, I have made a boost circuit using MT3608 which works perfectly until a load is connected. The output voltage drops significantly. I was aware of this problem as the datasheet of MT3608 clearly specifies how the components should be arranged and the trace width. And as a beginner, I was pretty sure that mistake will happen. It would be helpful if someone explains me the cause and the solution of the problem.

Attachments


Step 5: Assembling Your PCB

Assembling Your PCBAssembling Your PCBAssembling Your PCBAssembling Your PCBAssembling Your PCBAssembling Your PCB

I ordered the PCBs from PCBWAY And all the required components from LCSC. This saves on shipping cost as both the orders are shipped together. Keep your circuit diagram ready and start soldering the components as per the silkscreen marking. While soldering SMD components, make sure you use a lot of flux as it makes soldering tiny pins a lot easier. It was my first time soldering SMD components and the soldering job looks pretty good.

Clean the PCB after soldering with Iso Propyl Alcohol to remove the flux residue.

Choosing a LiPo Battery:

I used a 380mAh battery which I had laying around. With current drawn between 50mA and 100mA, it should last for approximately 3-4 hours.


Step 6: Enjoy!

Plug in a LiPo battery, upload your favorite game as before and enjoy!



Download Gerbers


Apply for sponsorship >>
1600+ Projects Sponsored
Jan 18,2020
1,370 viewsReport item
  • Comments(0)
  • Likes(0)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
0 / 10000