
Momentary Power Toggle
makhowastaken/Soft-Latching-Power-Button
A simple circuit for implementing a momentary power switch
/power-switch.kicad_pcb.jpg)
A simple circuit for implementing a momentary power switch
Power switch is an open-source printed circuit board by makhowastaken, from the makhowastaken/Soft-Latching-Power-Button repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 19 × 6.8 mm with 5 parts on 2 nets, routed with 15 tracks and 2 vias.
A simple circuit for implementing a momentary power switch
THIS TESTED AND WORKING
Update 2023-01-11: I did lots of cleanup in this repository. I made a minor update to the main board file to take advantage of newer kicad features but otherwise it should be unchanged.
This circuit is intended to replace the power switch in a Game Boy Advance or Game Boy Advance SP but should be usuable in any Game Boy console or other similar device if wired up properly. All labelling is GBA-centric but should be easy enough to translate if you understand what it's doing. The circuit is based around the IRF7317TRPBF – Mosfet Array N and P-Channel chip and should be usuable between 1.5v and 7.5v. Any lower and it will not reliably switch and any higher and it won't switch at all. See this page from Mosaic Industries for more info.
There is a small quirk with this circuit and I'm not quite sure how to fix it without using a more complex circuit or without wasting power. The Game Boy cannot be restarted as this replacement bypasses the drain resistor installed on the original power switch. The purpose of this resistor is quickly drain all the power from the circuits and fully switch off the GB. Without this resistor, it can take up to 5 seconds for the GB fully switch off, depending on the model and condition. If you try and restart the Game Boy too quickly, it will refuse to power up so it is possible to enter a scenario where the power switch is "on" but the console is "off" and it will not matter how long you wait to try powering it up again, it will not boot unless you switch the MOSFET off again by holding the power switch for 10 seconds or by interrupting power entirely (remove batteries).
SCHEMATIC:

Operation: Press button once to turn on the circuit, press and hold for three seconds to turn the circuit off.
Install: Remove the original power switch. This cannot be installed in parallel. GND pad needs to get soldered to any console ground (or negative battery pad), 2 pad gets soldered to the power input (ideally after the fuse), and C gets soldered to pad C from the GBA power switch (or other power input). Place PCB where there is room and place button where it's accessable and wire the button to GND and SW_C pad on the mod board. See below for button options. This video covers full assembly and testing.
ORDERING THE MAIN BOARD:
BOM:
Digikey cart *.csv Note: for the passives (caps, resistors, and diode), there may be better alternatives or even discounts for higher quantities (so ten resistors may literally be cheaper than just three). This cart contains exactly enough parts (except the switch) to build three units.
You need the main board (thinner is better than thicker -- default 1.6mm is fine but thinner or flex allows for tucking it away inside the console more easily)

ORDERING THE SWITCH BOARD:
And for a GBA, I have also made two power switch board files. These are to replace the power switch itself on the GAME BOY ADVANCE ONLY. You still need the main board to use with either of these boards. See video link below for a quick demo.
The rotary style switch board has been tested and does work great but ONLY with "one chip" backlight kits. It will NOT work with funnyplaying backlight kits to control the brightness (they don't like the select button pad being stuck low indefinitely) and it will not work with cloud game store kits either due to the lack of button based controls in their current iterations. Here is the the switch you need for this switch board. Board tested working at 1.6mm thickness. Thicker is better than thinner here but thinner boards can work (albeit may have some flex when pressing the button).
/back.png)
The DS Lite style switch board can be made to work with shell cuts but the plastic power switch slider in the housing itself won't line up. I'll keep the board in the repo for now but you have been warned. Can possibly be made to work as a flex PCB with this momentary switch and then some modifications to the plastic slider (or even a custom slider) but I do not plan to pursue this.
Otherwise, any SPST switch will work. Very little current is passed through the switch itself (just a few mA and at whatever source voltage you're using) so anything can be made to work. One side goes to ground, the other goes SW-C on the main board.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | Val** | misc_footprints:AGB_Power_Switch2 | Ref** |
The 1 most common of 5 parts.

makhowastaken/Soft-Latching-Power-Button
A simple circuit for implementing a momentary power switch
/power-switch.kicad_pcb.jpg?size=s&soon)
makhowastaken/Soft-Latching-Power-Button
A simple circuit for implementing a momentary power switch


joypad-ai/joypad-os
Universal controller firmware for building adapters, dongles, and custom controllers.

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

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.

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



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.
It measures 19 × 6.8 mm and has 2 copper layers, 1.6 mm thick.
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.
From the makhowastaken/Soft-Latching-Power-Button repository on GitHub, at the commit this page was made from: the board is power-switch(ds_lite)/power-switch.kicad_pcb and its schematic Momentary-Power-Toggle.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
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).