Showing posts with label iSight. Show all posts
Showing posts with label iSight. Show all posts

Sunday, July 29, 2012

Updates on 20" iMac G4 "PRO" Mod

The "PRO" iMac G4 Mod

I apologize about using the "PRO" moniker which along with "MINI" has become overused when referring to apple mods or speculation on future apple products.  I use it here simply to differentiate this mod from the very similar iMac G4 Sandy Bridge Mod.  This mod isn't really a "PRO", its really just different.  When I was putting together my previous mod, there were things I wanted to include but didn't because I was concerned it would alter the original appearance and function of the iMac G4.  I made the decision to keep that mod as faithful as possible to the original.  As such, the microphone, LED light, optical drive, and outward appearance were kept intact.  I had wondered how it would have turned out had I gone the other direction and after sometime, I have decided to find out.

I was hoping that Ivy Bridge ECX boards might be available by the time I started this mod, but to date I have seen only one: GENE-QM77 by AAEON which is currently cost prohibitive.  As such, I am proceeding with the same Quanmax KEEX-6100 I used in my previous mod.  This board has surpassed my expectations and as it was easily compatible with 10.7 Lion, I am hopeful 10.8 Mountain Lion will work smoothly as well.  That said, there was room for some improvements.

Preliminary Tests

RAM

For some reason, 4GB is listed as the maximum RAM on some parts of the KEEX-6100 documentation and 8GB on other parts.  It turns out that 8GB is the maximum and I have upgraded the RAM accordingly.

CPU

The top of the Dual Heatsinks
I had initially planned for a Core i7 Quad Core, but was concerned about temperature and power usage.  The highest wattage Pico PSUs were 150-160watt, but the native PSU supports 190watts.  Unfortunately, with the drive in place the native PSU does not fit.  In addition, the standard socket heatsink and fan were not adequate for the quad core, but a larger heatsink or cooling system could not fit.  As such, I used the dual core - i5 processor.

To use the Core i7 Quad, I simply need more space.  The optical drive will be eliminated.  This will allow for use of the native PSU as well as a more robust cooling solution.  I have described use of the native PSU in a previous post and this carries with it the added benefit of doing away with the power brick of the Pico PSU.  For the cooling, I have decided to fuse a passive Socket G2 heatsink with the larger desktop active heatsink pictured here.  So far, this seems to be a signficant improvement.


The KEEX-6100 with Large Heatsink/Fan

Add-ons

A Touchscreen

There are two accessories that I feel fit well with the iMac G4.  The first of these is a Touchscreen.  Those familiar with my blog may recall my cinema display mod which used a 5-wire resistive touchscreen.  While I loved the touchscreen itself, I did not love the resistive touchscreen.  It had a tremendous glare, took away from the LCDs image, and its responsiveness was less than perfect.  Also, incorporating a touchscreen into Apple's hardware has always been difficult.  Many other manufacturers have "wiggle" room.  These unused centimeters of space allow for a touch controller to fit.  They also allow for the touchscreen itself to fit in front of the display.  Apple tends to pack things in tight, making this much more difficult.

Optical, IR, Resistive, and Capacitive Touchscreens

In selecting the type of touchscreen to use there were two basic options.  The first option was using optical or IR touch which would have required an array and sensors within the bezel.  This would require moving the LCD further back with regard to the bezel.  The second option of resistive or capacitive (also Surface Acoustic Wave) used a glass or plastic panel that sits in front of the display.  As there is no extra room in the iMac G4's LCD housing this would mean either making the LCD itself thinner or having the touch panel sit flush with the bezel.  The decision was somewhat made for me as a result of the 16:10 20.1" dimensions required.  Modding a 19" 16:10 IR caused blind spots in the all too important corners and modding the 16:9 20" optical sensors to 16:10 caused it to barely function at all.  These methods have potential, but will require more experimenting.

