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.
    • mooseprM
      moosepr
      last edited by

      @thedudester80 Nice work dude, your getting good at squeezing stuff in those little tins!

      How many things are you using USB for? I would be tempted to try and scrap the hub and connect your buttons to the gpio, that way you save on bits to squeeze in, and you gain some battery life too. Have a look here
      https://learn.adafruit.com/retro-gaming-with-raspberry-pi/adding-controls-hardware
      And the next page is the software setup.

      It does mean the pi is doing a little more work, but I don't think you will notice any difference

      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 2 Replies Last reply Reply Quote 1
      • T
        thedudester80 @moosepr
        last edited by

        @moosepr I don't know why gpio didn't even cross my mind? You sir are a huge help. Ill get to working on it later today and let you know how it goes. =] Thanks for the idea.

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

        1 Reply Last reply Reply Quote 0
        • Z
          Zigurana
          last edited by

          Ok, that video made me LOL.
          Cool project!

          If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

          T 1 Reply Last reply Reply Quote 1
          • cellyC
            celly
            last edited by

            Love it! Great build.

            Currently Playing: Tetris (Gameboy)

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

              @Zigurana Yeah I like to make people laugh. Glad you enjoyed it and thank you for the compliment on my project =]

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

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