Raspberry Pi: Why No Power Button? And Simple Solutions!

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • So anybody who has used a Raspberry Pi knows that it lacks a power button. There are some reasons as to why it doesn't have one, but for many who want to use the Pi for entertainment, like Kodi or Retropie, see it as a big inconvenience. Today we are going to go over the possible reasons the Pi doesn't have a Power Button and also come up with some solutions that don't involve programing, as I know most people don't even want to attempt that.
    Skip to
    The Overview of the Power Button: 1:56
    The Solutions: 5:01
    My Review of the Pi 3 running Retropie
    • Review: RetroPie - Ras...
    Retropie Running Experimental Emulators
    • Review: Experimental E...
    ETA Primes Video on Programming a Power Button
    • RetroPie Add A Power B...
    To those of you who are waiting for my video covering overclocking on the device, the script is mostly done. I just need to cover my opinion of the emulation we will be covering and add some extra bits on the N64. Then I will start recording everything I need for it. I promise it won't take 6 months for this next one.
    Forgot to put the music I used in the credits
    Megaman Starforce 2 (DS)
    Megaman Battle Network 2 & 3 (GBA)
    Zelda Minish Cap (GBA)
    DBZ Legacy of Goku 2 (GBA)
    Notes:
    TuyaSmart is the brand name for the solution I currently use. There are multiple versions of the device and I figured I would tell you the one I was using.
    I use Amazon as my primary source of online shopping so I only use picture from there. Sometimes Amazon ads can run on here so I wanted to put that out there for transparency sake.