I have obtained a 20.1" 16:10 capacitive touch screen from 3M that appears to function markedly better.  The largest negatives are its thickness and weight.  Because of its thickness, it will not fit in front of the LCD glass.  the active touch area falls within the bezel, the size of the touchscreen includes an inactive area that is on the outer portion of the panel.  Thus, it must go inside the bezel, outside the bezel, or the bezel must be modified.

Initially I thought about converting the backlight from CCFLs to brighter LEDs allowing me to shrink the diffuser inside the LCD housing.  The diffuser is a clear plastic piece used to spread the light uniformly.  Unfortunately I was not thrilled with the light distribution in some of my tests.  Again, this is certainly something that is possible and may be revisited in the future.  JeanLuc7 has done amazing work with conversion of CCFL to LEDs in his blog: 53 cent. (It is in German).  However, I decided to look to my older mods for ideas.

The Apple Cinema Display/iMac G4 Touchscreen Mod  used the housing from an apple cinema display.  This was done because at this time I did not know how to use the native inverter and the cinema displays would not fit.  Both the controller and the inverter fit within the Cinema Display's housing.  I then attached the resistive screen to the front of the cinema display and the iMac G4 bezel in front of that.  This was not an elegant solution as the touch panel protruded far in front of the LCD itself.  Even the touch wires were exposed and wrapped around the side.  To internalize everything, I decided to cut the inner part of the ACDs bezel allowing the touch panel to sit flush with the bezel.  This was a dramatic improvement.   See the ACD/iMac G4 Touch Improvements post for details.

Here are pics of a trial of a modded iMac G4 bezel using the same concept:
The Front
The Back
20.1" 16:10 LCD
 The bezel contains a white plastic with a clear plastic over it.  To this plastic tabs attach an "LCD Frame" to which the LCD is held in place by screws that come in from the side.  This causes the LCD to be recessed from the bezel in front of it.  Above you may see that I have cut away the inner (white and clear) plastic part of the frame.  Allowing the touch screen to sit flush with the bezel and thus "fit" within the iMac G4s LCD housing.  The problem is that the nonactive border of the touch panel and the metallic casing of the LCD itself will be exposed.  In the Cinema Display Mod, this was covered by the iMac G4 Bezel.  Here I am thinking of adding some type of thin strips in either the white color of the iMac or a gray/silver color that will go around the inner border sitting on top of the bezel/touch panel interface.  After all, I want this "PRO G4" to look different.  Any ideas would be appreciated.

An iSight Camera

In my current setup I use an iMac G4 and iMac G5 (both of which use an ACD controller to work), with a modern generation external mac mini.  The G4 has an optical drive in its base, while the G5 has an iSight which has been converted to USB.  What I've noticed is that having the camera on the G4 would have made so much more sense.  Being able to move the camera  as easily as you move the screen makes a lot of sense.  As I am modifying the panel already, fitting an iSight should be possible.  Several iSights may work, I have seen the 13" MacBooks camera used, but as I have and am familiar with the iSight from the iMac G5 and it appears to fit.  If you look at the modified bezel back picture, you may notice a small part of the gray LCD "Holder" is missing. This has been removed to accommodate the iSight camera.

I believe I'll be able to fit the small touch controller as well as the iSight Camera.  The problem is that the computer is in the base and I will need to wire this to the computer in the base.  While opening up the neck and adding additional wires is possible, it is not ideal, and we do have extra wires.

The Additional Wires

For USB we will need 4 wires.  As we have 2 items 8 total wires will be needed.

There are 2 wires the supply the LED.  One Red and One Green.  While the LED on the LCD is ok, I have been planning on putting an LED light elsewhere regardless.
The 2 LED wires
Although I plan on having a microphone, I will test out the consequence of placing it either on the top or bottom front of the base.  This will allow me to use these 3 wires intended for the microphone.  The Red, Black, Black wires of the microphone are pictured below.
The 3 Mic Wires
The Orange and Purple Wires are not used in this mod.  Although the Yellow is not hooked up in the picture it connects via resistor to the 5V VEDID, and is required to turn the monitor on.  Thus 2 wires are available.
Unused Inverter Wires
2+3+2 = 7.  As a result an extra wire is needed.  When I tried combining the ground or power wires for these two items, I ran into problems, so they must be kept separate.  Thus, an extra wire is needed.

