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

    How to make Gameboy Zero

    Scheduled Pinned Locked Moved Help and Support
    helpretropierpi0diygameboy
    24 Posts 4 Posters 4.8k 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.
    • lostlessL
      lostless @omission229
      last edited by lostless

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • lostlessL
        lostless @omission229
        last edited by lostless

        @omission229 calm down. No need to rage. You are entering a whole realm of possibilities on how to do this project. You just don’t wire up buttons to the pi and expect it to work. There is not just a place where you wire a button and it does something. You should learn what GPIO is and how it works. Those pins on the pi are multi purpose and you program them on what to do. And that requires some programming knowledge, well beyond what I’m even capable of. And that’s with some basic knowledge on how the pi works. And they can be inputs or outputs depending on what pin and how the are programmed. Also some basic electronic knowledge comes handy.
        Your screen can also be gpio based, but will require you to install a driver to run it off. The easiest way would be to get an hdmi screen.
        A lot of these kits you buy, like the said retroflag one mentioned above, have done all the hard labor and programming to get them to run. You have to use their version of retropie with all their drivers built in and scripts that programmed the controller and power management.
        The pi is meant to be a computer, where you learn how computers work. Time to start learning and Good luck on your adventure and project. I hope you enjoy the process as much as I have.

        1 Reply Last reply Reply Quote 3
        • mituM
          mitu Global Moderator @omission229
          last edited by

          @omission229 There are a lot of resources (including videos) detailing how to connect a button to a Raspberry PI via GPIO and how to read when the button is pressed/released (see [1], [2]).
          As @lostless said, just connecting the button is not enough, the inputs need to be translated into something meaningful for an emulator - usually this is done with a Python script, but it can also be handled with a driver (see [3], [4] or [5]).

          You can also take a look at complete builds including RetroPie for similar Gameboy-like handheld devices in (see [6] or [7]).

          [1] https://raspberrypihq.com/use-a-push-button-with-raspberry-pi-gpio/
          [2] https://thepihut.com/blogs/raspberry-pi-tutorials/tutorial-tactile-switch

          [3] https://github.com/mholgatem/GPIOnext
          [4] https://retropie.org.uk/docs/GPIO-Modules/
          [5] https://github.com/recalbox/mk_arcade_joystick_rpi

          [6] https://learn.adafruit.com/pigrrl-raspberry-pi-gameboy
          [7] https://learn.adafruit.com/super-game-pi

          1 Reply Last reply Reply Quote 1
          • omission229O
            omission229
            last edited by

            Yeah but most people use button pcb's which is way different than just using seperate buttons

            1 Reply Last reply Reply Quote 0
            • omission229O
              omission229
              last edited by

              3fa9610f-6a00-41f4-a60e-f923a5e7a103-image.png found it here: https://www.instructables.com/DIY-Raspberry-Pi-Zero-Handheld-Game-Console/ the dude used recalbox but I don't think it will really make a difference

              1 Reply Last reply Reply Quote 0
              • omission229O
                omission229
                last edited by

                https://www.instructables.com/GameBoy-Pi/ This is more acurate >:V

                lostlessL 1 Reply Last reply Reply Quote 0
                • lostlessL
                  lostless @omission229
                  last edited by lostless

                  @omission229 looks like your on your way to learning how all this works. As you can tell there is more than 1 way to achieve this project. And is why no one here can just tell you what to do. Just FYI, to help you on your way, the wiring chart you posted is for recalbox and will not work on retropie. It looks like recalbox has already added gpio support and from what I could find, you have to edit a config file to enable it. The second method you posted uses a script you have to download and has a different wiring diagram. Good luck and have fun.

                  omission229O 1 Reply Last reply Reply Quote 2
                  • omission229O
                    omission229
                    last edited by

                    now im really raging 😡

                    1 Reply Last reply Reply Quote -2
                    • omission229O
                      omission229
                      last edited by

                      This is from the second link and this guy uses retropie
                      LEFT 4 # Joypad left

                      RIGHT 19 # Joypad right

                      UP 16 # Joypad up

                      DOWN 26 # Joypad down

                      LEFTCTRL 14 # 'A' button

                      LEFTALT 15 # 'B' button

                      Z 20 # 'X' button

                      X 18 # 'Y' button

                      SPACE 5 # 'Select' button

                      ENTER 6 # 'Start' button

                      A 12 # Left shoulder button

                      S 13 # Right shoulder button

                      1 Reply Last reply Reply Quote 0
                      • omission229O
                        omission229 @lostless
                        last edited by

                        @lostless said in How to make Gameboy Zero:

                        @omission229 looks like your on your way to learning how all this works. As you can tell there is more than 1 way to achieve this project. And is why no one here can just tell you what to do. Just FYI, to help you on your way, the wiring chart you posted is for recalbox and will not work on retropie. It looks like recalbox has already added gpio support and from what I could find, you have to edit a config file to enable it. The second method you posted uses a script you have to download and has a different wiring diagram. Good luck and have fun.

                        How could you say that? This is not even fun at all.

                        lostlessL 1 Reply Last reply Reply Quote 0
                        • lostlessL
                          lostless @omission229
                          last edited by lostless

                          @omission229 if you are raging and not having fun, then maybe this project is not for you. And thats OK.
                          As I said before, the raspberry pi was created to help teach computers and electronics to people. Something cheap to mess around with. It’s not a premade, build it yourself kit. It’s just a generic dummy computer that you program. And to do what you what you want, there are several ways to achieve that. Either you buy a premade kit like the retro flag, or you learn how to do different ways to achieve this. And you can tinker and mess around to get the result you want. And that requires learning the ins and out of the pi and Linux, and small amounts of scripting. And you will fail and mess up and retry over and over. Like I didn’t with my first retro pie project. And over time I learned how it works. But Between me and @mitu and your little research, you have some ideas to work with.

                          1 Reply Last reply Reply Quote 1
                          • omission229O
                            omission229
                            last edited by

                            I don't care what you say im doing things my way >:(

                            lostlessL 1 Reply Last reply Reply Quote 0
                            • omission229O
                              omission229
                              last edited by

                              I have an idea. I can get a cheap nes handheld from Amazon and replace the main board with the pi

                              1 Reply Last reply Reply Quote 0
                              • lostlessL
                                lostless @omission229
                                last edited by

                                @omission229 said in How to make Gameboy Zero:

                                I don't care what you say im doing things my way >:(

                                No one here is saying you can’t. ??????

                                @omission229 said in How to make Gameboy Zero:

                                I have an idea. I can get a cheap nes handheld from Amazon and replace the main board with the pi

                                Good. Sounds like a project you can work on.

                                1 Reply Last reply Reply Quote 1
                                • omission229O
                                  omission229
                                  last edited by

                                  but will it work?

                                  lostlessL 1 Reply Last reply Reply Quote 0
                                  • lostlessL
                                    lostless @omission229
                                    last edited by lostless

                                    @omission229 The question should not be will it work, in electronics the question should be how can I make this work? The only limiting factor is your drive to learn and how much work you want to put into a project.

                                    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.