RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Power on and off

    Scheduled Pinned Locked Moved Help and Support
    safe astart
    45 Posts 12 Posters 15.6k 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.
    • ExarKunIvE
      ExarKunIv
      last edited by ExarKunIv

      [removed link to youtube channel that promotes piracy]

      Edit
      Oops it did? Sorry about that. Could anyone if anyone remember's what about that video promotes piracy. I want to avoid it in the future. I did not see anything whend I posted it. Or I would not of put the link

      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
      Maintainer of RetroPie-Extra .

      R 2 Replies Last reply Reply Quote -1
      • R
        relivingthepast @ExarKunIv
        last edited by

        @ExarKunIv now this is right up my alley, thank you for this video going to try thiss tonight after i go through left over pc parts from a few bulds, i know thers a switch in there somewhere.

        1 Reply Last reply Reply Quote 0
        • R
          relivingthepast @relivingthepast
          last edited by

          @relivingthepast thanks for the sponces, i guess to power on without a button just un plug then re plug, too lazy for that, gessh.

          1 Reply Last reply Reply Quote 0
          • CapemanC
            Capeman
            last edited by

            Interesting... but isn't your pi still technically powered on with that method? What is happening on the board while the power is still plugged in and the red light is on? I prefer the powerblock because it actually powers off the pi completely.

            Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

            ExarKunIvE 1 Reply Last reply Reply Quote 0
            • ExarKunIvE
              ExarKunIv @Capeman
              last edited by

              @Capeman

              from that i have found it is in standby mode, just like a PS4 and Xboxone. those system are never truly off, and the Pi is built to run 247. so it being in a standby mode is no big deal for it

              RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
              RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
              Maintainer of RetroPie-Extra .

              1 Reply Last reply Reply Quote 0
              • R
                relivingthepast @ExarKunIv
                last edited by

                @ExarKunIv
                Have you or anyone heard of this http://www.ebay.com/itm/IR-Remote-Control-Switch-Module-Power-Button-Module-for-Raspberry-Pi-3-2-Model-B-/222412691189?hash=item33c8d456f5:g:CaQAAOSwTuJYprud.
                It looks like it should work, anyone know if it needs script? Or does anthing you do need script? Thanks again

                DorkVonWaterfallD CapemanC 3 Replies Last reply Reply Quote 0
                • DorkVonWaterfallD
                  DorkVonWaterfall @relivingthepast
                  last edited by

                  @relivingthepast
                  http://wiki.52pi.com/index.php/Power_Button_For_RPi_SKU:_EP-0077

                  How to set it up

                  1. Remove your TF card and connect it to your PC or laptop with TF card adapter.

                  2. Modify /boot/config.txt file as following, for example, my pi is Raspberry Pi 3 model B:
                    device_tree=bcm2710-rpi-3-b.dtb
                    dtoverlay=power-off,gpiopin=26
                    dtoverlay=pi3-act-led,gpio=21
                    NOTE: device_tree=PARAMETER is depends on your Raspberry Pi's model.
                    more info please access this link:
                    [Device Tree| https://www.raspberrypi.org/documentation/configuration/device-tree.md]
                    Raspberry Pi model Device_Tree Info
                    Raspberry Pi B : device_tree=bcm2708-rpi-b.dtb
                    Raspberry Pi 2B : device_tree=bcm2709-rpi-2-b.dtb
                    Raspberry Pi B+ : device_tree=bcm2708-rpi-b-plus.dtb
                    Raspberry Pi 3 B: device_tree=bcm2710-rpi-3-b.dtb

                  3. Install the library of wiringPi and Download shell script to check the GPIO pin's status:
                    sudo apt-get install -y wiringPi
                    cd ~
                    git clone https://github.com/yoyojacky/powerbutton.git
                    cd ~/powerbutton
                    sudo mv ~/powerbutton/gpioshutdown /etc/init.d/
                    sudo chmod +x /etc/init.d/gpioshutdown

                  4. Edit the initialized file in /etc/rc.local :
                    sudo nano /etc/rc.local
                    Add those three lines before exit 0
                    sudo /etc/init.d/gpioshutdown
                    gpio mode 25 out
                    gpio write 25 1
                    After edit this file, Press "Ctrl + X" to save this file and Press "Y“ to save it.

                  5. Reboot your Raspberry Pi and plug power button on your RPi, press the button to test.
                    Have fun.

                  01001110 01101111 01100010 01101111 01100100 01111001 00100000 01101011 01101110 01101111 01110111 01110011 00100000 01101001 01100000 01101101 00100000 01100001 00100000 01101100 01100101 01110011 01100010 01101001 01100001 01101110 00100001

                  W 1 Reply Last reply Reply Quote 0
                  • CapemanC
                    Capeman @relivingthepast
                    last edited by

                    @relivingthepast said in Power on and off:

                    @ExarKunIv
                    Have you or anyone heard of this http://www.ebay.com/itm/IR-Remote-Control-Switch-Module-Power-Button-Module-for-Raspberry-Pi-3-2-Model-B-/222412691189?hash=item33c8d456f5:g:CaQAAOSwTuJYprud.
                    It looks like it should work, anyone know if it needs script? Or does anthing you do need script? Thanks again

                    That looks awesome! It looks like the power on-off switch will work with a momentary switch! Thats amazing, the powerblock needs an always on toggle, this could REVOLUTIONLIZE my atari builds, hahaha. I'm going to order one and try it out.

                    Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

                    CapemanC 1 Reply Last reply Reply Quote 0
                    • CapemanC
                      Capeman @Capeman
                      last edited by

                      ... But i will need to desolder that IR sensor and put it on a wire, what an odd placement, You'd think that would come as a separately mounted piece. But still, this excites me! If it works, this will be my replacement for the powerblock, and the price is right too!

                      Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

                      1 Reply Last reply Reply Quote 0
                      • K
                        KillerQ
                        last edited by

                        Here's a no-drill option:

                        DorkVonWaterfallD 1 Reply Last reply Reply Quote 0
                        • DorkVonWaterfallD
                          DorkVonWaterfall @KillerQ
                          last edited by

                          @KillerQ
                          no drill...but solder...i dont know....on a permanent intallation, maybe, but i use my Pi for all kind of stuff....

                          01001110 01101111 01100010 01101111 01100100 01111001 00100000 01101011 01101110 01101111 01110111 01110011 00100000 01101001 01100000 01101101 00100000 01100001 00100000 01101100 01100101 01110011 01100010 01101001 01100001 01101110 00100001

                          K 1 Reply Last reply Reply Quote 0
                          • CapemanC
                            Capeman
                            last edited by

                            Agreed, the cheap power HAT or the script/button/standby option in the earlier video seem like much less permanent options.

                            Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

                            1 Reply Last reply Reply Quote 0
                            • Z
                              zupi
                              last edited by

                              Re: Power on and off
                              I had a go with the last video, that with borkin button by Etaprime. It's relatively easy to solder and it doesn't need the script to power on, because it probes a pin that awakes Rpi by design. You only need the script to shutdown the Pi, but I don't think it's much needed since almost every distro, uses a safe shutdown method anyway.

                              That's if you don't need the analog A/V out of course and you don't want to drill the case.

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                KillerQ @zupi
                                last edited by

                                @zupi

                                Thanks for the compliment. That button is my idea, that's why it's named after me. Glad you're getting use out of it!!

                                The audio and video out still works if you remove the button.

                                Enjoy!

                                Z 1 Reply Last reply Reply Quote 0
                                • K
                                  KillerQ @DorkVonWaterfall
                                  last edited by

                                  @DorkVonWaterfall said in Power on and off:

                                  @KillerQ
                                  no drill...but solder...i dont know....on a permanent intallation, maybe, but i use my Pi for all kind of stuff....

                                  It's one single wire soldered completely beneath ge board. It's totally out of the way. Give it a shot!

                                  1 Reply Last reply Reply Quote 0
                                  • Z
                                    zupi @KillerQ
                                    last edited by

                                    @KillerQ Your idea?! Well done pal! Actually I always wanted to add a power (ON at least) button but was afraid to drill the case and break any or end up with something ugly. A few days ago I saw the video and when a nearby store dropped the price of those jacks to 2€ I grabbed one to test if was working... And it did!
                                    Good job everyone involved.

                                    Although i don't use the A/V and the button is beautifully hardly noticeable, I still wonder if a jack splitter, although ugly, may give both power ON flexibility and A/V out but I doubt I will soon test it.

                                    K 2 Replies Last reply Reply Quote 0
                                    • K
                                      KillerQ @zupi
                                      last edited by

                                      @zupi said in Power on and off:

                                      @KillerQ Your idea?! Well done pal! Actually I always wanted to add a power (ON at least) button but was afraid to drill the case and break any or end up with something ugly. A few days ago I saw the video and when a nearby store dropped the price of those jacks to 2€ I grabbed one to test if was working... And it did!
                                      Good job everyone involved.

                                      Although i don't use the A/V and the button is beautifully hardly noticeable, I still wonder if a jack splitter, although ugly, may give both power ON flexibility and A/V out but I doubt I will soon test it.

                                      Thanks for the positive feedback, I appreciate it.

                                      If I can get around to it, I'll try and test the splitter. If you get to it first, report your findings back here.

                                      Thanks again!

                                      Z 1 Reply Last reply Reply Quote 0
                                      • K
                                        KillerQ @zupi
                                        last edited by

                                        @zupi said in Power on and off:

                                        @KillerQ Your idea?! Well done pal! Actually I always wanted to add a power (ON at least) button but was afraid to drill the case and break any or end up with something ugly. A few days ago I saw the video and when a nearby store dropped the price of those jacks to 2€ I grabbed one to test if was working... And it did!
                                        Good job everyone involved.

                                        Although i don't use the A/V and the button is beautifully hardly noticeable, I still wonder if a jack splitter, although ugly, may give both power ON flexibility and A/V out but I doubt I will soon test it.

                                        I found a splitter. I'll test it out this evening.

                                        1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User
                                          last edited by

                                          Is there an easy way to hook up a Super Nintendo Power button to a Raspberry Pi? I know nothing about soldering.

                                          1 Reply Last reply Reply Quote 0
                                          • space cadetS
                                            space cadet
                                            last edited by space cadet

                                            Soldering is simple. Try it out on some junk components first. The worst thing that will happen is you try again. Trust me trying out a new skill is rewarding! You can pick up a simple soldering iron cheap.

                                            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.