Isolating the hot pink wire
I wanted to leave the LCD power itself alone if I could, so I decided to use the Yellow wire from the inverter.  My thinking was that the yellow wire (very low power) is required to turn on the inverter.  I stole this power from the DVI VEDID pin(5V via a 6.8Kohm resistor) and split it between this wire, the hot/pink (true VEDID wire) and (also via resistor - 1Kohm) the Hot Plug Detect DVI pin.  So I figured I'd move the split into the LCD case itself.  Isolate the hot pink wire and (leaving it connected) strip it with an X-acto knife and add a connection via resistor to the yellow wire that goes to the inverter.  This leaves me the entire yellow wire that traverses the neck to use for my USB hookups.

The Yellow wire being diverted
When hooking up the two USB devices without the monitor being on it works flawlessly.  However, when I turn the monitor on, I run into all sorts of problems from lousy response time to an occasional power drain warning.  Now, while I suspect the power drain comes from a connection grounding out, its the poor connection that bothers me the most.  I am concerned that the power running parallel with these wires in the neck is creating interference and that they may not be properly shielded to perform the task I am intending.

This leaves me with a couple options

1) Adjust which wires do what and try combining different combinations - here is whee I will start.

2) Use only one of the USB devices.  This would depend on how well they would function.  Obviously I'd lean towards the touchscreen.  But, if the touchscreen does not work well or if its weight alters significantly the motion of the neck, I would still like to incorporate the iSight.

3) Add a USB or mini/micro usb hub in the LCD case.  As it is very tight, I am not sure this would fit, but its worth a shot.

4) Replace the existing mic/led wire with a shielded Dual usb cable.  Maybe difficult to thread, but also a possibility.

An Unusual Problem

During this testing I came across an unusual problem that I believe is innate to the ECX board and native PSU itself.  Initially the screen would be black then light up when the computer was turned on.  When the computer would be turned off - there would still be a slight glow from the backlights.  Interestingly this seemed to be modulated by the yellow inverter wire where adding higher levels of resistance between this wire and the 5V dimmed this light, I could not eliminate it.  Disconnecting the 5V to the PSU or the PSU's 24V to the inverter turned off the light.

Native PSU's Blue and White Leads
At first I could not understand this as the 5V rails come from the DVI pin of the ECX board which was off.  I figured that some voltage keeps flowing through this pin, so I took 5V from elsewhere.  I connected this to the 5V from the SATA/MOLEX connector on the board.  However, I still had the same problem.  Then I tried a USB, again the same.  I realized that some voltage was flowing through all the ECX boards 5V rails as long as it was connected to the PSU, even if the board was off.

I believe this is a quirk between the native PSU and the ECX, as the native PSU is "always on" supplying 12V to the ECX.  The ECX requires only a 4pin 12V connector, it then down converts this to 5V.  So it appears there is always some power on the 5V rails. To solve this, I went to the 12V rails which are supplied by the PSU and not modified by the ECX.  Using the small 15watt 12V to 5V downconverter I have previously discussed and hooking the White/Blue of the PSU to the 12V Yellow/Black of the SATA/Molex via the downconverter, I eliminated this problem.

Wanted to mention this to anyone in case you are using my exact setup.

Connection to 12V Rail via Downconverter

So it appears I have some more work to do on this.......But I am going to put this project to the side for now, as I will explain in my next post.  Thanks for reading.

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.


Sunday, August 28, 2011

iSight G5 as external monitor with Camera/Mic

