Pi in a Sega Genesis USB Hub Build
-
@cyperghost if you can control the audio level through the gpio with this that would be awsome.
-
@edmaul69 That is easily possible!
# Gets a list of simple mixer controls $ amixer scontrols Simple mixer control 'Master',0
then
amixer sset 'Master' 10%+
Raises mastervolume to 10% ingrements and you will just need a script that read out the GPIO to raise and the GPIO to lower volume.
EDIT:
Well I would use two springs, that center the slider. Then you hold it in + position and the script ask every 0,5 seconds the status of the GPIO and then raises volume +10%. Hold the slider in - position the script asks the status of the GPIO and lowers volume -10% -
With the power on/off switch, here is a solution I'm going to try for my build, thank you @obsidianspider , definitely following your progress to lead the way for mine!! (solder station arrives tomorrow :) The LED can go straight to the genesis hub, and I'll incorporate the switch as well.
Cheers,
-
@meyemind Does this fit in the case? I'm a bit concerned...
What is the difference between the powerblock and the mausberry?
Are these circuits a "must have" or more a "nice to have"?Can we get them cheaper? :D
-
@cyperghost I'm not sure how @obsidianspider was going to fold in the mausberry, but from what I can tell, yes the powerblock should fit just fine, I was confident enough to make purchase and will post a reply once I have it and can show that it fits.
-
@cyperghost Regarding the "must have" vs "nice to have" hooking up the power switch on the genesis USB hub is definitely a "nice to have" option. The pi3's don't come with an on/off power switch, you would "sudo shutdown -h now" command line or via terminal to properly and safely shutdown the pi before pulling the plug. Furthermore all of the emulation OS options out there have GUI options to do this as well.
But putting in a switch is so much sexier... ;)
-
-
@cyperghost Sorry, which circuit from @adamspc are you talking about?
-
-
@cyperghost Ya, nice one, if the soft on/off action is what your looking for. After a few quick searches on pi3 soft on/off... it pretty much returned a page with your link and this simple soft on/off one.
Looks like it's a custom board that unless you can find someone else who created an alternative soft on/off option for cheaper w/ $hipping, then that Advanced On/Off Board is your best bet. Keep us posted.
-
@meyemind said in Pi in a Sega Genesis USB Hub Build:
@cyperghost I'm not sure how @obsidianspider was going to fold in the mausberry
With the 2-pin spring header board as a separate piece, I'm planning to have it sit next to the Pi board and connect the Mausberry via wires, not a plug. The Mausberry hasn't arrived yet, but once it does, don't worry, I'll post pictures of how it does, or doesn't work. Since I'm still looking for a power switch I may use a simple light switch flopping around on the outside of the case temporarily to control the Mauseberry.
-
@obsidianspider Yes I think the mausberry (spring version) is the best option. The board from petroblock seems to be a bigger in size ....
But the costs are high....
17$ + 5$ shipping is okay for mausberry
22$ + 5$ shipping for petroblock is okay :)
10$ + 20$ shipping for othermod is great (without shipping)But how the circuits work?
- The othermod seems to use the TX pin of the UART interface, one GPIO Pin and use python scripts.
- petro function I can't explain :)
- The Mausberry uses two GPIOs and a batch script.
- Can someone tell me which one better, faster, more relieable?
- What switches are needed for each? Momentary switches or just push buttons?
Or am I wrong?
-
@obsidianspider couldn't you use a microswitch like the inside of an arcade joystick?
http://m.ebay.co.uk/itm/182057484715
Maybe if you can position it so the actual sliding switch hits the lever?
-
@moosepr Not a terrible idea, but I wonder how well it will stay in position. Since it's acting as a power switch I don't want it to flop around.
-
@obsidianspider good point, is there any resistance on the switch? does it click into the on/off positions?
-
@obsidianspider ignore my random chicken scratch if it makes no sense
-
I just got my tracking number from shirtpunch. It's on the way!
-
@cyperghost This looks like it could be a winner no? I'm going to try and gut and use this thing...
Headset Audio Controller for PS4 DualShock Controller w/ Volume Slider
via Amazon dot com ~> http://a.co/cDFUJsV
Note: Cropped Photo NOT to scale :)
-
@meyemind I am not sure how this device operates.To be honest how much times do you change volume settings? I think my first idea with incremental volume change by 2 push buttons fits best.
You can also set a variable resistor and a capacitator to record time of dischargement ... And then set volume in depence oft dischargment time but this is oversized and the system is not stable to enviroment influence.
-
@cyperghost I hear ya and your right, but the slider is there, and it can control the volume when hooked up to your TV and when you have headphones jacked in, I still think it's worth it. ;)
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.