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

    Custom portable Pi using xbox 360 controller split in half.

    Scheduled Pinned Locked Moved Projects and Themes
    buildcontroller help
    5 Posts 2 Posters 2.0k 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.
    • M
      maz
      last edited by

      I am creating a potable pi, and to help make comfortable controls I have cut a xbox controller in half and wiring the buttons to a teensey 3.2 https://www.pjrc.com/teensy/teensy31.html It is supposed to act like a generic usb gamepad.

      I thought it was going to be straight forward. I have run into one big problem. I connected a general ground wire to the board, a 3.3v to power the thumbsticks and a wire to each button. It looks like when I have the 3.3v connected to power the Thumbsticks (potentiometers) work properly, but then the buttons won't register. The opposite is true if I disconnect the 3.3v then buttons works, but not thumbsticks.

      I can't think of what to do next, do I have to break up the ground, so the thumsticks (and trigger) don't share a ground with buttons? Finding that does not seem like a fun task.

      I have seen people post their custom projects here, maybe someone has better electronic / circuit knowledge can shed some light.

      edmaul69E 1 Reply Last reply Reply Quote 0
      • edmaul69E
        edmaul69 @maz
        last edited by edmaul69

        @maz i think you might have the ground and 3.3v backwards on the thumbsticks. I would test to verify they are a shared ground. Then test to verify that the buttons are indeed on ground and not 3.3v. To test that you need to test with the analogs hooked up and not hooked up. And there is a possibility that the analogs might work with only 5v or ground hooked up. It is how older joysticks and paddles are.

        1 Reply Last reply Reply Quote 0
        • M
          maz
          last edited by

          Thanks, I will test that after work tonight. I should have thought of that as I couldn't find an exact pinout for the thumbsticks on the board. I just looked at how they are setup on thumbsticks you get from sparkfun / adafruit.
          Wish I tried that last night, now I have to sit here at working thinking about something so simple for so long.

          1 Reply Last reply Reply Quote 0
          • M
            maz
            last edited by

            I can't say thank you enough @edmaul69 I totally should have thought of that before. I am pretty sure I will always remember in the future at least.

            That worked, I swapped what I thought was ground and 3.3v and it turns out I soldered to the wrong pings on the board!

            edmaul69E 1 Reply Last reply Reply Quote 1
            • edmaul69E
              edmaul69 @maz
              last edited by

              @maz glad to help.

              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.