Skip to the content
2 layers100 × 100 mmMain pcb hw5, the printed circuit board in 3D

Main pcb hw5

herzmx/cartreader2

A shield for the Arduino Mega that can back up video game cartridges.

Size
100 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
31
Nets
97
Pads
272
Tracks, vias
1,035, 267
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
12 Sep 2024
Updated
10 Mar 2025

Overview

Main pcb hw5 is an open-source printed circuit board by herzmx, from the herzmx/cartreader repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 100 × 100 mm with 31 parts on 97 nets, routed with 1,035 tracks and 267 vias.

It is built around the DS3231MZ/V+, TPS2113PW and CR16160J. Its parts include 8 connectors, 5 capacitors, 2 resistors, 2 ICs and 2 switches.

Main components

3

README

hardware/vselect/README.md

VSELECT: Automatic Voltage Selection Module

The VSELECT module automates voltage selection on HW5 by allowing the firmware to set the voltage. The module version is intended to be soldered in place of the voltage selection switch. You cannot use the VSELECT module and a power LED at the same time.

Ordering the PCB and Installing the components

The VSELECT module requires SMD/SMC (surface-mounted devices/components) soldering. The pads have been extended slightly to aid in hand-soldering. While files suitable for use with JLCPCB's PCBA service have been included, these are unsuitable for most people to use due to the minimum order quantity. If you want fewer than 10 modules it will be cheaper to order them from someone selling pre-built ones.

Installation

Instructions to build as well as to install the module have moved to the wiki.

Configuration

The module requires code to function properly. The OSCR should still power on even without the code changes but the voltage will not automatically toggle. To enable automatic toggling, locate this bit of code:

text
/*==== HARDWARE MODULES ===========================================*/

/* [ Automatic Voltage Selection ---------------------------------- ]
    Enable this if you have the VSELECT module.
*/

//#define ENABLE_VSELECT

...and change it to:

text
/*==== HARDWARE MODULES ===========================================*/

/* [ Automatic Voltage Selection ---------------------------------- ]
    Enable this if you have the VSELECT module.
*/

#define ENABLE_VSELECT

After that simply update/program/flash your Arduino/OSCR as normal. Make sure you enable this every time you update. You can test that voltage switching is occurring with a multimeter by checking between ground and VCC.

Updating

When the OSCR is using VSELECT-enabled firmware there are a few extra steps you need to take when flashing firmware. First, before connecting the OSCR to a computer, remove the SD card. Next, connect the OSCR to your computer and wait. Once it prompts you, press the button to set the voltage to 5V. Although you can flash the ATmega2560 while running at 3.3V it does not always work and seems more likely to cause the firmware to randomly be corrupt (sometimes right away, sometimes not for a few days). Although you can just reflash the firmware to it to resolve it, having to deal with it is rather inconvenient.

Troubleshooting

If the 3.3V rail is not powered (i.e. you forgot to solder the jumper on the LCD) then when the module tries to switch to that it will power off the VCC rail. This will appear as a reboot loop where you'll see it briefly power on and then immediately power off only to immediately power on again. This is because the module starts in 5V mode and switches to 3.3V after the system boots and tells it to do so.

Parts

31
QtyValueFootprintReferences
9Screw_Terminal_01x01MountingHole:MountingHole_2.2mm_M2_ISO7380_PadM2_1, M2_2, M2_3, M2_4, M2_5, M2_6, M2_7, M2_8, M2_9
30.1uCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC2, C3, C5
110uCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC4
1220RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
1470uCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC1
1560RResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR2
15V USBConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ6
1CART SLOT FRONT ROW!OSCR:Cartridge_Port_Adapter-FrontJ4
1CART SLOT TOP ROW!OSCR:Cartridge_Port_Adapter-BackJ3
1CR1616!OSCR:CR1616BT1
1Conn_01x07!OSCR:Clock_Generator_HeaderJ7
1DS3231MZPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1EXP1!OSCR:LCD_HeaderJ9
1EXP2!OSCR:LCD_HeaderJ8
1GBA_Slot!sanni:GBA-SLOT-BJ10
1LEDLED_THT:LED_D3.0mmD1
1LOGO!OSCR:LogoG***
1MEGA BOTTOM!OSCR:MEGA2560_PRO_MINIJ1
1POWER!OSCR:Power_SwitchSW2
1TPS2113PWPersonal:Texas_Instruments-TPS2113PW-Level_AU1
1VOLTAGE!OSCR:Power_SwitchSW1

