RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Pi in a Sega Genesis USB Hub Build

    Scheduled Pinned Locked Moved Projects and Themes
    sega genesisgenesis usb hubbuildconsoleproject
    237 Posts 23 Posters 192.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cyperghostC
      cyperghost @meyemind
      last edited by

      @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

      meyemindM 2 Replies Last reply Reply Quote 0
      • meyemindM
        meyemind @cyperghost
        last edited by meyemind

        @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.

        obsidianspiderO 1 Reply Last reply Reply Quote 0
        • meyemindM
          meyemind @cyperghost
          last edited by

          @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... ;)

          cyperghostC 1 Reply Last reply Reply Quote 0
          • cyperghostC
            cyperghost @meyemind
            last edited by cyperghost

            @meyemind Well I ask because you can do the shutdown just with a switch and some scripts. I would try to usw the circuit from @adamspc but the shopping costs are high...

            Is there a way to geht the circuits cheaper?

            meyemindM 1 Reply Last reply Reply Quote 0
            • meyemindM
              meyemind @cyperghost
              last edited by

              @cyperghost Sorry, which circuit from @adamspc are you talking about?

              cyperghostC 1 Reply Last reply Reply Quote 0
              • cyperghostC
                cyperghost @meyemind
                last edited by

                @meyemind http://othermod.com/product/advanced-onoff-board/

                meyemindM adamspcA 2 Replies Last reply Reply Quote 0
                • meyemindM
                  meyemind @cyperghost
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • obsidianspiderO
                    obsidianspider @meyemind
                    last edited by

                    @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

                    cyperghostC mooseprM 2 Replies Last reply Reply Quote 1
                    • cyperghostC
                      cyperghost @obsidianspider
                      last edited by cyperghost

                      @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?

                      meyemindM 1 Reply Last reply Reply Quote 0
                      • mooseprM
                        moosepr @obsidianspider
                        last edited by

                        @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?

                        want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

                        obsidianspiderO 1 Reply Last reply Reply Quote 0
                        • obsidianspiderO
                          obsidianspider @moosepr
                          last edited by

                          @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

                          mooseprM 2 Replies Last reply Reply Quote 0
                          • mooseprM
                            moosepr @obsidianspider
                            last edited by

                            @obsidianspider good point, is there any resistance on the switch? does it click into the on/off positions?

                            want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

                            1 Reply Last reply Reply Quote 0
                            • mooseprM
                              moosepr @obsidianspider
                              last edited by

                              @obsidianspider ignore my random chicken scratch if it makes no sense

                              scribblez

                              want to get a tft into your project, look no further than here https://retropie.org.uk/forum/topic/7464/ili9341-tft-screen-guide

                              1 Reply Last reply Reply Quote 0
                              • hansolo77H
                                hansolo77
                                last edited by

                                I just got my tracking number from shirtpunch. It's on the way!

                                Who's Scruffy Looking?

                                1 Reply Last reply Reply Quote 1
                                • meyemindM
                                  meyemind @cyperghost
                                  last edited by meyemind

                                  @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 :)
                                  0_1481675562568_volumeSliderOverSegaGenUSBhub.jpg

                                  cyperghostC meyemindM 2 Replies Last reply Reply Quote 2
                                  • cyperghostC
                                    cyperghost @meyemind
                                    last edited by

                                    @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.

                                    meyemindM 1 Reply Last reply Reply Quote 0
                                    • meyemindM
                                      meyemind @cyperghost
                                      last edited by

                                      @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. ;)

                                      cyperghostC 1 Reply Last reply Reply Quote 1
                                      • cyperghostC
                                        cyperghost @meyemind
                                        last edited by cyperghost

                                        @meyemind ;) But keep in mind that this devices can only control analog signal and you can just use a slider resistor (afaik how the device works)
                                        For me I see three possibilities

                                        1. Use an AD changer, connect to I2C-Bus and then read out slider resistor value, poll this and use amixer command to lower and raise volume
                                        2. Use to push buttons, connect to free digital GPIO, poll the GPIO status and use amixer :)
                                        3. Use RC build and read out time capacitator keeps GPIO powered and then set volume via amixer

                                        The number gives also my favourite order to do the volume control :) I think this topic will give very interesting builds - keep prepared :)

                                        1 Reply Last reply Reply Quote 0
                                        • hansolo77H
                                          hansolo77
                                          last edited by

                                          @obsidianspider - Do you use a wireless Xbox 360 controller (and dongle of course) by chance? I'd be curious to know if the hub is capable of feeding enough power to run that. A recent post in the xbox-360-controller thread has me thinking about this. Based on observations and a bit of thinking of my own, it looks like the hub isn't powered, and only gets it's juice through the USB. If that's the case, it might not be powerful enough to control some gamepads. Granted, I don't intend on having anything more than some USB Sega controllers. But for testing/etc, I prefer to use my trusty 360 controller.

                                          Am I correct though, that essentially you're running USB power from the wall into the Pi (via the Mausberry) and then connecting the hub to the Pi? Or are you planning on going the other way, powering the HUB, and then the Pi from the hub? I guess it doesn't really matter, although going from the HUB to the Pi would remove the ability to use one of the "front of the case" USB ports.

                                          If you are powering directly to the Pi first, will that cause any extra drain that would make the hub any less powered? If it does, can you do any sort of splitting, and have the 1 power coming in go off into the Pi and the hub simultaneously? Or is that just crazy talk? :) LOL.

                                          Who's Scruffy Looking?

                                          obsidianspiderO 1 Reply Last reply Reply Quote 0
                                          • obsidianspiderO
                                            obsidianspider @hansolo77
                                            last edited by

                                            @hansolo77 I've never used an Xbox 360 controller with a Pi project (or ever, wow, I just realized I've never played an Xbox, weird), but if you go back to how I powered the USB hub you'll see that I tagged GPIO for its power instead of the USB port power on the Pi. The reason I did that is that it's my understanding that the 5V GPIO pins get the full power from the power supply, and are not limited to 500mA like the standard USB ports. That said, I can't think that a wireless dongle takes THAT much power, but what I would do to test is try plugging the whole USB hub into the Pi before you take it apart, make sure that it works, then try plugging in your Xbox dongle into the hub and see if that works. It should. If you have power problems, you may need to hot rod the hub like I did to pull in more power.

                                            📷 @obsidianspider

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.