ความคิดเห็น • 82

  • @bryanmiller476
    @bryanmiller476 4 ปีที่แล้ว +1

    I actually use the USB port on my tv to run power to my pi 4 to power the pi itself, not a AC/DC cable

  • @squirralien1863
    @squirralien1863 2 ปีที่แล้ว

    This is a subject I am fighting with at the moment, I don't want to have to shut it down with a script every time so a button for me is perfect, except for one problem, for some reason I just haven't been able to run the script that installs the button function successfully it always fails, thats with a 3b as well, on my pi4's I have one in a case with a button and couldn't get that to work due to the same issue not being able to get the install script to work and the other pi4 is in a case that takes a small screen, well guess what, the script to run that installs this screen function fails all the time so I am tired and a little sick of it, this has been going on for months and haven't found the solution and the people I have asked have not been able to help.
    Next I will tackle groups or forums that have the know it alls that feel it is fun or necessary to belittle newbies and just hope that I find the right person that can help me get passed this drama.

  • @TheNintendobomb
    @TheNintendobomb 6 ปีที่แล้ว +6

    Thank you so much for uploading these Raspberry Pi videos as they have made me interested in emulating games on a device with a OS built specificity for emulation instead of a computer.

    • @mikeJRthe2nd
      @mikeJRthe2nd  6 ปีที่แล้ว

      I'm glad my content has gotten you try out these kind of OS :)

  • @kilowrocks91331
    @kilowrocks91331 2 ปีที่แล้ว

    I just got a pie 3. Everytime I turn it off, I have to re install every thing all over. Why is that? Thank you.

  • @zincyellowmach1523
    @zincyellowmach1523 2 ปีที่แล้ว +1

    That's just the relay turning on no doubt, not electric snapping. It's just a remote control relay.

  • @BudgetVideos
    @BudgetVideos ปีที่แล้ว

    The snapping when you press the button is the relay activating

  • @ElectricW0rm
    @ElectricW0rm 5 ปีที่แล้ว +5

    The outro was unexpected XD 10:45

  • @Londor.
    @Londor. 6 ปีที่แล้ว +18

    Your videos are professional, well made and just plain fun to watch, keep it up man.

  • @satanlover134
    @satanlover134 4 ปีที่แล้ว

    9:11 dude are you a fucking moron, what about a battery hat?

  • @LAshotts
    @LAshotts 6 ปีที่แล้ว +2

    Huh I have a button my my power lead. Go look on eBay they been on sale for years. Where you been??? What’s the big deal

    • @mrdespondency6598
      @mrdespondency6598 4 ปีที่แล้ว

      There's a danger usually with data writes if you kill the power by yanking a lead, turning off at the wall etc.

  • @edgeboi7668
    @edgeboi7668 6 ปีที่แล้ว +3

    Have you tried any of the retro cases for the pi that look like the nes and such that have a power button on it? They fit the retropie perfectly and most of them have built-in heatsinks

    • @Nanyael
      @Nanyael 4 ปีที่แล้ว

      Just look for the + version. The non plus doesn't have safe shut down button.

  • @jonnieking333
    @jonnieking333 4 ปีที่แล้ว +1

    great video ! is there a difference between using this smart plug and turning off the power switch on the surge protector? that's after i shut it down from ES of course. I've noticed most of the time after I shut it down from the surge protector power switch, when i go to turn it back on the Pi doesnt boot, so i'll need to unplug the Pi power then plug it back in and it will run. Would that same thing happen with the smart switch?

  • @jaylensmith6308
    @jaylensmith6308 4 ปีที่แล้ว +1

    This seems like a smart decision! And also, you can use an app called HomeBridge that you have to code the Pi to make available for Siri or such. The thing is that I don’t know if doing that will affect the Pi; since it would need to be turned on, and you’ll probably run into a problem doing so. I’m still new to do, so idk

  • @bobcrochit4427
    @bobcrochit4427 3 ปีที่แล้ว

    Mike jnr the second lol - how sad is that

  • @kyleenglish5979
    @kyleenglish5979 2 ปีที่แล้ว

    The more I watch this the Sader it is

  • @mattmurphy1065
    @mattmurphy1065 5 ปีที่แล้ว +1

    I hook my pi into wifi for updates, you can also SSH into it from another device (like my phone) and run the sudo shutdown now command safely.

  • @brianw179
    @brianw179 5 ปีที่แล้ว +2

    Unplugging the pi corrupts my sd card every time

  • @compfixer44
    @compfixer44 6 ปีที่แล้ว +8

    The click when your turn the outlet on is normal

  • @michaelhenderson5098
    @michaelhenderson5098 6 ปีที่แล้ว +1

    I have a 3B+ connected to an 8 channel relay. I have been getting the lightening bolt. So, I changed to a 3A unit and it is working well...and has the switch like mentioned in the video.

  • @TheUtuber999
    @TheUtuber999 6 ปีที่แล้ว +1

    I'm using a 90's era monitor stand with neon-lit rocker switches for six outlets and a master power switch. Simple.

  • @naveennishad
    @naveennishad 3 ปีที่แล้ว

    Use rasp controller app

  • @SEB1991SEB
    @SEB1991SEB 3 ปีที่แล้ว

    It’s a shame you can’t just press a power button on the Pi to turn it on, and just press it again to turn it off again. I’d like to put a Pi together for my 7 y/o nephew, but the process of pressing start and then scrolling down to the shut down section, and then picking the correct shutdown option, might be too much for him to remember.

  • @LoweHenry
    @LoweHenry 3 ปีที่แล้ว

    the on/off switch on the power adapter is working in reverse (push-in is now off, push-out is now on). anyone has any clues how to revert it back?

  • @WildVoltorb
    @WildVoltorb 6 ปีที่แล้ว +4

    Can you emulate the PC98?

    • @mikeJRthe2nd
      @mikeJRthe2nd  6 ปีที่แล้ว

      After checking Github I found stuff for the PC-88 and PC-FX, but nothing for the 98. Even those other two don't seem to work too well on retropie right now so even if there was one I'm sure it would be a mess.

    • @WildVoltorb
      @WildVoltorb 6 ปีที่แล้ว

      MikeJRthe2nd Oh, ok
      Thanks Mike!

    • @fennec7906
      @fennec7906 6 ปีที่แล้ว

      So if you buy a micro USB power supply/wall charger for the Pi3 that comes with an on/off switch It's ok to use as long as you shut the pi3 off from the software first? And I assume you can shut the Pi3 off from a burnt retro game image?

  • @mitanshdave4050
    @mitanshdave4050 3 ปีที่แล้ว

    Thnx bro

  • @novinpradhan7629
    @novinpradhan7629 4 ปีที่แล้ว

    Until I watched this video I was thinking my SD card was corrupted. My PI4 would still led up Solid RED even after it is turn off and had to manually remove the adapter out of the socket to get the PI off completely. Thanks Man you saved my day. I will go with the extension with the switch so that once I shut down the PI4, I will OFF the extension power to get the RED light go off completely.

  • @CodingWithBen
    @CodingWithBen 4 ปีที่แล้ว

    The power button should work on nearly any os as it runs in bash and python. So on almost any os it’ll work

  • @ien2023
    @ien2023 6 ปีที่แล้ว +1

    U didn't clarify if this button actually shuts down pi3 properly.

    • @mikeJRthe2nd
      @mikeJRthe2nd  6 ปีที่แล้ว +1

      I thought I said that for any button connected to the pi itself you will have to code it to have it shut down properly. And any makeshift button using the Pi's power supply will always need to be shut down properly too. If not well... there you go lol

    • @dstack18
      @dstack18 6 ปีที่แล้ว

      He does at 5:40 and a few times before that

  • @WandererFromYs
    @WandererFromYs 5 ปีที่แล้ว

    My Canakit came with a micro usb adapter with switch, and I wasnt using it, because I didn't know what it did until I saw this video.

  • @CrazyWillTechShow
    @CrazyWillTechShow 6 ปีที่แล้ว

    I have the one with the switch built into the power adapter. Works great but have not tried over clocking.

    • @LoweHenry
      @LoweHenry 3 ปีที่แล้ว

      have you ever experienced the switch working in reverse (push-in is off, push-out is on)?

  • @mayeshadeen
    @mayeshadeen 2 ปีที่แล้ว

    5:01

  • @Skysmeller1
    @Skysmeller1 4 ปีที่แล้ว

    Awesome video, very cool do do the quick 5:01 tip on the solution right away too

  • @Nebby_Webby
    @Nebby_Webby 3 ปีที่แล้ว

    My pi set has an power supply with an switch build in

  • @ameador01
    @ameador01 5 ปีที่แล้ว

    You make a valid case in the earlier part of the video that it is not a good idea to just unplug these units - file corruption, unsaved data, etc... But then you go pretty hard into the idea of using remote/wifi/smart plugs that literally do exactly that - just cut power to the RPi. This is no different than just unplugging it and exposing it to the potential damage that can result from doing that. A switch on the RPi that is monitored by code that can then initiate a software shutdown in combination with an easy way to cut its power is the safest method. So, basically you would push a button on the RPi to have it begin a proper software shutdown - then, once the activity indicator stops flashing (showing that the software shutdown is done), then kill the power to the RPi - whether by a switch in the power line, switched power strip, smart outlet - unplugging it - or whatever. As to how you do this with these emulator software packages I don't know... Haven't used them - but for programming projects - not hard to do.

    • @mikeJRthe2nd
      @mikeJRthe2nd  5 ปีที่แล้ว

      The thing is, you have to unplug these units no mater what. Even if you shutdown the system properly it will not turn on again until the power is unplugged, then plugged back in. I'm sure I made it clear in the video that you always have to shutdown the system properly before you kill the power with any method, or else it could cause corruption. I didn't suggest a button that would shutdown the pi properly here because I assume for my channel people are watching this for the RetroPie, and a lot of people don't want to deal with figuring out programing. Which is why I recommend these devices.

  • @jonny777bike
    @jonny777bike 4 ปีที่แล้ว

    I think a way to do it would be with an arduino uno and a power relay.

  • @therussiansarecoming859
    @therussiansarecoming859 4 ปีที่แล้ว

    Another way is to buy a case with a power button

  • @johnleewins3814
    @johnleewins3814 5 ปีที่แล้ว

    Thanks. So glad I ran into this video. I just got the odroid xu4 for gaming and will just get the wifi plug.

  • @abdulrahmankhan79
    @abdulrahmankhan79 4 ปีที่แล้ว

    I received my raspberry Pi 4 with that chord

  • @ShopWave-r6e
    @ShopWave-r6e 5 ปีที่แล้ว

    I got a cord that plugs into my pi and it has a switch on/off My o.o broke today :(

    • @brentdeacon9218
      @brentdeacon9218 5 ปีที่แล้ว

      Those switches just cut the power to the board, they dont shut down the system running on the sd card

    • @ShopWave-r6e
      @ShopWave-r6e 5 ปีที่แล้ว

      @@brentdeacon9218 so I need new pi or new SD card

  • @prajwolpalikhel377
    @prajwolpalikhel377 5 ปีที่แล้ว

    can i supply power on raspberry pi connecting to the laptop

    • @bbminetesting6837
      @bbminetesting6837 5 ปีที่แล้ว

      Your laptop's USB ports don't have enough wattage to power a pi. USB-C ports on your laptop might be enough, but I'm not sure.

  • @totaljustice1582
    @totaljustice1582 6 ปีที่แล้ว

    Well done on the weight loss dude! Also I’m loving the quality of your content, I’ve subscribed

  • @MrBobWareham
    @MrBobWareham 5 ปีที่แล้ว

    You go to school so how old are you? you look 30ish

    • @mikeJRthe2nd
      @mikeJRthe2nd  5 ปีที่แล้ว

      I'll be 25 soon. The facial hair puts like 10 years on me lol.

  • @ninthx007
    @ninthx007 6 ปีที่แล้ว +2

    I believe the Nintendo case has a Power Button that works and it's $20

  • @fishasses
    @fishasses 6 ปีที่แล้ว +2

    if you were programming you could make a script that runs rightt before you shutdown and it would save everything

  • @mrdespondency6598
    @mrdespondency6598 4 ปีที่แล้ว

    Question: Why no power button?

    • @mrdespondency6598
      @mrdespondency6598 4 ปีที่แล้ว

      My guess is no BIOS, and ACPI is a nightmare. Which pushes an 'off' into your booted OS whatever that is. The SOC firmware (whatever this blob is), I think just gets you to the point of booting from an SD Card.

  • @Smithka33
    @Smithka33 5 ปีที่แล้ว

    The wireless smart plug does it turn the PI off correctly ?

    • @mikeJRthe2nd
      @mikeJRthe2nd  5 ปีที่แล้ว

      No, it's no different then unplugging it so still shut it down normally.

    • @Smithka33
      @Smithka33 5 ปีที่แล้ว

      MikeJRthe2nd any easy way to do the shutdown? I will have it in a arcade cabinet

    • @mikeJRthe2nd
      @mikeJRthe2nd  5 ปีที่แล้ว

      Try the ETA Prime video in the description of this video. His involved a physical button that cam be programmed to shut it off properly.

    • @charaxpapyrus
      @charaxpapyrus 4 ปีที่แล้ว

      No

  • @YungSchmutz
    @YungSchmutz 6 ปีที่แล้ว +3

    Doesn't Junior automatically imply the second?

    • @mikeJRthe2nd
      @mikeJRthe2nd  6 ปีที่แล้ว

      I actually wasn't sure of this so I looked it up. JR implies you are named after a parent while the 2nd would imply you are named after another person in the family that isn't your parent.

  • @lovelorn88nick
    @lovelorn88nick 6 ปีที่แล้ว +2

    So you shouldn't unplug it as a way of turning it off? Correct?

    • @mikeJRthe2nd
      @mikeJRthe2nd  6 ปีที่แล้ว +3

      Unless you shut it down from the Retropie menu first (or any of the other Pi OS), then yes, don't just unplug it to turn the Pi off. The only time that should ever happen is when the Pi crashes and it won't let you turn it off manually first.

    • @lovelorn88nick
      @lovelorn88nick 6 ปีที่แล้ว

      MikeJRthe2nd thanks! My dumb ass has been unplugging it 😃🤣😂😃 i keep forgetting its a computer

  • @joedew4183
    @joedew4183 4 ปีที่แล้ว

    1:56
    5:01

  • @j.goggels9115
    @j.goggels9115 2 ปีที่แล้ว

    _ Are we satisified with this ?
    _ No.
    Raspberry Pi encourages people to build projects that short-circuit their own rules.

  • @seanpuello
    @seanpuello 5 ปีที่แล้ว

    Dude I completely forgot about the smart plug! And to get one that's Google assistant enabled and be like "Google turn on my NES" (my pi is currently an NES emulator)

  • @suppiups2049
    @suppiups2049 5 ปีที่แล้ว

    Using sUpPi, all the filesafe power up and down process is taken care of.

  • @DanishNighthawk
    @DanishNighthawk 6 ปีที่แล้ว

    Mate, you just have to solder on two pins like in the photo you showed and then use a switch to momentarily bridge them.