Raspberry Pi Gameboy Project - wiring a slide switch to a PCB

Thread Starter

matt93

Joined Sep 11, 2019
2
I've reached one of the final stages (Step 12: Wiring: Power) of this GamePi project https://www.instructables.com/id/GamePi-the-Handheld-Emulator-Console/

This involves wiring up a battery to the PCB of a power bank, and also wiring up a DPDT slide switch to the PCB, which then connects directly to pins 2 and 5 of a Raspberry Pi, and is used to power it on and off. The power bank which was recommended for the project is no longer available, but the creator recommended this PCB https://de.aliexpress.com/item/32792636437.html which I ordered.

The electronics circuitry of the PCB is different from the one pictured in the instructable, and I'm having problems working out how this should be wired. I've soldered and tested the battery fine, but it's very unclear what to do with the slide switch. The PCB already has a push button on/off switch soldered on, which I assumed I would have to desolder from the board. I don't know how to solder the slide switch to the board though, as there appear to be 4 solder points, and I don't know which ones to solder to? The diagram on the Instructable is unclear enough as it is! I've tried combinations of these, but can't seem to get the slide switch to power the board on and off, or even to power the Pi at all. Am I going about this wrong? I've attached pictures, and can give more information/details.

I'd really appreciate any help, as I'm right at the end of this project now, and want to get it finished!

70477490_2560759120682220_5567423882257760256_n.jpg
69772241_389448758412089_4540906894419558400_n.jpg
 

Sensacell

Joined Jun 19, 2012
3,447
The power converter board has it's own power switch.

Just wire the power converter directly to the RP and use the existing switch.

The second slide switch is just making things complicated.
You don't want the power converter to be on and eating your battery, while the RP is off.
 

Thread Starter

matt93

Joined Sep 11, 2019
2
The power converter board has it's own power switch.

Just wire the power converter directly to the RP and use the existing switch.

The second slide switch is just making things complicated.
You don't want the power converter to be on and eating your battery, while the RP is off.
Thanks for the reply! I need to be able to access the switch from outside of the case for the GamePi. Could I keep the push button in place but also wire in a tactile switch to the same solder points, trailing the wires to another part of the case? Would that work?
 

Sensacell

Joined Jun 19, 2012
3,447
I cannot tell? is it a pushbutton?

If it is, find the contacts with an ohmmeter - the terminals that get shorted when you push the button.
Wire another pushbutton to the contacts - no need to remove the existing switch.
 
Top