Tuesday, January 10, 2017

How to fix an Apple joystick when the buttons stop working

If you find the joystick buttons on your Apple joystick aren't working consistently anymore, then it might be time to replace the switches.

The part you will want to get is the Omron B3F-4000, which is good for another 3,000,000 button presses.


You can also choose to get the long service life version, the Omron B3F-5000, which is good for another 10,000,000 operations. :)


You will also need a long enough phillips-head screwdriver, and your trusty soldering iron and some solder.

Next step, opening up the joystick. The screws are hidden behind the rubber foot pads on the bottom of the joystick. You can pry the feet off gently and they should have enough adhesive to put back on again. Note that only two of them need removing (upper left and lower right as shown in the picture below).


You will see that the switches (grey color) have components soldered directly to them.


So with your soldering iron, carefully detach each wire and resistor connected to the switches. Remember where everything is supposed to go! I just take photos so I can refer back to them when it's time for reassembly.


You will also note that each switch is held on to the (top) case by four clips. I found it a lot easier to do the desoldering while the switches were still attached to the clips. After finishing your desoldering work, you will have to remove them from the clips.

Warning: Be careful not to lose the spring that is in between the (orange) button cap and the switch! It helps to have the joystick facing down as you remove the old switches from the clips so gravity can assist in keeping the springs in place. Finding a proper replacement spring is hard - you can probably find a compression spring on ebay and bundle up three to make it strong enough like the original, but even then it will feel different.


Here are the old switches after removal:


Finally, resolder the connections on to the new switches.


Done! Now get back to playing Alien Downpour...

tl;dr Give your Apple joystick buttons new life by installing Omron B3F-5000 switches.

Monday, February 29, 2016

Replacing the battery on an Apple IIGS

Which battery should you get for the Apple IIGS?

The real time clock chip takes 5V, so you can use either of the following replacement batteries:

https://media.digikey.com/pdf/Data%20Sheets/TADIRAN%20PDFs/TL-5101.pdf
https://media.digikey.com/pdf/Data%20Sheets/TADIRAN%20PDFs/TL-5902.pdf

The TL-5902 has more capacity, and has a lower discharge rate.



If you have a ROM 01 motherboard, you'll want to get the TL-5902/T which has solder tabs already attached.

If you have a ROM 3 motherboard, you'll wan tto get the TL-5902/S which is the normal button top.

Remember to check back in another twenty years!

tl;dr get the TL-5902

Saturday, October 11, 2014

Including the "dbg" application in your erlang release.

Want to include the "dbg" application to allow for tracing in your release that is generated by relx ?

Include the runtime tools application in the relx.config file:
{release,{adjutant_core,"0.0.3"},
 [
        runtime_tools,  
adjutant_web,

 Just thought I'd document this in case it catches anyone else up.

Wednesday, January 18, 2012

How to disassemble and clean Game & Watch multiscreen

I've gotten a few Game & Watch games off Ebay. Like most retro gear, they are usually sold "as is". These arrive in different conditions. If you're lucky, they come pretty clean. More often than not, though they arrive with different "marks" and dirt all over them.

There could be drinks accidentally spilled on the unit, even if wiped clean the liquid may have been inside the unit. Often, there are years worth of dirt stuck around the control buttons. These can manifest in several ways: Button could be sluggish to return after being pressed, Button may need to be pressed hard to activate. There could also be obvious things like droplets and things behind the screen. Possibly stuff on the screen surface itself. There are also some owners who write their names or signature somewhere on the game itself. And the worst one, someone engraves their name on the plastic with a soldering iron (no, we can't clean these ones up, sorry).

What we have here is your typical Donkey Kong multi screen (DK-52).


Its previous owner had taken the liberty to write his funny looking signature on the front plate:

The serial number is missing and there's lots of gunk on the battery compartment:


The inside is pretty clean looking. It must have been stored with the lid closed. Although the directional pad needs a bit of hard pressing in order to get to certain directions (right and up).


On to disassembly.

First remove the 5 screws at the bottom:




Then lift the back panel up halfway and remove the 5 screws on the bottom pcb.





Lift up the bottom pcb over the upper screen. It is very likely the flexible pcb (white plastic with black lines on it) and/or LCD will still be attached to the board. Take care while handling this as it can tear easily.




Then remove the 4 screws on the top screen

One thing to remember about the screws. The 9 longer screws go to where they are externally accessible. All the "internal" screws are the shorter one

Then carefully lift up the PCB and set aside the buttons and other things that fall out.


You should have:
D pad

D pad's rubber
jump button

Game A/B/TIME rubber
2 small circular metal discs for Alarm and ACL

If the unit has not been previously disassembled, the lower display would most likely be still stuck to the PCB. Carefully bend up the LCD until it is separated.

The screen will be composed of the following (in order from top to bottom):
front polarizer
front graphic
the LCD glass part
back graphic
back reflector

Besides those you may find a small rubber "ring" and 2 rectangular transparent "things"
These are for holding the LCD steady. If you lose or do not find these, it is okay, Some unit have these, some don't. They would work fine without them.

The PCB is still connected to the back case by 2 wires for the "speaker". Use a soldering iron and carefully desolder these 2 wires.

Take off the 4 (long) screws holding the upper screen in place.



Now, carefully pry up the upper screen (near the locking clasp). This will reveal 5 more "short" screws:

Remove the 5 screws.





There will be a similar set of accessories on the upper LCD. Instead of a PCB, you will find an aluminum plate. And unlike the lower screen, the flexible wire should come right off.




Fill up the sink with warm soapy water (use dishwashing liquid). On everything except the PCB, LCD and accesories, use a toothbrush to brush off dirt and rinse. Set aside on a towel to dry. Do not lose any of the small parts.

If your unit had something written on the top plate with a permanent marker you can try some rubbing alcohol on it:
If that does not work, you can use some nail polish remover. If you go this way, be extra careful not to get the nail polish remover in contact with any plastic parts as this can melt plastic. Nail polish remover would erase something written with a marker, but leave the original printed markings intact.





For permanent marker writings on plastic parts, never use nail polish remover on them. You can try some toothpaste and brush.
Toothpaste is a bit abrasive so be careful when doing this as it may cause the brushed area to be shinier than the rest.


For the LCD and accessories you would need to carefully wash it by hand. It would be handy to blow out water with a lens blower so that it does not leave water marks on the surface. Do not forget which way the parts go. The front polarizer in particular will only go properly one way. If you have it the wrong way, all the white will turn black, and vice versa. The graphic transparencies should be a little more obvious how they go.


After everything is dried, assemble the LCD first on the plastic tray that it goes to. This is where the black "ring" and 2 rectangular "things" go:

Put all the buttons back in their respective places,

Do the same for the upper screen
Put the screws back on the upper screen. Now here's a secret when returning screws. Before you screw them in, turn the screw counter-clockwise until it "clicks", then screw it in. This makes sure the screw goes back into the thread it came from.

Put the PCB back over the lower screen and the screws. Before you proceed, go put in some batteries and make sure everything is back.

Also press the buttons and make sure they are now responsive.
If all is well, go and re solder the speaker back on.


Put all the long screws on the top screen back on, and at the back of the unit.