RS-232 Infrared Receiver in a Serial Connector (LIRC) Computer Remote Control

RS-232 Infrared Receiver in a Serial Connector (LIRC) Computer Remote Control
This instructable intends to show you how to create a small & simple infrared (IR) receiver for your computer. The configuration of the software is beyond the scope of this instructable, but I use this receiver with LIRC (Linux Infrared Remote Control) in Linux. You can read more about LIRC and see the circuit diagram I used to build this at http://www.lirc.org/

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.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts Needed

Parts Needed
Here are the parts I used, all of them were cannibalized from old projects or scavenged from the engineering lab except the IR receiver that I ordered from Mouser.

Parts List:
Vishay TSOP1138 IR Receiver
50v 4.7uF capacitor
4001 Diode
4.7K resistor
7805 voltage regulator (5 volts)

Parts Discussion
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.

« Previous StepDownload PDFView All StepsNext Step »
39 comments
Jun 25, 2011. 2:11 PMtfe says:
it work DB9-RJ45???
Feb 5, 2011. 7:19 PMzack247 says:
is there anything significant about the IR reciever? if theres anything special built in to the small package, is there any way i can make a general 2-pin IR detector work for this?
Oct 24, 2010. 5:14 AMtajmohd15 says:
Hi,

which remote control should be used to this RS-232 Infrared Receiver in a Serial Connector (LIRC) Computer Remote Control.


is it a universal Infrared Receiver


please reply me
Oct 28, 2010. 8:49 AMtajmohd15 says:
can u please tell me how to make in usb version
Nov 21, 2010. 12:04 AMtajmohd15 says:
in usb Cant we connect

DCD to red wire
RTS to white or Green wire
GND to Black wire
Nov 16, 2010. 8:28 AMtajmohd15 says:
in usb Cant we connect

DCD to red wire
RTS to white or Green wire
GND to Black wire
Nov 11, 2010. 4:12 AMmatstermind says:
do i need to restart the computer before i plug it in or can i just stick it in.
Nov 11, 2010. 9:54 AMmatstermind says:
ok, thanks
Aug 19, 2010. 4:27 AMmatstermind says:
is that a 4148 diode? it looks like a 4001
Oct 28, 2010. 3:46 PMmatstermind says:
your welcome, do you know if

a. either diode can be used
and
b.does it work with windows 7
Oct 30, 2010. 10:46 AMmatstermind says:
ok, thanks
Aug 7, 2008. 5:10 AMinfraredman21 says:
Well, hello there i'm Chris i'm a big computer junky my self but the only computer that has that seral port is very old my new computer only has usb, now do you thing we could make one thats a USB??
Aug 31, 2010. 11:21 AMdleite says:
You could do a USB one from scratch, ( I was able to get my XBOX DVD Remote to connect to Linux via LIRC). A simple solution may be a USB to Serial device and driver.
Oct 28, 2009. 5:25 PMkiwitom says:
Thanks for the tutorial, I found it really helpful, still having some problems though. When I tried to learn my remote, winLIRC kept coming up with errors regarding consistency of the signal
1. Is there a general discussion forum for these devices where I can post these questions or is this it?
2. I used the following receiver: The RPM1700 series from jaycar: http://jaycar.co.nz/productView.asp?ID=ZD1952 How does this stand up to the TSOP1738? I noticed the RPM1700 does not filter out flurorescent light and it seems to be having trouble consistently reading the signals from my Panasonic remote but this may lay in other parts of the cirucuit.
3. Is there a list of compatible remotes or frequencies so I can see if my remote is actually compatible?
4: I used a 10K pull up resistor instead of the 4.7K, I can't see how this could cause any problems, is this true?
5. Does it matter if the diode I used is not the same as the reccomended one? I used one which was made for slightly higher currents because it was the only one I had
Sep 30, 2009. 6:42 PMmatstermind says:
can i use any infrared receiver?
Oct 4, 2009. 3:21 PMmatstermind says:
i have some from old VCRs, ir control toys, and similar stuff. i don't know the voltage. or the bandpass. or even the part number
Oct 5, 2009. 4:19 AMmatstermind says:
one has 015, the other N 8.
Sep 4, 2008. 1:13 AMKato_Potato says:
This is awesome! This is exactly what I want to do. The end product looks so neat and tidy, I love it! I excited to get the supplies and try it out. I looked on the mouser website for the IR receiver and saw that they don't have the same model you used or the 1738, what should I look for in the specs to make sure I'm buying something that's about right? I'm new to the whole electronics building thing so I have a stupid question: does this widget need a clear line of sight to my remote control? I'm happy to set it up so that it will, but it would be helpful to know in advance so I can plan accordingly. Also, the remote control I want to use works on other devices at 20+ feet, will it also work on this receiver at 20 feet? Thank you so much for putting together this tutorial. I'm looking forward to following the step-by-step as soon as I get all the supplies.
Aug 9, 2008. 3:16 AMlil Smart Kunt says:
Dude I have TWO of them And thry are fancy i made it like ages ago if you have something to say about that please replay me dont hesitate
Aug 7, 2008. 1:45 PMrO_rOyrO says:
Your Tsop is a good idea too and i´m sure that it works very well. And what sofware have you choose¿?This the wors part of the remote control. Nice work
Aug 7, 2008. 8:34 AMrO_rOyrO says:
Hi...i have find other remote control for pc in this page.I do it and it work well...

Link:http://www.instructables.com/id/PC-remote-control/

However you will have problems to find the IR Tsop

Thanks Darc for your project
Jan 6, 2008. 1:57 AMbrodyf says:
As GorillazMiko already said, I am impressed by your ability to keep it so compact. This is really great.
Jan 5, 2008. 2:00 PMGorillazMiko says:
Woah dude, nice job, you do some pretty insane soldering. Really clean and neat, looks nice, small too, about the size of a quarter (as you showed.)! Nice job.
Jan 5, 2008. 2:25 PMGorillazMiko says:
Just wondering, what kind of soldering gun/ iron do you have?

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
3
Followers
2
Author:darc
Just a geek with a soldering iron...