• 1
    Designing the Game

    For this Pong game I wanted to keep it relatively simple, which meant no computer controlled paddle or fancy ball reflection algorithms. Basically, there is a single paddle that a user can move up or down, and making the ball collide with the paddle would cause its x axis vector to flip. Each time the ball gets hit there is a sound that plays.

    When the game device is powered on, a screen comes up with the game title and instructions. Additionally, my mother created a small theme song that loops in the background until the top button is pressed.

  • 2
    Designing the Gaming Device

    My go-to CAD program is Fusion 360, so I decided to use it to design my pong gaming device. I began by designing each component used: an OLED, Arduino Nano, and a speaker.

    This way I can see exactly where and how each component should fir inside of the enclosure. I then put the Nano and PCB in the back part of the case, and the OLED on top of it.

    Next was the question of where to put the speaker and buttons. I decided that the 3W speaker could go just below the screen (looking at it from the top), and that also required putting a "grill" over the speaker so the sound wouldn't be muffled.

    Lastly, I added two buttons on the left side to add controls.
  • 3
    Constructing the Device

    I began by 3D printing each part, consisting of the lower half, the upper half, and 2 buttons.

    Next I soldered a female header to the 4x6cm and wired it to the Nano. This not only allows for the OLED to be easily removed, but it also elevates it above the Arduino Nano. Check the schematic for wiring information.

    Then I wired up the two buttons, along with a simple micro USB breakout board for power. The speaker was also attached and placed it its correct position.

    My Fusion 360 design allows for 3mm machine screws to hold down the OLED, speaker, and connect the two halves of the device. But, I had to make them exact, so I used my drill press to bore out 8 holes: 2 for the speaker, 2 for the screen, and 4 underneath.