Amiga.org

The "Not Quite Amiga but still computer related category" => Alternative Operating Systems => Topic started by: XDelusion on September 10, 2015, 02:28:02 AM

Title: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 10, 2015, 02:28:02 AM
I have no idea where I should post this so here it is, in the Alt Os thread. It does run Alt OS' after all, or will once I figure out how to do the darn power switch.

So what I did was take a Pi 2 and stick it in an old PSX case. I stripped down the original power back, then gutted my Pi 2 power block and removed the wall prongs and wired the connections to the power in port on the inside of that back end of the PSX.

I cut the cable that runs from that power pack to the Pi 2, and ran one to one end of the PSX Power switch and the other end to the opposite side.

In this way the power switch works and causes the LED on the PSU to light up when pressed down. Problem is that it does not power up the Pi, there is no electricity coming out the other side of the power switch. I heard you are supposed to solder the wires onto the side of a 4 prong power switch so I tried that, but all that did was cause the LED on the PSU to stay on on all of the time, but the Pi still will not power up with it.

I tested the Pi, it is still fine with an alternative PSU.


Any ideas? This should be simple.
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: shaf on September 10, 2015, 02:36:27 AM
My Pi 2 uses a MiniUSB Cable to Power it and the AC Part of the Power Converter is not Grounded just 120Vac Connections (2 Prong). Is you AC input cable grounded, if so disconnect the ground wire. What is the Amperage of the DC input it should not be more than 500mA.
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 10, 2015, 02:54:35 AM
All I got is positive an negative, 5V 2A, worked fine when I just had it plugged into the wall direct.
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: AmmoJammo on September 10, 2015, 04:34:03 AM
Take a photo of what you've done. I assume when you say "psx" you mean psone? (The slim ps1)
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 10, 2015, 02:00:36 PM
No, it's the classic Playstation, not the slim.

BTW, since the PSU is basically a  phone PSU, what should my meter be set to to read this proper, I don't have proper training in electronics I only know enough to sometimes fix things and other times get my self in a jam like this.

The Power LED comes on when power is off, and vice versa.


