Monday, February 20, 2012

iMac G4 Mod Advice

I hope this doesn't come across as preachy, but I just want to give some advice to those of you new to modding the iMac G4.  I have disassembled and reassembled this computer so many times I could probably do it blindfolded.  There are a few aspects of modding this computer that have led to a lot of frustration for me, a few pointers, hopefully, will help some of you.

1) If your goal is to connect your iMac G4's LCD to modern hardware.  Use the Native LCD with the "TMDS to DVI Method".  Changing all the wires to some other method of connection such as LVDS is very time consuming, less stable, and more expensive.  There is no reason not to use the native TMDS wires that go from the native LCD through the neck.  Apple has already done the work for you! Plus, TMDS is a digital signal that is more stable over distance than LVDS and TTL.  Apple has put the controller inside the LCD itself, with other LCDs, you would have to add one.  I have done this both ways, replacing the screen and replacing/soldering the wires takes hours and likely days.  By using the TMDS to DVI Method with the DVI Connector below, you could get a signal within 30 minutes that is superior in every way.  Which brings me to.....
DVI Connector


2) USE THIS DVI CONNECTOR!!!  (MOLEX PN 74320-4004 - though other variations which work just as well exist).  It is very cheap and makes this mod so much easier.  I can not emphasize this enough. I know a male HDMI may be more convenient (or even a male DVI), but for the price of an adapter you will save yourself a lot of frustration.  Sure you could cut off an HDMI cable and solder it to the iMac G4's pins, but this is a much harder task than you may think.  The TMDS channel wires in the Black LCD cable are as thin as a hair and this is no exaggeration.  If you manage to spare the pins at the end of the wires during soldering this can be done.  But, as the pins are soldered to the ends of the wires themselves, they have an annoying habit of falling off when heat from a soldering iron is applied.  Also, if you make a mistake while soldering there is no going back.  As this is a digital signal, one broken connection can mean no signal at all.  What's more is that even if you do things perfectly, you can still have signal problems.  One mod that I made I had to cut and reconnect again (so I lost all the pins).  Despite a perfect connection, the image was plagued by artifact.  Another time, I had red/green pixels "dancing around" when viewing certain colors.  I ended up having to replace the entire Black LCD cable (with the TMDS signaling cable from an Apple Cinema Display which has thicker wires) to solve the problem.  TMDS uses minute differences between the positive and negative wires (and their shield wire) to communicate.  Altered resistance in the form of a little too much solder or too much wire wrapped around can result in these types of artifacts even if you are extremely good with soldering.  This DVI connector makes this almost plug and play.  The pins fit perfectly,  you don't need to solder at all.  I am not exaggerating when I say that this method saved me 10+ hours of intensive work on my recent mod.  Besides having to put a piece or two of electrical tape over some pins to prevent cross-talk, my image has been pristine every time I have used this connector.  Do not repeat the same mistakes that I have made.

iMac G4 Neck with Cinema Display Wires
3) Although no longer necessary with the TMDS to DVI Mod, if you want to add or change some wires, do not be scared to open the neck.  Its not hard, does not require special tools, and is not really dangerous.  I have written on this blog about the exploding neck because I had read about it myself.  I've had an open neck fall off the table, I've left necks open for weeks at a time, and have never had the spring fly off.  I wouldn't throw an open neck as hard of you can against the wall, but you do not have to handle it like its plutonium.  Just keep in mind that  if you do knock the spring off its moorings it takes a lot of work to pry it back up into position.

4) If you need to add wires to the neck, do not put more/thicker wires into the neck than it can hold.  Just because you can get it through the holes does not make it a good idea.  When you overcrowd the neck, you'll start to hear grinding and some wires will wear down as they are pushed into the hinges of the neck.  The iMac G4 has 4 wires that go through the native neck.  When you replace wires, take out what you're not using and aim to have about the same "volume of wires" as the native neck comes with.

5) Get rid of the Torx-6 screws.  These are the most troublesome screws I have ever worked with.  On the bottom of the 17" and 20" iMac G4's monitor housing you will find 3 screws that require a Torx-6  screwdriver to open.  These are the screws that keep the monitor housing closed.  I have never seen screws that strip easier despite using the appropriate tool.  6 points on a tiny screw is very close to a circle and once you start stripping it - its already too late.  Chances are good that you may have to open up the monitor housing again at some point for upgrades, repairs etc.  Act preemptively and replace these with small phillips screws - it will save problems later.

