Arcade1Up power and volume on Raspberry Pi 3 with GPIO

  Рет қаралды 8,288

Texas Home Arcade Services

Texas Home Arcade Services

Күн бұрын

Пікірлер: 52
@Lexannn
@Lexannn 2 жыл бұрын
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.
@Lexannn
@Lexannn 2 жыл бұрын
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....!
@ps2daddy
@ps2daddy 2 жыл бұрын
@@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
@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
@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
@AlanRenouf Жыл бұрын
Can you share the updates you made please?
@gottahavitvt
@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"
@DanielMartin1974
@DanielMartin1974 3 жыл бұрын
You're welcome 😁 glad you're getting some use out of my scripts. Also good mod for the toggle volume.
@texashomearcadeservices4714
@texashomearcadeservices4714 3 жыл бұрын
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.
@DanielMartin1974
@DanielMartin1974 3 жыл бұрын
@@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.
@texashomearcadeservices4714
@texashomearcadeservices4714 3 жыл бұрын
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.
@DanielMartin1974
@DanielMartin1974 3 жыл бұрын
@@texashomearcadeservices4714 no originally here github.com/dmanlfc/arcade1up. It's been forked a few times. I added Latte Panda scripts too using Arduino also.
@texashomearcadeservices4714
@texashomearcadeservices4714 3 жыл бұрын
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-i6c
@OldskoolArcades-i6c 20 күн бұрын
Power worked but not volume. What am I doing wrong
@theweekendhomestead
@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.
@cbk12
@cbk12 2 жыл бұрын
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?
@gamerdad000
@gamerdad000 2 жыл бұрын
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'?
@majerelynn
@majerelynn 3 жыл бұрын
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?
@JavierLopezElMagnate
@JavierLopezElMagnate 2 жыл бұрын
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....
@avis5114
@avis5114 2 жыл бұрын
Did you ever figure this out? I'm in the same boat
@JavierLopezElMagnate
@JavierLopezElMagnate 2 жыл бұрын
@@avis5114 I did not. I manually adjusted the volume using the vga board in the back and called it a day.
@seanwarrington4832
@seanwarrington4832 2 жыл бұрын
@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
@Xyerth
@Xyerth 10 ай бұрын
would all of what I am watching work on a Pi4B ?
@texashomearcadeservices4714
@texashomearcadeservices4714 9 ай бұрын
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.
@cbk12
@cbk12 2 жыл бұрын
Ok so I opened up my nba jam and they both have 3 wires where do I put the other at?
@texashomearcadeservices4714
@texashomearcadeservices4714 2 жыл бұрын
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.
@cbk12
@cbk12 2 жыл бұрын
@@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?
@cbk12
@cbk12 2 жыл бұрын
@@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
@eric4333
@eric4333 2 жыл бұрын
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
@texashomearcadeservices4714
@texashomearcadeservices4714 2 жыл бұрын
Yes they go into a sleep mode when there is no signal.
@rikstr12
@rikstr12 Жыл бұрын
What about the LED buttons - do they also shut down when you flip the power button?
@danielmitchel31310
@danielmitchel31310 3 жыл бұрын
Will this work on a Raspberry Pi 4???
@sandersmisc
@sandersmisc 2 жыл бұрын
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_1524
@peyton_1524 2 жыл бұрын
I think it might
@danielmitchel31310
@danielmitchel31310 2 жыл бұрын
@@sandersmisc I have a Marvel Superheroes cabinet and it's got the sliding volume slider.
@GeekInfoTV
@GeekInfoTV 3 жыл бұрын
Thanks a lot, will it be safe to use the same instructions on a Pi4?
@peyton_1524
@peyton_1524 2 жыл бұрын
I think so
@tannerarnett8793
@tannerarnett8793 3 жыл бұрын
Great guide, any ideas if the pi4 can be used?
@peyton_1524
@peyton_1524 2 жыл бұрын
I think so
@jeffbrownstein
@jeffbrownstein 3 жыл бұрын
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?
@texashomearcadeservices4714
@texashomearcadeservices4714 3 жыл бұрын
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.
@jeffbrownstein
@jeffbrownstein 3 жыл бұрын
@@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?
@texashomearcadeservices4714
@texashomearcadeservices4714 3 жыл бұрын
@@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.
@seanwarrington4832
@seanwarrington4832 2 жыл бұрын
@@jeffbrownstein having the e same issue - did you get this sorted out ? would love to know what you did if so
@avis5114
@avis5114 2 жыл бұрын
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
@lktn326
@lktn326 2 жыл бұрын
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).
@ac4054
@ac4054 3 жыл бұрын
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.
@texashomearcadeservices4714
@texashomearcadeservices4714 3 жыл бұрын
I guess KZbin didn't like a direct link to a zip file, so I linked to the directory instead
@rikstr12
@rikstr12 Жыл бұрын
Can you point me to the correct files please?
@markharmon9323
@markharmon9323 2 жыл бұрын
Nice Image
@MobileDecay
@MobileDecay 2 жыл бұрын
Too bad this only works for retropie. ☹️
The Ultimate RetroPie Setup and Install Guide (2022)
22:35
TheGeekPub
Рет қаралды 314 М.
‪Arcade1UP Raspberry Pi Install Tutorial - RetroPie in an Arcade1UP
23:53
HELP!!!
00:46
Natan por Aí
Рет қаралды 70 МЛН
快乐总是短暂的!😂 #搞笑夫妻 #爱美食爱生活 #搞笑达人
00:14
朱大帅and依美姐
Рет қаралды 9 МЛН
Raspberry Pi: Why No Power Button? And Simple Solutions!
10:51
MikeJRthe2nd
Рет қаралды 98 М.
When Did Raspberry Pi become the villain?
21:54
Jeff Geerling
Рет қаралды 1,7 МЛН
It’s So Easy! Arcade1up Mod Anyone Can Do
27:58
Showtime Gaming
Рет қаралды 11 М.
I built a Retro Arcade Machine from Old Pallets
15:41
Wooden It Be Grand
Рет қаралды 331 М.
Flipper Zero Must Have Modules
14:53
sn0ren
Рет қаралды 69 М.
Use Arcade1UP Stock Volume Switch on Modded Gen 1 Cabinet
3:57
Detroit Love
Рет қаралды 6 М.
Using the Smithers script on the Mr Burns RetroPie image
11:20
Texas Home Arcade Services
Рет қаралды 4,9 М.