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

    Pi in a Gameboy Advance Build - WIP

    Scheduled Pinned Locked Moved Projects and Themes
    gameboy advancegbabuildhandheldproject
    240 Posts 18 Posters 180.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.
    • obsidianspiderO
      obsidianspider
      last edited by obsidianspider

      The broken DS Lite I bought on eBay showed up today.
      0_1478725996848_broken-ds-lite.jpg

      Using two guides over at iFixit I had the DS Lite apart in minutes. If I was actually trying to put it back together again I could see it taking much longer.
      0_1478726092969_ds-lite-apart.jpg

      I'm mainly concerned with the ABXY button area and that part of the circuit board, but I've read that the DS Lite speakers sound pretty good, so hopefully these aren't blown. It also had the 1000mAh 3.7V battery inside, so I may mess around with that a bit during my initial testing of going on battery power.

      It looks like I'll be able to section out the ABXY area of the case and frankencase it into the GBA case
      0_1478726403667_ds-lite-buttons.jpg
      0_1478726195389_ds-lite-bottom-outside.jpg
      0_1478726204532_ds-lite-bottom-underside.jpg
      0_1478726252845_ds-lite-abxy-outside.jpg
      0_1478726260274_ds-lite-abxy-underside.jpg

      I took a piece of scrap paper and did a rubbing of the button holes from the DS Lite and placed it on the GBA case and it is like it was made for it.
      0_1478726276431_ds-lite-button-holes-on-gba.jpg

      Next I'm going to see if I can wire up the ABXY buttons from the DS Lite and the directional, L, R, Start, and Select buttons from the GBA. I found some pinouts on a few different websites.

      0_1478726461483_ds-lite-board-front.jpg
      0_1478726468363_ds-lite-board-back.jpg
      0_1478728954020_dslight pinout.jpg

      0_1478727007258_gba-board-front.jpg
      0_1478727043231_gba-board-back.jpg
      0_1478727059781_GBAtestpoints.jpg

      With how thin the DS casing is I'm thinking I will be able to put the DS Lite PCB on top of the GBA PCB and that extra depth should make up the difference in case thickness. At least that's the theory.

      Onward.

      📷 @obsidianspider

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

        @obsidianspider looking good dude! I did think those nds buttons would be a good fit for the GBA

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

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

          @moosepr The trick now will be to modify the case and not have it come out looking horrible. First though, I'll tackle the buttons. There are a ton of resistors, capacitors and ICs on the back and I want to cut the button pad area down pretty hard, but I also don't want to wreck a trace.

          📷 @obsidianspider

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

            @obsidianspider yeah that was always my worry. the texture on the GBA is a nice and smooth, but with an obvious texture. there are some online that have the whole 'sucked toffee' look to them, and loose the whole 'factory finish' there are of course ways to get texture. There are even the totally random stone effect paints that could actually be that weird kind of cool

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

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

              Today I decided to start working on getting the boards trimmed down. First I desoldered all of the "stuff" that I wouldn't be using (capacitors, resistors, ICs) from the PCBs. Some didn't go very well, but I really only care about the button pads for the most part.

              0_1478811717099_desolder-gba-front.jpg
              0_1478811725559_desolder-gba-back.jpg
              0_1478811731549_desolder-ds-lite-front.jpg
              0_1478811738450_desolder-ds-lite-back.jpg

              Then I cut things down with my Dremel.

              0_1478811757176_cut-boards-front.jpg
              0_1478811762847_cut-boards-back.jpg

              A test fit shows that things look pretty good.

              0_1478811779215_boards-in-gba-2016-11-10.jpg

              I was hoping to reuse the red, green, and orange LEDs from the DS Lite for power, low battery, and charging, but it looks like the green LED is burned out. Oh well, I'm definitely already getting my $7 worth out of the unit.

              📷 @obsidianspider

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

                To anyone who thinks this stuff is easy, it's not. I've been frustrated with this project the past few days. The whole "fit ten pounds of stuff in a five pound bag" is becoming very real. I ordered a volume potentiometer, but just discovered the factory headphone jack isn't going to work how I need it to, so I'm back to figuring that out. The fun is in figuring it out, but sometimes it's not as easy as others.

                📷 @obsidianspider

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

                  @obsidianspider I was actually thinking the same on my handheld build. Even though I wasn't squeezing stuff into a case, I still had problems to solve. I might even go as far as to say that I enjoyed making it, more than I enjoy playing the games on 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

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

                    @moosepr The volume wheel showed up today, but I'm still kind of burnt out. That said, I also ordered a USB hub with a built-in ethernet switch and I put a Pi Zero in there today to act as a Pi-Hole server. It was a good learning experience of fitting small things in a case together.

                    0_1479073055287_pi-hole-hub.jpg

                    It went OK. Not as perfectly as I would have liked (I had to remove a USB port to get it to close), but it worked. It's powered by the USB plug via a USB port on my router and the ethernet plugs back into the router. No external power supply. :)

                    📷 @obsidianspider

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

                      @obsidianspider thanks for the extensive guide. I have two of these screens i bought quite a while ago. I was able to get them to run raspbian on them but not retropie. At the time everything i read said they wouldnt work on retropie. So ive just held onto them and am planning on doing a handheld sometime soon.

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

                        @obsidianspider on my pi zeros i use a rockband usb hub that has 4 ports in a row but does not use a power brick. Dont buy the one with three hubs in the front and one in the back. There is a powered 4 in a row rockband hub that you dont want. The one you want says 4 port hub.... all on one line on the top of it.

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

                          @edmaul69 One reason I went with the 3.2 over the 2.8 (which would probably fit better) is because of the support for it. The 2.8 can work, but the 3.2 has a higher refresh rate.

                          📷 @obsidianspider

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

                            @obsidianspider how's the case chopping going dude?

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

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

                              @moosepr I've had a lot going on the past week or so, and I wasn't able to give the project any attention.

                              This weekend I'm going to work on the audio circuitry so I can see how that's going to fit. I am probably going to need a different headphone jack along with the new volume wheel I got, and I need to determine where everything is going to go inside the case before i start cutting away at the outside.

                              📷 @obsidianspider

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

                                It's been a pretty productive morning. I won't be able to use the stock Gameboy Advance headphone jack because of how it's set up (it doesn't have an output, just a trigger for the GBA amp to switch to the speaker) so I ordered some headphone jacks from China that will be here in a few weeks. I also ordered a power strip PCB and it was incredibly cheap. Now I see why people start messing with custom PCBs…

                                I also ordered a micro USB breakout, a PowerBoost 1000c, and a 2500mAh battery to see about cramming that stuff in. I think this is going to work. The plan right now is to put the audio circuitry on one side and all of the power "stuff" on the other, with the Zero and battery behind the screen, and micro USB charging in the place where the stock GBA communication port is and a USB A connector (or two? maybe put the USB hub at the top?) in the GBA game that I bought so I can plug in a keyboard or whatever. I still have to see about the best placement for the USB hub, but I'll have a better idea on that once the battery and PowerBoost arrive.

                                0_1479563881703_gba-game-usb-hub.jpg

                                📷 @obsidianspider

                                1 Reply Last reply Reply Quote 0
                                • jb32647J
                                  jb32647 @diegzumillo
                                  last edited by

                                  @diegzumillo That's interesting, I saw someone make a Pi3 handheld, and according to his parts list, he used a powerboost 1000c. On the video it seemed to work fine so maybe it's a bit hit and miss.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    diegzumillo @jb32647
                                    last edited by

                                    @jb32647
                                    I might have seen that same video. I even asked him about it and he confirmed it was a pi 3 with a powerboost 1000. I really don't know what to make of that either. I tested it myself and it doesn't work, the Adafruit technicians confirmed it doesn't work. Maybe he had a pi2 instead and didn't know? they look the same.

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

                                      @diegzumillo the Powerboost 1000 is different than the Powerboost 1000c. From what I understand, the Powerboost 1000 Basic can output a lot more than the Powerboost 1000c but the C can do charging.

                                      📷 @obsidianspider

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        diegzumillo @obsidianspider
                                        last edited by

                                        @obsidianspider
                                        Yes, but it can't charge. That's a bummer. You could have it so it switches between charging and powering with a toggle I guess. In the video I'm talking about it was definitely a chargeable powerboost as well. Even though he didn't show or gave the parts list you can zoom in and see the ports.

                                        I don't know. I also noticed with mine that a lot of power is lost on the wiring. A surprising amount of it! I used to have the rainbow square blinking occasionally, then I increased the wire just to be able to move things inside the casing a little bit, and now the rainbow square is always there. So maybe if you keep your wires as short as possible it could even work with the 1000c.

                                        glennlakeG 1 Reply Last reply Reply Quote 0
                                        • glennlakeG
                                          glennlake @diegzumillo
                                          last edited by

                                          @diegzumillo Part of the problem with the power is the size of the wire used for power. When I would mock up a build and have everything spread out on my bench using thin jumper wire I would have the low power square all the time. But on the final build I would tighten everything up and increase the gauge on the power feed it was fine.

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            Pifan
                                            last edited by

                                            Hi @obsidianspider, Just wanted to say how useful your notes of your build process have been. Also, It's been one of the more interesting build logs I have read.

                                            I was also planning on doing a GBA build (after I finish the 2 other handhelds I am working on) and I was going to use a composite screen, however having read your feedback on the Sainsmart 3.2" I decided to bite the bullet and purchase one. I was originally apprehensive because I previously used an Adafruit 2.8 tft and I wasn't that happy with it, but the Sainsmart is indeed very good! Even better was that I followed your instructions to the letter (almost*) and I had no issues setting it up, so thanks again for the useful information you have posted here.

                                            *had to cross-compile it with Cmake and copy it over to the Pi because I hadn't set up wifi on it.

                                            Cheers!

                                            obsidianspiderO 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.