Skip to the content
2 layers30 × 40 mmLRButtons, the printed circuit board in 3D

A Python/KiCAD project showcasing the development of a handheld retro gaming console from the ground up. This includes all the schematic and prototyping work.

Size
30 × 40 mm
Copper layers
2
Thickness
1.6 mm
Parts
5
Nets
5
Pads
16
Tracks, vias
32, 0
Routed
Yes
KiCad
KiCad 5 (file 20210925)
Created
30 May 2024
Updated
10 Jun 2024

Overview

LRButtons is an open-source printed circuit board by madman37287, from the madman37287/KevBoy repository on GitHub. It is a 2-layer board of 30 × 40 mm with 5 parts on 5 nets, routed with 32 tracks and 0 vias.

Its parts include 2 diodes, 2 switches and 1 connector. It belongs with the retro computing and games boards of this library.

README

README

What is the KevBoy?

In its current state, the KevBoy is a breadboard prototype of a handheld RPI based retro gaming system using the retropie image. ADD IMAGE

The KevBoy is a

What is the purpose of making this public git repository?

  1. Back-up data. This project already had to be re-designed from scratch once in the past due to a laptop harddrive failure.
  2. Some SW and HW lack a large number of examples or documentation on the web. I hope this repository and documentation can assist with someone else's learning.
  3. Method of showing off the project to any interested parties.

What has already been implemented within the KevBoy?

As previously mentioned, the KevBoy currently has a breadboard prototype shown in the image below. ADD IMAGE

The breadboard design has 3 visible layers to it. In the bottom layer, we have the controls. These controls match what you would expect from a standard controller:

  • D-Pad on the far left
  • A, B, X, Y buttons on the far right
  • Two analog sticks
  • select (left) and start (right) buttons in between the analog sticks.

INSERT DIAGRAM

There is also an MCP3008 ADC between the analog sticks that convert the analog voltage outputted from the x and y axis potentiometers into a digital code readable by the PI.

The layer above the controls lives the necessary electrical components needed to connect the controls to the GPIO pins.
In this layer we have LEDs acting only as Diodes. These diodes are necessary due to the button matrix solution used to reduce the number of GPIO pins used from 16 to 8. Without the diodes, multiple button presses can lead to an unpressed button being incorrectly registered (see below)

INSERT DIAGRAM

In its current prototype state, the PI currently has 11 connected buttons (including L3 on the DS3 analog), while the final will support at least 16 when adding R3 and the Triggers. With several other devices needing to be connected to the GPIO pins, such as ADC, PWM speakers, UPS UART connections, ect, there are simply not enough pins. The HW/SW solution was to build a button matrix, in which 16 buttons could be supported with 8 pins.

What still needs to be implemented?

  • Upgrade to RPI5 (expecting CM5 to release later this year. CM4 to CM5 will not require PCB changes)
  • Battery solution for RPI5 (5V 5A max compared to RPI4 5V 3A)
  • PCB updates & PCB prototype
  • 3D printable model for casing
  • digitally controllable potentiometers for volume control
  • code to support WIFI and Bluetooth status display. Perhaps also an airplane mode.
  • Unit cooling

Setup:

Sound: https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/raspberry-pi-usage

Background music: https://github.com/Naprosnia/RetroPie_BGM_Player

Parts

5
QtyValueFootprintReferences
2DIODEDiode_SMD:D_0805_2012MetricD1, D2
2SW_PushButton_Switch_THT:SW_PUSH_6mm_H7.3mmSW1, SW2
1Conn_01x04Connector_JST:JST_EH_B4B-EH-A_1x04_P2.50mm_VerticalJ1

More from madman37287/KevBoy

2
  • 2 layers229 × 108 mmKevBoy, the printed circuit board in 3D

    KevBoy

    madman37287/KevBoy

    A Python/KiCAD project showcasing the development of a handheld retro gaming console from the ground up. This includes all the schematic and prototyping work.

    55 parts
  • 2 layers229 × 142 mmKevboyOriginal, the printed circuit board in 3D

    KevboyOriginal

    madman37287/KevBoy

    A Python/KiCAD project showcasing the development of a handheld retro gaming console from the ground up. This includes all the schematic and prototyping work.

    37 parts

Similar boards

  • 2 layers98 × 27 mmXy limit, the printed circuit board in 3D

    Xy limit

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    5 parts3.7k
  • 2 layers21 × 33 mm24g2usb pico2w, the printed circuit board in 3D

    24g2usb pico2w

    joypad-ai/joypad-os

    Universal controller firmware for building adapters, dongles, and custom controllers.

    5 parts1.7kApache-2.0
  • 2 layers53.2 × 59.6 mmA10 OLinuXino Lime Rev B SHIELD TEMPLATE, the printed circuit board in 3D

    A10 OLinuXino Lime Rev B SHIELD TEMPLATE

    OLIMEX/OLINUXINO

    OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

    5 parts1.5k
  • 2 layers30 × 11 mmMain control board servo tester, the printed circuit board in 3D

    Main control board servo tester

    jamro/tiny-engineer

    A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

    5 parts1.1k
  • 2 layers78.8 × 35.3 mmKiCadTest, the printed circuit board in 3D

    KiCadTest

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    5 parts915
  • 2 layers50 × 23 mmMiniCircuits LTCC, the printed circuit board in 3D

    MiniCircuits LTCC

    VanceVagell/kv4p-ht

    Open source handheld ham radio project KV4P-HT

    5 parts828GPL-3.0
  • 2 layers20.3 × 15.2 mmL0 light sensor, the printed circuit board in 3D

    L0 light sensor

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    5 parts546MIT

Questions

How big is the LRButtons PCB?

It measures 30 × 40 mm and has 2 copper layers, 1.6 mm thick.

What parts does the LRButtons use?

5 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the LRButtons KiCad files?

From the madman37287/KevBoy repository on GitHub, at the commit this page was made from: the board is HW/KevBoy/LRButtons/LRButtons.kicad_pcb and its schematic HW/KevBoy/KevBoy.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the LRButtons design in my own project?

Its repository states no licence, so its author keeps all rights: ask madman37287 before reusing the design.