Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Intell

macrumors P6
Original poster
Jan 24, 2010
18,955
509
Inside
Here's how to install an Apple OEM IR sensor into an Apple USB keyboard. Most of the Apple IR sensors use the internal USB bus. The IR sensor is fully USB compliant allowing you to remove and insert it without a problem. So why not make it external in the keyboard? The end result is a small IR sensor just above the F2 key. It works very well, almost if not as well as a built in Apple IR sensor. Great for an older PowerPC Mac, a modern Mac without an IR sensor, or even to have an extra IR sensor on the same Mac. I think this is because the keyboard's plastic case acts as a lens or conduit for the IR light to get to the sensor.

The IR sensor board I used is part number 922-7195. I chose this one because it's cheap (less than $10), has wires attached to it, is small, and has drivers built into 10.4 and newer. Once done, you'll have native Apple Remote IR abilities with your machine. With it you can control iTunes, Plex, and other Apple Remote enabled applications. You can even sleep and wake the machine via the Apple Remote. This will work with any of the plastic wired Apple USB keyboards. Possibly the aluminum models as well, but it'll require more work to open and seal them again. I have not done it to the iMac G3 style with a built in power button, but it should work on that model as well. This outlines the instructions for the Apple Pro keyboard (M7803). All pictures are thumbnail size, click to embiggen.

Remove the four Torx 5 screws and the one Phillips from the back of the keyboard. Note the Philips head is under the label sticker. Remove top plastic frame. It is held in by clips along the top and bottom of the keyboard. Remove three Phillips head screws from under the caps lock, semicolon, and keypad number 6 key. Before lifting out the keyboard from the bottom tray, remove the two securing screws and cable cover where the USB cable goes into the keyboard. Remove grounding screw near USB cable and seven screws securing the circuit board to the keyboard. Remove circuit board from back of keyboard.

Take a dry erase marker and mark the top of the IR sensor. Quickly take the sensor and position it so that the sensor body is in the corner against the USB port mount and the metal backing on the keyboard and press down lightly to transfer the dry erase ink.
15057037882_29e75c82b8_o.jpg


Clean the IR sensor. Slowly drill a small hole from the inside portion of the keyboard to the outside where the mark you made is. The hole should be the same size as the dome on the IR sensor.
15057393515_314a849352_o.jpg


Once through, bevel the outside hole to allow the IR sensor to have a wider view.
15054347121_9f63f3dd41_o.jpg


Desolder (or cut off) the USB port on the opposite side of the USB port that you plug the mouse into. Discard or save the USB port, we will not be needing it.
15057038212_1f763fa3ab_o.jpg


Remove the white plastic connector and gold pins from the IR sensor cable. Strip the wire to about 2-3mm of bear wire. Insert the IR sensor's wires from the same side of the board as the USB ports' wires originally went and solder them to their corresponding colours as labeled on the circuit board. Note: The green wire goes to the white hole.
15057038042_36f8dd2b43_o.jpg


Once it is cooled, check your work for any shorts in the solder. This is a good time to check if the connections are good the and sensor is working. Plug it into any Mac running 10.4.8 or higher. Check the USB section of System Profiler for the IR sensor on the keyboard's USB hub. If you don't see it, try re-soldering the connections. Screw the circuit board back onto the keyboard.
15057037582_b402eae35a_o.jpg


Put a small dot of hot glue onto the plastic just to the side of the hole made earlier.
14870734480_c88bbcc060_o.jpg


Take the IR sensor board and press it onto the glue so the that IR sensor dome is in the hole. While still holding the board, flip the keyboard over and move the IR sensor dome for optimal range by aligning it to be in the centre of the hole. Keep holding until the glue has cooled, about 30-60 seconds.
15057392785_ae0bbba2b5_o.jpg


Move the IR board's cable so that it is tucked under the circuit board to prevent damaging it when closing the keyboard.
14870807368_cb0318a892_o.jpg


Using a pair of pliers, bend the corner and wall of the metal tray in the bottom of the plastic keyboard shell so that it does not hit or damage the IR sensor. Make sure you bend the correct side of the tray.
15034389116_59b6203386_o.jpg


Reassemble keyboard. Additional pictures:

The 922-7195 IR sensor board. About as big as the middle part of your pinky finger.
15057038072_780d1da049_o.jpg


The USB port that gets sacrificed and removed.
14870735760_ebe6a753cf_o.jpg
 
Last edited:
Very nice post. Let me know if you're interested in putting the article up on my blog / Instructables Page as a Guest Author. :);)

That is awesome, though.
 
I probably should've posted how much that particular IR board costs. They are very cheap at less than $10.
 
Even though I don't have a keyboard like that, thanks for the tip! Gotta get this done on my G5 PowerMac and my Hackintosh
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.