Using iMac G5 iSight as external monitor
First I would again like to thank Jean Luc for his assistance with the camera and the microphone.  I had not expected the iMac G5 iSight (which is the 3rd generation of iMac G5s) to be so radically different from the original G5.  For one it is substantially thinner and the entire layout is different.  Unlike the original where the lcd is contained within the front part of the case, the lcd of the iSight is attached to the back of the housing.  This arrangement leaves substantially less room in the case than the original.  This however wasn't a problem as I was using the same approach I had used earlier with the internals of a 20" aluminum apple cinema display.  Thus, all I needed was the LCD controller and inverter to fit behind the monitor.  The added bonus of the cinema display is that it has one cable that breaks off into power, USB and Firewire and gives you 2 powered USB ports.

Using the Apple Cinema Display's components is something I highly recommend.  I realize that it is not the most cost effective solution, but it is not as bad as you may think.  As the cinema display's control board works with both the native 20" iMac G4 and G5 LCDs and the iMac G4's inverter (probably the G5's as well), you really only need the LCD control board, the wires, and the power brick.  With patience I have been able to get Cinema Display's with cracked screens and dented cases (but working internals) for under $50.  Also, the LCD controller itself is only $30.  Its the power brick that is the most annoying.  But, it is an elegant and stable solution for getting the 24V lines needed to power the 20" LCD and simplifies the wiring tremendously.

iSight Camera hooked up to internal USB
Getting the camera to work was quite easy after I found out it was a simple USB camera.  The standard Red, Green, White, and Black cables simply need to be spliced to a USB cable and then the camera is essentially plug and play.


I connected the USB splice to the USB hub of the cinema display which was internalized behind the monitor.

Pictured you can see photo booth running from the camera which is in the top of the bezel.






A USB sound adapter
A "TRS" ausio jack
The existing microphone required a usb adapter.  There are 3 wires which appear to be a TRS (Tip, Ring, Shield) arrangement, like a standard 3.5mm audio jack.   I chose this particular adapter as it stated that it was mac compatible,  though I'm sure plenty will work.  Though I believe this adapter oversimplifies the signal.  The brown wire of the microphone gets connected to the red wire (or ring), while the grey wire gets connected to the shield of the audio cable.  The tip of this (The white wire) was left unconnected.  Plug the audio cable into the USB adapters microphone port and then the adapter into the USB hub and now both the iSight's camera and microphone are operational.

One thing to note is that the existing speakers also can be connected to a TRS cable.  The Right speaker to the Red and Ground and the Left speaker to White and Ground.  This particular USB adapter is not an amplifier so the volume of the speakers was very low when I connected them to the headphone jack/USB adapter.  I am also using the Apple Pro speakers which I am quite happy with.  However, if you do get an amplifier, the existing iMac G5 speakers can certainly be utilized.

As a side note, as you can see in the picture I have mounted the mac mini underneath the right side of the desk.  The mount is great and comes with four USB ports on the front.

Using this version of the iMac G5 is certainly an improvement.  It is smaller, lighter, and easier to maneuver.  The addition of the iSight camera and mic allows me to ditch the logitech camera that did not really match the overall design.  The addition of the drive to the G4 and now the camera to the G5 allow them to be more than just monitors.  Each of them supplies something that is found on all desktop macs except for the mac mini.

There are certainly things I may tweak in the future.  But, to be honest, this is really about it for this project.  I would still like a touch screen option, but until a reliable, affordable, multi touch capable option that DOES NOT sacrifice the design aesthetic becomes available I am not going to pursue this.  It has been so much fun working with these computers, but using them with the new mac mini reminds me why I did this in the first place.  Both of these are beautiful to look at, have great ergonomics, and maybe this is just because of nostalgia - fun to use.

I am not sure what new projects to tackle next, but I'm sure something will come up.  In the mean time, I'm going to turn my attention to writing step by step guides for some of these mods.  But please feel free to ask any questions or leave any comments.  Again, thanks for reading!!