Game Boy Line Infopool: Gameboy Advance SP inside DMG-Housing

Discussion in 'General Discussion' started by Arcade-TV, May 25, 2013.

  1. Arcade-TV

    Arcade-TV Member

    Introduction
    After I did a lot of DMG backlighting, biverting and GBC frontlighting I thought I'd give it a go and build my personal ultimate Gameboy - That's a GBASP inside a DMG's housing. I was inspired by people who did it before so this is nothing new, but I saw a lot of people asking for specific infos, so here it is...
    Even if this might look like a step-by-step guide - it's NOT.
    There are many ways to get this done, I'd like to share the way I did it, my joy and my frustration I've had with this project.

    Please note: I'm not a native english-speaking person. If you find there's something that can be put better, please let me know. I will also update images with foreign text, so please have a little patience. Thanks!

    Links


    The mod
    Ingredients:
    • Gameboy DMG
    • Gameboy Advance SP (we only need the mainboard and the screen)

    Tools:
    • (De-)solder-utilities
    • Multimeter
    • Dremel or rotary tool
    • Hot glue gun
    • Duct tape
    • Some flexible wires

    Code:
    Checkpoint
    At this point you might be excited and just want to start modding - but wait! As I said, there are many way of doing this. Here's the first choice you'll have to make:
    You EITHER keep the DMG's lcd-pcb OR you don't and find yourself fiddling around with power-switches, volume-wheels and other components that have to be mounted within the DMG's housing.
    
    -you decide to keep the pcb
    >> + then you don't have to worry about mounting components.
    >> - then you might have a hard time closing the device in the end.
    >> - then you have to freestyle-mount the EXT.2 Connector of the GBA
    
    -you decide to ditch the pcb
    >> + then you'll have a lot more space inside the case.
    >> - you habe to do more soldering and glueing.
    
    Here's a comparison:
    left: with DMG-LCD-PCB
    right: without

    [​IMG]


    Different Gameboys, AGS-001 and AGS-101

    AGS-001: Frontlight, (Light-Control On/Off)
    AGS-101: Backlight, brighter (Light-Control Level1, Level2) [and Level 3 by patching the mainboard, see below]

    So, whatever GBASP you'll be using, you have to decide if you keep the plastic srew-mounting poles inside the DMG's front-housing or if you grind them off...

    -keep'em:
    >> + that's a clean solution as you'll be able to use the screws to close the thing in the end.
    >> - you'll have to grind the mounting-poles as well as the screen as well as the mainboard to make it all fit.

    -drop'em:
    >> + so you have plenty of room to align the screen and the mainboard.
    >> - well, then start thinking of a way to close that thing in the end...

    Here's the AGS-001 Screen (Frontlight Model)

    [​IMG][​IMG][​IMG]

    And the AGS-101 Screen (Backlight Model)

    [​IMG]

    Whatever direction you chose to mount the GBASP pcb above the screen, you may also have to grind the mainboard a little.
    Watch out for leads running on the upper AND lower side of the pcb!

    [​IMG][​IMG][​IMG][​IMG]
    The screen plus the mainboard will fit perfectly and there's still enough space for everything else.

    [​IMG]



    Fuses

    You may find that the GBASP's fuses blow. For example if you mess around with you wiring. Also ebay-junk or garage-sale gameboys often have blown fuses.
    If you have a GBASP that seems to be dead you can try bridging the fuses and see if the screen comes up.

    Fuse F2 >> fast-blowing, you should check this one first.
    Fuse F1 >> not-so-fast-blowing, you should additionally check this one too if bridging or replacing F2 didn't help.

    Replacement-Fuses:
    Code:
        FUSE, FAST ACTING, SMD, 250MA
        Voltage Rating AC:32V
        Voltage Rating DC:24V
        Fuse Current Rating:250mA
        Fuse Size Code:1.6mm x 0.81mm x 0.48mm
        Fuse Type Blowing Characteristic:Fast Acting
        Series:1608FF
        SMD Fuse Case Style:0603
        Approval Bodies:UL, CSA
        Case Style:0603
        Colour Code:Green
        External Length / Height:1.6mm
        External Width:0.8mm
        Overall Height:0.48mm
        Overall Length:1.6mm
        Typ Resistance @ 10% Rated Current:3ohm
        Voltage Drop @ Rated Current:0.9V
        Breaking Capacity Current DC:35A
        Fuse Breaking Capacity:50A @ 32VDC
        Fuse Breaking Capacity Voltage DC:24V
    Where are the fuses on the GBA SP?
    [​IMG]


    Desoldering components
    Prepare your GBASP and desolder these parts:
    [​IMG]



    Battery-Transplant
    Different grinding tools sure come in handy when dealing with the GBASP's plastic cover. Also a file for some finetuning will be neccessary.
    In general we'll cut off the complete battery compartment of the GBASP and make it fit inside the DMG.
    On the inner side, there's a passthrough for the battery-contacts: We want to keep this intact so we can mount the contacts without hussle.

    [​IMG][​IMG]

    The plastic-part with the contacts will raise the compartment by 2 Millimeters, you can easily make use of a piece of plastic to make it even.

    [​IMG]

    The DMG's battery door will close smoothly and the GBASP's battery is seemlessly hidden inside.

    [​IMG]

    Inside the DMG we'll need to cut out a rectangle as a passthrough for the battery contacts.

    [​IMG][​IMG]

    [​IMG]



    Gameboy COLOR Mode

    The switch right next to the cartslot reads SW13. GB and GBC cartridges are slightly larger than GBA carts so they will flip the switch when inserted.
    If you short the connection you now have a Gameboy COLOR instead of a GBA.

    [​IMG]


    POWER TO THE PEOPLE
    Let's gain control over the On/Off-switch (SW1), that's easy because the DMG's respective switch acts in the same manner:
    [​IMG]

    PLAY IT LOUD
    Connecting the speaker is a breeze.
    [​IMG]


    Code:
    Checkpoint:
    -GBASP Mainboard makes contact to the battery
    -You should be able to hit the power switch and see the green lighted LED.
    -You should hear the typical Gameboy COLOR boot-sound 'DeeDing'.
    
    Tips:
    Now would be a good time to reconnect the LCD-screen and align its position for a centered image. Use some hot glue to make it stay there-
    

    Ext.2 Connector
    The EXT.2 port of the GBASP is used for charging the battery as well as connecting headphones when using an adaptor-cable.
    External power input is used to charge the built-in battery, it cannot be used to run the SP without that battery.
    You can mute the speaker when PIN5 connects to GND.

    Code:
    GBA SP and NDS - Power/Headphone Socket (EXT.2)
    
      Pin SP   NDS  Expl.
      1   P31  SL   Audio LOUT                          _____________
      2   P32  VIN  Supply Input (DC 5.2V)           SW| 5   ___   1 |SL
      3   P33  SR   Audio ROUT                         | ----   ---- |
      4   P34  SG   Audio GND (via 100uF to GND)       |_6__4   3__2_|
      5   P35  SW   Audio Speaker Disable (GND=Dis)    GND SG\_/SR VIN
      6        GND  Supply GND
      Shield        GND
    
    [​IMG]

    Code:
      Tip     Audio Left         ___ ___ _____+-----------+
      Middle  Audio Right       (___|___|_____|           |
      Base    Ground              L   R   GND +-----------+
    Now here comes the first tricky part:
    The original DMG's headphone jack has a switch inside which is 'normally closed'. It closes 2 contacts when it's NOT plugged. When you plug a 3,5mm jack the connection is open.
    This is of course contrary to the EXT.2 port's logic... because it closes the connection between PIN5 and GND to mute the speaker while being 'normally opened'.

    The original DMG's headphone jack holds another challenge if you'd like to re-use it. There are parts and connetions that might not be suitable for your wiring. BUT... it comes with nice mountings and therefor it might be worth keeping it.

    Here's the pinout of the DMG's headphone jack:
    [​IMG]
    If you want to use that part make sure its connections suit your needs.

    Other creative solutions for getting sound:
    [​IMG]
    Pictured is a jack from a MGB (Pocket).
    Source: Nex >> http://chipmusic.org/forums/topic/1443/ ... pro-sound/



    Volume potentiometers

    Specs of the DMG's thumbwheel (b10KOhms):
    [​IMG]

    The DMG's contrast-pot has 30K, you may or may not be able to use that as a volume control.

    This diagram is courtesy of benheck-forum member ModGyver:
    [​IMG]
    This works really well.

    The GBASP seems to control the volume internally depending on what resistance the volume-slider is giving.
    On the DMG it works completely analogue: 2 inputs, 2 outputs, 1 GND.



    RESET

    Inside the GBASP there's a reset-trigger! If you connect it to GND the device will reboot immediately.
    That's awesome, if you have a "GB USB SmartCard 64M" where you can switch the game-selection pages by switching off and on very quickly, I think resetting is much more comfortable.
    [​IMG]
    [​IMG]
    I've used a switch from an old TV-chassis that fits quite well.



    Link Port EXT.1

    Code:
    Serial Link Port Pin-Out (GBA:"EXT" - GBA SP:"EXT.1")
    
      Pin  Name  Cable
      1    VDD35 N/A       GBA Socket     GBA Plug   Old "8bit" Plug
      2    SO    Red       ___________    _________    ___________
      3    SI    Orange   |  2  4  6  |  / 2  4  6 \  |  2  4  6  |
      4    SD    Brown     \_1_ 3 _5_/   \_1_ 3 _5_/   \_1__3__5_/
      5    SC    Green         '-'           '-'
      6    GND   Blue      Socket Outside View / Plug Inside View
      Shield     Shield
    
    The pins are labeled on the GBASP mainboard. Simply connect all pins to the connections on the board.



    Buttons and D-Pad Hijacking

    Now, to hijack the controls and make use of the DMG's dpad and buttons there are different ways to do it....
    Just make sure the carbon-pads underneath the buttons are making contact to the pcb when pressed.
    Either you cut your DMG's lcd-pcb like this:
    [​IMG]
    ...or you build something on your own...
    OR you can use one of these 'common ground pcbs' that board-member 'micro' made available here -> http://circuit-board.de/forum/viewtopic.php?f=56&t=9847

    You may use both PINs 6 of the EXT.1 and EXT.2 ports - there are countless more GND connections to be used for this.
    [​IMG]



    LEDs

    All the LEDs have 1,9V inputs.
    For relocating either solder wires directly to the LED's contacts or use these pads:

    [​IMG]



    Brightness control (only AGS-101)

    [​IMG]



    Connecting the DMG's cartslot

    I've use a heatgun to optain the cartslot from the pcb. The connection is simple yet time-consuming:

    If you made it till here use some hot glue to keep the wires flat and in place.
    [​IMG]



    I know it's getting tight inside but it'll work...




    -Have Fun-
    -Alex-​
     
  2. Arcade-TV

    Arcade-TV Member

    It's finished :D
     
  3. SNEAKxxATTACK

    SNEAKxxATTACK Active Member

    Was about to ask why you blocked off some view of the screen, but I recall that you did this mod to pretty much upgrade a DMG for color, backlight, and rechargeable battery.

    Anyway, thank you very much for compiling all this info! (was nice nice read through a couple of times)

    Will come in handy for referencing when I make my DMG SP. If I ever finish my current portable XD (which I never stopped working on)
     
  4. Kickback

    Kickback Teen Idle Staff Member

    Looks good, I hate the SP/GBA layout for GB games for some reason.
     
  5. Mr. Hooker

    Mr. Hooker Active Member

    Good stuff, I like this guide. How far did you extend the cart slot with ide wire? (The wire length.)
     
  6. Arcade-TV

    Arcade-TV Member

    I didn't use the IDE-cable in the final thing, it was just not flexible enough to close the DMG.
    When you lay down both parts of the DMG's housing head to head, the wire is pretty much exactly running from the connector to the slot, that's app. 10-12 centimeters in length.
    I used loose wires. I guess there shouldn't be any trouble regarding the wire length as for connectivity - but the more wires you use it becomes harder to close the housing.
    What you don't want is apply too much pressure on the screen - that results in discoloration, clouding and other weird effects seen on the screen.

    Also, either use kynar-wire and be very careful when you put the two halfs of the shell back together or mount your cartslot-wiring with tape or a gluegun so that the leads don't overlap each other. You want the wiring to be as flat and straight as possible.

    hope that helps.
     
  7. Polonius

    Polonius Newb

    Hey, I'm working on this same project and having trouble with the copper peeling off the original board - is there any way to get one of those custom boards you linked to on the german forum?
     
  8. Arcade-TV

    Arcade-TV Member

    You should check out Kitsch-Bent.
    They might be selling the PCBs shortly.
     
  9. Arcade-TV

    Arcade-TV Member

    I spoke to Matt from Kitsch-Bent yesterday. The have the controller PCBs in stock now and they will be listed in the shop soon.
    I can highly recommend using one of those PCBs if you want to relocate the DMG's inputs, it will save you a lot of hassle. Also Kitsch-Bent is a serious seller and fair trader.

    I'll post the product-link as soon as they're listed.
     
  10. Where do I solder the wires exactly off the DMG board if I want to use the DMG buttons instead of something else? I'm struggling to decide what to connect to where.
     
  11. Arcade-TV

    Arcade-TV Member

    That's a very frustrating part...
    you will have to reroute the lines of the dmg, so that every input gets one single line to its corresponding spot on the gba and the other side of the input-trigger is connected to the gba's common ground.
    this involves cutting traces and rewiring nearly all connections on the dmg.
    if you wanna do it without extras you should do some research on how e.g. arcade sticks or joypads are wired, pretty easy though.
    you should definitely get a common ground pcb from kitsch bent, it integrated seemlessly into the dmg and it's so comfortable to solder to.

    anyways, here are the basics, but you'll be on your own rerouting the traces...

    GBA PCB pads (see pic for reference)
    /. /. /. /. /. /. /. /
    A B up down left right start select
    /. /. /. /. /. /. /. /
    G R O U N D -------------------------- to gba ground
     
  12. Thanks for the speedy reply :) So just to double check, I can scrape off the black coating on a contact part that isn't under the rubber buttons (on DMG), solder a wire, then connect one to the corresponding button on the GBASP and the other wire to the GBASP ground. So Ill end up with 8 ground wires from the DMG buttons all connected to one ground on the GBASP and 8 wires to the buttons?
     
  13. Arcade-TV

    Arcade-TV Member

  14. dmgfan

    dmgfan Newb

    Just adding some information re the volume slider VR2. After getting it working for my own SP DMG conversion using the original dmg volume wheel.

    The pinout is as follows:

    1. Pin 12 from audio amp
    2. GND
    3. GND through 3K resistor
    4. Connects to pin 2

    To use the original dmg volume wheel:

    1. Remove shield from volume slider
    2. scrape away wiper tracks between pins 1-3 and 2-4

    It should look as follows:

    (Rough looking as its a picture of a broken sp I used for "investigating")

    [​IMG]

    Connect volume wheel as follows:

    Volume Wheel <-> Volume slider

    Pin 1 or 2 to pin 1 (Input 1 or 2)
    Pin 4 or 3 to pin 2 (Output 1 or 2)
    Pin 5 to pin 3

    The only issue I had was the sound not muting. I added a 470 ohm resistor between pin 1 of the volume slider and the input on the volume wheel.
     
  15. Can you show us how you hooked up a brightness switch if you put one in? I can't really figure it out, do you connect a switch from the red point to ground and then just connect a wire from the yellow point to ground too?
     
  16. Bush

    Bush sweet justice

    Off topic, but why isn't this stickied? The MR stickies are in a sad state. There's so much valuable info on this site you have to go digging for. Apparently the handheld sticky hasn't been updated in 2 years:
    This is really sad, because guides like this just disappear until someone bumps them from several pages back on the board. So much effort went into this guide, and I wouldn't have even noticed if it wasn't bumped.
     
  17. grossaffe

    grossaffe President Groosevelt Staff Member

    robm used to be the man of many megastickies, but then I think life happened to a greater degree than it already had.
     
  18. Bush

    Bush sweet justice

    That's perfectly understandable, but I think if we don't want Benheck Forums 2 to happen someone needs to hop on the stickies.
     
  19. Prog

    Prog Not a Memeā„¢ Staff Member

    Thought that was Afro and Bud's job.
    Obviously they got hit with a big dose of life too. There should probably be some restructuring here.
     

Share This Page