RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    PiGRRL Button installation need advise

    Scheduled Pinned Locked Moved Help and Support
    pigrrladafruit pcbwaveshare 3.2tactile switchbuttons gpio
    12 Posts 3 Posters 2.9k 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.
    • tonaytanT
      tonaytan
      last edited by

      I just want to know if I can solder my Buttons with a GPIO PIN will the CPU burn off?

      caver01C 1 Reply Last reply Reply Quote 0
      • caver01C
        caver01 @tonaytan
        last edited by

        @tonaytan heh, you can if you are mindful about which GPIO you use. Some pins supply power (3.3v, 5v), others are ground. Every button should get a common ground on one side of the switch. You could use a single pin for this and daisy chain it to every switch so they all share the same ground in parallel. The other side of the switches will each require their own pin, and you obviously don't want to wire them to the power pins. Which ground and which open pins you use will depend on what is available after you find out what your display is using. There are a lot of resources online that show the pins folks are using for things like buttons. I would be surprised if there isn't already a pigrrl tutorial out there that suggests which ones to use.

        My 4-player cocktail style cabinet built as a custom "roadcase"

        1 Reply Last reply Reply Quote 0
        • caver01C
          caver01
          last edited by

          Maybe your button PCB already does the parallel ground for you. . .

          My 4-player cocktail style cabinet built as a custom "roadcase"

          1 Reply Last reply Reply Quote 0
          • tonaytanT
            tonaytan
            last edited by tonaytan

            as a quick update i asked ADAFRUIT and today I am going to solder the pins on the pcb and trying to get some signals 0_1502430887378_adafr.png

            caver01C 1 Reply Last reply Reply Quote 0
            • caver01C
              caver01 @tonaytan
              last edited by

              @tonaytan sounds like they were designed to work together. That’s good!

              My 4-player cocktail style cabinet built as a custom "roadcase"

              1 Reply Last reply Reply Quote 0
              • tonaytanT
                tonaytan
                last edited by

                could get it to work :)

                caver01C 1 Reply Last reply Reply Quote 0
                • caver01C
                  caver01 @tonaytan
                  last edited by

                  @tonaytan said in PiGRRL Button installation need advise:

                  could get it to work :)

                  You did? That's great! Will you post some photos here? I am considering this project or maybe the mintyPi. I might like to see how you did it.

                  My 4-player cocktail style cabinet built as a custom "roadcase"

                  1 Reply Last reply Reply Quote 0
                  • L
                    lsolazzi
                    last edited by

                    How did you manage to work with the lack of gpio? soldering the pigrrl pcb to the raspberry? i can't find any examples of waveshare and pigrrl pcb. I would really appreciate if you could attach a picture or say how you solved it. Thanks!

                    1 Reply Last reply Reply Quote 0
                    • tonaytanT
                      tonaytan
                      last edited by

                      so i soldered everything then connected the display got it to work with that guide https://retropie.org.uk/forum/topic/295/retropie-and-waveshare-32b/2 after that i installed GPIOnext https://github.com/mholgatem/GPIOnext by using gpionext configure as a keyboard. worked fine

                      1 Reply Last reply Reply Quote 1
                      • tonaytanT
                        tonaytan
                        last edited by tonaytan

                        so guys i had problems with the GPIOnext and the waveshare driver that i had. They both used pins at the same time.
                        Thanks mholgatem the programmer of the program he gave me some commands to type in,to configure the buttons with the right pins that are usable. So guys i wired this thing just with the single purpose of using pins who are not used and dont damage the raspberry or the display . So the commands are with my ports .

                        MY SETTINGS
                        [
                        sudo python3 /home/pi/GPIOnext/config_manager.py --pins 3,5,22,10,7,29,31,32,33,35,36,37,38,40

                        gpionext set pins 3,5,22,10,7,29,31,32,33,35,36,37,38,40

                        gpionext reload

                        sudo reboot
                        //if you soldered your wires to different ports you can add them in the line down below !
                        [
                        sudo python3 /home/pi/GPIOnext/config_manager.py --pins 29,31,32,33,35,36,37,38,40

                        gpionext set pins 29,31,32,33,35,36,37,38,40

                        gpionext reload

                        sudo reboot
                        ]

                        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.