More from herzmx/cartreader

5
  • 2 layers15.4 × 9.4 mmVSelect, the printed circuit board in 3D

    VSelect

    herzmx/cartreader

    A shield for the Arduino Mega that can back up video game cartridges.

    11 parts2GPL-3.0
  • 2 layers33.5 × 18.3 mmD411 F411 adapter, the printed circuit board in 3D

    D411 F411 adapter

    herzmx/cartreader

    A shield for the Arduino Mega that can back up video game cartridges.

    5 parts2GPL-3.0
  • 2 layers33.5 × 18.3 mmPIC adapter, the printed circuit board in 3D

    PIC adapter

    herzmx/cartreader

    A shield for the Arduino Mega that can back up video game cartridges.

    5 parts2GPL-3.0
  • 2 layers96.6 × 25.5 mmSnes adapter, the printed circuit board in 3D

    Snes adapter

    herzmx/cartreader

    A shield for the Arduino Mega that can back up video game cartridges.

    4 parts2GPL-3.0
  • 2 layers121 × 29.7 mmLoopy adapter, the printed circuit board in 3D

    Loopy adapter

    herzmx/cartreader

    A shield for the Arduino Mega that can back up video game cartridges.

    3 parts2GPL-3.0

Similar boards

  • 2 layers100 × 100 mmMain pcb hw5, the printed circuit board in 3D

    Main pcb hw5

    gemarcano/cartreader

    A shield for the Arduino Mega that can back up video game cartridges.

    31 partsGPL-3.0
  • 2 layers15.4 × 10 mmVSelect, the printed circuit board in 3D

    VSelect

    Lesserkuma/sanni_cartreader

    A shield for the Arduino Mega that can back up video game cartridges.

    10 parts1GPL-3.0
  • 2 layers87 × 55.9 mmSteeringHardware, the printed circuit board in 3D

    SteeringHardware

    John-Carr/SteeringHardware

    Steering Wheel PCB for SolarGators

    62 partsMIT
  • 2 layers100 × 100 mmMain pcb hw5, the printed circuit board in 3D

    Main pcb hw5

    tolihub/cartreader

    A shield for the Arduino Mega that can back up video game cartridges.

    33 partsGPL-3.0
  • 2 layers61.6 × 37.8 mmWonderWitch, the printed circuit board in 3D

    WonderWitch

    up-n-atom/WonderWitch

    PTS-0101 Reproduction - Used in the WonderWitch, Judgement Silver Sword, Dicing Knight, and Tenori-On cartridges.

    34 parts13
  • 2 layers51 × 30.8 mmAGB E06-10, the printed circuit board in 3D

    AGB E06-10

    JimmehhW/AGB-E06-Replacement-PCB

    Replacement PCB for damaged gameboy advance games using the AGB-E06 pcb

    21 parts
  • 2 layers51 × 70 mmDMG A04-01, the printed circuit board in 3D

    DMG A04-01

    HDR/NintendoPCBs

    Replacement pcb's for Nintendo games.

    22 parts321
  • 2 layers51 × 60.7 mmDMG GDAN, the printed circuit board in 3D

    DMG GDAN

    Chase-san/NintendoPCB

    Repository with clones of many Nintendo PCB.

    15 parts63

Questions

How big is the Main pcb hw5 PCB?

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

What parts does the Main pcb hw5 use?

31 parts, built around the DS3231MZ/V+, TPS2113PW and CR16160J. 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 Main pcb hw5 KiCad files?

From the herzmx/cartreader repository on GitHub, at the commit this page was made from: the board is hardware/main_pcb_hw5/main_pcb_hw5.kicad_pcb and its schematic hardware/cic_adapter/D411_F411_adapter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Main pcb hw5 design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).