Retroflag NESPi Case - Soft Power & Reset Hack
-
@cyperghost:
Sorry, if that is a "noob question" but do I have just to follow the instructions of meleu and create the killes.sh and killes.service files "beside" the script of yahmez (leaving the script of yahmez "untouched") or do I have to modify the script of yahmez, too (and if yes in which way)?Regards!
-
@snarc No....
The shutdown service is intended to work without any modification to the shutdown/button scripts. That's the big advantage here ...Of course you can modify the python script to call a specific shutdown script. That would also work.
-
THX, tried it out and it works perfect! YES! :D
-
@cyperghost any chance this will be rolled into an update? I am reluctant to add a service that might conflict with future features. Why does the current shutdown not save the meta data.
-
@foldedpencil No this won't be integrated. This shutdown issues are not origin from Emulations Station or RetroPie themselves.
It's rather a problem of the external hardware like the Mausberry, ATXRaspi, Powerblock.....And still there is an issue with the shutdown script itself as it doesn't decide of a Reboot or a shutdown if you want to perform a shutdown triggered by an GPIO together with a mausberry power switch.
The script is really the best in use here but has one or two very small caveeats ;)
-
@yahmez I got it all setup last night. Works great, thank you so much for posting this! I missed one wire from step six because I had a resistor and I skipped the entire step, rather than just the part about using the resistor on the board. I did struggle with the soldering since I don't have a "helping hands" or any good way to keep the parts together when soldering. Any tips for future projects, or do I just need to order a set of helping hands?
-
@foldedpencil You are quite welcome. I am glad you got it going! As far as helping hands, I have a set but seldom use them. For me personally, it's usually easier to hold parts in place by hand although I will admit, I have calloused fingers and don't tend to get burnt easily. If you do get a set, avoid the ones that use wires as the 'arms'. They tend to have a memory to the wire and will spring out of shape easily. Look for the ones with solid metal arms and wing nuts at the joints for more precision when positioning.
-
@yahmez Thanks again! I don't mind the heat, I just don't seem to have enough hands to hold the components, the iron, and apply the solder. I feel bad detracting from the thread by asking for soldering advice. Maybe I just need to watch some more youtube videos.
-
@foldedpencil Nah, you're fine. One thing I do is unroll a short length of solder so it's sticking up and hold the board in one hand and the iron the other. Then I can heat the component and board and move them up to the solder when hot. Describing it makes me feel like maybe I'm a weirdo though lol.
-
@Yahmez - Thank you so much for putting together this wonderful tutorial, it was extremely helpful. I followed your instructions to the letter and was able to complete this hack successfully! There is one change that should be made to the PDF instructions. Since I followed your instructions exactly, I ordered the exact part numbers from Arrow. Please note, on the parts line item that reads "(3) 6” [150mm] long female dupont jumper wire" <~~ the quantity should be one, not three as this particular part number includes (20) jumper wires. I realized this when ordering, so I ordered quantity one and received a pack of 20 jumper wires from Arrow -- so I can confirm.
To all the soldering noobs out there thinking about doing this hack -- this was my first time soldering. After watching a few youtube videos on soldering techniques and taking my time following the directions exactly, I was able to pull this off correctly on my first boot-up. Take your time, order the right tools and you should be fine (a "helping hand" really was handy).
-
Hello everyone
Thank you Yahmez for the great guide and the effort you put into it.
I built the thing yesterday and sadly it didn't start. The RPi didn't get any power at all.I followed your instructions exactly, apart from using another capacitor that I had lying around. I used one rated for 330uF 25V. Could this be the reason or do I have to start troubleshooting?
-
@schnautz Would you be able to take picture of all your solder connections, etc? The sizing of the cap is fine although you need to observe polarity when soldering on the mosfet board.
-
@iggy Thanks for your swift reply.
I checked the polarity of the capacitor, but thanks for the tip.
I realize my severed connections look pretty messy. But for quite some time they were still connected when I checked them for continuity.
-
@schnautz Your capacitor should be fine as long as it fits ok. Is it still not running? If not what happens exactly? Does the led on the front of the case turn on?
-
K i see whats wrong...for Vin and Vout, you neg wires need to be connected to the pad that says GND on the mosfet board.....currently, for Vin, your neg lead is connect to both pads labeled Vin. Same with Vout. Have a look at Yahmez's pics to see what Im talkin bout .
-
@iggy Ahh, i see it now. Tbh i rushed it a little bit. I guess this is what happens when you do that.
Thanks to both of you.
Edit: Workes like a charm now. Thanks again.
-
@schnautz Nice! Glad you got it sorted!
-
hi all this is my first post.
@Yahmez first of all thanks for posting your work then..I'm better at programming then electronics, so can you please explain why I need a mosfet and a diode?I cant simpli connect the power switch to GPIO? -
@Yahmez Do you happen to have a schematic of the before and after modifications? I intend to port the same type of modifications to PowerBlock unit in an NES console case Power/Reset switches.
-
@rollerace
The mosfet is basically an electronic power switch, like a relay. Using it allows you to turn off the power switch and have the pi shut down and then cut the power. If you wire the power button directly to the GPIO you can still have the pi shut down but the power LED on the case will remain lit, so you would have to wire it to a gpio as well if you wanted it to turn off without unplugging the PSU. Also, even in shutdown the pi (still connected to the PSU) will continue to draw a nominal amount of current. The diodes are required to make the circuit work, blocking voltage in the required directions to allow the circuit to function the way I needed it to.
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.