Just tried this on a fresh install retropie system. Toggle power and slider volume (Brown-Red-Black wires)SF2. Very easy install, power on/off works perfect. Volume does not work at all. Tried on Rpi4 using your GPio pins suggested.
@Lexannn2 жыл бұрын
Originally tried the both script. Only power worked. Tried just the volume script alone after that, volume worked but the power didnt. Tried power script alone, power worked but volume didnt....!
@ps2daddy2 жыл бұрын
@@Lexannn has to be used on gen 3 power switch with momentary volume original street fighter is gen 1 that does not have momentary volume
@jasonr1598 Жыл бұрын
Thank you so much for this..the power button works like a charm! The sound one isn’t working for me unfortunately. I have the latest partycade that has the 3 wires and slider toggle button like yours. But it looks like the pins may be different out of order. I don’t know which is ground, which is + which is -, how do I tell? . I’ve got it plugged into the exact same pins you have, starting 2 down from the power pins, on the same side. My volume cable is as follows though. Assuming the middle pin is ground / that’s my red, that’s pinned into GPIO 18, what looks to be minus (blue) is in GPIO 23. And + (white) looks to be in GND hah. I can either cut my wires and connect it like yours, or i update the script, right?
@gottahavitvt Жыл бұрын
Power switch runs fine, but getting PCM device errors when it tries to change the volume. Update: Fixed it. The script in the zip for "both" doesn't add "both" to the rc.local script. Edited the script now "both" work Also at least with my retropi image on my 3b all I have in the mixer is HDMI, no PCM. Also had to fix that in the scripts. I appreciate the effort and wanting to share here, but these are the types of mistakes that cost people more time than making it do it themselves.
@AlanRenouf Жыл бұрын
Can you share the updates you made please?
@gottahavitvt Жыл бұрын
@@AlanRenouf Sorry I have since re-purposed my raspberry pi for a 3d printer and am using a i7 3370 with gtx 1660 super for my arcade. as I recall if you look at the "both" script you'll see it's not setting up both gpio "watchers", if you compare with the volume and the power versions. Also you'll see "PCM" in the scripts, change that to "HDMI"
@DanielMartin19743 жыл бұрын
You're welcome 😁 glad you're getting some use out of my scripts. Also good mod for the toggle volume.
@texashomearcadeservices47143 жыл бұрын
Thanks, which scripts did you make, the original volume one? I definitely leveraged some existing stuff as a starting point. It was pretty hard to find a good working example, so that likely led me to your work. I definitely didn't invent the wheel here, just trying to make it easier for new folks to understand and make some improvements to work with the newer hardware.
@DanielMartin19743 жыл бұрын
@@texashomearcadeservices4714 yeah. All good, that's why I put it on GitHub so that people could leverage and modify as needed. I'm glad it helped make the Arcade 1up more user friendly.
@texashomearcadeservices47143 жыл бұрын
Is this the one you put on GitHub? github.com/pcm2a/arcade1up/blob/master/volume.py While I did look at this one, it is not the exact one I started with, but perhaps yours inspired another one. Regardless, thanks for your work and sharing with the community.
@DanielMartin19743 жыл бұрын
@@texashomearcadeservices4714 no originally here github.com/dmanlfc/arcade1up. It's been forked a few times. I added Latte Panda scripts too using Arduino also.
@texashomearcadeservices47143 жыл бұрын
This doesn't look familiar but must be the source that I saw copied elsewhere. Nice work! Feel free to add my toggle mod to your repo if you like.
@OldskoolArcades-i6c20 күн бұрын
Power worked but not volume. What am I doing wrong
@theweekendhomestead Жыл бұрын
Do you know is there a way to just have emulation station not have any volume? That way as the demos run, there’s no volume and then it takes away the what the volume is set at with regards to the demos if that makes sense.
@cbk122 жыл бұрын
Question I noticed my nba jam cab has the power button the same as the volume button where its not a click on or off. Its like a push slider like the volume button. Will this work still?
@gamerdad0002 жыл бұрын
I plugged in my volume switch to pins 14,16 & 18 due to the switch wiring (GRND, Volume Up, Volume Down). I tested the script on the command line like you mentioned and the volume up seems to send a signal but volume down does nothing. Also I get 'PCM' errors. Does your code require pin 12 which according to the documentation is for 'PCM CLK'?
@majerelynn3 жыл бұрын
So after downloading the files and installing them, I realized there's nothing about volume in either of the zip files. Where do I download that part at?
@JavierLopezElMagnate2 жыл бұрын
Well, I'm halfway there.. I got the power switch working on my pi4, but the volume button doesn't seem to do anything at the moment. I've double-checked the pins on the GPIO and I'm good there....
@avis51142 жыл бұрын
Did you ever figure this out? I'm in the same boat
@JavierLopezElMagnate2 жыл бұрын
@@avis5114 I did not. I manually adjusted the volume using the vga board in the back and called it a day.
@seanwarrington48322 жыл бұрын
@Texas Home Arcade Services - Great Video. i am at this stage in my MKII Legacy Mod - i did notice some other files - "Smithers" up to 1.6 is this a newer version ? or just something not for PI? - sorry - understand now - lol
@Xyerth10 ай бұрын
would all of what I am watching work on a Pi4B ?
@texashomearcadeservices47149 ай бұрын
In theory yes GPIO works on Pi4B also, but I have not tested these scripts on Pi4b. No obvious reason why it would not though.
@cbk122 жыл бұрын
Ok so I opened up my nba jam and they both have 3 wires where do I put the other at?
@texashomearcadeservices47142 жыл бұрын
The newer cabs use a momentary switch. In theory you can still use it for GPIO, you would just need to use only 2 of the wires and have the script just look for any state change on the pins and go straight to shutdown. I haven't used one of this type yet though, I usually swap it with an older style switch I already had on hand.
@cbk122 жыл бұрын
@@texashomearcadeservices4714 ok , any way you could do an updated video on how to do it? Or what wire would I remove or place it a certain way?
@cbk122 жыл бұрын
@@texashomearcadeservices4714 also how do I go about this if I have a fan installed 🤔 2 and 3 on right side if usb is on bottom
@eric43332 жыл бұрын
Does the monitor shut it self off when it detects no signal from the pi or do you have to shut the monitor off separately
@texashomearcadeservices47142 жыл бұрын
Yes they go into a sleep mode when there is no signal.
@rikstr12 Жыл бұрын
What about the LED buttons - do they also shut down when you flip the power button?
@danielmitchel313103 жыл бұрын
Will this work on a Raspberry Pi 4???
@sandersmisc2 жыл бұрын
Good question...I haven't been able to get the volume control to work on mine. I have a SF2 cabinet with the 3 position volume. Nothing I've tried has worked
@peyton_15242 жыл бұрын
I think it might
@danielmitchel313102 жыл бұрын
@@sandersmisc I have a Marvel Superheroes cabinet and it's got the sliding volume slider.
@GeekInfoTV3 жыл бұрын
Thanks a lot, will it be safe to use the same instructions on a Pi4?
@peyton_15242 жыл бұрын
I think so
@tannerarnett87933 жыл бұрын
Great guide, any ideas if the pi4 can be used?
@peyton_15242 жыл бұрын
I think so
@jeffbrownstein3 жыл бұрын
Are you connecting the speakers with an amp into the raspberry pi or did you plug them into the 4 pin port on the LCD control board?
@texashomearcadeservices47143 жыл бұрын
I connected my speakers to the headphone out jack on the HDMI board. But this solution is a software volume control and should work with any method of connecting your speakers.
@jeffbrownstein3 жыл бұрын
@@texashomearcadeservices4714 I ran the gpio-both script but only the power switch works. I did try running the volume script and the volume switch does work (but no power switch). only 1 switch works at a time. I did install the 1.3 version. Am I doing something wrong?
@texashomearcadeservices47143 жыл бұрын
@@jeffbrownstein Do you have the toggle type of power switch like NBA Jam or the kind like gen 1 where it clicks on and stays on? The script is designed for the type that is not a toggle. I am not sure yet if you can use the other type on GPIO to power on the Pi.
@seanwarrington48322 жыл бұрын
@@jeffbrownstein having the e same issue - did you get this sorted out ? would love to know what you did if so
@avis51142 жыл бұрын
Thanks for this. The power on/off works great, but the volume script doesn't seem to be doing anything for the actual volume. I've used your test script to verify that the switch is working, and the volume "Value" increased or decreases by 5 for every push. But in practice, the actual volume stays the same. Any suggestions? Thanks again
@lktn3262 жыл бұрын
I am having the same issue. Using the volume and power scripts on a SF2 partycade with gen 3 momentary volume switch. Power works flawlessly. Used the volume.py test script and can confirm volume up/down input and pins are working, and those volume changes (in the test script) seem to stick once I load back into emulation station. However, once loaded in, the volume up/down toggle doesn’t work (in-game or game selection screen after “delay” and scrolling to another game).
@ac40543 жыл бұрын
The link in yo'ur description doesn't work however I was able to find the file anyway. Also the files aren't the same that your video shows.
@texashomearcadeservices47143 жыл бұрын
I guess KZbin didn't like a direct link to a zip file, so I linked to the directory instead