5) Want an All-In-One? Consider an 3.5" ECX or other small form factor board.  Although mini-itx or a mac mini motherboard are the most popular choices neither of these is ideal from a size/heat perspective.  ECX's can fit at the top of the dome in place of the native HDD where heat won't be as big a problem as it would with a mini itx at the bottom of the dome.  They don't require an atx power supply and come with a variety of additional options including PCI-E mini or x4, Compact Flash etc.  Processors range from Atom to AMD Fusion to Sandy Bridge Core i processors.  This allows you to keep the full 5.25" drive if you want and allows room at the bottom of the dome for ports at the back.  Although not nearly as expandable as a mini-itx mobo, with such limited space in the dome, this isn't likely to matter.

6) Do not sacrifice stability for power.  The mods I've posted usually don't include the mods which failed.  Most of these initially worked but failed because I tried to force things.  If you have to use all your strength to push your mod closed to screw it in, it will not last.  If you cram things in between the motherboard and the air holes, your board will overheat.  Keep expectations in check.  If you have a 17" monitor running at 1440x900 you don't need SLI or Crossfire.  Having it turn on and having a critical problem like this is worse than it not working at all.  If it does not turn on, you can start troubleshooting what went wrong.  These problems (like my 20" TMDS to LVDS with too many wires through the neck) usually require a complete redesign and many of the parts have to be repurposed or replaced altogether.

Hope this helps.

Wednesday, February 8, 2012

Anniversaries and an iMac G4 "Sandy Bridge Mod" Pro Version?


I hadn't even realized that I failed to acknowledge an important anniversary.  The iMac G4 was introduced on January 7th, 2002 by Steve Jobs at the San Francisco Macworld.  The 20" was released later in November 18, 2003.  Then only 2 and a half years later (August 31, 2004) the iMac G4, with its sunflower inspired horizontal design, was discontinued in favor of the iMac G5's vertically oriented all-in-one.

Many reasons have been suggested to why this was done.  The cost of the neck, the difficulty in supporting increasing LCD sizes, and the cooling needs of the notoriously hot G5 processor.  I have been using one version of this as an external monitor hooked up to a mac mini and now a second version as a modernized all-in-one and it remains one of the most enjoyable desktop user experiences I have know, even 10 years later.

With my sandy bridge "genuine" mod my goal was to be as true to the original as possible, but I have been thinking about doing a version that has some extra features not found in the original.  Some of these may be possible, some of them are not.  To make extra room in the base, the optical drive will be removed.  So, I am contemplating doing a "PRO" version of the iMac G4 mod.  I have enough spare parts and I think this may be a fun alternative.  I will likely use the TMDS to DVI method and not the apple cinema display controller method.  The overall look of the iMac G4 will be changed (something I wanted to avoid in the previous mod).  Things I may add:
3M Touchscreen
  • A Touchscreen: One of my favorite mods used a resistive touchscreen and it fits this form factor quite well.  However, I did not like the glare, resolution, or touch accuracy of the resistive touchscreen.  I have however located a capacitive touchscreen that should fit in this mod.  Its flaw is that it is somewhat thick and heavy.  An alternative may be incorporating optical sensors in the bezel.
  • LED backlighting: This would be necessary to fit the touchscreen, but something that has been done in similar projects by JL7, and adds improved backlighting and power efficiency.
  • Quad Core Processor: I changed from a mobile core i7 quad core to a dual core i5 as a result of both heat production and power consumption in my latest mod.  However, a quad core i7 machine is still something I would love to do.  As well as maxing out the RAM to 8GB.
  • Native Power: Increased power needs would require a big power supply and the only one that could fit is the native supply which other modders have used.
  • Better Cooling: Use of the native PSU would require shifting of the mobo downwards.  This as well as heat generated by the quad core processor and the PSU itself would require a much more powerful cooling solution.  At the very least a large active heatsink on the CPU and a 92mm case fan.  However, an intake fan at the bottom may be needed as well.  This will use of the space that was previously used by the optical drive.
  • iSight Cam: in my G4/G5 setup, I use the iSight cam on the G5, but I have been wishing that there was one on the G4's LCD as it would be much easier to manipulate.  The microphone is already there, modifying the LCD enclosure to support an iSight may be possible.
iMac G4 iSight Mock-up

  • Apple Modification: Just to visually delineate this, I was considering altering the apple on the base.  A light up apple or IR sensor are possibilities
  • ???Improved Graphics: This one is difficult, although its something I would like to add, most of these small boards do not have PCI-Ex16 slots.  Even conversion of mini pcie is usually only to x1, and this makes it difficult to get much improvement over on chip sandy bridge graphics.  Fitting and powering a full size card would also be difficult.  I will continue to give this thought, but its probably unlikely.  Even if you wedge a mini itx in, you would have difficulty fitting even a low profile card in to the dome.  
Although this mod would involve tradeoffs including louder fans, loss of the optical drive, and loss of the exact iMac G4 appearance, there are clearly advantages as well.  The iSight, LED backlights, and touchscreen in particular are things I would love to add.  Any suggestions would be appreciated.