Retroflag NESPi Case - Soft Power & Reset Hack
-
@yahmez oh okay thanks. It's not really like a Mausberry mofset wich allows that :)
-
-
@bug1baby Thanks! Sadly, that mosfet board will not work. The Pololu board has an additional transistor and other components which allow it to work in the way I used it. You might be able to build your own version of the Pololu board though, they do provide a schematic of it on their website. It might be cheaper (but more work) to order the individual components rather than pay that outrageous shipping.
-
@bug1baby
Amazon UK has the low voltage one which should work just the same as the one I used. Shipping is bound to be much cheaper.
https://www.amazon.co.uk/MOSFET-Switch-Reverse-Voltage-Protection/dp/B017HY9PIE -
@yahmez Awesome. Thanks for the info
-
Hi folks,
I'm new to the RaspberryPi/RetroPie scene and today I've modded my NESPi case according to the awesome tutorial by @Yahmez.
Soldering the wires etc. was no problem but setting up the Pi (a model 3 with the newest RetroPie installed) I got stuck...
SOLVED: Some "expected an indented block" errors in the script caused the problem. So copying the script just from the PDF is not a good idea... :)
Regards
-
@Yahmez - For what reason did you go with that mosfet board vs using transistors and resistors along with the capacitor? It looks like you should be able to sub out the board with just the components. I have everything but that mosfet board...
-
@doubleeuroz
For simplicity. There are many ways to do this, including using your own board and components whether it is transistors, mosfets, or a relay. For me, a proven $4 board was the easiest and most repeatable solution. The Pololu board is practically made for this application with the two ways to switch it matching perfectly to the pi and power switch combination. Also the form factor was just perfect as well. All in all, it was just the best option for me. -
@snarc
You're not the first having trouble copy/pasting from the PDF. I will be updating the walk through with links to pastebin copies of the code. -
Ok, I am new to all of this and am gathering parts to put together my system, but my question is this: is there a way to use the PowerBlock and the scripts they have for it to do this? Or is it actually easier and simpler to follow @Yahmez guide?
-
@cmarquis I have never used a power block so I can not comment as to how it would/could interface to the Retroflag NESPi case. I do know that there is a significant price difference between the two.
-
Hardware done, hardware check OK, now I have to add a script into my distrib :)
Edit : Everything is working well :) Thank you @Yahmez ! (note, script into recalbox are already ready for this modification :) nothing to add)
-
I have a problem with the script. on my pi at the gpio readall on pin 25 its Mode IN and Value 0. i made all the other things what could be wrong. I tested hardware as you said and it was ok Please Help Someone
-
@fernandike download the newest version of the PDF. There is a link to pastebin pastes of the scripts in the updated PDF. Try using that instead of copying from the PDF.
-
@daminoutav glad you got it going!
-
@yahmez the one that says here? on the PDF?
and wich one its ok the raw or the oder one. by the way i dont know how i fixed that problem on the gpio readall -
@yahmez the guide its awesome. tnx for that. do you have any video showing how it works. i couldnt make it work i tried everithing Visual test ok hardware test ok software test seems to be ok but neither resets or soft shutdown works. it just kills the power right away. and on the hardware test waits a few seconds to shuts off
-
@fernandike said in Retroflag NESPi Case - Soft Power & Reset Hack:
@yahmez the one that says here? on the PDF?
and wich one its ok the raw or the oder one. by the way i dont know how i fixed that problem on the gpio readallCorrect. Either one from the pastebin is fine.
-
@fernandike said in Retroflag NESPi Case - Soft Power & Reset Hack:
@yahmez the guide its awesome. tnx for that. do you have any video showing how it works. i couldnt make it work i tried everithing Visual test ok hardware test ok software test seems to be ok but neither resets or soft shutdown works. it just kills the power right away. and on the hardware test waits a few seconds to shuts off
Try it with the pi not screwed down, just loose. The same happened to me when I screwed it down because the underside of the pi pinched the on control wire and was shorting it to ground. If that fixes it, be careful how you route this wire. Really if all the tests are good, the only thing it could be is the on control wire shorting to ground.
I do not have a video of it but it works as described. Upon switching the power off, the pi shuts down, then in a couple seconds the NESPi case cuts power to the pi and the power LED on the case goes out.
-
I followed your instruction and I am having a problem where the mosfet powers up immediately upon applying power and never shuts off. All of the switches work and have been verified with a MM.
I have verified that the power switch and reset switch are completely separated from one another, when you hit the power switch is connects ground to the center pins on the power switch which then connects ground to the "ON CONTROL" on the Mosfit (which should trigger the power on if it were not already on).
I have verified that when everything is running, hitting the power switch does cause the pi to initiate a shutdown but the mosfet never shuts off power after that and when I push the power switch back on, nothing happens and I need to remove input power and really it and then the power comes on immediately.
I have verified that the switch on the mosfet is in the OFF position as well.
The only thing I did differently was using a 470 cap instead of the 220 you had in your plans.
Any help would be greatly appreciated.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.