(http://www.amiga.org/forums/picture.php?albumid=210&pictureid=1280)

(http://www.amiga.org/forums/picture.php?albumid=210&pictureid=1277)

(http://www.amiga.org/forums/picture.php?albumid=210&pictureid=1278)

(http://www.amiga.org/forums/picture.php?albumid=210&pictureid=1279)
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: AmmoJammo on September 10, 2015, 09:59:58 PM
I have to assume you have the switch wired such, that it's simply shorting the power supply when the switch is in the "on" position.

You can measure the voltage of the PSU with the meter set to the "20" range, in the "DCV" section.

I assume you have to rotate the connections to the switch 90 degrees, but you'll have to confirm this for yourself.

If you're not sure how to use a multimeter, have a look on youtube ;)
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: Oldsmobile_Mike on September 10, 2015, 10:02:30 PM
Your first picture makes my eyes bleed.  My god, what happened to that poor board?  :(
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: AmmoJammo on September 10, 2015, 10:29:26 PM
Quote from: Oldsmobile_Mike;795425
Your first picture makes my eyes bleed.  My god, what happened to that poor board?  :(

He ground through the copper on the board so he could use it to still mount the switch in the correct place.

Of course, he had already removed all the components, so this probably wasn't needed :hammer:
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 11, 2015, 01:06:09 AM
Quote from: Oldsmobile_Mike;795425
Your first picture makes my eyes bleed.  My god, what happened to that poor board?  :(


Yes, I had to cut all the old traces first.
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: Tenacious on September 11, 2015, 01:22:33 AM
In some other languages, the word for switch is interrupteur (If you want to say it in French, hold your nose and make a nasal sound.  HE he he.  Haw haw haw).  To interrrupt power to the Pi (turn it OFF), you only need to pass the red wire thru the switch.

Set your meter to 200 Ohms (the omega symbol) and find 2 posts of the switch that show 0  with the switch in one position and OL (overload, meaning no continuity) in the other.  Note the posts and solder the red wire from the PS to one of them.  Solder the red wire to the PI to the other post.  Solder the black wires back together and insulate the connection.

Switch your meter back to 20 DCV to confirm both states of the switch.


EDIT:  Rereading your post, I now wonder if you are talking about that green LED in the 3rd photo.  You want to keep this functional?
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: Tenacious on September 11, 2015, 02:17:26 AM
I should have read more carefully, and concentrated less on the silly French joke.  Sorry.

I think AmmoJammo in past 6 is probably right.  You could try unsoldering the wires and then testing continuity thru the switch with all combinations.  You could also test all the pins of the switch for continuity to the LED when it is in the OFF position.  Those pins should be the output side that will go to the PI.  The other 2 pins should come from the supply (You should connect the PS first, to ensure you get the correct polarity to the LED.  Then match the PI connector for correct polarity to the PI.  Confirm this with the 20 DCV meter setting before connecting to the PI).

Good Luck.
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 11, 2015, 02:56:46 AM
The meter doesn't respond not matter what the settings...

Quote from: AmmoJammo;795423
I have to assume you have the switch wired such, that it's simply shorting the power supply when the switch is in the "on" position.

You can measure the voltage of the PSU with the meter set to the "20" range, in the "DCV" section.

I assume you have to rotate the connections to the switch 90 degrees, but you'll have to confirm this for yourself.

If you're not sure how to use a multimeter, have a look on youtube ;)
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 11, 2015, 03:33:34 AM
OK, I connected the black wire back with the black wire directly, I then hooked both red wires to the side of the board facing the PSU. Again the power light stayed on in both ON and OFF position, but I could get power through the MINI USB.

I tried to rotate the red wires to different connects, and all that does is keep the red light on at all times, but with no power. This is freaking strange, the power switch worked fine when I had the Sony mother board in here. Why is something so simple so complex? I've soldered on a Dual POkey set up on my Atari 800XL with success but I can't do this?!?!
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: QuikSanz on September 11, 2015, 05:10:32 AM
Quote from: XDelusion;795436
OK, I connected the black wire back with the black wire directly, I then hooked both red wires to the side of the board facing the PSU. Again the power light stayed on in both ON and OFF position, but I could get power through the MINI USB.

I tried to rotate the red wires to different connects, and all that does is keep the red light on at all times, but with no power. This is freaking strange, the power switch worked fine when I had the Sony mother board in here. Why is something so simple so complex? I've soldered on a Dual POkey set up on my Atari 800XL with success but I can't do this?!?!


Not sure what you have going on here, however, If there is no ground "-" going to the switchboard then the power is going thru the LED to the Grounded Pi board. This will show no voltage on output. Disconnect the board and meter it.

The ground may not even goto thru the switch but needs to be connected. Usually the fattest trace is ground.

Chris
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: AmmoJammo on September 11, 2015, 08:16:20 AM
I've pulled apart one of my PS1's because I couldn't figure out how you're making this so difficult.

The led you've left on the switch board isn't connected to anything, so I assume this isn't the led you're talking about lighting up.

The contacts switch from one side to the other, not front to back....

In other words, if you have the board sitting in front of you, as it would sit in the PS1, the left contacts are the "input" and the right contacts are the "output"

Meaning, the way you have it wired above, you're simply shorting out the power supply, and the wire points need to be rotated 90 degrees...
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 11, 2015, 08:48:51 AM
I read that these things go from side to side, but the guide I was going by on Insructables doesn't go into detail except to say that he wired the lines red to red, black to black, and that he kept the PSX's fuse on board and passed the positive I believe it was, through that.

Another guy posted on the same tutorial and showed photos that he had bypassed the fuse, but again did not provide photos of how he wired things up under the board.

When the guys above talk about the ground, I presume that is going to be the black wire, if so should I solder it to one of the gold spots on the board? I've tried going left to right and that had no effect before, this is why I ask.

Thanks for taking a look.

http://www.instructables.com/id/PiStation-A-Raspberry-Pi-Emulation-Console/?ALLSTEPS


Quote from: AmmoJammo;795445
I've pulled apart one of my PS1's because I couldn't figure out how you're making this so difficult.

The led you've left on the switch board isn't connected to anything, so I assume this isn't the led you're talking about lighting up.

The contacts switch from one side to the other, not front to back....

In other words, if you have the board sitting in front of you, as it would sit in the PS1, the left contacts are the "input" and the right contacts are the "output"

Meaning, the way you have it wired above, you're simply shorting out the power supply, and the wire points need to be rotated 90 degrees...
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: Blizz1220 on September 11, 2015, 09:20:20 AM
Maybe this would be the cause ?

"If there is a +5V on the original  Playstation power supply, it think it is mainly used to powered  controllers and some other small part of the console. This mean the +5V  power supply has not been designed to deliver a lot a current. It  probably can not deliver enough power for the Pi. If you request too  much current, in the best case, the voltage will fall and the Pi will  hard reset. In the worst case, the Playstation power supply can burn.
So, it can be a good idea but we must check if the power supply is able to deliver enough current for the Pi."


If there is not enough current (under load not when disconnected) then something like you said (power led on but no power) could happen.


I just a assumed that red wire is Playstation PSU 5V rail , if not ignore post ...
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 11, 2015, 09:26:33 AM
This power pack was ordered to meet Pi 2 specifications.

Quote from: Blizz1220;795448
Maybe this would be the cause ?

"If there is a +5V on the original  Playstation power supply, it think it is mainly used to powered  controllers and some other small part of the console. This mean the +5V  power supply has not been designed to deliver a lot a current. It  probably can not deliver enough power for the Pi. If you request too  much current, in the best case, the voltage will fall and the Pi will  hard reset. In the worst case, the Playstation power supply can burn.
So, it can be a good idea but we must check if the power supply is able to deliver enough current for the Pi."


If there is not enough current (under load not when disconnected) then something like you said (power led on but no power) could happen.


I just a assumed that red wire is Playstation PSU 5V rail , if not ignore post ...
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: Blizz1220 on September 11, 2015, 09:40:55 AM
Then I have no idea , something is stopping power (and probably
it's some sort of a fuse if everything is connected ok).
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 11, 2015, 09:45:43 AM
Quote from: Blizz1220;795451
Then I have no idea , something is stopping power (and probably
it's some sort of a fuse if everything is connected ok).



I removed the fuse.
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: Blizz1220 on September 11, 2015, 10:12:15 AM
I see.Well , you can follow 5V line from the psu (but be careful) to the
Pi and measure volts.If there is around 5 V +-0.25 to some point and then
drops to close to zero there it is.It can be SMD resistor (black little things).

When you removed the fuse you soldered contacts back with wire I
take it.

Sorry , but without seeing it it's kinda hard , if you are trying modification
like that on site you linked maybe ask there ?
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 11, 2015, 10:19:34 AM
I'm not a member there, I think it costs money.

All I did for the PSU was remove the prongs that would usually plug into the wall, and wired them directly to the back of the PSX as shown in my photos. It's nothing fancy.

Quote from: Blizz1220;795454
I see.Well , you can follow 5V line from the psu (but be careful) to the
Pi and measure volts.If there is around 5 V +-0.25 to some point and then
drops to close to zero there it is.It can be SMD resistor (black little things).

When you removed the fuse you soldered contacts back with wire I
take it.

Sorry , but without seeing it it's kinda hard , if you are trying modification
like that on site you linked maybe ask there ?
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: Blizz1220 on September 11, 2015, 10:33:43 AM
I take it black wire (ground) is connected to Pi to wherever it should be
connected ? (last resort :)) It should say GND.
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 11, 2015, 10:56:56 AM
That did it, and I realized why the LED is always on... because the LED is not set behind the switch. As long as the power is plugged in, the LED is going to be on. So I ordered one of these also as a secondary off switch until I can figure out a better solution. Now to rewire the LED to the PSX LED, wait for my RJ45 extender to arrive in the mail, put the Pi on some posts and it's down. I'll share more photos and maybe a video of it in action; it's nearly there.

Thank you again for taking a look!

http://www.ebay.com/itm/361336678014?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

Quote from: AmmoJammo;795445
I've pulled apart one of my PS1's because I couldn't figure out how you're making this so difficult.

The led you've left on the switch board isn't connected to anything, so I assume this isn't the led you're talking about lighting up.

The contacts switch from one side to the other, not front to back....

In other words, if you have the board sitting in front of you, as it would sit in the PS1, the left contacts are the "input" and the right contacts are the "output"

Meaning, the way you have it wired above, you're simply shorting out the power supply, and the wire points need to be rotated 90 degrees...
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 14, 2015, 09:03:30 AM
Done:

http://www.amiga.org/forums/album.php?albumid=210

(http://www.amiga.org/forums/picture.php?albumid=210&pictureid=1299)

(http://www.amiga.org/forums/picture.php?albumid=210&pictureid=1305)
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: AmmoJammo on September 19, 2015, 12:36:50 AM
This is the "PSX"

https://en.wikipedia.org/wiki/PSX_%28video_game_console%29
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 19, 2015, 05:34:19 AM
Quote from: AmmoJammo;795932
This is the "PSX"

https://en.wikipedia.org/wiki/PSX_%28video_game_console%29


Send me one, I'll put a Pi in it! :)
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: AmmoJammo on September 19, 2015, 08:02:11 AM
I'm sure you'd try.... I'm sure you'd try.....
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 19, 2015, 10:26:32 AM
Quote from: AmmoJammo;795940
I'm sure you'd try.... I'm sure you'd try.....


:)

That is pretty cool though, I'd never heard of it before. Never was a Sony guy my self, but I realized I had a few Sony cases laying around and I heard that Sony emulation was superb on the hardware, so I found a couple guides, added a couple twists of my own, then went to town. It's been a lot of fun, though now that I've got it running, I want it to do it all, UAE, Atar 8-Bit, ZDOOM, Quake 3, KODI, DOSbox, and so on. I'm amazed at what this hardware can do!
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: AmmoJammo on September 24, 2015, 12:33:05 PM
So far I've tried two Playstation 1 games on my Raspberry Pi, and one of them was unbearably bad, I couldn't stand trying to play it, the emulation was just wrong.
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: XDelusion on September 24, 2015, 02:10:09 PM
Quote from: AmmoJammo;796225
So far I've tried two Playstation 1 games on my Raspberry Pi, and one of them was unbearably bad, I couldn't stand trying to play it, the emulation was just wrong.

Are you using a Pi or a Pi 2 B? You'll need the Pi 2 B and this guide:

https://www.youtube.com/watch?v=r6-VOCyDoTc


[youtube]r6-VOCyDoTc[/youtube]

And here is proof:

https://www.youtube.com/watch?v=DJC2EB-za3s

[youtube]DJC2EB-za3s[/youtube]

I would not have wasted my time and money on this if it didn't work, and I certainly would not put it in a Playstation casing with controller support and what have you if it didn't run my massive library like a champ.
Title: Re: Raspberry Pi 2 B Power Switch Soldering Help
Post by: AmmoJammo on September 24, 2015, 10:07:27 PM
Thanks, I'll have a look at the settings ;)