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

    I'm getting really crazy with these Altoids.

    Scheduled Pinned Locked Moved Projects and Themes
    pi zeroaltoidsmint game pi
    49 Posts 9 Posters 20.4k 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.
    • T
      thedudester80 @celly
      last edited by

      @celly Thank you. It was quiet a challenge. =]

      Mint Boy, Case Arcade, New Projects Coming soon....

      1 Reply Last reply Reply Quote 0
      • T
        thedudester80 @moosepr
        last edited by

        @moosepr I'am having the worst time getting gpio buttons to work.

        Mint Boy, Case Arcade, New Projects Coming soon....

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

          @thedudester80 oh no! :-( How far have you got?

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

          T 1 Reply Last reply Reply Quote 0
          • T
            thedudester80 @moosepr
            last edited by

            @moosepr I got everything but my select button and Y button working. Heres how they are mapped on my gpio.

            Start=4
            up=17
            select=11 Gpio 8 is already used for I2S amp so I could not use that.
            down=27
            left=22
            right=23
            A=24
            B=10
            X=9
            Y=25
            Ground is pin 6 for ground on my permaproto.

            The wiring is fine and the button works. I'm guessing its a programming issue. Any thoughts on what I did wrong? lol

            Mint Boy, Case Arcade, New Projects Coming soon....

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

              @thedudester80 the only thing I can think is to check the config on the pi, make sure you don't have spi enabled, pin 11 is listed as the clock signal for spi so that could be conflicting

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

              T obsidianspiderO 2 Replies Last reply Reply Quote 0
              • T
                thedudester80 @moosepr
                last edited by

                @moosepr Thats a good idea Ill do that and let you know how it went. Thank you.

                Mint Boy, Case Arcade, New Projects Coming soon....

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

                  @moosepr said in I'm getting really crazy with these Altoids.:

                  make sure you don't have spi enabled

                  Don't you need SPI to drive the screen? Maybe I'm missing something, but my GPIO-connected TFT needed SPI enabled.

                  📷 @obsidianspider

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    thedudester80 @obsidianspider
                    last edited by

                    @obsidianspider I'm not running a tft I'm using a composite display. So those pins are available. This may seem like a weird question but to edit the gpio inputs I go to the retropie.cfg file right ?

                    Mint Boy, Case Arcade, New Projects Coming soon....

                    obsidianspiderO 2 Replies Last reply Reply Quote 1
                    • obsidianspiderO
                      obsidianspider @thedudester80
                      last edited by

                      @thedudester80 said in I'm getting really crazy with these Altoids.:

                      @obsidianspider I'm not running a tft I'm using a composite display. So those pins are available. This may seem like a weird question but to edit the gpio inputs I go to the retropie.cfg file right ?

                      I'm not sure. On my Super Famicom Pi I'm using a SPI TFT so I had the "multiple things trying to use the same GPIO" problem. I abandoned GPIO for controller inputs and used a Raphnet USB adapter.

                      📷 @obsidianspider

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        thedudester80 @obsidianspider
                        last edited by

                        @obsidianspider Yeah I used a teensy but the pi zero can only take 1 usb input at a time so I could not use the usb hub. Now that my buttons are GPIO and all but 2 are working the hub is great to have to edit files with a keyboard and upload roms without taking it apart to get to the pi and micro sd. I just need to find a wire diagram of where all the buttons go and how to configure them to all work. This is my first time doing anything GPIO so its all new to me.

                        Mint Boy, Case Arcade, New Projects Coming soon....

                        obsidianspiderO mooseprM 2 Replies Last reply Reply Quote 1
                        • obsidianspiderO
                          obsidianspider @thedudester80
                          last edited by

                          @thedudester80 Once you get it figured out, please let us know how you did it.

                          📷 @obsidianspider

                          T 2 Replies Last reply Reply Quote 1
                          • BriganeB
                            Brigane
                            last edited by

                            Ohh my god.. What a hilarious video. I laughed my ass out while watching it and what a lovely pocket size build :-P

                            Systems: Raspberry Pi 0/2/3 Model B+
                            Os: RetroPie 4.5
                            Frontend: Emulationstation & Attract Mode

                            T 1 Reply Last reply Reply Quote 1
                            • mooseprM
                              moosepr @thedudester80
                              last edited by

                              @thedudester80 yeah you need to edit the code so it knows which gpio pin pretends to be which keypress. You then need to build the app again with the make commands. Once it is built you can run it in the command line just to test it, then add it into the startup so it's there every time. I used this to figure out out

                              https://learn.adafruit.com/retro-gaming-with-raspberry-pi/adding-controls-software

                              It's actually changed since I did mine, it doesn't need a recompile by the looks of it

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

                              T 1 Reply Last reply Reply Quote 1
                              • T
                                thedudester80 @obsidianspider
                                last edited by

                                @obsidianspider I will no problem =]

                                Mint Boy, Case Arcade, New Projects Coming soon....

                                1 Reply Last reply Reply Quote 0
                                • T
                                  thedudester80 @Brigane
                                  last edited by

                                  @Brigane Hey thanks. Im glad you think its cool and glad you laughed. =]

                                  Mint Boy, Case Arcade, New Projects Coming soon....

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    thedudester80 @moosepr
                                    last edited by

                                    @moosepr Thanks Ill keep trying until it works. When I get it all figured out Ill try to make a tutorial video for you guys when I get time..... if the interest is there of course lol

                                    Mint Boy, Case Arcade, New Projects Coming soon....

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

                                      @thedudester80 said in I'm getting really crazy with these Altoids.:

                                      @moosepr Thanks Ill keep trying until it works. When I get it all figured out Ill try to make a tutorial video for you guys when I get time..... if the interest is there of course lol

                                      You mean putting it in the toaster oven AND the dishwasher? ;)

                                      📷 @obsidianspider

                                      T 1 Reply Last reply Reply Quote 3
                                      • T
                                        thedudester80 @obsidianspider
                                        last edited by

                                        @obsidianspider No Ill have something a bit easier to follow =] .

                                        Mint Boy, Case Arcade, New Projects Coming soon....

                                        1 Reply Last reply Reply Quote 1
                                        • T
                                          thedudester80 @obsidianspider
                                          last edited by

                                          @obsidianspider Well I figured it out and now everything works as it should. I had one wire not in the right place..... go figure. Also I kept going to the wrong spot to edit my controls and at times I had 2 buttons programmed to the same output. Needless to say it was a lot simpler than I was making it. Learned a lot about counting pins and second guessing what I just counted before I soldered it up. Glad its all done and behind me. =]

                                          Mint Boy, Case Arcade, New Projects Coming soon....

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

                                            @thedudester80 good news man! Now there is less in the box, you can fit it all in an even smaller tin! ;-)

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

                                            T 1 Reply Last reply Reply Quote 1
                                            • 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.