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 92.5k 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.
    • RiverstormR
      Riverstorm
      last edited by

      @cyperghost & @Yahmez - It seemed high in comparison so that's good to know. I'm just looking at all the options. How about that $8.40 board? Is it doing the same essentially or is Yahmez's hack a better way to go?

      It seems that all the hacks connect to the GPIO pins and run a script. There isn't a ton of information on the link but honestly I don't know what they are doing different. $8.40 for a fully assembled board doesn't seem like a bad way to go.

      https://oshpark.com/shared_projects/V2yqoyFn

      I also see kits/parts for your hack on eBay going for like $10 US which seems reasonable too. It's nice to have several different options.

      1 Reply Last reply Reply Quote 0
      • RiverstormR
        Riverstorm
        last edited by

        That OSH Park seems interesting.

        This is a community printed circuit board (PCB) order. We take designs from lots of people, put them all together on a panel and then order the panel from a fab. Since we're all splitting the panel setup cost, this lets us make circuit boards inexpensively.

        I still couldn't quite tell if get 3 boards or a single board is considered 3 units. On their order page it shows this also. If you get 3 for $8 and they work without soldering that's pretty darn cheap.

        "3 boards at $8.40 per batch of three."

        It looks like it replaces the switch board underneath and then uses DuPont connectors directly to the GPIO pins.

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

          @Riverstorm This is a simple switch that was introduced

          . It seems a nice option .... but it does not cut the "real" power. The Pi will be in a kind of "standby" mode - means the red LED is always on. But I think this is also an option to consider. But you have to buy the electric parts as well... no worries these costs just a few cents but the switches have to be desoldered from the original PCB.
          Btw: the github from mafe72 is here

          Maybe master @Yahmez can tell you more.

          btw: Does anybody knows where to buy the original switches for the NESPi case? In my build I removed them and used momentary push buttons! YES! Take a look at mouser ;)

          RiverstormR 1 Reply Last reply Reply Quote 0
          • RiverstormR
            Riverstorm @cyperghost
            last edited by

            @cyperghost said in Retroflag NESPi Case - Soft Power & Reset Hack:

            The Pi will be in a kind of "standby" mode - means the red LED is always on.

            Ok thanks Cyperghost definitely not what I would want to do.

            1 Reply Last reply Reply Quote 0
            • xadoxX
              xadox
              last edited by xadox

              Does somebody know, if the shutdown fuctionality is also working while using Kodi in RetroPi?
              Since shutting down from ES show the shutdown messages.
              While shutting down in kodi it only gets off without the messages.

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

                @xadox If you use the shutdown service provided by master @meleu then you always will perform a prober shutdown.

                So the answer is YES

                1 Reply Last reply Reply Quote 0
                • S
                  surajd
                  last edited by surajd

                  @Yahmez

                  Is it possible to use the Pololu 2808 push button power switch:

                  https://www.pololu.com/product/2808/pictures

                  And attach the yellow wire to the bottom push button contact, copying what you did in step 10? Or would this require bypassing anything in the circuit?

                  Your advice would be appreciated.

                  Thanks

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

                    @surajd
                    I am not sure because unlike the 2811 (Mini Mosfet slide switch), Pololu does not provide a full schematic of the circuit.

                    1 Reply Last reply Reply Quote 0
                    • T
                      tectron
                      last edited by

                      Hi I applied the mod and it seems to work well except when I power it off, the power led fades into a low colour red and seems to have a bit of active power. All other LEDs are off. Odd thing is when I disconnect the HDMI it goes out completely.
                      Any idea why ?

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

                        @tectron yes, I had the same thing happen. It took a while to realize that it did not happen with HDMI disconnected which means that the power line in the HDMI cable is back feeding to power the led. I'm not 100% sure exactly how it's happening but I'm fairly certain that besides the led glowing very faintly it has no other ill effects.

                        Z 1 Reply Last reply Reply Quote 0
                        • S
                          Semper 5
                          last edited by Semper 5

                          Hi there,

                          I recently completed this mod to "mostly" successful extent. But I do notice something isn't quite right.

                          1. RESET BUTTON - Running restart script = shutdown sequence(leaving power on since PWR button is already depressed
                            Running back-out-of-game script = backs out of game and then after a few seconds goes through shutdown
                            sequence
                          2. POWER BUTTON - Instant power off. Like I unplugged the unit.

                          I did the hardware and software check in the guide and everything looked good. did the gpio readall and checked connections on the gpio. everything performed identically as per guide even wire color. So I'm truly puzzled by what's wrong here :/

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            Semper 5 @Semper 5
                            last edited by

                            @semper-5 nevermind, it bizarrely is working perfect now. I just pulled the gpio pins going back to step 13. plugged it all back in and voila

                            1 Reply Last reply Reply Quote 0
                            • Z
                              zombie @Yahmez
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • Z
                                zombie @Yahmez
                                last edited by

                                @yahmez said in Retroflag NESPi Case - Soft Power & Reset Hack:

                                @tectron yes, I had the same thing happen. It took a while to realize that it did not happen with HDMI disconnected which means that the power line in the HDMI cable is back feeding to power the led. I'm not 100% sure exactly how it's happening but I'm fairly certain that besides the led glowing very faintly it has no other ill effects.

                                I have the same issue on my nespi.

                                S 1 Reply Last reply Reply Quote 0
                                • P
                                  Phoner @Yahmez
                                  last edited by Phoner

                                  This post is deleted!

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    h00sRdady
                                    last edited by h00sRdady

                                    Wow! Great work on this one. I ordered up all the parts from the links above and got it all together finally this morning. I used the reset to bounce out of emulator as you had posted in the second script and it works perfect. I ran the GPIO pin test as well and it showed in/in/out just like yours. I press the power button and I see the shutdown script run too... the light stays on after shutdown as well but I understand with the HDMI power feedback... all good...
                                    My only issue I'm having is after I power it down with the power button, I press the power button again and it doesn't power back up. The only way to power back up is to unplug the micro usb from the back and plug it back in and it doesn't seem to matter if the power button is in or out, it will boot up for about 5-10 seconds with the button in the out position and then the screen goes black after reseating the usb power cable and it will boot up completely if I reseat the usb with the power button in the pushed in position. Any ideas what might be causing this?
                                    Thanks in advance!

                                    YahmezY 1 Reply Last reply Reply Quote 0
                                    • J
                                      just_jeepin @cmarquis
                                      last edited by

                                      @cmarquis Did you ever get a PowerBlock and try it?

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

                                        @h00srdady Did you try the hardware test? Because honestly it sounds like an issue on the hardware side.

                                        H 2 Replies Last reply Reply Quote 0
                                        • H
                                          h00sRdady @Yahmez
                                          last edited by

                                          @yahmez I did try the hardware test tonight. I found I get power to the red led on the case even without the HDMI or the raspberry pi in it. Power button on or off. PCB on wire plugged into the fan + or not. I suspect the traces aren't disconnected all the way. I couldn't locate my xacto's so I tried cutting through them with a fine flat head screw driver. Ran short on time so I'll try again tomorrow.

                                          1 Reply Last reply Reply Quote 0
                                          • H
                                            h00sRdady @Yahmez
                                            last edited by

                                            @yahmez yep! That was it 😃. I missed the 5th cut on the switch trace leading to the power LED. Now everything works perfect and I don’t even get the backfeed dim light from HDMI. Thanks again!

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