Note that --I did not design this circuit-- and I wasn't the first to put the circuit into a D-sub connector... but I was the first to post an instructable on it, so hopefully someone will benefit from this : )
My total cost was about $1.50 because I had to purchase an IR receiver, but everything else I had lying around because I'm a computer guy/electronics geek.
Step 1: Parts Needed
Vishay TSOP1138 IR Receiver
50v 4.7uF capacitor
7805 voltage regulator (5 volts)
TSOP1138 IR Receiver: Most people use the Vishay TSOP 1738, but Mouser was out of those when I ordered and the 1138 is comparable... and it worked, so who cares : )
4.7uF capacitor: I used an axial 50v barrel (electrolytic) capacitor because I had one available and didn't want to spend 75 cents at Radio Shack. But, if you've got a 4.7uF ceramic disc capacitor, it would be a lot easier to fit inside the D-sub housing we're going to use. Also, since I used a 50v capacitor and we're only pushing 5v, it's going to have a pretty long rise time but it shouldn't affect the performance of our device too much.
7805 voltage regulator: I used a big one made by Motorola in the first one of these receivers I made and I had to clip the pins very short and clip and grind the top pole in order to get it to fit in the D-sub (see pictures of completed project). However, when I was digging around for pieces today, I came across a surface mount 7805 that I got from Texas Instruments as a sample years ago. It's tiny and perfect for this project. I'll definitely use it the next time I build one of these as it will cut the footprint of the circuit down tremendously. Both the large and small 7805's are labeled in the electronics closeup picture.