Close
0%
0%

PiCardo

Business Card Meets Retro Gaming

Public Chat
Similar projects worth following
Since the first grade, I’ve been a passionate fan of Nintendo’s Gameboy family of products, collecting every version from the original Gameboy to the Gameboy Advance SP. Inspired by this lifelong love, I’ve created PiCardo, a business card-sized device that brings the charm and excitement of retro gaming to a modern, compact form. PiCardo combines nostalgia with innovation and a bit of my own artwork, making it a unique entry for the Hackaday Business Card Challenge.

PiCardo is built around the Pi Zero 2 W, featuring a 2.6-inch landscape TFT LCD for a vibrant display. It includes all the necessary buttons for authentic gameplay, a 5-way navigation switch for intuitive control, and a LiPo battery with a charger and voltage boost converter for seamless power management. To ensure user convenience, I’ve also integrated a safe shutdown method. Despite its small size, PiCardo provides a delightful retro gaming experience, perfect for quick gaming sessions on

Inspiration and Concept

After the Gameboy Advance SP, I always wanted a Gameboy Micro, but by that time I had a playstation and portable devices were fading out of interest. 
Thats why this project is so special, I feel like the business card challenge Inspired  me to create "PiCardo", a business card-sized device that brings the charm and excitement of the Gameboy Micro. PiCardo combines nostalgia with innovation, making it a unique entry for the Hackaday Business Card Challenge.

Journey and Development

The journey to PiCardo started with a perfboard-based prototype, where I hand-soldered wires and integrated different modules to prove everything worked. It was a hands-on, messy, and incredibly rewarding process that involved a lot of trial and error. Once the hardware was functioning, I moved on to testing all the necessary software to ensure compatibility and performance.
I was super happy with the framerate as most people online complained about lagging. I'm not sure if it's me but it looks pretty damn good. (Kudos to the fbcp-ili9341 library for making this possible)

When the Hackaday Business Card Challenge came up, I saw it as the perfect opportunity to take PiCardo to the next level with a custom PCB. This transition was both exciting and challenging. The PCB version fits perfectly within the size constraints, and while I did encounter a hiccup with the wrong screen (resulting in a white display), the system works flawlessly when connected to a monitor via HDMI. (which opens up a whole new set of ideas!!)


Design and Development Process

1. Prototyping: Started with a perfboard and hand-soldered wires to integrate different modules, proving the concept and functionality.

2. Software Testing: Ensured all necessary software worked seamlessly with the hardware. Play a few games

3. PCB Design: Transitioned to designing a custom PCB for the Hackaday challenge, making the device more compact. I used EasyEDA for this

4. Assembly: Soldered components onto the PCB, ensuring all connections were secure. My local hackerspace Labitat came to good use here!

5. Testing and Debugging: Tested the device with a monitor via HDMI due to the incorrect screen, validating that the system works perfectly otherwise. SSH and all other functions working correctly. 

Check out the other sections for: 
- Components
- Software Setup
- Future enhancements

Here's a quick look at how it plays

Schematic_GamePiCard_2024-07-01.pdf

Adobe Portable Document Format - 71.21 kB - 07/01/2024 at 12:18

Preview

  • 1 × Raspberry Pi Zero 2 W
  • 1 × 2.6 TFT LCD SPI Screen
  • 2 × Right angle tactile switches
  • 6 × Tactile switches
  • 1 × 5V boost converter

View all 15 components

View project log

  • 1
    Setting up the Retropie Image
    So after all the soldering is done, that's where the fun begins

    Here's a summary of what needs to be done to get you up and running with the PiCardo. 
    • Download Raspberry Pi Imager
    • Insert your MicroSD card 
    • Open Imager and select Pi Zero 2 W and Emulators and Gaming and then Retropie 4.8 for the Zero 2 W
    • After flasing but before removing the SD card, navigate to it on your computer and add an empty file called SSH
    • Edit the cmdline.txt file with: modules-load=dwc2,g_ether after rootwait.
    • Edit the config.txt file with: dtoverlay=dwc2
    • The last two steps will setup your Pi as a gadget
    • Now connect the USB otg port to your computer and ssh to the pi using pi@retropie.local 
    • Once you get in, phase one is complete. 
  • 2
    Setting up the screen and inputs

    Next we have to setup the screen

    • Clone the fbcp-ili9341 library to your home/pi/ directory and follow the instructions on the repo.  https://github.com/juj/fbcp-ili9341 The key line thats used for this device is:  cmake -DILI9341=ON -DGPIO_TFT_DATA_CONTROL=11-DGPIO_TFT_RESET_PIN=25 -DSPI_BUS_CLOCK_DIVISOR=6 -DSTATISTICS=0 ..
    • Once thats done we need to use Adafruit's retrogame repo to configure the buttons to keys and then map those keys to Retropie (one https://github.com/adafruit/Adafruit-Retrogame.git

View all instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates