RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Retroflag NESPi Case - Soft Power & Reset Hack

    Scheduled Pinned Locked Moved Projects and Themes
    nespiretroflagsoft shutdowntutorial
    151 Posts 38 Posters 90.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • YahmezY
      Yahmez @snarc
      last edited by

      @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.

      1 Reply Last reply Reply Quote 0
      • C
        cmarquis
        last edited by

        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?

        YahmezY J 2 Replies Last reply Reply Quote 0
        • YahmezY
          Yahmez @cmarquis
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • D
            DaminouTav
            last edited by DaminouTav

            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)

            YahmezY 1 Reply Last reply Reply Quote 0
            • F
              Fernandike
              last edited by

              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

              YahmezY 1 Reply Last reply Reply Quote 0
              • YahmezY
                Yahmez @Fernandike
                last edited by

                @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.

                F 1 Reply Last reply Reply Quote 0
                • YahmezY
                  Yahmez @DaminouTav
                  last edited by

                  @daminoutav glad you got it going!

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    Fernandike @Yahmez
                    last edited by

                    @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

                    YahmezY 1 Reply Last reply Reply Quote 0
                    • F
                      Fernandike @Yahmez
                      last edited by Fernandike

                      @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

                      YahmezY 1 Reply Last reply Reply Quote 0
                      • YahmezY
                        Yahmez @Fernandike
                        last edited by Yahmez

                        @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 readall

                        Correct. Either one from the pastebin is fine.

                        1 Reply Last reply Reply Quote 0
                        • YahmezY
                          Yahmez @Fernandike
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • M
                            MD500_Driver
                            last edited by

                            @Yahmez

                            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.

                            I YahmezY 2 Replies Last reply Reply Quote 0
                            • I
                              iggy @MD500_Driver
                              last edited by iggy

                              @md500_driver Hey There....I had the same problem.....did you make sure to cut the trace where the led is at ? There should be 5 traces that need to be cut on this board. If you miss this trace, the mosfet board will automatically turn on the moment you apply power.

                              0_1507267301166_8bd2eb64-631d-4bd7-9cd9-e0981460a9cc-image.png

                              1 Reply Last reply Reply Quote 0
                              • YahmezY
                                Yahmez @MD500_Driver
                                last edited by

                                @md500_driver
                                as @Iggy said, it sounds like ytou did not fully cut the traces on the power /reset switch PCB. I saw someone else have the same issue and he did not fully cut the traces.

                                F 1 Reply Last reply Reply Quote 0
                                • M
                                  MD500_Driver
                                  last edited by

                                  @iggy @Yahmez

                                  Thank you for the quick reply. You are absolutely correct, for some reason I missed that trace on the LED! I must have looked at those instructions 50 times, not sure how I missed it!

                                  Thanks for the quick reply!!

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    MD500_Driver
                                    last edited by

                                    @Yahmez

                                    One other quick question. There has been talk of ES not saving metadata unless you shutdown via the ES scripts. In the case of nespi.py, it looks like you are calling shutdown. Does this cause problems with the metadata?

                                    Thanks

                                    cyperghostC 1 Reply Last reply Reply Quote 0
                                    • cyperghostC
                                      cyperghost @MD500_Driver
                                      last edited by

                                      @md500_driver Not if you use @meleu shutdown service.
                                      https://retropie.org.uk/forum/post/107139

                                      F 1 Reply Last reply Reply Quote 0
                                      • M
                                        MD500_Driver
                                        last edited by

                                        Thanks. I followed that to a T and yet I still lose favorites and recently played :-(

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          Fernandike
                                          last edited by

                                          @yahmez I did it again from scratch and there in front of me there was my mistake It works so good Thanks and i appreciate your time on doing this and sharing it

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            jmcfsu13
                                            last edited by jmcfsu13

                                            Why does the reset and power switch have three rows of leads? for the power you connect to all three and on reset just the middle and bottom. Do you know the pinout for these switches? for the original reset mod the guy actually solders the top to middle lead on the reset switch.

                                            @cyperghost @Yahmez - either of you know?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.