Arcade1up Power and Volume Switch Mod

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 57

  • @johnclapham1371
    @johnclapham1371 4 роки тому +2

    Really awesome. In the past, I had to use a lot of different resources to find this information. Thanks for another great video!

  • @NerdyDrifter85
    @NerdyDrifter85 3 роки тому

    Nice tutorial! Just did mine and it works like a charm! Thank you especially for pointing out the wire swap on the volume plug!

  • @1chimonji
    @1chimonji 2 роки тому +2

    If you want to use this script on a cabinet with the sliding, momentary, volume switch (returns to middle state and only allows you to touch up or down). Simply change one line of code. You will lose middle volume, so set the high and low volume in your config to something you are happy with, for example on my gen3 sf2 partycade I chose 65 for low and 78 for high
    here is the block of code to change:
    if pinMinState == False and pinMaxState == True and currentVolume != volLow:
    newVolume = volLow
    elif pinMinState == True and pinMaxState == False and currentVolume != volHigh:
    newVolume = volHigh
    elif pinMinState == True and pinMaxState == True and currentVolume != volMid:
    newVolume = currentVolume
    change the last line from "newVolume = volMid" to "newVolume = currentVolume" as shown above. This way it won't reset itself to middle volume every time you adjust it. The caveat again being just two volume levels.
    edit:
    I'm using a pi4 as an example and have wires red, white, and blue on switch. (Red is center wire on switch so it is ground, white is volup (high) and blue is voldown (low). these wires likely swap on the connector and you will likely need to use GPIO 14 (red), 16, and 18 (white)

    • @waynecohen8609
      @waynecohen8609 Рік тому

      how do you change the code? I have the slider volume.
      I can follow the video but there's no edit the script it just runs.

  • @robobud
    @robobud 4 роки тому

    Excellent as always!!

  • @indymudshow
    @indymudshow 10 місяців тому

    Prob with this setup is that if you have a power outage or surge...anything that resets the power in your home, your arcade will turn on by its self as soon as your electric is restored.

  • @mahira3320
    @mahira3320 3 роки тому +1

    Power switch worked like a charm on my 3B+, but volume switch seems to do nothing. I ran continuity tests on the switch prior to plugging into the Pi, and it looked ok. My volume is through the headphone jack with AudioCard=Default and Device=Headphone. Will that affect anything?

  • @lucaparisini5803
    @lucaparisini5803 Рік тому

    Hi there! im getting this error from putty when running the command:
    bash: /dev/fd/63: Permission denied
    pi@retropie:~ $ (23) Failed writing body
    How can i fix that?

  • @MusicBeatShark
    @MusicBeatShark 4 роки тому +2

    Where do I find these cables / adapters?

  • @DeMoNFLiP84
    @DeMoNFLiP84 3 роки тому

    Hi. I have a Pi4 B 8gb and im still having trouble trying to get the volume mod to work, I have a SF2 Cab Gen 1 however the wires are different color (mines were Black, Brown, Red from the board) I just can't differentiate which wires are the ground. Anyway ive tried various GPIOs from 12,14,16 to 14,16,18 and nothing works on the slider volume. Any ideas?

  • @SamanthaMunitz
    @SamanthaMunitz 3 роки тому

    The on and button off work great but I have an older volume button where it doesn't snap to low medium high. And, because of that, It doesn't work.

  • @retroerks9963
    @retroerks9963 5 місяців тому

    I had this setup on my Pi4 and it worked flawlessly, I've just upgraded to a Pi5 and am wondering if it will work. I don't want to install the scripts just in case it messes up my newly built image.

  • @johnny58435
    @johnny58435 4 роки тому

    What image are you are using on this video for raspberry pi 3B plus? It show Dig Dug. Love your video thank you. Now I know how to used those buttons.

  • @kiwisoup
    @kiwisoup 3 роки тому +1

    So close to working. Everything works except moving volume to the left just seems to cut the power or something

    • @SamanthaMunitz
      @SamanthaMunitz 3 роки тому

      I've got a similar issue as well. The volume works but right after you increase the volume getting louder it then reverts back to a softer volume. (using Pi 3B+)

  • @funkdifiedafrolicious6201
    @funkdifiedafrolicious6201 4 роки тому +1

    Hi Holly. Thank you so much for this explanation! My arcade1up power switch has 3 wires instead of 2. Do you know what 3 pin numbers you would use in that case for the power switch?

    • @baki1682
      @baki1682 3 роки тому

      Easier way plug this in your wall outlet and the other to your powerstrip. You can turn off your entire system/machine with just a click of a button. I use it on my modded arcade1up machine. It comes with a wireless remote to power down everything or turn on everything.
      This is the item name below i got mine from Amazon.

      HBN Outdoor Indoor Wireless Remote Control 3-Prong Outlet Weatherproof Heavy Duty 15 A Compact 1 Remote 1 Outlet with Remote 6-inch Cord 100ft Range

  • @jordanreynolds9756
    @jordanreynolds9756 3 роки тому

    Great video! Using the stock features from the Arcade1up cab makes it look a lot better. I seem to have a little hang up on what is being controlled. The button is only the volume on the HDMI volume out put. I am using the headphone output. Is there any way to adjust this?

  • @EliteC64
    @EliteC64 3 роки тому

    For anyone whos updated there Pi 4 and has lost this volume control mod this will fix it:
    edit opt
    etropie\configs\all\emulationstation\es_settings.cfg then find and edit this line:
    to this below to get volume control within emulationstation:
    Next to get the arcade1up switch volume mod to work again type:
    sudo nano -w /etc/asound.conf
    then add this line:
    defaults.pcm.card 1
    Ctrl + X out save and reboot

    • @DeMoNFLiP84
      @DeMoNFLiP84 3 роки тому

      hi. i did this suggestion exactly as instructed and all of my games had no sound. I couldn't delete the conf file so i deleted the command line and got the sound back. any ideas? the sliding volume still doesn't work

  • @christopherpfankuch551
    @christopherpfankuch551 3 роки тому

    does not work on pi 4b 2gb, power and volume switches still do nothing and every other tutorial im seeing is for a pi3

  • @syn.n8110
    @syn.n8110 2 роки тому

    I know this is old but is there any script like this but for the newer volume controls mainly the legacy cabinet ones? I tried the other ones on UA-cam but it crashes the retropie image alot on boot up and the volume control never works. I actually got this to work but because it snap back the volume would lower or get higher only to return back to default since it not stuck in place.

    • @FlanFanNetwork
      @FlanFanNetwork  2 роки тому

      there is I just need to find time to make the video. I do have the slider volume control

  • @MusicBeatShark
    @MusicBeatShark 4 роки тому

    Or did they came with the Arcade1up?

  • @EliteC64
    @EliteC64 3 роки тому

    I understand Holly no longer comments here but can anyone confirm if after running this script for the power if the power switch needs to be physically removed and rotated so ON & OFF are correct or if this script reverses the switch so it does'nt need to be rotated?

    • @FlanFanNetwork
      @FlanFanNetwork  3 роки тому +1

      Does not need to be rotated. Script works as is

    • @EliteC64
      @EliteC64 3 роки тому

      @@FlanFanNetwork Thanks for the reply Holly 😀👍

    • @SupraB007
      @SupraB007 3 роки тому

      For some reason my SF cab turns off on the ON switch. If I switch OFF it turns on. Did the script work for you as is EliteC64? Otherwise everything else is working. Thank you

    • @EliteC64
      @EliteC64 3 роки тому +1

      @@SupraB007 the script worked exactly how Holly said for me without the need to physically rotate the switch on an SF2 gen 1 cab not legacy cab though.

  • @franciscomorciglio3761
    @franciscomorciglio3761 4 роки тому

    Holly, when I turn off the switch my buttons lights stays on. What can I do so they turn off as well?

    • @seanwhite5524
      @seanwhite5524 3 роки тому

      I have the same problem Francisco...did you find a solution?

    • @franciscomorciglio3761
      @franciscomorciglio3761 3 роки тому

      @@seanwhite5524 I haven't found anything that helps with this.

    • @seanwhite5524
      @seanwhite5524 3 роки тому

      @@franciscomorciglio3761 Thanks Francisco...I have a rpi4 with a rampage cab...out if curiousity...do you have a similar setup?

    • @franciscomorciglio3761
      @franciscomorciglio3761 3 роки тому

      @@seanwhite5524 mine is a SF cab with a rpi4.

    • @seanwhite5524
      @seanwhite5524 3 роки тому +1

      @@franciscomorciglio3761 After weeks of trial and error I found a solution. You need to do the following:
      1. Make sure the firmware is up to date on the pi4
      2. Install a program call uhubctl on the pi. Apparently this is the only way to fully control power to the ports. Install instructions can be found here:
      github.com/mvp/uhubctl
      3. Add the usb permission changes as outlined by the uhubctl author here:
      raspberrypi.stackexchange.com/questions/118656/raspberry-pi4-uhubctl-bash-script-wont-run
      4. Add a uhubctl power off command to both the emulationstation section and non emulation station sections of the arcade1up shutdown script
      5. Add a uhubctl power on command to the /etc/rc.local file
      After this all lights power off when switch is flipped...and back on with switch in on position

  • @MusicBeatShark
    @MusicBeatShark 4 роки тому

    Want to use Stock Speakers with the Raspberry

  • @shaunelious
    @shaunelious 4 роки тому

    Will this same method work for recalbox?

  • @captainfach
    @captainfach 3 роки тому

    I know its been a while but is there another place I can put volume pins? My little fan has a pin on 14. Or I guess is there another pin i can put this fan wire on. For the fan I have one one pin 1, and one on 14

    • @DJizLurch
      @DJizLurch 3 роки тому

      If I’m not mistaken any Ground pin on the pie will work. I moved mines to 9 so I could have my volume on 12-14-16

    • @captainfach
      @captainfach 3 роки тому

      @@DJizLurch thanks mate! Helps a lot

  • @eddielupu
    @eddielupu 4 роки тому

    How else can you power down the arcade machine without using this power switch and volume switch? if you can explain or a link somewhere, Thank-you.

    • @FlanFanNetwork
      @FlanFanNetwork  4 роки тому

      What do u want to do? Make it shutdown as a button press instead?

    • @eddielupu
      @eddielupu 4 роки тому

      @@FlanFanNetwork sure if that's an option, I just don't want to mess around with the Pi 4 thing connectors, I am waiting on my X-men vs Street fighter Arcade 1up to come that I ordered along with all the other stuff to mod it. if you using a button is available I am down with that. Thanks for your help.

    • @eddielupu
      @eddielupu 4 роки тому

      @@FlanFanNetwork I replied to you, waiting for your answer, thanks.

    • @baki1682
      @baki1682 3 роки тому

      Easier way plug this in your wall outlet and the other to your powerstrip. You can turn off your entire system/machine with just a click of a button. I use it on my modded arcade1up machine. It comes with a wireless remote to power down everything or turn on everything.
      This is the item name below i got mine from Amazon.

      HBN Outdoor Indoor Wireless Remote Control 3-Prong Outlet Weatherproof Heavy Duty 15 A Compact 1 Remote 1 Outlet with Remote 6-inch Cord 100ft Range

  • @yansermohammed5178
    @yansermohammed5178 4 роки тому

    Hi mate will this work for the Pi 4? Would it be the same pins?

  • @SickleSlash
    @SickleSlash 4 роки тому

    Will this work if I have a Pi 4 in argon one case?

  • @carlitosaqui
    @carlitosaqui 4 роки тому

    Cool., how does the power relay work?

    • @FlanFanNetwork
      @FlanFanNetwork  4 роки тому

      It’s gonna be using one of these relay switches connected to a GPIO pin on the raspberry pi. tutorials-raspberrypi.com/raspberry-pi-control-relay-switch-via-gpio/

    • @carlitosaqui
      @carlitosaqui 4 роки тому

      @@FlanFanNetwork interesting, thanks for the reply holly!